2015-09-01, 12:12
Hello
I like to enhance the context menu to execute a script. As parameter i need the full path and filename of the selected file.
In the context menu i added an item and in the onclick event i call my phyton script.
If i use $INFO[ListItem.Label] as parameter i get the name of the file only. Is it possible to get the path of the selected file too?
I like to enhance the context menu to execute a script. As parameter i need the full path and filename of the selected file.
In the context menu i added an item and in the onclick event i call my phyton script.
If i use $INFO[ListItem.Label] as parameter i get the name of the file only. Is it possible to get the path of the selected file too?
Code:
<onclick>RunScript(script.movefile,?????????)</onclick>