Search found 17 matches

by c4p
08 Jun 2017, 14:56
Forum: Ask For Help
Topic: Timed Traytip
Replies: 3
Views: 476

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
Topic: Timed Traytip
Replies: 3
Views: 476

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
Topic: Timed Traytip
Replies: 3
Views: 476

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
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 331
Views: 86368

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
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 331
Views: 86368

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
Topic: Extend IE COM Object
Replies: 0
Views: 256

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
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 331
Views: 86368

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
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 331
Views: 86368

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
Topic: IE Com Save Dialog - Auto Save using ACC
Replies: 9
Views: 1929

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
Topic: IE Com Save Dialog - Auto Save using ACC
Replies: 9
Views: 1929

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
Topic: AHK_L IE COM Question
Replies: 2
Views: 475

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
Topic: AHK_L IE COM Question
Replies: 2
Views: 475

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
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 331
Views: 86368

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
Topic: Remap Capslock to F24
Replies: 1
Views: 409

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
Topic: SciTE4AutoHotkey output debugging
Replies: 0
Views: 1361

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
Topic: Timer to break until loop?
Replies: 2
Views: 416

Re: Timer to break until loop?

Thank you.
by c4p
18 Jan 2017, 19:11
Forum: Ask For Help
Topic: Timer to break until loop?
Replies: 2
Views: 416

Timer to break until loop?

Why would this code not break out of loop?

Code: Select all

global timeleft =  True
Settimer, AbortWait, -3000
Loop
	Sleep, 50
Until (!timeleft)
Msgbox,,,%timeleft%
return

AbortWait: 
timeleft = False
return

Go to advanced search