Hi everyone,
I would like to add a new button / new action to Scinotes that behaves
in a slightly different way than the 'F5 Save and execute'.
Basically, I would like to first change to the directory of the file
before executing it:
1) Change to the directory that contains the file active in
scinotes (the from which I launch the action).
2) Save the file.
3) Execute the file.
Is that possible without dissecting org.scilab.modules.scinotes.jar ?
As an alternative, if someone knows a way to guess from within a script
file the path to the said script, that would also do the trick.
(and no, 'get_absolute_file_path' does not work as the script file is
not necessarily opened in scilab)
Antoine
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users