Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline RegCurry  
#1 Posted : 12 March 2019 08:17:51(UTC)
RegCurry


Rank: Advanced Member

Groups: Registered
Joined: 10/02/2019(UTC)
Posts: 56
Man
United States
Location: Colorado

I have two snippets with similar but different names. Their sizes are even slightly different.

TDFD COUPLED ROUTINE NEW.sm and
TDFD COUPLED ROUTINE ORIG.sm

Their Metadata titles match the file names. However, when I open the Snippet Manager only one appears--usually the first one I copied to the snippet directory shown in the attached image. Crazy Sad

Capture.JPG

Note: Both POINTS PER DECADE snippets show up in the Snippet Manager.

Reg

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Davide Carpi  
#2 Posted : 12 March 2019 11:14:58(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,654
Man
Italy
Location: Italy

Was thanked: 1340 time(s) in 879 post(s)
Have you set for them different names?

File > Properties > File attributes > Snippet shortcut field
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline RegCurry  
#3 Posted : 12 March 2019 11:38:42(UTC)
RegCurry


Rank: Advanced Member

Groups: Registered
Joined: 10/02/2019(UTC)
Posts: 56
Man
United States
Location: Colorado

Not sure what you mean. I don't have a shortcut defined for any of them including the two POINTS PER DECADE snippets and both of those show up in the Snippet Manager.

If I define a shortcut field, can they then be called via that short cut. I see the original ones provided in SMath have the shortcut field defined. I will give that a try and let you know.

Thanks again.
Reg

Offline RegCurry  
#4 Posted : 12 March 2019 11:47:11(UTC)
RegCurry


Rank: Advanced Member

Groups: Registered
Joined: 10/02/2019(UTC)
Posts: 56
Man
United States
Location: Colorado

Davide,

Still doesn't show for those but continues to show for the Points per Decade snippets.

Here are the two giving me trouble. Only the "NEW" version shows in the snippet manager.

TDFD COUPLED ROUTINE ORIG.sm (16kb) downloaded 10 time(s). TDFD COUPLED ROUTINE NEW.sm (15kb) downloaded 8 time(s).
Offline Davide Carpi  
#5 Posted : 12 March 2019 12:24:18(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,654
Man
Italy
Location: Italy

Was thanked: 1340 time(s) in 879 post(s)
I can reproduce; I have to look at the code but I'm 99% sure the issue is that the two files are in conflict because they have the same unique identifier.

For your issue, copy the content of one of the files to a blank worksheet, then save it in the snippets folder.

In general, maybe the save as should change the id or we should provide an easy way to generate a new id (like a button in the file -> properties dialog). I'll think on it Good

Edited by user 12 March 2019 12:27:37(UTC)  | Reason: Not specified

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline RegCurry  
#6 Posted : 16 March 2019 01:25:38(UTC)
RegCurry


Rank: Advanced Member

Groups: Registered
Joined: 10/02/2019(UTC)
Posts: 56
Man
United States
Location: Colorado

Davide,
That worked.Good
Thanks,
Reg
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.