| Author |
Message |
Forum: Offtopic Topic: AutoHotkey short domain! |
| VIRUX |
|
Posted: August 27th, 2011, 10:42 am
|
|
Replies: 36 Views: 1043
|
Or maybe everybody should just add ahk.com to their hosts file and forward it to AutoHotKey.com
Obviously it's going to get you into a bad habit for other computers that don't have this modification, but honestly I seriously doubt any of these 'short domains' will last very long. |
|
 |
Forum: Suggestions Topic: Control Color Changing |
| VIRUX |
|
Posted: June 5th, 2009, 6:49 pm
|
|
Replies: 3 Views: 1378
|
| You mean, people are actualy making AutoHotKey scripts with, even, hundreds of controls? Thousands sounds like you would have memory problems even without custom colors. And if you have to rely on AutoHotKey to make advanced programs with that many controls you are probably best left to C/C++ anyway... |
|
 |
Forum: Support Topic: Send different keystrokes according to a timer (NOT SOLVED) |
| VIRUX |
|
Posted: May 30th, 2009, 2:00 pm
|
|
Replies: 4 Views: 373
|
| sendFs() { loop 57 { Sleep, 2100 SendInput, f } } loop { sendFs() SendInput, {left} sendFs() SendInput, {right} } ^::pause Maybe this is closer. This should be easy to edit if not. I was thinking about making a Splash screen ... |
|
 |
Forum: Suggestions Topic: Anonymous Labels |
| VIRUX |
|
Posted: May 30th, 2009, 1:08 pm
|
|
Replies: 15 Views: 3630
|
| The Java programming language does not support goto's. You use functions instead. MsgBox, 1 GoSub SecondMsg MsgBox, 3 SecondMsg: MsgBox, 2 Return Instead, we can do MsgBox, 1 SecondMsg() MsgBox, 3 SecondMsg() { MsgBox, 2 } Which is extremely cleaner when you have more advan... |
|
 |
Forum: Suggestions Topic: Control Color Changing |
| VIRUX |
|
Posted: May 29th, 2009, 12:15 pm
|
|
Replies: 3 Views: 1378
|
| Gui, Color, ControlColor, Black This should not be a global function. Example. Gui, Color, Black Gui, Color, ControlColor, 0x000088 Gui, Add, Edit, x5 y5 w111 h20 cAqua Gui, Color, ControlColor, 0x880000 Gui, Add, Edit, x5 y30 w111 h20 +Password cRed Gui, Show, x10 y10 h55 w200 -Resize Return GuiCl... |
|
 |
Forum: Support Topic: Hiding Images |
| VIRUX |
|
Posted: April 12th, 2009, 10:09 am
|
|
Replies: 1 Views: 277
|
| Is there any simple way to hide/compile a image into my exe? I'm setting up a chat bot, and I would like to have the interface have a banner along the top, but I would like the image to be un-changable by a normal user(Situations such as ResHacker can't be stopped). I don't want them to be able to d... |
|
 |
Forum: Support Topic: Simple - Arguments |
| VIRUX |
|
Posted: April 6th, 2009, 10:52 am
|
|
Replies: 2 Views: 370
|
Thanks much.  |
|
 |
Forum: Support Topic: Simple - Arguments |
| VIRUX |
|
Posted: April 6th, 2009, 10:37 am
|
|
Replies: 2 Views: 370
|
| Can I start a autohotkey exe with arguments from the command line? Such as, start C:\MyAHK.exe -c "Hello!" And then be able to call the arguments within the program? Trying to make a application that will display a splash screen with the text in the arguments, but I am going to add more co... |
|
 |
Forum: Support Topic: Change Window Title |
| VIRUX |
|
Posted: March 1st, 2009, 9:56 am
|
|
Replies: 3 Views: 364
|
| This one should make more sense, WinGet, id, list,,, Program Manager psy = 1 Loop, %id% { window_id := id%A_Index% ;WinActivate, ahk_id %window_id% WinGetTitle, title, ahk_id %window_id% length := StrLen(title) if (length > 0) { %psy%title = %title% ;test := %psy%title ;Msg... |
|
 |
Forum: Support Topic: Change Window Title |
| VIRUX |
|
Posted: March 1st, 2009, 8:49 am
|
|
Replies: 3 Views: 364
|
Code: WinGet, id, list,,, Program Manager Loop, %id% { this_id := id%A_Index% WinActivate, ahk_id %this_id% WinGetTitle, this_title, ahk_id %this_id%
MsgBox, 4, , %a_index% of %id%`n%this_title%
IfMsgBox, NO, break } |
|
 |
Forum: Support Topic: Change Window Title |
| VIRUX |
|
Posted: March 1st, 2009, 8:02 am
|
|
Replies: 3 Views: 364
|
Code: WinSetTitle, http://www.blam.com/ , , Flash Chat
My question is how to build a list of windows open. |
|
 |
Forum: Support Topic: TextEdit |
| VIRUX |
|
Posted: November 1st, 2008, 7:26 am
|
|
Replies: 4 Views: 686
|
Is there a problem with my question? I have posted this twice and had no replies. Or is it just a stupid frustrating problem nobody can figure out?
Let me know please.  |
|
 |
Forum: Support Topic: I need 3 hotkeys. Please help? |
| VIRUX |
|
Posted: November 1st, 2008, 7:24 am
|
|
Replies: 4 Views: 483
|
Wait.. -what?
What is he trying to do though?
When Z is pressed, send A and B?
Or when A and B are pressed, send Z? |
|
 |
Forum: Support Topic: Prevent click of specified area |
| VIRUX |
|
Posted: November 1st, 2008, 7:20 am
|
|
Replies: 18 Views: 1069
|
| Create a loop detecting where the mouse is, and if the mouse is in a specified area, move it back? Loop it, so you can save the current position, and if it ends up in one of the spaces, you can send it to an earlier position. This would create a effect of 2 magnets with the positives together. Or wh... |
|
 |
Forum: Support Topic: TextEdit |
| VIRUX |
|
Posted: November 1st, 2008, 6:33 am
|
|
Replies: 4 Views: 686
|
| Having problems with re-sizeing this text editor, seems to freeze the windows mouse up until you task manager out of it. :( #NoEnv #NoTrayIcon ; HTML COLORS Black = 0x000000 Lime = 0x00FF00 ; Create the sub-menus for the menu bar: Menu, FileMenu, Add, &New, FileNew Menu, FileMenu, Add, &Open... |
|
 |
| Sort by: |