Search found 21 matches

by c4p
14 Jan 2024, 14:49
Forum: Scripts and Functions (v1)
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
Replies: 668
Views: 452058

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!

I think I have found a bug in Chrome.ahk. When instantiating Chrome with url included, WaitForLoad() Method does not work. Using the code example from the 1st page, things work as expected. #Include Chrome.ahk ; Create an instance of the Chrome class using ; the folder ChromeProfile to store the use...
by c4p
28 Apr 2021, 08:26
Forum: Other Utilities & Resources
Topic: Looking for a program that uses mouse movements as hotkeys
Replies: 9
Views: 7363

Re: Looking for a program that uses mouse movements as hotkeys

Not exactly you're trigger criteria, but could be easily adapted. This triggers on 3 zigzag movements left to right #SingleInstance, Force ; Only 1 #Persistent ; Keep Live global zigzag := false ; false = last left zag (default), true = last right zig global zzXSpread := 100 ; x mouse distance to tr...
by c4p
10 Feb 2021, 07:57
Forum: Scripts and Functions (v1)
Topic: Get Title and Url of the active browser tab
Replies: 42
Views: 10338

Re: Get Title and Url of the active browser tab

Weird. Works now...Thanks
========================
Name: Address and search bar
Value: https://www.autohotkey.com/boards/viewtopic.php?f=6&t=85383&sid=4ee84b411972eedad54a0b2800f9107b&start=20
Role: 42
State: 1048576
Path: 4.1.2.1.2.5.6
x185 y38 w550 h26
========================
by c4p
04 Feb 2021, 14:40
Forum: Scripts and Functions (v1)
Topic: Get Title and Url of the active browser tab
Replies: 42
Views: 10338

Re: Get Title and Url of the active browser tab

curious, I am not getting anything for the URL in MS Edge or Google Chrome. Is this likely because of the dated OS install? Unfortunately a work computer which I can't upgrade. Win 10 Pro Ver 1909 Installed 2/9/20 Build 8.18363.1316 MS Edge Version 88.0.705.56 (Official build) (64-bit) Google Chrome...
by c4p
08 Jun 2017, 14:56
Forum: Ask for Help (v1)
Topic: Timed Traytip
Replies: 3
Views: 1286

Re: Timed Traytip

