| Author |
Message |
Forum: Support Topic: releasing modifier keys by means of send {X up} + BlockInput |
| arbe |
|
Posted: March 14th, 2007, 11:33 am
|
|
Replies: 4 Views: 746
|
YMP,
thank you so much for your help! My first tests show that send {Blind} is probably the solution I have been looking for for two days! |
|
 |
Forum: Support Topic: releasing modifier keys by means of send {X up} + BlockInput |
| arbe |
|
Posted: March 14th, 2007, 8:48 am
|
|
Replies: 4 Views: 746
|
| YMP, thanks for your thoughts. Using the send command's capability of releasing modifiers is not enough in my case. I am dragging an object across the screen which is dropped by the application as soon as there are modifier keys pressed (not only at pick up and dropping, but in the middle of the dra... |
|
 |
Forum: Support Topic: releasing modifier keys by means of send {X up} + BlockInput |
| arbe |
|
Posted: March 13th, 2007, 4:53 pm
|
|
Replies: 4 Views: 746
|
| Hi AHK community! I am writing a script that needs to be launched via a Ctrl+Shift+N hotkey. However, inside the script I need to perform keyboard and mouse action that only succeeds in my target application when no modifier key is pressed. Can you help me to come up with a reasonable solution to re... |
|
 |
Forum: Scripts Topic: AHK preprocessor |
| arbe |
|
Posted: September 3rd, 2006, 9:54 am
|
|
Replies: 7 Views: 3216
|
| The lines have not to be deleted completely, the CR could remain, so the line numbers were consistent. Thanks for the hint. You are absolutely right, I added the option -clearLines. Please don't feel constrained to integrate these suggestions, I'm pleased that you built this functionality as it is.... |
|
 |
Forum: Scripts Topic: AHK preprocessor |
| arbe |
|
Posted: September 2nd, 2006, 9:20 am
|
|
Replies: 7 Views: 3216
|
| Chris, Rabiator, and PhiLho, thanks for your interest! I liked the suggestion about deleting not defined lines and modified the script. Rabiator, please be aware that AHK's debug messages show line numbers that do not match those in your source files anymore, when you delete those lines. For compile... |
|
 |
Forum: Suggestions Topic: Preprocessing? |
| arbe |
|
Posted: August 29th, 2006, 8:09 pm
|
|
Replies: 20 Views: 2203
|
|
 |
Forum: Scripts Topic: AHK preprocessor |
| arbe |
|
Posted: August 29th, 2006, 8:07 pm
|
|
Replies: 7 Views: 3216
|
| Hi AHK-community! We recently had a discussion about the use of preprocessing an AHK file (see http://www.autohotkey.com/forum/topic4573.html ). I built a preprocessor that supports the following code: #DEFINE test #IFDEF test msgbox This code is executed. #ELSE msgbox This code is commented out. #E... |
|
 |
Forum: Suggestions Topic: Preprocessing? |
| arbe |
|
Posted: August 24th, 2006, 7:50 am
|
|
Replies: 20 Views: 2203
|
| Chris, thanks for considering it anyway. I agree that there are many high priority changes pending. Actually, I'd love debugging as well. PhiLho, thanks for your suggestion with the ;#xxx syntax. I will consider that. By the way, sorry for misunderstanding your post about commenting out. But now tha... |
|
 |
Forum: Suggestions Topic: Preprocessing? |
| arbe |
|
Posted: August 23rd, 2006, 9:44 am
|
|
Replies: 20 Views: 2203
|
| But actually, you can do the same thing with existing syntax: just replace #xxx with ;#xxx, process the source with some tool, be it written in AHK, awk, Perl, whatever, and then happily compile the resulting file. It is flexible (choose your prefered tool) and doesn't add anything to the language ... |
|
 |
Forum: Suggestions Topic: Preprocessing? |
| arbe |
|
Posted: August 23rd, 2006, 8:11 am
|
|
Replies: 20 Views: 2203
|
| Another popular use case will be to define the DEBUG preprocesser switch. That way, extensive logging can be enabled/disabled with changing just one line. The preprocessor is preferable to regular if statements due to not blowing up the (compiled) script, both in size and runtime speed (despite the ... |
|
 |
Forum: Suggestions Topic: Preprocessing? |
| arbe |
|
Posted: August 22nd, 2006, 7:47 pm
|
|
Replies: 20 Views: 2203
|
| Hi Chris, I do believe that preprocessing might be interesting for many users, especially those who compile their scripts for the public. I would use a preprocessor to have an integrated main script for personal and publishing intention: #define PUBLISH ^A:: msgbox This hotkey is available in both v... |
|
 |
Forum: Suggestions Topic: Input command interrupted by hotkeys |
| arbe |
|
Posted: May 10th, 2006, 7:53 pm
|
|
Replies: 1 Views: 738
|
| The Input command is currently interruptable by hotkeys: While an Input is in progress, new threads such as custom menu items and timed subroutines can still be created. Similarly, keyboard hotkeys are still in effect if the Input is visible. If the Input is not visible, only hook hotkeys can be tri... |
|
 |
Forum: Issues Topic: Run command and links with command line parameters |
| arbe |
|
Posted: March 7th, 2006, 8:02 am
|
|
Replies: 4 Views: 1446
|
| Hi Chris, thanks for looking into it. > AHK simply calls the OS's ShellExecute() > function to launch a shortcut (.lnk file) There must be some kind of difference, since I tried the exact same thing (calling ShellExecute()) in Visual Basic. The problem does not show up there. I did look into your sc... |
|
 |
Forum: Issues Topic: Run command and links with command line parameters |
| arbe |
|
Posted: March 6th, 2006, 7:49 pm
|
|
Replies: 4 Views: 1446
|
| Hi Chris, I experience the following bug: I have a windows shortcut/link file called c:\test.lnk. It is set to "c:\text.exe abc" (without the quotation marks and containg just that one space in the middle). Now this line in AHK Run, c:\test.lnk does launch test.exe correctly, but it passes... |
|
 |
Forum: Issues Topic: tmp and temp special variables |
| arbe |
|
Posted: January 12th, 2006, 8:13 am
|
|
Replies: 11 Views: 2297
|
| Hi Chris, are there any news about the implementation of this feature? This security related issue is getting more and more attention. A recent report about undefined behavior caused by uninitialized variables (that has been cited by the renowned german Heise magazine recently) can be found here: ht... |
|
 |
| Sort by: |