Search found 271 matches
- 08 Dec 2018, 17:36
- Forum: Ask for Help (v1)
- Topic: when i run scripts as admin and use hotkeys apps that open, run also as admin.
- Replies: 3
- Views: 1404
when i run scripts as admin and use hotkeys apps that open, run also as admin.
pretty much what the subject says, whenever i run a script as admin if i use a hotkey to for example open Google chrome it gives chrome admin privilages... this is nonsense... i just want the script to have that right. any way to fix this? BTW, the reason i run scripts as admin is that i'm running w...
- 06 Feb 2017, 07:55
- Forum: Scripts and Functions (v1)
- Topic: A really simple solution to accidental CapsLock/NumLock presses
- Replies: 11
- Views: 4932
Re: A really simple solution to accidental CapsLock/NumLock presses
oh man, it seemed really easy that I didn't even tried it , thanks againevilC wrote:?Code: Select all
^Capslock:: setcapslockstate, % (GetKeyState("CapsLock", "T") ? "AlwaysOff" : "On") return
- 06 Feb 2017, 07:48
- Forum: Scripts and Functions (v1)
- Topic: A really simple solution to accidental CapsLock/NumLock presses
- Replies: 11
- Views: 4932
Re: A really simple solution to accidental CapsLock/NumLock presses
^Capslock:: setcapslockstate, % (GetKeyState("CapsLock", "T") ? "Off" : "On") return thanks man, sorry to bother you with this little thing. so, it does toggles it on and off, but is there a way to change this that the other toggle be the always off , cause my only gripe with this is that it turns ...
- 06 Feb 2017, 07:30
- Forum: Scripts and Functions (v1)
- Topic: A really simple solution to accidental CapsLock/NumLock presses
- Replies: 11
- Views: 4932
Re: A really simple solution to accidental CapsLock/NumLock presses
Fun little idea. ... Hi, I was searching the forum to find out if it's possible to do this: 1. use SetCapsLockState, AlwaysOff at the auto-execute section alwaysoff the capslock; because I use it instead of enter in one case, and instead of tab and +tab in an combonation with alt in another case.. ...
- 16 Nov 2016, 02:41
- Forum: Ask for Help (v1)
- Topic: How to make the keys in a hotkey global so when you change the input, still that hotkey work?
- Replies: 7
- Views: 2145
Re: How to make the keys in a hotkey global so when you change the input, still that hotkey work?
any other way? guys I need your help, this is becoming annoying
I mean there gutta be some script or something to add to script to solve this
I mean there gutta be some script or something to add to script to solve this
- 02 Nov 2016, 04:19
- Forum: Ask for Help (v1)
- Topic: How can I use "SetTitleMatchMode, RegEx" for a part of a script and not in auto-exe?
- Replies: 3
- Views: 1311
Re: How can I use "SetTitleMatchMode, RegEx" for a part of a script and not in auto-exe?
tnx, so how should I do that? I need a little helpHelgef wrote:Set the mode in the function, mouseisover, you can pass the mode as a parameter if you don't want to always use the same mode.
- 31 Oct 2016, 07:11
- Forum: Ask for Help (v1)
- Topic: How can I use "SetTitleMatchMode, RegEx" for a part of a script and not in auto-exe?
- Replies: 3
- Views: 1311
How can I use "SetTitleMatchMode, RegEx" for a part of a script and not in auto-exe?
Hi, so is it possible to use settitlematchmode command for a particular part of a script, and not for the whole script?, where should I put it? In this script I need to use wildcard inside this function, MouseIsOverCtrl , and it's context-sensitive, so I'm not sure how should I use it for this scrip...
- 26 Oct 2016, 03:14
- Forum: Ask for Help (v1)
- Topic: Need Basic help
- Replies: 2
- Views: 1409
Need Basic help
i want to do code if this conotrl (ClassNN: _WwG1) is active? also how can I eliminate all the formatting from a text? ms word "Keep Text Only" feature doesn't work for ^v in my ms word, so I need to do it somehow with ahk I'm currently studying for university entrance exam and I'am seriously out o...
- 24 Oct 2016, 12:09
- Forum: Ask for Help (v1)
- Topic: AltTab remapping problem
- Replies: 3
- Views: 1279
Re: AltTab remapping problem
You defined a hotkey to activate when you press LAlt and 3. Then you pressed Shift and LAlt and 3, and the conditions for activating the hotkey were met, so it activated. I don't quite understand what you're saying, and by saying what's wrong I mean if I did an obvious mistake that I'm not seeing (...
- 24 Oct 2016, 01:25
- Forum: Ask for Help (v1)
- Topic: MouseIsOver for controls and wintitle?
- Replies: 2
- Views: 1237
MouseIsOver for controls and wintitle?
I yet don't understand how functions work, so I was hoping somebody either explain how can I write a function for my purpose, or give me an example: what I want is a extented MouseIsOver to use it a lot more than just over a wintitle, that have these parameters: MouseIsOver(Wintitle, Control (ClassN...
- 23 Oct 2016, 13:31
- Forum: Ask for Help (v1)
- Topic: Stop a service if started, else close with a hotkey?
- Replies: 14
- Views: 3334
Stop a service if started, else close with a hotkey?
stop a windows service if it's started, else close it? so I got this from here , but not sure if that works in latest autohotkey version, : RunWait,sc stop "AdobeARMservice" ;Stop AdobeARM service. If (ErrorLevel = 0){ MsgBox Success! } MsgBox %Errorlevel% RunWait,sc start "AdobeARMservice" ;Start A...
- 22 Oct 2016, 12:14
- Forum: Ask for Help (v1)
- Topic: How to make the keys in a hotkey global so when you change the input, still that hotkey work?
- Replies: 7
- Views: 2145
Re: How to make the keys in a hotkey global so when you change the input, still that hotkey work?
!VK57SC011::SendInput, ^{VK43SC03E} i don't know what's wrong but, for example i have this part in my script for "notepad": #IfWinActive, ahk_exe NOTEPAD.EXE !VK46SC021::SendInput, ^{VK46SC021} ; !f::SendInput, ^f and this one for SciTE (and a couple other like this for other windows with different...
- 21 Oct 2016, 02:00
- Forum: Ask for Help (v1)
- Topic: Problem
- Replies: 4
- Views: 1610
Re: Problem
Try this (untested)... ; The following line goes at the very top of your existing AHK file. SetTimer, KillBabylonMessage, 250 ; Everything below here goes at the bottom of your existing AHK file. KillBabylonMessage: IfWinExist, Babylon Message ahk_exe Babylon.exe WinKill, Babylon Message ahk_exe Ba...
- 20 Oct 2016, 10:01
- Forum: Ask for Help (v1)
- Topic: Problem
- Replies: 4
- Views: 1610
Problem
this annoying Babylon (translator program) message will come up every now and then when I click on the sound button on babylon window that says if you want to buy more sounds for your babylon software, so I tried to get rid of it with assigning all keys to close that message if it exist, but when I ...
- 18 Oct 2016, 13:41
- Forum: Ask for Help (v1)
- Topic: How to toggle "ReadOnly" of a .txt file (notepad) with an hotkey
- Replies: 9
- Views: 4188
How to toggle "ReadOnly" of a .txt file (notepad) with an hotkey
so, basically I'm looking for a script that toggles "ReadOnly" Attribute of a text file (notepad) with an hotkey from inside of any Notepad file
- 17 Oct 2016, 12:05
- Forum: Ask for Help (v1)
- Topic: is there anyway to use setkeydelay for just a part of a large script (not the whole script)? Topic is solved
- Replies: 13
- Views: 3723
Re: is there anyway to use setkeydelay for just a part of a large script (not the whole script)? Topic is solved
thanks helgef, I really needed to get it to workHelgef wrote:YesDeepMind wrote: you mean like this right?No, I just mean the code after the capslock & d:: down to the return (inclusive)what douse hotkeyroutine means? you mean execution from a hotkey to another?
- 16 Oct 2016, 12:59
- Forum: Ask for Help (v1)
- Topic: How to make the keys in a hotkey global so when you change the input, still that hotkey work?
- Replies: 7
- Views: 2145
Re: How to make the keys in a hotkey global so when you change the input, still that hotkey work?
oh, now I see where I goofed, thanksHotKeyIt wrote:!VK57SC011::SendInput, ^{VK43SC03E}
- 16 Oct 2016, 12:28
- Forum: Ask for Help (v1)
- Topic: How to make the keys in a hotkey global so when you change the input, still that hotkey work?
- Replies: 7
- Views: 2145
Re: How to make the keys in a hotkey global so when you change the input, still that hotkey work?
thanks HotKeyItHotKeyIt wrote:Use Virtual Key and Scan Code: !VK57SC011::SendInput, ^c
Edit: it works fine in english input, but in persian input it sends x, not ^c ? why?
- 16 Oct 2016, 11:44
- Forum: Ask for Help (v1)
- Topic: How to make the keys in a hotkey global so when you change the input, still that hotkey work?
- Replies: 7
- Views: 2145
How to make the keys in a hotkey global so when you change the input, still that hotkey work?
so let's say i have two input (english, persian) and i want to make keys in this hotkey ( !w::SendInput, ^c ) global (not sure if it's the right term) so if for example i pressed !w or !ص (equivalent key in persian input), i want it sends ^c, in both cases. so normally i tried to also define the sam...
- 16 Oct 2016, 08:19
- Forum: Ask for Help (v1)
- Topic: AltTab remapping problem
- Replies: 3
- Views: 1279
AltTab remapping problem
so this code should bring up the AltTab cycle but it also works if i press, Shift & ALT & 2 or Shift & ALT & 3, what's wrong?
Code: Select all
#if
~LAlt & 3::AltTab
~LAlt & 2::ShiftAltTab