[Plugin] Shortcutter Beta
-
@tig said:
When v2015 installs and brings over the earlier versions shortcuts does it not make Plugins >>> Extensions, maybe not...
certainly not on the mac...
thats why I wrote the short script I posted earlier...
There was also a post in the 'doh' forum that implied you needed to edit the dat on PC...couldn't the search and replace be added to this, for those in need?
john
-
So Trimble have messed up.
They transfer shortcuts from an earlier version, but seem to keep useless Plugins/... entries, because they need to refer to menu Extensions/... - assuming you have the same scripts installed [eventually].Sorry for MAC users - don't know about editing plists etc...
So my PC ideas of exporting the "Preferences.dat" from v2015, editing it with Notepad++ to replace Plugins/ with Extensions/, saving, then importing back into v2015, overwriting existing shortcuts...
WOULD fix the issue.
Meanwhile "Shortcutter" can show up the issue as having 'Plugins' items listed in v2015 means you have NOT go a proper shortcut list set up ! -
@tig said:
Sorry for MAC users - don't know about editing plists etc...
that's why I posted the code...
it's very easy from ruby...
here it is again...require "pathname" target = Pathname(Sketchup.find_support_files("").grep(/User/)[0]).parent shortcuts = Pathname(target + "Shortcuts.plist") File.write(shortcuts,File.open(shortcuts,&;read).gsub("Plugins","Extensions")) if File.exists?(shortcuts)
-
FWIW, I just got to my PC. I checked and it was showing "Plugin" under the Shortcutter. I exported Preferences.dat, opened it, edited to replace all instances of 'Plugins' with 'Extensions. Saved, re-imported and checked the Shortcutter again. Now it shows 'Extensions' as TIG described. Easy conversion.
-
@dave, if you run that snippet in 'Ruby Console' on your mac, it does the equivalent to the plist...
john
-
Thanks John. I'll give that a try when I get back to my Mac.
-
Ok, I don't know why, but now it seems to work. I set up all shortcuts by hand again and now I see everything as it should be.
-
Gabor tweaked some JS code that TIG highlighted.
-
Hi, it is possible?
-
It think that could be a feature Fredo could add to his plugins himself. Ask him.
Advertisement