| Author |
Message |
Forum: Support Topic: need a macro, pretty new to scripting |
| complx |
|
Posted: February 14th, 2010, 1:26 pm
|
|
Replies: 7 Views: 295
|
| Games are a case sui generis. Make a simple script which pops up a messagebox once your hotkey is pressed. Try this once in notepad to be sure it works and then try in the game to see if hotkeys are passed through at all. A lot of games capture all keystrokes not letting any hotkeys through, there a... |
|
 |
Forum: Support Topic: timed event ?? is it possible ? |
| complx |
|
Posted: February 14th, 2010, 1:00 pm
|
|
Replies: 3 Views: 266
|
| Have a look at the SetTimer-Command in the manual. You could use this do periodically check if it's time to run the script. But this would be more or less an endless loop waiting for the right time to act. Not very stylish. "at midnight each day" is a sth. for a scheduler, nothing have a s... |
|
 |
Forum: Support Topic: Run Command on Windows Seven |
| complx |
|
Posted: February 13th, 2010, 12:29 pm
|
|
Replies: 10 Views: 541
|
Anonymous wrote: [...] the first time to run any programs, UAC will pop up, after u approves it, it will never show up again.[...]
Can't confirm that. UAC always asks for applications, e.g. try regedit - there's always a popup you've to approve. (using Win7 x64 home premium) |
|
 |
Forum: Support Topic: Run Command on Windows Seven |
| complx |
|
Posted: February 12th, 2010, 7:10 pm
|
|
Replies: 10 Views: 541
|
| How does the task scheduler workaround work? Okay here it comes - excuse me, if I'm using wrong terms. I'm using a german Win7 so I might not guess the right term, when translating this back to english :wink: : 1. Create a new task (or maybe it's called job?) in the task scheduler. 2. The key trick... |
|
 |
Forum: Support Topic: how is windows 7 support? |
| complx |
|
Posted: February 12th, 2010, 6:56 pm
|
|
Replies: 5 Views: 155
|
| I was using Vista64 without any problems for over a year and I am using Win7 on 64bit for about 2 month now. So far everything's fine for me. There are some problems with a few extensions of ac'tivAid (a german AHK-compilation with a lot of tools), but I'm not sure if this is a AHK-topic or an imple... |
|
 |
Forum: Support Topic: how is windows 7 support? |
| complx |
|
Posted: February 12th, 2010, 6:33 pm
|
|
Replies: 5 Views: 155
|
General question - general answer:
No problems so far.  |
|
 |
Forum: Support Topic: Run Command on Windows Seven |
| complx |
|
Posted: February 12th, 2010, 6:32 pm
|
|
Replies: 10 Views: 541
|
| You mean bypassing the UAC (user account control) implemented since Vista? That can be done by using the task scheduler as a workaround. I can post a more detailed description, if I understood you right. AHK won't help AFAIK. There would be not much security, if bypass UAC would be so easy. :D |
|
 |
Forum: Support Topic: Set Screen Size |
| complx |
|
Posted: February 12th, 2010, 6:26 pm
|
|
Replies: 4 Views: 240
|
If you only want to start with a given width and height, it's just as simple like this.
Code: #E:: run notepad sleep,100 WinMove, ahk_class Notepad,,,,600, 600
return
If you want to force the window keeping this width and height you should try the approach posted by Murx. |
|
 |
Forum: Support Topic: Autohotkey not responding? |
| complx |
|
Posted: February 12th, 2010, 6:15 pm
|
|
Replies: 3 Views: 589
|
| Hi, if you can't get even the simplest hotkey to get through – sth. like Win-X triggering a msgBox, I would assume that the game is capturing all keystrokes. Try some shortcuts of the operating systems like Win+E (open explorer) or Win+M (minimize all folders). If these fail too, there's not much ho... |
|
 |
Forum: Support Topic: Get caret position (relative to screen) in browsers? |
| complx |
|
Posted: February 6th, 2010, 4:47 pm
|
|
Replies: 9 Views: 1964
|
| So far I didn't find a solution to reliably determine the carets position. In the meantime I use the last mouse pointers position as fallback. If this isn't available either I use the center of the screen. Here's what I knocked together so far: ;; DatePicker V0.05 ;; (c) 2010 by complx ;; fr... |
|
 |
Forum: Support Topic: Wait 1 second |
| complx |
|
Posted: February 4th, 2010, 8:40 pm
|
|
Replies: 3 Views: 306
|
Something like this?
Code: #singleInstance force
:*:b:: { KeyWait, b, T2 sendInput b } Edit: ...or better this way?
Code: #singleInstance force
:*:b:: { sendInput b KeyWait, b, T2 }
HTH |
|
 |
Forum: Support Topic: edit controls with transparency |
| complx |
|
Posted: February 3rd, 2010, 9:06 pm
|
|
Replies: 13 Views: 633
|
The annoying bug! wrote: Ahh!!!!  ..the precious solution, "-BackgroundTrans "..
lol, all the playing with text fields and blind for beginning, I should not code past 8 p.m. *facepalm* |
|
 |
Forum: Support Topic: edit controls with transparency |
| complx |
|
Posted: February 2nd, 2010, 8:57 pm
|
|
Replies: 13 Views: 633
|
| or this background:="axpssplogo.png" Gui, 1: Add, Picture, x0 y0 BackgroundTrans , %background% Gui, 1: Add, Edit, vName x100 y80 -WantReturn Gui, 1: Add, Text, vTxt1 xp+3 yp+3 wp-6 hp-6 Hidden -BackgroundTrans Gui, 1: Add, Edit, vNumber xp-3 yp+27 -WantReturn Gui, 1: Add, Text, vTxt2 xp+3... |
|
 |
Forum: Support Topic: checkbox change funkcion of button + new gui window help |
| complx |
|
Posted: February 2nd, 2010, 7:42 pm
|
|
Replies: 23 Views: 1883
|
| Hmm, why don't you use the password option of an edit field?! :wink: #singleInstance Force Gui, Add, Edit, vMyEdit Password* Gui, Add, Button, Default, OK Gui, Show return ButtonOK: GuiClose: GuiEscape: Gui, Submit msgBox Nobody saw you typing: %MyEdit% ExitApp See manual for details... hth |
|
 |
Forum: Support Topic: checkbox change funkcion of button + new gui window help |
| complx |
|
Posted: February 2nd, 2010, 11:05 am
|
|
Replies: 23 Views: 1883
|
| You're wellcome. [...]Is it possible to make some coding for that?[...] The right word for this is encryption . You'll find a lot of posts if you search for the phrase "encrypt password". I would recommend http://www.autohotkey.com/forum/viewtopic.php?t=20725&highlight=encryption as a ... |
|
 |
| Sort by: |