AutoHotkey Community

It is currently May 21st, 2012, 4:43 pm

All times are UTC [ DST ]


Search found 51 matches
Search these results:

Author Message

 Forum: Support   Topic: Alarm to protect PC or laptop

Posted: October 25th, 2010, 6:14 am 

Replies: 14
Views: 717


how about you have a backpack and close your laptop and put it in there and then go to the bathroom?

who says they wont run off quick with it before anyone does anything anyways

just keep it with you if you don't want it to get stolen

 Forum: Support   Topic: New user of AutoHotKey

Posted: September 16th, 2010, 9:47 pm 

Replies: 18
Views: 432


that's because the process must not be called xxx.exe

(I know you really don't have it as xxx.exe but w/e you ahve it as it isn't)

do ctrl+shift+escape and in the task manager see what it's named

WinClose, "whatever it is named"

 Forum: Support   Topic: New user of AutoHotKey

Posted: September 16th, 2010, 9:37 pm 

Replies: 18
Views: 432


edit: what he said below, i was actually going to say that if that didn't work WinWaitActive, + sleep just in case, would be the easiest way. I don't see what makes it easier. It's just more code that's doing nothing important. And yeah, code can get messy, but for a small script like this, it's fine.

 Forum: Support   Topic: New user of AutoHotKey

Posted: September 16th, 2010, 9:33 pm 

Replies: 18
Views: 432


Ok, this opens it, runs it perfectly, the last tiny thing that I'm having an issue with is having the program close.. Currently it doesn't close when the script says to with Winclose.. here is the script, I want to thank everyone in advance since this has to be the most helpful forum I've seen in q...

 Forum: Support   Topic: New user of AutoHotKey

Posted: September 16th, 2010, 9:28 pm 

Replies: 18
Views: 432


it needs time to open up Ah, didn't think of that. Instead of using sleep, consider using WinWaitActive . It'll wait as long as needed for the window to appear. i actually don't like winwaitactive as weird as that sounds it just waits until it's "active" and it doesn't mean "fully lo...

 Forum: Support   Topic: New user of AutoHotKey

Posted: September 16th, 2010, 9:23 pm 

Replies: 18
Views: 432


I came up with this.. Run xxx.exe MouseClick, left, 317, 160 sleep, 120000 WinClose, xxx.exe It runs the program, but does not do the appropriate mouseclick to execute the initiation, is there something I am missing? also, there is no need for the left you can just use Click, 317, 160 The reason it...

 Forum: Support   Topic: Identifying Control for ControlClick et al

Posted: September 16th, 2010, 9:19 pm 

Replies: 5
Views: 254


Just want to point out the imagesearch sucks as well try this instead: ControlClick InternetExplorer_Server1 If you must use the text to match, try to use as little of it as possible. EDIT: Or maybe ImageSearch would be better for this situation? and that will not always work... anyways, here is a q...

 Forum: Support   Topic: Computer ID

Posted: September 16th, 2010, 9:14 pm 

Replies: 7
Views: 604


how about make a gui with a username and password? ex. Gui, Add, Edit, vusername, UserName Gui, Add, Edit, password vpassword, Password Gui, Add, Button, , OK Gui, Show username = x password = y ButtonOK: Gui, Submit, NoHide If username = x and if password = y then blah blah blah and only you should...

 Forum: Support   Topic: Identifying Control for ControlClick et al

Posted: September 16th, 2010, 9:07 pm 

Replies: 5
Views: 254


post said site, and i will tell you how to click whatever you want clicked

usually you can click by javascript and controlclick is terrible for clicking

 Forum: Support   Topic: New user of AutoHotKey

Posted: September 16th, 2010, 9:03 pm 

Replies: 18
Views: 432


Well, have this script in the same directory as whatever your trying to run at a certain time

Code:
sleep, xxxx ;will sleep xxxx milliseconds
Run xxx.exe ;will run xxx.exe
sleep, xxxx ;will sleep xxxx milliseconds
WinClose, xxx.exe ;will close xxx.exe

 Forum: Support   Topic: Deleting cookied in COM???

Posted: September 10th, 2010, 1:33 am 

Replies: 8
Views: 305


edit: ok, i got it


but... you really should fix that and take out the last "Return" as it stops the program

just a heads up


and thanks, now i don't have to have a command prompt pop up for a second :)

 Forum: Support   Topic: Deleting cookied in COM???

Posted: September 10th, 2010, 1:06 am 

Replies: 8
Views: 305


i actually read over that some... =/ anyways, what i'm just doing is running a batch file with: RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2 it's what i used to use before but help on how to use that without linking me to something which just explains functions which i've done before would be g...

 Forum: Support   Topic: Parse String

Posted: September 10th, 2010, 12:41 am 

Replies: 16
Views: 545


Frankie wrote:
Quote:
i parse stuff out with substring and index in .NET and StringGetPos and MidString in ahk
That can be just as good for simple tasks.


yeah, which is all i really do... but, i plan on learning how to use regex, looks complicated, but i bet it isn't as bad as it looks

 Forum: Support   Topic: Deleting cookied in COM???

Posted: September 10th, 2010, 12:40 am 

Replies: 8
Views: 305


alright widow, i sort of get that just remember, i've never used dllcall before :oops: what i did was: ClearWebHistory(sCmd) { ; by ahklerner ValidCmdList = Cookies Files = 8 ; Clear Temporary Internet Files Cookies = 2 ; Clear Cookies History = 1 ; Clear History Forms = 16 ; Clear Form...

 Forum: Support   Topic: Parse String

Posted: September 10th, 2010, 12:18 am 

Replies: 16
Views: 545


haha, regex confuses me so much

i'm such a noob, i parse stuff out with substring and index in .NET and StringGetPos and MidString in ahk
Sort by:  
Page 1 of 4 [ Search found 51 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group