AutoHotkey Community

It is currently May 23rd, 2012, 4:50 pm

All times are UTC [ DST ]


Search found 9 matches
Search these results:

Author Message

 Forum: Support   Topic: Joining variables

Posted: August 5th, 2009, 12:24 am 

Replies: 4
Views: 387


SpiderGames, It works just fine. The problem was that one of those variables was created through the Clipboard, which contained the extra (invisible) characters. I may have given a bad example. Review the comments below to understand what really happened. Send, ^c ; copying an innocently looking int...

 Forum: Support   Topic: Joining variables

Posted: August 3rd, 2009, 11:35 pm 

Replies: 4
Views: 387


SpiderGames, My intention was to join the contents of a few variables in a pre-existing string. For example (general formatting, not AutoHotKey's): variable1 = "he variable2 = "llo" Clipboard = I said %variable1%%variable2% I have since found out that the problem was the clipboard con...

 Forum: Support   Topic: Loop won't terminate

Posted: July 30th, 2009, 11:44 pm 

Replies: 5
Views: 380


Thank you both. I saw that there were 2 extra hidden characters indicated by ListVars but it did not show what they were. Following your post, I looked more into strings. I used the following Trim function which works perfectly for contents copied from Excel: Send, ^c loopCounter = %Clipboard% Send,...

 Forum: Support   Topic: Loop won't terminate

Posted: July 30th, 2009, 10:33 pm 

Replies: 5
Views: 380


Carcophan, Thank you, but adding the count in the Loop line (as "Loop %RepeatCount%") was my very first choice. It behaves pretty much the same way which is the reason I resorted to Break/Return in the first place. It's more a question of "why doesn't this work" than "how do...

 Forum: Support   Topic: Loop won't terminate

 Post subject: Loop won't terminate
Posted: July 30th, 2009, 10:04 pm 

Replies: 5
Views: 380


Hello, Does anyone have the slightest clue why such loop won't terminate? Send, ^c ;copy the contents of an Excel cell to clipboard (a whole number) Sleep, 100 Clipboard = %Clipboard% ;clear any formatting from text in clipboard? RepeatCount = Clipboard Loop { Send, {Up}={...

 Forum: Support   Topic: Joining variables

 Post subject: Joining variables
Posted: July 29th, 2009, 4:30 pm 

Replies: 4
Views: 387


I have been trying to figure out this problem for the past couple of days. I just don't get it. Clipboard = Send, ^c ClipWait var1 := clipboard var2 := var1 var2 += 10 Send, {Del}^{Home} Sleep, 0 SetKeyDelay, 250 SendInput, {Right 6} Send, {Down} Clipboard = N...

 Forum: Support   Topic: Aborting a script

Posted: July 19th, 2009, 4:10 am 

Replies: 4
Views: 381


Not as easy as I'd hoped but it works. I'll add the sleep command where the potential for problems is the greatest.

Thanks!

:D

 Forum: Support   Topic: Aborting a script

 Post subject: Aborting a Script
Posted: July 19th, 2009, 1:30 am 

Replies: 4
Views: 381


Thanks Dbof,

This is the method I was referring to, but it didn't work even with the simplest example above. I tried adding the hotkey in various lines - before and after the main code, but regardless the hotkey executes only at the very end (after all 3 Sends are executed).

Tom

 Forum: Support   Topic: Aborting a script

 Post subject: Aborting a script
Posted: July 18th, 2009, 9:08 pm 

Replies: 4
Views: 381


Hello, I've been using a different macro software for while. This software allowed the termination of the macro regardless of what stage it's in. I'm looking for a certain built-in feature in AutoHotKey, or a way to program in the key to abort the macro. I've seen a couple of threads mentioning the ...
Sort by:  
Page 1 of 1 [ Search found 9 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group