Search found 21 matches

by becritical
27 May 2024, 05:26
Forum: Ask for Help (v2)
Topic: Switching between last two opened windows Topic is solved
Replies: 4
Views: 185

Re: Switching between last two opened windows Topic is solved

#Requires AutoHotkey v2.0 l::SendInput("!{Tab}") $`:: SendInput "{Alt down}{Tab Down}{Tab up}{Alt up}" f::SendInput("{Alt down}{Tab Down}{Tab up}{Alt up}") a & g::AltTab ;only works with tow comb Thanks a lot for the quick reply! Which codes of the one you posted is more efficient? Is it more effic...
by becritical
27 May 2024, 05:03
Forum: Ask for Help (v2)
Topic: Switching between last two opened windows Topic is solved
Replies: 4
Views: 185

Switching between last two opened windows Topic is solved

Howdy, I am using this code to switch between the last two opened windows `:: Send "{LAlt down}{Tab}{LAlt up}" But then I am transition to V2 and noticed the AltTab hotkey, however it doesn't work `:: AltTab does not produce any effect. I have read the AltTab documentation but it's not clear if it c...
by becritical
27 May 2024, 04:39
Forum: Ask for Help (v2)
Topic: Ctrl+tab and shift+ctrl+tab
Replies: 9
Views: 475

Re: Ctrl+tab and shift+ctrl+tab

@becritical - your original posted code indicated that you are using Excel. If you are a regular spreadsheet user, one could assume that you regularly use the numpad to enter numbers. Given that, one could also assume that you have NumLock turned on all the time. That means that in order to press N...
by becritical
23 May 2024, 03:56
Forum: Ask for Help (v2)
Topic: Ctrl+tab and shift+ctrl+tab
Replies: 9
Views: 475

Re: Ctrl+tab and shift+ctrl+tab

Hello, The documentation may help you. Below is an example of how to use expressions with Send . https://www.autohotkey.com/docs/v2/lib/Send.htm#ExBrace Thank you that works, I was missing the quotes. It's too bad there's no CtrlTab definition. Also I don't understand why "^+Tab" does not work in p...
by becritical
22 May 2024, 06:47
Forum: Ask for Help (v2)
Topic: Ctrl+tab and shift+ctrl+tab
Replies: 9
Views: 475

Ctrl+tab and shift+ctrl+tab

Hello All, I have been trying to painfully transition to V2 but I am stuck on a simple script. I want to set a hotkey so the numpads right and left nagivate around browser tabs. I got the ctrl+tab working but can't get the shift+ctrl+tab to work. Here's what I have. Any help is appreciated! ;#HotIf ...
by becritical
27 Oct 2020, 03:23
Forum: Ask for Help (v1)
Topic: Google Search Script with ""
Replies: 3
Views: 2748

Re: Google Search Script with ""

Why do I lose focus on the browser tab when I run this script?
by becritical
24 Apr 2020, 03:58
Forum: Ask for Help (v1)
Topic: AHK Startup Under Windows 10
Replies: 25
Views: 63901

Re: AHK Startup Under Windows 10

Thank you for the suggestion but not even this worked for me. I had to resort to task schedule. I really don't understand because on a clean installation of Win 10 putting a shortcut in the startup folder worked just fine, then suddenly the scripts were not starting anymore. If anybody has figured o...
by becritical
01 Apr 2019, 01:09
Forum: Ask for Help (v1)
Topic: Change mouse cursor color/shape on button down
Replies: 0
Views: 463

Change mouse cursor color/shape on button down

I am trying to change cursor color or shape when the function ClickLock, in Windows 10, is activated, which in theory should keep the mouse button status down, so I can detect it with ATH. I have tried to look into the old forum documentation and threads but I don't understand the code. What I have ...
by becritical
01 Apr 2017, 07:45
Forum: Ask for Help (v1)
Topic: ifwinnotactive with ahk_group not working
Replies: 0
Views: 657

ifwinnotactive with ahk_group not working

