Search found 20 matches

by eekhelpspike
06 Aug 2021, 14:59
Forum: Scripts and Functions (v1)
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
Replies: 668
Views: 453740

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

burque505 wrote:
06 Aug 2021, 14:54
@eekhelpspike, I believe @malcev meant something like this, which exports it to a PNG P.S. Also working headless for me.
Gotcha. I'll check it out, thanks so much!
by eekhelpspike
05 Aug 2021, 12:34
Forum: Scripts and Functions (v1)
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
Replies: 668
Views: 453740

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

eekhelpspike , You can look at examples how to export to pdf and then try to call captureScreenshot. Thanks so much, Xtra got me there. My initial excuse was I wanted something that I could record my Vudu purchase history with. Fixing to combine my Vudu/FandangoNow accounts and I'm sure I'll have t...
by eekhelpspike
05 Aug 2021, 11:07
Forum: Scripts and Functions (v1)
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
Replies: 668
Views: 453740

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

Try this: captureSnapshot(PageInst, filename) { ; EXPERIMENTAL data := PageInst.Call("Page.captureSnapshot", {"format": "mhtml"}).data F := FileOpen(filename, "w"), F.Write(data), F.Close() } Works perfectly! You're the best, thank you. I've been messing with it, trying to save as .png but I've no ...
by eekhelpspike
05 Aug 2021, 08:48
Forum: Scripts and Functions (v1)
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No IE!
Replies: 668
Views: 453740

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

Can someone give me an example of how to use the page.captureScreenshot? The "Capture full size screenshot" command from DevTools console works well-- I was hoping it behaves like that?
by eekhelpspike
12 Sep 2019, 10:27
Forum: Scripts and Functions (v1)
Topic: eGet() - Grab Internet Explorer Elements Easily
Replies: 24
Views: 13548

Re: eGet() - Grab Internet Explorer Elements Easily

Actually, I think I might have misread the screenshot. Does it not work if you just do eGet("button", "Login") ? Thank you for your responses! It does not. Using eget, I was able to fill in the username password fields, but the button thing is eluding me, probably because I’m clueless when it comes...
by eekhelpspike
02 Aug 2019, 07:47
Forum: Tutorials (v1)
Topic: jeeswg's Explorer tutorial
Replies: 19
Views: 37185

Re: jeeswg's Explorer tutorial

Argh. I just had to be using the full file name including path. I wish I would've tried that first before bothering you. Sorry! Thanks again.
by eekhelpspike
02 Aug 2019, 06:55
Forum: Tutorials (v1)
Topic: jeeswg's Explorer tutorial
Replies: 19
Views: 37185

Re: jeeswg's Explorer tutorial

Nevermind- That doesn't seem to work either. It apparently only selects based on the first character, so a file starting with the letter "N" would be selectable if all the other files started with something other than "N". Ugh.
by eekhelpspike
02 Aug 2019, 06:00
Forum: Tutorials (v1)
Topic: jeeswg's Explorer tutorial
Replies: 19
Views: 37185

Re: jeeswg's Explorer tutorial

- It worked for me just now on Windows 7. For Windows 10, you could try running the script as admin, or maybe someone else with Windows 10 could test the script. - You could also add this line, to test it's working: MsgBox, % oWin.Document.Folder.Items.Count I just tried running as admin on another...
by eekhelpspike
01 Aug 2019, 13:54
Forum: Tutorials (v1)
Topic: jeeswg's Explorer tutorial
Replies: 19
Views: 37185

Re: jeeswg's Explorer tutorial

Not sure why, but I can't get anything to select using the first example in this thread. I even tried creating a file names "New Text Document.txt" and it won't select that either, as well as just making a file called "new" and making that the target instead. It activates windows explorer after I pr...
by eekhelpspike
29 Sep 2017, 09:19
Forum: Ask for Help (v1)
Topic: Create script that handles registry variables
Replies: 18
Views: 5058

Re: Create script that handles registry variables

