Search found 41 matches

by jwinfl
28 Feb 2020, 09:24
Forum: Ask For Help
Topic: How to create a Local Static Variable in a Hotkey or something similar
Replies: 1
Views: 198

How to create a Local Static Variable in a Hotkey or something similar

I need a local static variable in several hotkeys. Or something similar, so when the hotkey fires it can check to see if it should send delete or ignore it. In the following example, if ^!x is pressed more than once in 2 seconds it would not send delete again until 2 seconds elapsed. The following c...
by jwinfl
28 Feb 2020, 09:02
Forum: Ask For Help
Topic: Ctrl Alt Modifier does NOT work if the hotkey sends Delete
Replies: 1
Views: 271

Ctrl Alt Modifier does NOT work if the hotkey sends Delete

Ctrl Alt Modifier does NOT work if the hotkey sends Delete The following does NOT send {Del} to the Active Window. ^! (followed by any key I tried) ::Sendinput {Del} For example... ^!Numpad4::Sendinput {Del} or ^!z::Sendinput {Del} Windows 10 appears to ignore the Key after ^! completely and execute...
by jwinfl
30 Jan 2020, 13:03
Forum: Ask For Help
Topic: Problem using text key as a modifier, example, w & h::
Replies: 1
Views: 246

Problem using text key as a modifier, example, w & h::

I would like to use some text keys as modifiers, but still have them work correctly when not used as a modifier key, for example... w & h:: msgbox w & h pressed w::sendinput w Didn't work when I typed Shift W, nothing is typed, so I added... +w::sendinput W Problem example 1, quickly typing words st...
by jwinfl
05 Jan 2020, 11:21
Forum: Scripts and Functions
Topic: SOLVED... Send a Hotkey from a Script
Replies: 0
Views: 456

SOLVED... Send a Hotkey from a Script

Send a Hotkey from a Script... Run a Hotkey in another Script The script below (3 lines) starts this text hotkey... hotkeytext ...in any running script that has... ::hotkeytext:: ...defined sendlevel 1 sendinput hotkeytext{space} sendlevel 0 There is an example at the bottom of the "SendLevel" comma...
by jwinfl
20 Apr 2019, 07:36
Forum: Ask For Help
Topic: Highlight a Folder (by Name or Path) in the active Windows 10 Explorer window Topic is solved
Replies: 8
Views: 1378

Re: Highlight a Folder (by Name or Path) in the active Windows 10 Explorer window Topic is solved

Odlanir,
Thank you for the code.
I added; JEE_ExpWinSetFoc(0, "NameOfyourFileOrFolder") to my code (no hotkey)
and the function; JEE_ExpWinSetFoc(hWnd, vName, vByPos:=0, vFlags:=0x1D)
It works exactly as I had hoped.
Thanks again.
Jack
by jwinfl
19 Apr 2019, 08:36
Forum: Ask For Help
Topic: Highlight a Folder (by Name or Path) in the active Windows 10 Explorer window Topic is solved
Replies: 8
Views: 1378

Re: Highlight a Folder (by Name or Path) in the active Windows 10 Explorer window Topic is solved

Klarion, Thank you, but I already knew how to make Tigerlily's code work, unfortunately, I want to use the active window not a new one. There are many reasons, including, the active windows set up, screen location, etc. which are being controlled by other programs. Yes, all of these can be redone to...
by jwinfl
18 Apr 2019, 09:36
Forum: Ask For Help
Topic: Highlight a Folder (by Name or Path) in the active Windows 10 Explorer window Topic is solved
Replies: 8
Views: 1378

Re: Highlight a Folder (by Name or Path) in the active Windows 10 Explorer window Topic is solved

Tigerlily, Thanks for the response. I wanted to highlight the folder (filepath) in the ACTIVE (already existing) Explorer window, if possible. Run, % "explorer /select, " filepath ... opens a NEW Explorer window (does NOT use the existing window). If you know how to select the file in the existing E...
by jwinfl
17 Apr 2019, 11:21
Forum: Ask For Help
Topic: Highlight a Folder (by Name or Path) in the active Windows 10 Explorer window Topic is solved
Replies: 8
Views: 1378

Highlight a Folder (by Name or Path) in the active Windows 10 Explorer window Topic is solved

