http://www.xyplorer.com/xyfc/viewtopic. ... 134#p37134
admin wrote:[...]Stefan wrote:[...]
----
2)
using DP i like to use the "normal" copy/move/backup -dialogs... (...+F7)
...could there be an optional option to initially fill the path field of this c/m/b -dialog
with the current "other" panel path ?
2) Why not simply use the commands under Panes menu?
So i attempted to do this with an script.
But no success because the script wait before doing the next step till the #221 dialog is closed.
Is there an better way doing this?
Or is there room for scripting improvement to don't wait for closing dialog but do next step immediately?
Code: Select all
"Copy to other pane"
Focus "PI";
$a = <curpath>; // store IP path
Focus "PI";
// first test
//#221;
//sendkeys "$a"; // input IP path
// second test
$clipboardold = "<clipboard>"; // store current <clipboard> content
copytext $a; // copy other-pane-path to <clipboard>
#221; // open CopyTo dialog
sendkeys "^v"; // input <clipboard> content into CopyTo dialog
copytext $clipboardold; // set old <clipboard> content back
XYplorer Beta Club