Search found 271 matches

by DeepMind
08 Dec 2018, 17:36
Forum: Ask For Help
Topic: when i run scripts as admin and use hotkeys apps that open, run also as admin.
Replies: 3
Views: 537

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...
by DeepMind
06 Feb 2017, 07:55
Forum: Scripts and Functions
Topic: A really simple solution to accidental CapsLock/NumLock presses
Replies: 11
Views: 2431

Re: A really simple solution to accidental CapsLock/NumLock presses

evilC wrote:

Code: Select all

^Capslock::
	setcapslockstate, % (GetKeyState("CapsLock", "T") ? "AlwaysOff" : "On")
	return
?
oh man, it seemed really easy that I didn't even tried it :lol: , thanks again :bravo:
by DeepMind
06 Feb 2017, 07:48
Forum: Scripts and Functions
Topic: A really simple solution to accidental CapsLock/NumLock presses
Replies: 11
Views: 2431

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 ...
by DeepMind
06 Feb 2017, 07:30
Forum: Scripts and Functions
Topic: A really simple solution to accidental CapsLock/NumLock presses
Replies: 11
Views: 2431

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.. ...
by DeepMind
16 Nov 2016, 02:41
Forum: Ask For Help
Topic: How to make the keys in a hotkey global so when you change the input, still that hotkey work?
Replies: 7
Views: 1299

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
by DeepMind
02 Nov 2016, 04:19
Forum: Ask For Help
Topic: How can I use "SetTitleMatchMode, RegEx" for a part of a script and not in auto-exe?
Replies: 3
Views: 781

Re: How can I use "SetTitleMatchMode, RegEx" for a part of a script and not in auto-exe?

Helgef 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.
tnx, so how should I do that? I need a little help :idea:
by DeepMind
31 Oct 2016, 07:11
Forum: Ask For Help
Topic: How can I use "SetTitleMatchMode, RegEx" for a part of a script and not in auto-exe?
Replies: 3
Views: 781

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...
by DeepMind
26 Oct 2016, 03:14
Forum: Ask For Help
Topic: Need Basic help
Replies: 2
Views: 855

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...
by DeepMind
24 Oct 2016, 12:09
Forum: Ask For Help
Topic: AltTab remapping problem
Replies: 3
Views: 835

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 (...
by DeepMind
24 Oct 2016, 01:25
Forum: Ask For Help
Topic: MouseIsOver for controls and wintitle?
Replies: 2
Views: 674

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...
by DeepMind
23 Oct 2016, 13:31
Forum: Ask For Help
Topic: Stop a service if started, else close with a hotkey?
Replies: 14
Views: 1435

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...
by DeepMind
22 Oct 2016, 12:14
Forum: Ask For Help
Topic: How to make the keys in a hotkey global so when you change the input, still that hotkey work?
Replies: 7
Views: 1299

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...
by DeepMind
21 Oct 2016, 02:00
Forum: Ask For Help
Topic: Problem
Replies: 4
Views: 1007

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...
by DeepMind
20 Oct 2016, 10:01
Forum: Ask For Help
Topic: Problem
Replies: 4
Views: 1007

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 ...
by DeepMind
18 Oct 2016, 13:41
Forum: Ask For Help
Topic: How to toggle "ReadOnly" of a .txt file (notepad) with an hotkey
Replies: 9
Views: 2423

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
by DeepMind
17 Oct 2016, 12:05
Forum: Ask For Help
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: 2022

Re: is there anyway to use setkeydelay for just a part of a large script (not the whole script)? Topic is solved

Helgef wrote:
DeepMind wrote: you mean like this right?
Yes
what douse hotkeyroutine means? you mean execution from a hotkey to another?
No, I just mean the code after the capslock & d:: down to the return (inclusive)
thanks helgef, I really needed to get it to work
by DeepMind
16 Oct 2016, 12:59
Forum: Ask For Help
Topic: How to make the keys in a hotkey global so when you change the input, still that hotkey work?
Replies: 7
Views: 1299

Re: How to make the keys in a hotkey global so when you change the input, still that hotkey work?

HotKeyIt wrote:!VK57SC011::SendInput, ^{VK43SC03E}
oh, now I see where I goofed, thanks
by DeepMind
16 Oct 2016, 12:28
Forum: Ask For Help
Topic: How to make the keys in a hotkey global so when you change the input, still that hotkey work?
Replies: 7
Views: 1299

Re: How to make the keys in a hotkey global so when you change the input, still that hotkey work?

HotKeyIt wrote:Use Virtual Key and Scan Code: !VK57SC011::SendInput, ^c
thanks HotKeyIt :)

Edit: it works fine in english input, but in persian input it sends x, not ^c ? why?
by DeepMind
16 Oct 2016, 11:44
Forum: Ask For Help
Topic: How to make the keys in a hotkey global so when you change the input, still that hotkey work?
Replies: 7
Views: 1299

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...
by DeepMind
16 Oct 2016, 08:19
Forum: Ask For Help
Topic: AltTab remapping problem
Replies: 3
Views: 835

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? :idea:

Code: Select all

#if
~LAlt & 3::AltTab
~LAlt & 2::ShiftAltTab

Go to advanced search