-
-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move/Copy file to predefined location #545
Comments
menu (title='Convert' type='file' mode='multiple')
{
item(title='Folder A' cmd=io.move(sel.path,path.join('Your Directory',sel.name)) invoke=1)
item(title='Folder A' cmd=io.move(sel.path,path.join('Your Directory',sel.name)) invoke=1)
item(title='Folder A' cmd=io.move(sel.path,path.join('Your Directory',sel.name)) invoke=1)
} This will move all the selected files to the specified path. replace 'Your Directory' with the actual path. |
Hey. Thanks for the reply, it works! However I dont see the explorer moving dialog.. It just moves somewhat in the background and the file disappears.. is there a "explorer" function to move files? So it triggers the moving dialog? |
No idea about native functions. you could give powershell a shot, but that would have its own quirks: item (
title="Folder A"
cmd-ps=`$t=New-Object -ComObject 'Shell.Application';($t.Namespace('Your dir here')).movehere('@sel.path')`
window='hidden'
invoke=1
mode='multiple'
) |
|
Hello.
I want to achieve a context menu section which will be named e.g. CONVERT and it will have submenu which will do a "move" of a file/s to predefined folders:
Is it possible please? Thanks!
The text was updated successfully, but these errors were encountered: