Messages - menych [ switch to compact view ]

Pages: [1] 2next
1
It worked!!!!

You are a genius! Thank you!

Four more questions:

1) So, to delete files after, I'd replace 'a' with 'm'?

2) How would I change it to hide command line after execution?

3) It's my very first experience with DC, how do donations work and what's the proper amount?

4) Can AHK be used to fill a multipage online form on one server by taking values from an external file or from another web page?

THANKS AGAIN!

2
'rar.exe' is not recognized as an internal or external command, operable program or batch file.

E:\Dropbox\@@@ CLIENTS @@@\ABC Inc.>

rar.exe is now in the same folder as the AutoHotkey.ahk, which is the My Documents folder

UPDATE: interestingly, rar.exe does not work when I call it from the My Documents folder, but it does work when I copy it to the root of c:

UPDATE2: I moved the ahk file to the root of c: and it almost WORKED!!!

It archived the first file as intended. But then it stopped there.

3
getting an error in cmd:

'C:\Program' is not recognized as an internal or external command, operable program or batch file.

4
OK,

So I select files in Everything, press Win-Z, I get the Done message box, but no archives are created.

I tried playing around with rar.exe in the ahk file by changing call with rar.exe to:

RunWait, %comspec% /c C:\Program Files\WinRAR\Rar.exe a -ep -p%Password% "%OutDir%\%OutFileName%.rar" "%A_LoopField%",,Hide

and

RunWait, %comspec% /c "C:\Program Files\WinRAR\Rar.exe" a -ep -p%Password% "%OutDir%\%OutFileName%.rar" "%A_LoopField%",,Hide

But the archives are still not being created.

I love the algorithm you came up with. It's brilliant. Now, we have to make sure that the commands are reaching the rar.exe, which I suspect they don't.

Is there something I can do to debug?

5
Thank you so much for your help.

I've just installed AHK.

I've never used it before, so I'm a bit lost...

I copied your script into autohotkey.ahk and ran the program, but nothing seems to happen other than I'm getting the following output:

---- C:\Users\Unomyname\Documents\AutoHotkey.ahk
002: SetBatchLines,-1
004: if not A_IsAdmin 
012: Password := "MyPassword"
015: Return (3.38)

How do I actually use it?

Thanks again

Pages: [1] 2next
Go to full version