- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
After a year of messing with iLogic, I'm getting to the point where my default folder is becoming unmanageable.
I know that inventor will follow recursively if I make sub-folders in windows explorer, but there is one inconvenience. Most of my scripts have matching hotkeys set up to run them as a keyboard shortcut. When I relocate the script, the hotkey is deleted. I can reset them manually of course, but there are dozens so it'll take a while.
Is there a way to preserve the hotkeys when I reorg my iLogic folder? Alternatively, is there a way to assign a hotkey from within the rule editor or via the iLogic side panel?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Excellent idea thanks! I'm sure notepad++ can get me there without needing to go one by one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Yeap, Notepad++ screenshot attached.
Search for "Command Aliases".
Probably change one manually so you get the folder.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Just so you know, there is actually a way to set the shortcuts by code, but it's more complicated than it should be, and would likely require a lot more code that you would want to deal with, if you need to set a lot of iLogic rules back to the same shortcuts again after moving them.
ThisApplication.CommandManager.ControlDefinitions.Item("ControlDefinitionName").DefaultShortcut
...and a few related properties of the ControlDefinition object. You can check out the online help page for that object if you want to read more about those properties.
Wesley Crihfield
(Not an Autodesk Employee)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I actually ended up doing it manually earlier this week. But I'm definitely filing this away for future reference if I ever need to migrate/reorganize a big pile of scripts.