I'm wondering if it is possible to make some variables global (such a variable shall survive a method invocation).
I want to configure shortcuts to provide dynamic folder bookmarks that can be assigned by pressing CTRL+1..0 and restored by pressing CTRL+SHIFT+1..0. This would make folder navigation within complex folders tree more convenient.
These appropriate commands could be easily created if there are variables that can be re-used to pass a filepath to an other shortcut. But I can not find such or a similar concept.