Folder to save images with AutoHotkey

Posted by horiageorg on Super User See other posts from Super User or by horiageorg
Published on 2010-04-25T00:22:56Z Indexed on 2010/04/25 0:33 UTC
Read the original article Hit count: 528

Filed under:

When I try to save an image from a Web page with a program written in AutoHotkey,it always chooses the last folder I had chosen manually to save Web images.

This is the script (assuming I'm on Web page and I want to save the images of a series of Web pages):

FileSelectFolder, OutputVar, , 3 if OutputVar = MsgBox, You didn't select a folder. else MsgBox, You selected folder "%OutputVar%".

Sleep 10000 Loop 25 {

MouseClick, left, 185, 250 Sleep 5000 Send {ENTER} Sleep 5000 MouseClick, left, 75, 397 Sleep 5000

}

© Super User or respective owner

Related posts about autohotkey