Search found 10 matches

by eekhelpspike
29 Sep 2017, 09:19
Forum: Ask For Help
Topic: Create script that handles registry variables
Replies: 18
Views: 1592

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
Topic: Create script that handles registry variables
Replies: 18
Views: 1592

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
Topic: Create script that handles registry variables
Replies: 18
Views: 1592

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
Topic: [Func] ADOSQL - wraps ADO for executing SQL queries (AHK-L)
Replies: 41
Views: 16720

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
Topic: [Func] ADOSQL - wraps ADO for executing SQL queries (AHK-L)
Replies: 41
Views: 16720

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
Topic: Don't move a file until a folder doesn't exist
Replies: 3
Views: 355

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
Topic: Don't move a file until a folder doesn't exist
Replies: 3
Views: 355

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

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
Topic: most efficient way to compare files and remove lines
Replies: 3
Views: 979

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
Topic: most efficient way to compare files and remove lines
Replies: 3
Views: 979

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