AutoHotkey Community

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

All times are UTC [ DST ]


Search found 32 matches
Search these results:

Author Message

 Forum: Support   Topic: Comment block bug

Posted: June 30th, 2008, 3:57 pm 

Replies: 3
Views: 1555


Oberon wrote:
the /* and */ symbols can be used to comment out an entire section, but only if the symbols appear at the beginning of a line


My bad, still don't understand why AHK can't at least throw an error when it occurs though.

 Forum: Support   Topic: Comment block bug

 Post subject: Comment block bug
Posted: June 27th, 2008, 8:34 pm 

Replies: 3
Views: 1555


I ran into this awhile ago and forgot to ever mention it. Did a quick forum search but didn't find anything either. If you comment out your code like so: f1:: msgbox f1 return /*f2:: msgbox f2 return*/ f3:: msgbox f3 return Autohotkey will load the script, but f3 will never be triggered. No errors w...

 Forum: Support   Topic: Active Window Info gives incorrect data in Remote Desktop

Posted: May 30th, 2007, 6:48 pm 

Replies: 4
Views: 685


Local computer is running a script, remote computer is running nothing. Let's say I bound ^q to !f4 for Firefox. The hotkey works locally, and then it works remotely even though the active window info is reporting the Remote Desktop class. I haven't tested this out but it'd be interesting to see if ...

 Forum: Support   Topic: Active Window Info gives incorrect data in Remote Desktop

Posted: May 30th, 2007, 11:43 am 

Replies: 4
Views: 685


To be more specific, on the host computer Active Window Info will always report:
Quote:
xxx.xxx.xxx.xxx - Remote Desktop
ahk_class TSSHELLWND


However I wrote some class specific hotkeys and they still work on the remote system despite the class being reported differently.

 Forum: Support   Topic: IfWin supported multiple paramaters

Posted: May 30th, 2007, 9:58 am 

Replies: 4
Views: 538


i r stoopid, k?
thx :)

While you're here, is there a way to template a hotkey?

e.g. replace all ^#'s with !#'s.

 Forum: Support   Topic: IfWin supported multiple paramaters

Posted: May 30th, 2007, 9:38 am 

Replies: 4
Views: 538


e.g. IfWinActive (ahk_class class1 || ahk_class2)

It'd save me a lot of else ifwin- statements.

 Forum: Support   Topic: Very basic script: help :X

Posted: February 16th, 2007, 6:44 am 

Replies: 10
Views: 1518


Without knowing / having the game you're working with, it's difficult to help you. I usually simplify the script so I can tell which part of it is breaking: ^m:: send {space} sendinput {space} sendplay {space} soundplay *64 return You'll know the hotkey ran if you hear ...

 Forum: Support   Topic: flashing up volume persentage on screen

Posted: February 16th, 2007, 5:52 am 

Replies: 1
Views: 513


Getting the volume percentage is easy enough using SoundGet, and just display the number in a message box, system tooltip, or gui box.

 Forum: Support   Topic: Sorry, but where do i download this macro program?

Posted: February 16th, 2007, 5:49 am 

Replies: 2
Views: 545


As long as you have Autohotkey installed, when you double click on an .ahk file it will compile and run. You can tell that it's running by the green H icon that pops up in your system tray, just double-click on it for details.

 Forum: Support   Topic: Very basic script: help :X

Posted: February 16th, 2007, 5:47 am 

Replies: 10
Views: 1518


The script itself works fine. If it's not working in game try looking into SendPlay.

 Forum: Support   Topic: Closing random pop-ups

Posted: February 2nd, 2007, 3:35 am 

Replies: 1
Views: 516


Found my answer in settimer.

 Forum: Support   Topic: Closing random pop-ups

 Post subject: Closing random pop-ups
Posted: February 2nd, 2007, 3:26 am 

Replies: 1
Views: 516


The simplest way that I can think of to close random pop-ups is to run a continuous loop using ifwinexist, but I need to be able to check for windows without stopping the rest of the script.

I think I saw some way to do this using labels perhaps?

 Forum: Support   Topic: Close Windows Task Manager

Posted: February 2nd, 2007, 3:23 am 

Replies: 3
Views: 555


Phe0n1x wrote:
Anonymous wrote:
+t::WinClose, Windows Task Manager


or using the class
Code:
+t::WinClose, ahk_class #32770


But quite a lot of Windows' windows have a class of #32770. You'll probably end up inadvertently closing other windows that way.

 Forum: Support   Topic: Simpler way to store data besides arrays? (for a scheduler)

Posted: December 30th, 2006, 5:46 pm 

Replies: 6
Views: 688


Thanks for all the responses. Well, you can use WinXP's task scheduler for that... Or some similar freeware. LOL I had completely forgotten about Windows task scheduler. Well at the moment I'm only running apps, but in the near future there will be a need for sending keystrokes / mouse clicks to the...

 Forum: Support   Topic: Simpler way to store data besides arrays? (for a scheduler)

Posted: December 30th, 2006, 4:31 am 

Replies: 6
Views: 688


I need my PC to do certain actions throughout the day and am writing a short scheduling program to do it. I'm going about this problem by dumping the schedule into a txt file in this format: day of week,time,task1 day of week,time,task2 etc. Then I have the script loop every 15 seconds and if the da...
Sort by:  
Page 1 of 3 [ Search found 32 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group