I often find I'm working on 2 or 3 files but I may have several more open for occasional reference. I would like to be able to switch between these files without using the mouse. Using Ctl-Tab is only an option when there are only a few files open.
I'm sure there is a simple macro that could keep a list of 2 or 3 files and switch between them, but I wanted to check if either the macro already exists or there is an alternative function already built in before I tried to write it.
Any comments or suggestions?
Thanks
Switching between 2 or 3 files among several
Any comments or suggestions?
It should definitely be possible to use a script to do this. The scripting functions you would need to look at are:
macro_tag
file_open
For more information on these functions place the cursor on the name of the scripting function and then use the Help, Quick Help Current Word to bring up the help for the function.
If the files you are trying to navigate are related by a naming pattern then you could also use the View, File Association List menu.
The pattern used by this menu is found in the Associates Regexp in the General section of the doument type.
There are examples of scripts in the zScript installation folder and more examples here: http://www.zeusedit.com/zforum/viewforum.php?f=10
Cheers Jussi