How do I Highlight an existing Folder (using it's Name or Path) in the active Windows 10 Explorer window?
by jwinfl
17 Dec 2018, 07:34
Forum: Ask For Help
Topic: How to Determine when Chrome has completed loaded a website using AHK
Replies: 6
Views: 1307

Re: How to Determine when Chrome has completed loaded a website using AHK

I have never used this class, Look this thread https://autohotkey.com/boards/viewtopic.php?t=42890 maybe it serves you Thank you for your reply. I looked at the code, it is a lot to comprehend. I will try to find time to play with it. SOMEONE SURELY HAS EXISTING CODE THAT KNOWS WHEN CHROME IS LOADE...
by jwinfl
17 Dec 2018, 07:26
Forum: Ask For Help
Topic: How to Determine when Chrome has completed loaded a website using AHK
Replies: 6
Views: 1307

Re: How to Determine when Chrome has completed loaded a website using AHK

How about using ImageSearch? When a site has been loaded completely, you can see a cycle. (Which means the page can be re-loaded when clicking on it.) I used that method on my tablet and it worked pretty well. Just in case that you get problems with these libraries. Regards Thank you for your reply...
by jwinfl
16 Dec 2018, 10:49
Forum: Ask For Help
Topic: How to Determine when Chrome has completed loaded a website using AHK
Replies: 6
Views: 1307

Re: How to Determine when Chrome has completed loaded a website using AHK

hi jwinfl You have this class https://github.com/G33kDude/Chrome.ahk/blob/master/Chrome.ahk Thank you for your prompt reply. Chrome.ahk shows two #Include files...WebSocket.ahk and Jxon.ahk, I downloaded them and I assume I need them. I copied the code to a file named Chrome.ahk and I assume I now ...
by jwinfl
16 Dec 2018, 08:36
Forum: Ask For Help
Topic: How to Determine when Chrome has completed loaded a website using AHK
Replies: 6
Views: 1307

How to Determine when Chrome has completed loaded a website using AHK

Has anyone come up with code to determine when Chrome has actually finished loading a website using AHK? This has been a problem for years, I have looked at hundreds of answers, none work well, if at all, hopefully someone has an answer. I have tried checking the color of the load icon, but that onl...
by jwinfl
17 Sep 2018, 06:09
Forum: Ask For Help
Topic: How do I send a text Hotkey to a Notepad++ window
Replies: 4
Views: 1077

Re: How do I send a text Hotkey to a Notepad++ window

Toralf, Unfortunately the hotkey is not just text, the script and text change often, it is long and it is used in several other scripts. Most importantly there must be an easy way to execute a hotkey (text) from another AHK script. I could also make it a function, etc. but I would prefer to somehow ...
by jwinfl
16 Sep 2018, 07:51
Forum: Ask For Help
Topic: How do I send a text Hotkey to a Notepad++ window
Replies: 4
Views: 1077

How do I send a text Hotkey to a Notepad++ window

I have a text hot key ::qqhdg:: that sends a heading (several lines of text) to the active window. The script I am writing opens a new Notepad++ window and then sends qqhdg space to the new window. The hotkey's text gets sent ok but it does not execute the hot key ::qqhdg:: which would send the head...
by jwinfl
12 Sep 2018, 21:55
Forum: Ask For Help
Topic: Right Click AHK Script's Icon (task bar) > Edit option uses Notepad not Notepad++
Replies: 2
Views: 619

Re: Right Click AHK Script's Icon (task bar) > Edit option uses Notepad not Notepad++

Thank you lexikos.
Edit Script option was missing in Explorer.
Removing "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ahk\UserChoice" solved the edit problem, no other action was necessary.
Right clicking any .ahk file now has the "Edit Script" option.
Thanks Again
by jwinfl
12 Sep 2018, 10:35
Forum: Ask For Help
Topic: Right Click AHK Script's Icon (task bar) > Edit option uses Notepad not Notepad++
Replies: 2
Views: 619

Right Click AHK Script's Icon (task bar) > Edit option uses Notepad not Notepad++

When I right click any running AHK script's icon in task bar (bottom right) and then click Edit, the script opens in Notepad not Notepad++ I have Notepad++ set up in the registry to edit AHK scripts. HKEY_CLASSES_ROOT\AutoHotkeyScript\Shell\Edit\Command="C:\Program Files\Notepad++\notepad++.exe" "%1...
by jwinfl
21 Apr 2018, 12:58
Forum: Ask For Help
Topic: How to use SendInput to Activate a Text Hotkey
Replies: 0
Views: 437

How to use SendInput to Activate a Text Hotkey

For Example... SendInput qqXXX{space} SendInput #D return ::qqXXX:: SendInput XXX1 return #X:: SendInput XXX2 return qqXXX space gets sent but it doesn't activate the qqXXX hotkey resulting in qqXXX space being printed not XXX1. #X gets sent, erased and then activates the hotkey resulting in XXX2 in...
by jwinfl
01 Apr 2018, 07:07
Forum: Ask For Help
Topic: Bold (Text) Button Toggle Current Selection
Replies: 0
Views: 396

Bold (Text) Button Toggle Current Selection

I am trying to find out; 1. The Bold Text Button's current selection (bold or not bold)? 2. How to change it without using MouseClick, if possible? Attached is a pdf file showing Dimension window's Bold Text on and off states (ends of red arrows). The button is Button12, and the window's title is Di...
by jwinfl
01 Apr 2018, 03:44
Forum: Ask For Help
Topic: GUI - Complete Command & Property Listing
Replies: 6
Views: 1907

Re: GUI - Complete Command & Property Listing

Jeeswg, Thank you for your reply. I appreciate your idea of maybe doing a list. What I don't understand is how there isn't a complete list somewhere already otherwise how would AHK and Windows know how to use those commands? One example, Gui,Add,Edit, has dozens of Options, for example; c???, center...
by jwinfl
31 Mar 2018, 15:02
Forum: Ask For Help
Topic: Searching Forum
Replies: 5
Views: 1194

Re: Searching Forum

BoBo, Thank you for your reply. Unfortunately, using google missed 98.4% of the posts in my quick test. Test example, "gui" using the forum's search returns 14,393 posts, using google (site:autohotkey.com "gui" language:en) returns only 231 posts about 1.6%. I was hoping there was a way to use the f...

Go to advanced search