Sorry, I didn't see this. Look at the second script here . If you replace what's inside the if (DllCall("ole32\StringFromGUID2", "Ptr", &adapterGuid, "WStr", adapterGuidStr, "Int", 68)) { block with MsgBox % adapters[adapterGuidStr].FriendlyName you should, hopefully, see the name netsh is expectin...
by eekhelpspike
28 Sep 2017, 15:20
Forum: Ask for Help (v1)
Topic: Create script that handles registry variables
Replies: 18
Views: 5058

Re: Create script that handles registry variables

Ok, so I got this far: for INetwork in ComObjCreate("{DCB00C01-570F-4A9B-8D69-199FDBA5723B}").GetNetworks(1) { ; 1 is NLM_ENUM_NETWORK_CONNECTED, 3 is NLM_ENUM_NETWORK_ALL if (INetwork.GetCategory() <> 2) { ; 2 is NLM_NETWORK_CATEGORY_DOMAIN_AUTHENTICATED NetworkName := INetwork.GetName() ;NetworkNa...
by eekhelpspike
28 Aug 2017, 18:01
Forum: Ask for Help (v1)
Topic: Create script that handles registry variables
Replies: 18
Views: 5058

Re: Create script that handles registry variables

I have a slightly different problem, and this looks like a good starting point for fixing it. I have a 2003 DC and all my PCs are beating the DC to booting, and not properly connecting to the domain. Their connections show up as "Network #" and a profile of "public". If I disable/re-enable the conne...
by eekhelpspike
11 Aug 2017, 12:04
Forum: Scripts and Functions (v1)
Topic: [Func] ADOSQL - wraps ADO for executing SQL queries (AHK-L)
Replies: 43
Views: 93036

Re: [Func] ADOSQL - wraps ADO for executing SQL queries (AHK-L)

I cannot reproduce the issue for testing without a prototype of the tables, but i have a strong feeling that the issue may be in this line: (CSHistOpt.FieldVal Like '%17%')) AutoHotkey regards percent signs (%) as having a special meaning in literal strings. Oh my goodness, I am so dumb. I don't kn...
by eekhelpspike
10 Aug 2017, 12:32
Forum: Scripts and Functions (v1)
Topic: [Func] ADOSQL - wraps ADO for executing SQL queries (AHK-L)
Replies: 43
Views: 93036

Re: [Func] ADOSQL - wraps ADO for executing SQL queries (AHK-L)

I'm having an issue where a column isn't returning any results. The column header is shown, but the field is blank. connection_string = ( ltrim join; DRIVER={SQL SERVER};SERVER=192.168.10.254;DATABASE=WDB;UID=Reporter;PWD=Blanked;APP=AHK ) WWQueryCSHist = ( SELECT Xs.XBatch, Xs.XNo, Xs.AcID, Xs.AtID...
by eekhelpspike
28 Jul 2017, 11:10
Forum: Ask for Help (v1)
Topic: Don't move a file until a folder doesn't exist
Replies: 3
Views: 1122

Re: Don't move a file until a folder doesn't exist

This would be your best bet, it keeps searching the folder you want to specify to see if it exists, if it does, it waits repeatedly, if it doesn't exist, then it moves on and executes the rest of the code. Thanks for the response. Yes, that is helpful. My problem that I'm running into is that I don...
by eekhelpspike
27 Jul 2017, 19:20
Forum: Ask for Help (v1)
Topic: Don't move a file until a folder doesn't exist
Replies: 3
Views: 1122

Don't move a file until a folder doesn't exist

Hey All, I'm currently using a simple ahk to move scanned files into a different folder for processing. FolderSource = \\SVR1\SCAN\*.* FolderTarget = \\SVR2\InProcess\*.* Loop { FileMove, %FolderSource%, %FolderTarget% sleep, 500 } For some reason, the program that is processing the scans is choking...
by eekhelpspike
04 Apr 2017, 18:56
Forum: Scripts and Functions (v1)
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 1087
Views: 567727

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

A program I am manipulating via AHK recently updated and controls are no longer used. Before I delve into trying to utilize this, can someone tell me if I can adapt it to click on icons on a toolbar based on text underneath the icon?
by eekhelpspike
07 Jul 2015, 17:29
Forum: Ask for Help (v1)
Topic: most efficient way to compare files and remove lines
Replies: 3
Views: 2019

Re: most efficient way to compare files and remove lines

hd0202 wrote:My suggestion:
T_Lube wrote:I think that this is what you want, yes?
Lovely. Thanks, guys.
by eekhelpspike
06 Jul 2015, 09:53
Forum: Ask for Help (v1)
Topic: most efficient way to compare files and remove lines
Replies: 3
Views: 2019

most efficient way to compare files and remove lines

I'll try not to get into too many boring details here. Essentially I have software that generates orders to be filled. I have a new machine that is supposed to automate some of the filling of those orders. The software has the capability to create an export file (CSV) of orders that need to be fille...

Go to advanced search