took another approach which works but the flicker is unacceptable, and even if my first attempt made to work, it would flicker too. TrayTip(traytitle :="", traytext := "", traysecs := 3, trayoptions := "") { ;------------------------------------------------------------------------------ Loop % trays...
by c4p
08 Jun 2017, 14:23
Forum: Ask for Help (v1)
Topic: Timed Traytip
Replies: 3
Views: 1286

Re: Timed Traytip

no go on statics
BTW, always disliked timers forcing subroutines instead of functions with arguments.
by c4p
08 Jun 2017, 13:47
Forum: Ask for Help (v1)
Topic: Timed Traytip
Replies: 3
Views: 1286

Timed Traytip

The help file suggest the Traytip command display time "may vary from the one specified." Using the example in the help file as a starting point, I was trying to brute force Traytips to display for the actual desired time. TrayTip(traytitle :="", traytext := "", traysecs := 3, trayoptions := "") { S...
by c4p
23 May 2017, 09:46
Forum: Scripts and Functions (v1)
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 1085
Views: 564026

Re: FindText - Capture screen image into text and then find it Topic is solved

Luffy wrote: It doesn't Click , only selects the browser. Sometimes it brings the desired window "This is a new title" window to the top , but doesn't do anything else.
Updated https://autohotkey.com/boards/search.ph ... 7&sr=posts to correctly handle controlclicks in internet explorer.
by c4p
20 May 2017, 11:14
Forum: Scripts and Functions (v1)
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 1085
Views: 564026

Re: FindText - Capture screen image into text and then find it Topic is solved

See the wrapper I wrote above. It has controlclick functionality. Hidden Windows will not recognize because findtext is searching the screen's graphics. It has been awhile since I treed it, but as I remember, Controlclick works when IE browser is active, but failsed if page controls within browser h...
by c4p
06 May 2017, 21:03
Forum: Ask for Help (v1)
Topic: Extend IE COM Object
Replies: 0
Views: 604

Extend IE COM Object

Is it possible to add a new method to IE COM object. I found the workaround to allow this behaviour for simple array. I tried to implement it similarly without success. wb := ComObjCreate("InternetExplorer.Application") wb.Visible := True wb.Navigate("http://www.google.com") ; Define the base class....
by c4p
04 May 2017, 20:31
Forum: Scripts and Functions (v1)
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 1085
Views: 564026

Re: FindText - Catch screen image into text and then find it Topic is solved

feiyue - check your Personal Messages, I sent you an update for consideration.
by c4p
02 May 2017, 21:59
Forum: Scripts and Functions (v1)
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 1085
Views: 564026

Re: FindText - Catch screen image into text and then find it Topic is solved

Version 5.1 Help - credit to echandler's oppst The author is does not speak English and his/her posts can be hard to follow. As such, I am trying to fully document this amazing function. FindText Function - Although named FindText, it also works equally well at finding graphics. Other have suggest i...
by c4p
22 Apr 2017, 08:10
Forum: Ask for Help (v1)
Topic: IE Com Save Dialog - Auto Save using ACC
Replies: 9
Views: 5129

Re: IE Com Save Dialog - Auto Save using ACC

Thanks. Works Perfectly. For learning purposes how did you determine 4.3? Hopefully not trial and error. I figured it out by selecting less focus to get the Open/Save/Cancel Dialog Screen Shot 2017-04-22 at 9.20.43 AM.png Second question. how would you replace the WINGET determination of hidden ie h...
by c4p
21 Apr 2017, 17:15
Forum: Ask for Help (v1)
Topic: IE Com Save Dialog - Auto Save using ACC
Replies: 9
Views: 5129

IE Com Save Dialog - Auto Save using ACC

I have a csv file on a webpage I wish to download. I am doing through COM control instead of URLDownload (or similar) because of all the login credentials, https encryption, authentication tokens, etc. I am able to use Send !s (Alt-s) and successfully save it, however I need to keep the window hidde...
by c4p
31 Mar 2017, 15:05
Forum: Ask for Help (v1)
Topic: AHK_L IE COM Question
Replies: 2
Views: 5819

Re: AHK_L IE COM Question

Thanks, needed DirectUIHWND2, but after that it works perfectly. Working Code: AHK_L using IE 11 #SingleInstance, Force #Persistent #Include Acc.ahk ; https://autohotkey.com/board/topic/77303-acc-library-ahk-l-updated-09272012/ ^f:: wb := IEGo("http://www.google.com","Google") if wb wb.Refresh retur...
by c4p
30 Mar 2017, 18:30
Forum: Ask for Help (v1)
Topic: AHK_L IE COM Question
Replies: 2
Views: 5819

AHK_L IE COM Question

I am looking to manipulate Jethow's IE COM functions (IEGet, WBGet, TabActivate, etc) using IE 11 in order to find/activate/return pointer for existing pages via tab name, otherwise open it as a new tab. I have pieced together this code which seems to work fine if I am on the browser instance which ...
by c4p
24 Mar 2017, 12:42
Forum: Scripts and Functions (v1)
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 1085
Views: 564026

Re: FindText - Catch screen image into text and then find it Topic is solved

Updated to accommodate version 5.1 (Code Cleanup by feiyue). Awesome script. Perfect for my needs of interacting with Citrix Windows. Here's my humble attempt to make a functional wrapper. The utility of this is for linking multiple FindText together. For example, You use Findtext to click a webpage...
by c4p
17 Mar 2017, 21:40
Forum: Ask for Help (v1)
Topic: Remap Capslock to F24
Replies: 1
Views: 953

Remap Capslock to F24

I have a program which will include quite a lot of hotkeys. I am trying not to interfere with hotkeys from other programs. I found a post which showed how to map the caps lock to a hyperkey (ctrl-alt-shift-win). From Here I can !^+#a:: code, etc. This does pretty well for me, but I was thinking Caps...
by c4p
16 Mar 2017, 20:22
Forum: Scripts and Functions (v1)
Topic: SciTE4AutoHotkey output debugging
Replies: 1
Views: 2470

SciTE4AutoHotkey output debugging

Script allows output to SciTE4AutoHotKey console output Includes lines numbers, elapsed time, and variable contents Comments, suggestions, and improvements welcome example output for code below ---- #007: [test] = 50, [a] = 5 (0 ms) >"E:\AHK\Portable AHK\AutoHotkey\SciTE\..\AutoHotkey.exe" /ErrorStd...
by c4p
18 Jan 2017, 19:26
Forum: Ask for Help (v1)
Topic: Timer to break until loop?
Replies: 2
Views: 978

Re: Timer to break until loop?

Thank you.

Go to advanced search