You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It strikes me as odd that Unimacro Scripts like _folders.py etc. are stored in the users unimacro/ActiveGrammars. I could see this maybe (but not likely) if a user were developing a script.
Also, how are scripts currently upgraded if new ones show up from a unimacro or other package upgrade?
Now that Unimacro is python package, the configuration file could (if we make changes) just list the unimacro scripts that are enabled. Then the unimacro script loader loads them with the equivalent of an import statement. In most cases, it will load them out of an installed python package. If i have my own script _doug.py i make sure it is installed as a python package or in the python path somewhere.
For example, in the config file
[enabled]
unimacro/_brackets
unimacro/_folders
dougscripts/_doug
[disabled]
just some scripts we might want to renabled some day...
It strikes me as odd that Unimacro Scripts like _folders.py etc. are stored in the users unimacro/ActiveGrammars. I could see this maybe (but not likely) if a user were developing a script.
Also, how are scripts currently upgraded if new ones show up from a unimacro or other package upgrade?
Now that Unimacro is python package, the configuration file could (if we make changes) just list the unimacro scripts that are enabled. Then the unimacro script loader loads them with the equivalent of an import statement. In most cases, it will load them out of an installed python package. If i have my own script
_doug.py
i make sure it is installed as a python package or in the python path somewhere.For example, in the config file
The unimacro loader just performs
the next time I do a pip upgrade, my unimacro scripts are probably all updated to the latest.
The text was updated successfully, but these errors were encountered: