| Author |
Message |
Forum: Support Topic: Getting quotes in a variable string |
| George_AHK |
|
Posted: October 7th, 2011, 6:56 pm
|
|
Replies: 2 Views: 82
|
Just got it.
sCommand = "C:\Program Files\Resource Hacker\reshacker.exe\" "`%1" |
|
 |
Forum: Support Topic: Getting quotes in a variable string |
| George_AHK |
|
Posted: October 7th, 2011, 6:50 pm
|
|
Replies: 2 Views: 82
|
| Quick question: How do I get the following, including the quotes in a variable. I also had trouble with the %. "C:\Program Files\Resource Hacker\reshacker.exe" "%1" I have tried: sCaption := ("C:\Program Files\Resource Hacker\reshacker.exe" "%1") sCaption = &q... |
|
 |
Forum: Scripts Topic: Popup calculator / expression evaluator |
| George_AHK |
|
Posted: September 30th, 2011, 7:55 pm
|
|
Replies: 70 Views: 17662
|
| I just tried it with AutoHotkey v1.1.04.01 and it still complains about the return parameter being not in a function. |
|
 |
Forum: Scripts Topic: Popup calculator / expression evaluator |
| George_AHK |
|
Posted: September 30th, 2011, 7:48 pm
|
|
Replies: 70 Views: 17662
|
I just came across it so I never ran it before in a prior version. When I remove the var from the return it will run but the tray menu does not display at all. If I click the tray icon it just exits.
Does anyone get it to run with newer version of AHK? I notice the posts are slightly old. |
|
 |
Forum: Scripts Topic: Work Break Timer, Task/Idea Logger, ScreenCapture - v. 3.00 |
| George_AHK |
|
Posted: September 30th, 2011, 7:07 pm
|
|
Replies: 144 Views: 53639
|
| I was interested in what this script was all about but had issues getting it to run. Anyway still not sure if I am going to use it but.... I had to comment out this line (around line# 942) and tweak the next: ;DllCall("kernel32\MultiByteToWideChar", "Uint", 0, "Uint", 0... |
|
 |
Forum: Scripts Topic: Popup calculator / expression evaluator |
| George_AHK |
|
Posted: September 30th, 2011, 3:52 pm
|
|
Replies: 70 Views: 17662
|
I get an error when I try to run the calc.ahk script. I am using AutoHotkey v1.1.05.00-beta5 32 bit.
Error: Return's parameter should be blank except inside a function.
Line#
636:_io+=_d
.....
643: Return,y |
|
 |
Forum: Scripts Topic: AHKControl |
| George_AHK |
|
Posted: September 29th, 2011, 10:08 pm
|
|
Replies: 22 Views: 6183
|
| Why are some of the names of the files just a row of squares? By squares I mean the normal letter of the file name are replaced with some other character that looks like a square. I did notice that it is only for the two that where loaded with an Icon. The Icon show correctly but the name of the .ak... |
|
 |
Forum: Support Topic: [solved] - Inconsistent ControlFocus behavior |
| George_AHK |
|
Posted: September 28th, 2011, 6:18 pm
|
|
Replies: 4 Views: 182
|
| I added a sleep 50 and it seems to be very consistent. I wonder how CPU usage will affect things when I get this deployed in the real world. That is why I created user settable variables like, KeyDelayTime and DialogWaitTime, so individual users can tweak these. Thanks once again for the suggestions... |
|
 |
Forum: Support Topic: [solved] - Inconsistent ControlFocus behavior |
| George_AHK |
|
Posted: September 27th, 2011, 9:03 pm
|
|
Replies: 4 Views: 182
|
| Sorry, yes it is a function so I need the global declaration. And yes SaleType is being passed in as a parameter. Here is a more complete code sample. DialogWaitTime := 15000 #IfWinActive, ahk_class TfrmMain ; only work if our program has focus Numpad7 & Numpad8:: ; hotkey InputBox, usercode, En... |
|
 |
Forum: Support Topic: ControlSend not working consistently for Cisco Agent Desktop |
| George_AHK |
|
Posted: September 27th, 2011, 8:50 pm
|
|
Replies: 8 Views: 403
|
| I just took the code as is and tried it on two of my Cisco agent machines. It didn't work on either machine, button click or right click. Not sure how this info helps you any but at least I tried it. I am running the _L version of AHK. Both machines were Win7. I don't know anything about Cisco versi... |
|
 |
Forum: Support Topic: [solved] - Inconsistent ControlFocus behavior |
| George_AHK |
|
Posted: September 27th, 2011, 8:02 pm
|
|
Replies: 4 Views: 182
|
| Why do I get inconsistent control focus with the following code. Sometimes it works and other times it doesn't. The control names on the screen in question are very similar i.e. TGroupButton5, TGroupButton7, etc. it that has anything to do with it. I am setting the DialogWaitTime to 15000 (15seconds... |
|
 |
Forum: Support Topic: Global variable use in functions |
| George_AHK |
|
Posted: September 27th, 2011, 5:04 pm
|
|
Replies: 4 Views: 155
|
|
 |
Forum: Support Topic: Global variable use in functions |
| George_AHK |
|
Posted: September 27th, 2011, 3:56 pm
|
|
Replies: 4 Views: 155
|
| How do I use a global variable in a function. In the code example below there is a while loop that waits for a dialog box to appear. I want the time to wait to be a user settable preference. I defined a var called DialogWaitTime at the very beginning of the script but I can't figure out how to use i... |
|
 |
Forum: Support Topic: CAPS Lock key |
| George_AHK |
|
Posted: September 26th, 2011, 4:47 am
|
|
Replies: 4 Views: 169
|
| Wha are you alking abou? No having he key is no a problem. You can read his can' you? |
|
 |
Forum: Support Topic: Referencing an array element |
| George_AHK |
|
Posted: September 26th, 2011, 12:25 am
|
|
Replies: 13 Views: 276
|
| OK bummer, I was using the arrays to make handling the data easier and to use in loops. Since I am going to need gui edits for them all I guess I will just go back to using variables, and create and use them in a fashion shown by engunneer. Thanks to both of you for setting me straight. |
|
 |
| Sort by: |