You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One thought I had about how to add cut&paste commands from #321 was to use core.clipboard.paste command within a plugin using runaction, and then the only part left would be to delete the files in the clipboard to complete the "cut" part.
But then execution immediately returns after launching core.clipboard.paste from within the script, so I don't actually know whether the user is still waiting on the "file already exists" dialog or whether he's aborted the previous command, so I can't really delete anything until the paste is complete
Is there a way to block script execution, get the return status of the previous paste command and only delete files if paste was completed successfully? Ideally I'd also need a list of skipped files from the previou command so that they aren't deleted in the next step.
The text was updated successfully, but these errors were encountered:
One thought I had about how to add cut&paste commands from #321 was to use
core.clipboard.paste
command within a plugin using runaction, and then the only part left would be to delete the files in the clipboard to complete the "cut" part.But then execution immediately returns after launching
core.clipboard.paste
from within the script, so I don't actually know whether the user is still waiting on the "file already exists" dialog or whether he's aborted the previous command, so I can't really delete anything until the paste is completeIs there a way to block script execution, get the return status of the previous paste command and only delete files if paste was completed successfully? Ideally I'd also need a list of skipped files from the previou command so that they aren't deleted in the next step.
The text was updated successfully, but these errors were encountered: