| Author |
Message |
Forum: Support Topic: 3 small clicker scripts running at once lags game out |
| Nom |
|
Posted: October 16th, 2009, 1:09 am
|
|
Replies: 4 Views: 396
|
| Any loop is going to slow down a system to some degree, 3 running at once is going to be a problem try something more like this blah.ahk #InstallKeybdHook #Persistent SetCapsLockState, Off SetScrollLockState, Off SetNumLockState, Off capslock:: click Down Right Sleep 300 click Up Right SetCapsLockSt... |
|
 |
Forum: Support Topic: Script to send carriage return after barcoding |
| Nom |
|
Posted: October 15th, 2009, 10:33 pm
|
|
Replies: 11 Views: 631
|
| I checked with one of my scanners and got this to work: :Zbo*?:000768:: sendinput 000768 input, var, L6 V send, `r return returns: 000768244005 000768245002 ---- You might have a leading zero in your number on the barcode so you might need to pad the first digit in your particular string, from 13010... |
|
 |
Forum: Support Topic: Script to send carriage return after barcoding |
| Nom |
|
Posted: October 15th, 2009, 6:15 am
|
|
Replies: 11 Views: 631
|
| A couple thoughts here: Using window spy you can identify the text entry field and test it for a string 11 chars long and then send {return}. this also gives you a chance to validate a typed number in case you've made a typo in the first 5 ie. 13001 instead of 13010. At work I scan into a custom gui... |
|
 |
Forum: Support Topic: same button performs two tasks |
| Nom |
|
Posted: October 13th, 2009, 5:45 am
|
|
Replies: 3 Views: 378
|
you just need to set a variable on end of your first key press and test it for condition = 1, if condition = 0 it hasn't been pressed so do Blah, it's it been pressed then do Blah1 and set var to 0.
Check out If and have if immediately inside your hotkey. |
|
 |
Forum: Support Topic: Would this be possible? (lock/unlock computer) |
| Nom |
|
Posted: October 13th, 2009, 5:03 am
|
|
Replies: 8 Views: 699
|
| Iffy at best and if you choose a random password I bet you'll be sorry eventually. This doesn't work, I suppose AHK is suspended, too bad or it would be easy to lock the computer with a random password (you're screwed if you loose power): WinWaitActive, Unlock Computer WinSetTitle, Unlock Computer w... |
|
 |
Forum: Scripts Topic: Dirty QR Barcode Generator |
| Nom |
|
Posted: October 13th, 2009, 4:27 am
|
|
Replies: 8 Views: 1978
|
| I don't use QD codes myself but pointing out this resource and a method to implement it's use certainly is useful. You might consider adding This barcode was generated with Barcode Software by TEC-IT. to your code atleast in a comment if not in an about on your gui. I'm definitely going to use your ... |
|
 |
Forum: Scripts Topic: .CSV manipulation and excel input (sorry for the length) |
| Nom |
|
Posted: September 9th, 2009, 3:59 am
|
|
Replies: 1 Views: 1316
|
| I didn't read through it very far but I applaud you for giving up your baby. Your boss owes you a raise, hopefully he'll remember that :). You might want to set some of the defaults/variables into an .ini file of it's own. If you're too hard coded it could take a lot to edit it if the need should ar... |
|
 |
Forum: Support Topic: Macro for Current Date and Time |
| Nom |
|
Posted: August 19th, 2009, 2:45 am
|
|
Replies: 4 Views: 322
|
| with a little more work you can detect these fields that desire date and time content and have it filled automatically when the window shows up on the screen. might empress them even more than the hotkeys :) Edit: It just occurs to me that I have a use for selecting current date at work myself, sham... |
|
 |
Forum: Scripts Topic: SndRec32 controller w small UI. |
| Nom |
|
Posted: July 24th, 2009, 9:29 am
|
|
Replies: 14 Views: 2236
|
| I thought of that awhile back but it doesn't seem to help keywait, the sox process never really closes and after testing a few times I end up with a lot of open processes of sox waiting for a close request and no way to talk to them. I also ended up with multiple overlapping recording sessions recor... |
|
 |
Forum: Scripts Topic: SndRec32 controller w small UI. |
| Nom |
|
Posted: July 24th, 2009, 5:57 am
|
|
Replies: 14 Views: 2236
|
| Run %comspec% /c ""sox\sox.exe" "-d" "log\%Timestamp%.ogg"",,Hide hides the window but it also seems to prevent the detection of keywait which sends the ^c to terminate the recording even using a winshow/winactivate/sleep it doesn't seem to catch the ^c, prope... |
|
 |
Forum: Scripts Topic: SndRec32 controller w small UI. |
| Nom |
|
Posted: July 23rd, 2009, 7:13 pm
|
|
Replies: 14 Views: 2236
|
I looked up examples of hide lastnight after I posted but haven't had a chance to test them yet, that looks like what I expected so I'll give it a shot tonight. -
Thanks |
|
 |
Forum: Scripts Topic: SndRec32 controller w small UI. |
| Nom |
|
Posted: July 23rd, 2009, 7:18 am
|
|
Replies: 14 Views: 2236
|
| Too right especially since you took this on to help me :) Here's what I came up with: #InstallKeybdHook #Persistent SetTitleMatchMode,2 ALver=0.4 /* AudioLog Dependencies: assumes a subdirectory named sox with sox installed assumes a subdirectory named log for file storage Notes: ogg was used for a ... |
|
 |
Forum: Scripts Topic: SndRec32 controller w small UI. |
| Nom |
|
Posted: July 17th, 2009, 7:13 am
|
|
Replies: 14 Views: 2236
|
Looks good to me so far, the one minute limitation isn't too bad as there are ways to get past it. 1 minute is plenty for my goal. I learned a few other tricks reading your script.
I had managed to get a workable version with Sox but your gui is a nice touch.
Thanks for your work!
Nom |
|
 |
Forum: Support Topic: Passwording scripts |
| Nom |
|
Posted: July 15th, 2009, 10:09 am
|
|
Replies: 7 Views: 449
|
| I didn't test it but it looks clean and rather complete, kudos. Obviously an .ahk can't hide it's own PW without a lot more code and making it an exe doesn't help much; it depends on your level of user. I could see adding a lot of encryption that is included with a binary file held within the script... |
|
 |
Forum: Support Topic: Recording audio on the fly |
| Nom |
|
Posted: July 15th, 2009, 9:32 am
|
|
Replies: 2 Views: 611
|
| I get information at work over the radio that is often very specific and complicated, sometimes I just can't remember everything that was said so I have get confirmation on key elements; repeat this, repeat that... it's annoying and embarrassing to be honest. I need to be able to record their transm... |
|
 |
| Sort by: |