Search found 41 matches
- 07 May 2022, 05:16
- Forum: Ask for Help (v1)
- Topic: AHK and drive safety when constantly writing to disk
- Replies: 3
- Views: 371
AHK and drive safety when constantly writing to disk
First of all am fairly new to all this, so please bear with me. I am in situation where I need to constantly write the contents of a variable to an INI file located on the C: drive. By constant I mean anything from 1 Second to 200ms. - How safe would this be for the drives health? - Would it speed u...
- 05 May 2022, 10:21
- Forum: Ask for Help (v1)
- Topic: Hotkey wont work if its modifier is also being used as part of the trigger
- Replies: 2
- Views: 314
Re: Hotkey wont work if its modifier is also being used as part of the trigger
That did not work Mikey :] thanks though, a user from another forum suggested this and it worked for me:
Use '{Blind}' to ignore the state of already held modifiers...
RShift & w::SendInput {Blind}+a
Better yet, use the modifier shortcuts...
>+w::SendInput {Blind}+a
- 02 May 2022, 16:45
- Forum: Ask for Help (v1)
- Topic: Hotkey wont work if its modifier is also being used as part of the trigger
- Replies: 2
- Views: 314
Hotkey wont work if its modifier is also being used as part of the trigger
This issue seems to only occur in this one program. I have the hotkey Shift + a set in this programs hotkey editor dialog, I want to trigger it in AHK using Rshift and w ; RShift & w:: SendInput, +{a} Return For the life of me, it will not work. I press Rshift and w and nothing happens at all. Trigg...
- 25 Jul 2021, 07:44
- Forum: Scripts and Functions (v1)
- Topic: MouseGestureL
- Replies: 322
- Views: 113120
Re: MouseGestureL
this is very cool but slightly different frm wht i need..this only distinguishes btw a click..i was looking more for a long press action rather than jus button up and button down..for example holding down the right mouse button for some time wud trigger an action...or holding down at the end of ges...
- 21 Jul 2021, 17:49
- Forum: Scripts and Functions (v1)
- Topic: MouseGestureL
- Replies: 322
- Views: 113120
Re: MouseGestureL
is it possible to assign a long press of a button to various tasks?? came across a neat little script in the forum called Increased functionality of buttons which lets u assign different actions depending on a long press and a very long press..of course a normal press wud jus pass through as a norm...
- 30 May 2021, 15:02
- Forum: Scripts and Functions (v1)
- Topic: RunAsTask() - Auto-elevates script without UAC prompt
- Replies: 121
- Views: 75876
Re: RunAsTask() - Auto-elevates script without UAC prompt
Thats excellent SKAN. it did just the trick. I did not know that it was the case even without your script, I stand corrected.
I love your tools and they proven to be a boon to me and my unknowing sister. Much thanks!
I love your tools and they proven to be a boon to me and my unknowing sister. Much thanks!
- 30 May 2021, 13:55
- Forum: Scripts and Functions (v1)
- Topic: RunAsTask() - Auto-elevates script without UAC prompt
- Replies: 121
- Views: 75876
Re: RunAsTask() - Auto-elevates script without UAC prompt
Hey I use your script and it works fine for most of the time but I also get this message box Ewj1aC5H8W.jpg if I already have a script running as elevated, running it again from explorer window(with RunAsTask) causes the above message box to show. Its frustrating as I do this all the time, for examp...
- 21 Apr 2021, 15:35
- Forum: Ask for Help (v1)
- Topic: Help checking if another script is currently suspended or not?
- Replies: 1
- Views: 380
Help checking if another script is currently suspended or not?
I need to logically check if a script is suspended so I can run a software I searched around allot and and I think the I need to use the variable a_issuspended but looking around all the code examples seem to be insane! DetectHiddenWindows, On SetTitleMatchMode 2 if WinExist("BconPenG604.ahk"){ Post...
- 21 Apr 2021, 09:18
- Forum: Scripts and Functions (v1)
- Topic: MouseGestureL
- Replies: 322
- Views: 113120
Re: MouseGestureL
Pyonkichi Any idea how I can toggle suspend status of another script via MGL? In a standard single line AHK scrip, the code below will suspend the running script called Example1.ahk 2:: PostMessage, 0x111, 65305,,, Example1.ahk - AutoHotkey Return Using the same code above in MGl does nothing, I am...
- 07 Apr 2021, 13:02
- Forum: Ask for Help (v1)
- Topic: Help with triggering hotstrings with unicode please?
- Replies: 6
- Views: 362
Re: Help with triggering hotstrings with unicode please?
Or just add #InputLevel 1 for the hotkeys. Perhaps that wasn't clear from my previous post. #InputLevel 1 5:: SendInput, {U+0061} ;Charecter a Return 6:: SendInput, {U+0062} ;Charecter b Return ::ab::myhotstring Return FYI, this code can be shortened to: #InputLevel 1 5::SendInput, {U+0061} ;Charec...
- 07 Apr 2021, 03:45
- Forum: Ask for Help (v1)
- Topic: Help with triggering hotstrings with unicode please?
- Replies: 6
- Views: 362
Help with triggering hotstrings with unicode please?
So I have this small keypad that has numpad keys, through evilC TapHold Library I use it as a typing keyboard. So something like this, 1 Tap SendInput, {U+0061} ;Charecter a 2 Taps SendInput, {U+0062} ;Charecter b I spent a week thinking it through and getting it just right. I have been very happy w...
- 27 Mar 2021, 07:06
- Forum: Ask for Help (v1)
- Topic: Help with getting current path of 'Save As' dialog please Topic is solved
- Replies: 9
- Views: 738
Re: Help with getting current path of save as dialog please Topic is solved
Thank you so much man, it works just like how I needed it to work.boiler wrote: Try this:Code: Select all
ControlGetText, ThisPath, ToolbarWindow324, ahk_class #32770
if I may ask, how did you know where to get this ToolbarWindow324 control name? Using the spy window I did not come across it, just curious.
- 26 Mar 2021, 22:47
- Forum: Ask for Help (v1)
- Topic: Help with getting current path of 'Save As' dialog please Topic is solved
- Replies: 9
- Views: 738
Help with getting current path of 'Save As' dialog please Topic is solved
I have so far written
But it only seems to work if the edit2 (address bar field) control has focus. Is there a way to just get the save as windows current path without it even having focus?
Thanks allot for your help.
Code: Select all
2::
ControlGetText, ThisPath, Edit2, ahk_class #32770
tooltip, %ThisPath%
Return
Thanks allot for your help.
- 13 Mar 2021, 15:02
- Forum: Scripts and Functions (v1)
- Topic: Hidden Menu Bar. aka FooMenuBar()
- Replies: 3
- Views: 768
Re: Hidden Menu Bar. aka FooMenuBar()
Excellent stuff as always, cant really delve into it now but I am saving it for later.
- 13 Mar 2021, 15:00
- Forum: Ask for Help (v1)
- Topic: How to turn of a subroutine? Topic is solved
- Replies: 4
- Views: 376
Re: How to turn of a subroutine? Topic is solved
Hey that actually works!
it uses a different approach which always great to see, thank you.
it uses a different approach which always great to see, thank you.
- 13 Mar 2021, 14:48
- Forum: Ask for Help (v1)
- Topic: How to turn of a subroutine? Topic is solved
- Replies: 4
- Views: 376
Re: How to turn of a subroutine? Topic is solved
Gosub should have a single parameter, which is a label. It appears that your subroutine does not really do anything in particular. Hotkeys are not defined in this manner in a block of running code. I cannot tell your intent, but this is likely a bug in your coding. Explained: Gosub Well to simplify...
- 13 Mar 2021, 14:29
- Forum: Ask for Help (v1)
- Topic: How to turn of a subroutine? Topic is solved
- Replies: 4
- Views: 376
How to turn of a subroutine? Topic is solved
I tried to place LCtrl:: Return in a code block and got error, ==> Hotkeys/hotstrings are not allowed inside functions. So I am trying to work with a subroutine. I have two blocks of code in my example, its using a library called TapHoldManager. I am trying to get a single tap to disable Lctrl in th...
- 01 Feb 2021, 23:46
- Forum: Scripts and Functions (v1)
- Topic: PathX() : Split & modify a filepath easily
- Replies: 14
- Views: 3085
Re: PathX() : Split & modify a filepath easily
SKAN you is the man.
Much appreciated
Much appreciated
- 01 Feb 2021, 03:37
- Forum: Scripts and Functions (v1)
- Topic: MouseGestureL
- Replies: 322
- Views: 113120
Re: MouseGestureL
Ahhh why I didnt I think that.
MGL used labels allot do its magic.
Excellent idea, Thank you so much.
MGL used labels allot do its magic.
Excellent idea, Thank you so much.
- 28 Jan 2021, 16:45
- Forum: Scripts and Functions (v1)
- Topic: MouseGestureL
- Replies: 322
- Views: 113120
Re: MouseGestureL
Mika_erdo I think you missunderstood me. LCTRLF10 is a single trigger on its own. The three triggers in question are defined like so. 9KGnyYlS9v.png I plan to only use the trigger LCTRL as a sub trigger. so for example, Pressing left control while F10 is down. The issue is using LCTRL as a sub trig...