Search found 22 matches
- 31 May 2018, 09:48
- Forum: Ask for Help (v1)
- Topic: WBGet Unstable and passing of COM Object
- Replies: 2
- Views: 668
Re: WBGet Unstable and passing of COM Object
No one have a clue ?
- 30 May 2018, 04:48
- Forum: Ask for Help (v1)
- Topic: WBGet Unstable and passing of COM Object
- Replies: 2
- Views: 668
WBGet Unstable and passing of COM Object
Hi all, I've been trying for the past week to get this to run stable by trying all sorts of things, but without any luck. I've extracted the specific issue from a larger script i'm working on. But due to sensetive data i cannot show that code, also this way nothing is cluttering up the code and we g...
- 25 Jan 2018, 18:02
- Forum: Ask for Help (v1)
- Topic: [Function] GetKeyState isn't working! Please, help!
- Replies: 56
- Views: 8886
Re: [Function] GetKeyState isn't working! Please, help!
Lol that is one big fuckup xDdivanebaba wrote:I think he just wanted to clear his crap and messed it up.![]()
But joking aside, he should be reported for this behavior. It is forum cancer, nothing less
![Smile :)](./images/smilies/icon_e_smile.gif)
- 25 Jan 2018, 17:51
- Forum: Ask for Help (v1)
- Topic: [Function] GetKeyState isn't working! Please, help!
- Replies: 56
- Views: 8886
Re: [Function] GetKeyState isn't working! Please, help!
... it's the user so i encourage anyone who read this to report him so he can get banned. This behaviour should not be welcomed or condoned. He is apparently new here. Making mistakes is human right. :crazy: :crazy: Main thing is, he does not repeat it again and again. I'm open for making mistakes,...
- 25 Jan 2018, 17:38
- Forum: Ask for Help (v1)
- Topic: [Function] GetKeyState isn't working! Please, help!
- Replies: 56
- Views: 8886
Re: [Function] GetKeyState isn't working! Please, help!
reported... in honor of youRastahammer wrote:In honor of @geekgarage... Solved.
@Joedf, @Helgef and @Nextron. Thank you very much!
![Smile :)](./images/smilies/icon_e_smile.gif)
- 25 Jan 2018, 17:38
- Forum: Ask for Help (v1)
- Topic: [Function] GetKeyState isn't working! Please, help!
- Replies: 56
- Views: 8886
Re: [Function] GetKeyState isn't working! Please, help!
This thread is terrible. Rastahammer, you have delete your question and even not marked any solution. This is not meaning of this forum. Goal is, if someone has same issue, he must be able to find a solution here. It's not the thread that is the issue.. it's the user so i encourage anyone who read ...
- 25 Jan 2018, 16:33
- Forum: Ask for Help (v1)
- Topic: [Function] GetKeyState isn't working! Please, help!
- Replies: 56
- Views: 8886
Re: [Function] GetKeyState isn't working! Please, help!
Hmmm. This gives same results: $1:: { if GetKeyState("ScrollLock", "T") { SendInput {7 Down}{8 Down}{9 Down} DllCall("Sleep","UInt",4) SendInput {7 Up}{8 Up}{9 Up} DllCall("Sleep","UInt",4) } } Checking the state of 1 isn't necessary. If 1 is released, the hotkey will not be triggered. A query for ...
- 25 Jan 2018, 16:11
- Forum: Ask for Help (v1)
- Topic: [Function] GetKeyState isn't working! Please, help!
- Replies: 56
- Views: 8886
Re: [Function] GetKeyState isn't working! Please, help!
From all the lines above the hotkeys (those are kind of important to get it running really fast) Only these I can see would cause any issue, but you asked for it to be fast ;) #HotkeyInterval 99000000 SetBatchLines, -1 SetKeyDelay, -1, -1 (most likely this) Having these in a script is a must #Persis...
- 25 Jan 2018, 16:06
- Forum: Ask for Help (v1)
- Topic: [Function] GetKeyState isn't working! Please, help!
- Replies: 56
- Views: 8886
Re: [Function] GetKeyState isn't working! Please, help!
Hello. So many trys and no solution? Okay, here is my suggestion. I just have modified the first post, without knowing the requirements. $1:: { if (GetKeyState("ScrollLock", "T") && GetKeyState("1", "P")) { SendInput {7 Down}{8 Down}{9 Down} DllCall("Sleep","UInt",4) SendInput {7 Up}{8 Up}{9 Up} Dl...
- 20 Dec 2017, 08:24
- Forum: Ask for Help (v1)
- Topic: Windows 10 search is missing half of my keys when typing while autohotkey is running
- Replies: 5
- Views: 1233
Re: Windows 10 search is missing half of my keys when typing while autohotkey is running
This issue occurs if I simply create an empty authotkey script and run it. I do not believe it is possible for AutoHotkey to have any effect under those conditions. An empty script will do nothing but immediately exit. It will not stay running. If you add #Persistent it will stay running, but it do...
- 19 Dec 2017, 21:00
- Forum: Ask for Help (v1)
- Topic: Windows 10 search is missing half of my keys when typing while autohotkey is running
- Replies: 5
- Views: 1233
Re: Windows 10 search is missing half of my keys when typing while autohotkey is running
try adding ~ in front of your hotkeys in the AHK script and you should be good. What it does is allowing the key to function normally while being a hotkey. if you don't your AHK script will "eat" the keypress. If you use $ in front it will allow an AHK script hotkey to send itself ;This will not sen...
- 19 Dec 2017, 10:40
- Forum: Gaming Help (v1)
- Topic: Spamming script
- Replies: 2
- Views: 631
Re: Spamming script
you should really read through this thread here, I've just helped some one with more or less the same issue
final script on page 2 of that thread but there are a lot of good info throughout the thread that you can make use of![Wink ;)](./images/smilies/icon_e_wink.gif)
https://autohotkey.com/boards/viewtopic ... 3&start=20
![Smile :)](./images/smilies/icon_e_smile.gif)
final script on page 2 of that thread but there are a lot of good info throughout the thread that you can make use of
![Wink ;)](./images/smilies/icon_e_wink.gif)
https://autohotkey.com/boards/viewtopic ... 3&start=20
- 18 Dec 2017, 15:55
- Forum: Ask for Help (v1)
- Topic: [Function] GetKeyState isn't working! Please, help!
- Replies: 56
- Views: 8886
Re: [Function] GetKeyState isn't working! Please, help!
Solved! while GetKeyState("ScrollLock", "T"){ while GetKeyState("1", "D"){ SendInput 09 Thank you @geekgarage! I removed the key "1" and now it's working like a charm! You are very welcome :) I've optimized it a bit further and now you can also use the keys as normal keys when scroll lock isn't ena...
- 18 Dec 2017, 15:24
- Forum: Ask for Help (v1)
- Topic: Logitech K270 Keyboard Multimedia Button Scan Codes
- Replies: 3
- Views: 3516
Re: Logitech K270 Keyboard Multimedia Button Scan Codes
have you had a look here https://autohotkey.com/docs/KeyList.htm
specific these keys
Sleep
Launch_Mail
Browser_Home
specific these keys
Sleep
Launch_Mail
Browser_Home
- 18 Dec 2017, 15:08
- Forum: Ask for Help (v1)
- Topic: Gui "splash image" for Caps Lock state toggle
- Replies: 2
- Views: 1070
Re: Gui "splash image" for Caps Lock state toggle
the part where it doesn't change focus can only be done as far as i know if you create the gui and then update to show the image, then update it again to not show or show a transparent image. Never destroy the gui and you should be fine. The focus changes every time you create it, by just updating i...
- 17 Dec 2017, 20:48
- Forum: Ask for Help (v1)
- Topic: [Function] GetKeyState isn't working! Please, help!
- Replies: 56
- Views: 8886
Re: [Function] GetKeyState isn't working! Please, help!
Well time for you to mix the scripts then, i'm on my way to bed, and I might have a look at it tomorrow, nothing is wrong with it, it's just not working as you expected, it might be time for you to really describe how you want it to work ;) I've given you 3 different versions that all have their goo...
- 17 Dec 2017, 20:27
- Forum: Ask for Help (v1)
- Topic: [Function] GetKeyState isn't working! Please, help!
- Replies: 56
- Views: 8886
Re: [Function] GetKeyState isn't working! Please, help!
Just in case you still cant figure it out :) By using ~ in front it allows for the key to be used as the normal key while also triggering the hotkey Using ~ also imply $ by default so you don't need to add $~ to be able to send the same key that you are using for hotkey, in the script as 3 is not se...
- 17 Dec 2017, 20:14
- Forum: Ask for Help (v1)
- Topic: [Function] GetKeyState isn't working! Please, help!
- Replies: 56
- Views: 8886
Re: [Function] GetKeyState isn't working! Please, help!
@geekgarage Thank you for your time trying to help me. But with your script, the only way to stop the loop is pressing scrolllock. And like I said, I'm using this script for gaming. And this way isn't viable to play a MMORPG. The best way is when I "release" the key and stops the loop. well i've gi...
- 17 Dec 2017, 20:12
- Forum: Ask for Help (v1)
- Topic: [Function] GetKeyState isn't working! Please, help!
- Replies: 56
- Views: 8886
Re: [Function] GetKeyState isn't working! Please, help!
an even better version would be where you can toggle it on and off and i've attached it below, i would recommend that you play with the single delay as it is CPU intensive as you are sending about 4000 characters a second if all is activated #Persistent #SingleInstance force #NoEnv ; Recommended for...
- 17 Dec 2017, 19:45
- Forum: Ask for Help (v1)
- Topic: [Function] GetKeyState isn't working! Please, help!
- Replies: 56
- Views: 8886
Re: [Function] GetKeyState isn't working! Please, help!
removed your basic loop and replaced them with a while loop so the code is optimized. tested and working on my system. Also you should use SendInput instead of send as it is faster. i get that by setting SendMode to input that you are using SendInput by writing Send, but in case that sendMode isn't ...