| Author |
Message |
Topic: how to use a variable for a hotkey |
JDN
Replies: 11
Views: 235
|
Forum: Ask for Help Posted: Sat Jun 11, 2011 7:00 am Subject: how to use a variable for a hotkey |
Son of a gun!
In the ten minutes it took me to write and test this sample code, someone else had already posted a working example.
Sometimes I really get annoyed with computers.
By the way, t ... |
Topic: how to use a variable for a hotkey |
JDN
Replies: 11
Views: 235
|
Forum: Ask for Help Posted: Sat Jun 11, 2011 6:46 am Subject: how to use a variable for a hotkey |
/*
The first three lines must be executed before you can use the hotkey. It might be best to put them at the very beginning of your script.
The beginning of your script is called the "Auto- ... |
Topic: Need help looping and how to stop it. |
JDN
Replies: 5
Views: 388
|
Forum: Ask for Help Posted: Wed May 11, 2011 6:36 pm Subject: Need help looping and how to stop it. |
See?
I told you there were simpler ways to do this.
LOL.
Thank you very much nimda! |
Topic: Need help looping and how to stop it. |
JDN
Replies: 5
Views: 388
|
Forum: Ask for Help Posted: Wed May 11, 2011 6:25 pm Subject: Need help looping and how to stop it. |
I'm fairly certain there are some real simple ways to do this. Unfortunately, I'm just not that well experienced with AHK to know what they are off the top of my head.
The problem to watch out for ... |
Topic: Comparing Variables |
JDN
Replies: 15
Views: 351
|
Forum: Ask for Help Posted: Tue May 03, 2011 9:34 pm Subject: Comparing Variables |
quite simple if you know that only 1 is different.
if c1 = c2 and c2 = c3 and c1 = c3
you can concluded these 3 are the same, and not an anomoly
(if this doesnt work, try with another random 3 un ... |
Topic: Comparing Variables |
JDN
Replies: 15
Views: 351
|
Forum: Ask for Help Posted: Tue May 03, 2011 9:14 pm Subject: Comparing Variables |
I deleted my example because it was overly-complex and the next poster posted a much simpler and better solution. The basic idea is.
if (c2=c3) and (c1<>c2)
Msgbox % "C1 is unique&quo ... |
Topic: Coding Parms in AHK Commands |
JDN
Replies: 7
Views: 420
|
Forum: Ask for Help Posted: Fri Apr 29, 2011 7:11 pm Subject: Coding Parms in AHK Commands |
Ha Ha!
I've used AHK since it first came out and run into this problem - not only every time I try to use an AHK command for the first time, but also if I haven't used a command for a few months an ... |
Topic: Coding Parms in AHK Commands |
JDN
Replies: 7
Views: 420
|
Forum: Ask for Help Posted: Fri Apr 29, 2011 11:56 am Subject: Coding Parms in AHK Commands |
Thank you all very much for your replies.
I found them to be very helpful.
Most of all, the knowledge that I am not alone and that others have experienced this same problem.
I will save the i ... |
Topic: Having trouble breaking out of a loop |
JDN
Replies: 3
Views: 134
|
Forum: Ask for Help Posted: Fri Apr 29, 2011 5:02 am Subject: Having trouble breaking out of a loop |
I think you may want to rewrite your Loop statement using curly braces:
Loop
{
if getKeyState(Space) = true
break
}
See if this is any better?
Also, you sho ... |
Topic: Coding Parms in AHK Commands |
JDN
Replies: 7
Views: 420
|
Forum: Ask for Help Posted: Fri Apr 29, 2011 4:51 am Subject: Coding Parms in AHK Commands |
I'm embarassed to admit this, but I have a problem when trying to understand how to code parameters in an AHK command I never used before.
For example, today, I had to use the StringReplace comman ... |
Topic: Testing to see if a window menu is present |
JDN
Replies: 6
Views: 179
|
Forum: Ask for Help Posted: Thu Apr 28, 2011 8:56 pm Subject: Testing to see if a window menu is present |
If you don't get any satisfactory help in the next 48 hours, I suggest you post a new thread asking again.
I guess most people who are knowledgeable in these matters probably figured you have been ... |
Topic: Seek someone to write a hotkey script |
JDN
Replies: 6
Views: 168
|
Forum: Ask for Help Posted: Thu Apr 28, 2011 5:30 pm Subject: Seek someone to write a hotkey script |
If you want to find your past posts, just click on the Search link above and enter your name "OldManEd" into the box that says "Search For author"
Or you can click on the link ... |
Topic: Testing to see if a window menu is present |
JDN
Replies: 6
Views: 179
|
Forum: Ask for Help Posted: Thu Apr 28, 2011 2:35 am Subject: Testing to see if a window menu is present |
As far as the presence or absence of a specific menu item goes, I'm not sure I understand exactly what kind of menu item you seek.
Would it be a menu item from the host application? i.e. If you ar ... |
Topic: Testing to see if a window menu is present |
JDN
Replies: 6
Views: 179
|
Forum: Ask for Help Posted: Thu Apr 28, 2011 1:23 am Subject: Testing to see if a window menu is present |
Just a quick comment,
If both conditions are true, do you want to perform both actions?
I'm asking if you might want to use an "else" clause in your script. |
Topic: Seek someone to write a hotkey script |
JDN
Replies: 6
Views: 168
|
Forum: Ask for Help Posted: Wed Apr 27, 2011 9:15 pm Subject: Seek someone to write a hotkey script |
For sure it is a good idea to post what you want and need.
Not only might you get it for free, but having group think at work is always a good thing.
Someone may always have a better approach th ... |
| |