Search found 14 matches

by eekhelpspike
02 Aug 2019, 07:47
Forum: Tutorials
Topic: jeeswg's Explorer tutorial
Replies: 14
Views: 7252

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
Topic: jeeswg's Explorer tutorial
Replies: 14
Views: 7252

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
Topic: jeeswg's Explorer tutorial
Replies: 14
Views: 7252

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
Topic: jeeswg's Explorer tutorial
Replies: 14
Views: 7252

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

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: 1994

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: 1994

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: 17884

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: 17884

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: 450

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: 450

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: 331
Views: 85675

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: 1105

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: 1105

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