JL_CAD
Member
Posts: 15
|
 |
« Reply #4 on: August 02, 2007, 06:23:48 AM » |
|
I was able to write a script to run Filepro and copy file selected by the user. This way I can maintain the permissions of the folder to the new folder.
retry1: InputBox,src, AutoIt, Please Enter Source Filename! MsgBox, 3, AutoIt, %src% IfMsgBox, CANCEL, Goto, cancel1 IfMsgBox,NO, Goto, retry1
retry2: InputBox, dst, AutoIt, Please Enter New Filename! MsgBox, 3, AutoIt, %dst% IfMsgBox, CANCEL, Goto, cancel1 IfMsgBox, NO, Goto, retry2
; Warning message SplashTextOn, 300, 100, AutoIt, Please do not touch the keyboard during the script. Sleep, 2000
Run, xcopy f:\\filepro\\%src% f:\\filepro\\%dst% /O /T /E /i
Sleep, 1000
Run, F:\\BAT\\FILEP45.bat, F:\\
Sleep, 1000 Send, f Sleep, 100 Send, b Sleep, 100 Send, %src%{ENTER} Sleep, 100 Send, %dst%{ENTER} Sleep, 100 Send, 1 Sleep, 100 Send, 3 Sleep, 1000 Send, x Sleep, 100 Send, x
SplashTextOff cancel1: Exit
|