I am trying to disable a hot key only when it's triggered in specific windows. GroupAdd f2group, ahk_class ATL:ExplorerFrame ;xplorer2_64.exe GroupAdd f2group, ahk_class XLMAIN ;excel.exe #IfWinNotActive ahk_group f2group F2::Send, #2 #IfWinActive ;return Why is this code not working? I have tried b...
by becritical
09 Mar 2017, 13:08
Forum: Ask for Help (v1)
Topic: Unicode 64
Replies: 4
Views: 5452

Re: Unicode 64

I finally solved this by including the full path to the .exe. Apparently before he was working because he was in the same folder of the script.
by becritical
15 Feb 2017, 04:56
Forum: Ask for Help (v1)
Topic: Unicode 64
Replies: 4
Views: 5452

Re: Unicode 64

I thought about that but maybe there was a proper way to do it. Anyway that works. thanks
by becritical
15 Feb 2017, 02:56
Forum: Ask for Help (v1)
Topic: Unicode 64
Replies: 4
Views: 5452

Unicode 64

In one of my scripts I have a call to nircmd.exe which I used to control my screen brightness. The only way to make it work is to use AHK in Unicode 64 mode. So I reinstalled it in U64 and the script works. The problem is that when I restart Windows the script does not work again, so I have to manua...
by becritical
01 Feb 2017, 10:26
Forum: Scripts and Functions (v1)
Topic: Google, Dictionary, Thesaurus Search
Replies: 25
Views: 22479

Re: Google, Dictionary, Thesaurus Search

okay I got past that error, I was having a problem with the Run command because I had to change to U64.

now I have another issue, I get an error at the Run, %browser% %Address% line. "The system cannot find the file specified"
by becritical
01 Feb 2017, 07:22
Forum: Scripts and Functions (v1)
Topic: Google, Dictionary, Thesaurus Search
Replies: 25
Views: 22479

Re: Google, Dictionary, Thesaurus Search

Thank you but I am not having any luck! I changed to the full path and also checked the windows registry exists and it's exact and it is FirefoxURL. I still get the same message. "failed to lunch program...." Action: <http://www.google.com/search.... q=UserChoice" RegRead, ProgId, HKEY_CURRENT_USER,...
by becritical
17 Nov 2016, 08:06
Forum: Scripts and Functions (v1)
Topic: Google, Dictionary, Thesaurus Search
Replies: 25
Views: 22479

Re: Google, Dictionary, Thesaurus Search

I can't see to get this to work, I get "failed attempt to launch program or document, action <http.......> params:<> the system cannot find the file specified and a pointer to line Run,%browser% %address% and I have checked the registry entry it is correct it points to firefoxURL
by becritical
25 May 2016, 07:21
Forum: Ask for Help (v1)
Topic: appskey script randomly stopped working
Replies: 7
Views: 2041

Re: appskey script randomly stopped working

thanks but no luck. How can I troubleshoot this? It's so puzzling.
grant wrote:try this maybe?

Code: Select all

AppsKey::
Send {lalt down}
sleep, 100
send {tab}
sleep 100
Send {lalt up}
return
by becritical
25 May 2016, 05:24
Forum: Ask for Help (v1)
Topic: appskey script randomly stopped working
Replies: 7
Views: 2041

Re: appskey script randomly stopped working

Can anybody please help me? I am puzzled by this
by becritical
23 May 2016, 04:05
Forum: Ask for Help (v1)
Topic: appskey script randomly stopped working
Replies: 7
Views: 2041

Re: appskey script randomly stopped working

Xtra wrote:Try running script as Admin?
Thanks, but it doesn't work.
AppsKey::tab works fine
AppsKey::lalt work fine

but the two together don't work. I am so confused.
by becritical
23 May 2016, 03:46
Forum: Ask for Help (v1)
Topic: appskey script randomly stopped working
Replies: 7
Views: 2041

Re: appskey script randomly stopped working

if I open ahk I can tell it performs the keystrokes
035: Send,{lalt down}{tab} (0.11)
036: Sleep,200 (0.20)
037: Send,{lalt up} (0.02)
038: Sleep,100 (0.11)
039: Return (0.83)

Go to advanced search