Search found 108 matches

by labrint
11 Jul 2019, 06:41
Forum: Ask For Help
Topic: Need help comparing sets of Arrays or Tables Topic is solved
Replies: 5
Views: 105

Re: Need help comparing sets of Arrays or Tables Topic is solved

Very elegant solution Odlanir, thanks. Even though I have been using arrays for quite sometime, and used AHK extensively, my understanding of Objects is very very limited and thus would not have found the solution without you.
by labrint
10 Jul 2019, 06:53
Forum: Ask For Help
Topic: Need help comparing sets of Arrays or Tables Topic is solved
Replies: 5
Views: 105

Re: Need help comparing sets of Arrays or Tables Topic is solved

They are. I access their contents through FileRead.
by labrint
10 Jul 2019, 04:37
Forum: Ask For Help
Topic: Need help comparing sets of Arrays or Tables Topic is solved
Replies: 5
Views: 105

Need help comparing sets of Arrays or Tables Topic is solved

I have a Table (1) with "Name of Item" and "Quantity of Item". Then I have another table (2) with "Name of Item" and "Supplier Name". I want to compare the "Name of Item" in both tables and when they match , store the "Name of Item" in a text file named with the matching "Supplier Name" for later or...
by labrint
26 Jun 2019, 00:32
Forum: Ask For Help
Topic: RegWrite - Safety issues
Replies: 4
Views: 195

Re: RegWrite - Safety issues

Thanks RickC, I already use them and you are right, they are useful.
by labrint
25 Jun 2019, 07:03
Forum: Ask For Help
Topic: RegWrite - Safety issues
Replies: 4
Views: 195

Re: RegWrite - Safety issues

Thanks,

I went a bit further down HKEY_CURRENT_USER\Software\Classes\MyFolder

Still safe? Wanted to disguse it, as it being used to authenticate the use of my script.
by labrint
24 Jun 2019, 05:03
Forum: Ask For Help
Topic: RegWrite - Safety issues
Replies: 4
Views: 195

RegWrite - Safety issues

Say I would like to store a string in a folder in the registry such as the software folder, is it safe to do so? Is there a change the registry may become corrupted without interfering with windows files etc? Are there any unique identification numbers which can be read from the registry using the R...
by labrint
31 May 2019, 03:42
Forum: Ask For Help
Topic: IrfanView scanning
Replies: 2
Views: 233

IrfanView scanning

The following code is working perfectly fine to capture screenshots: Prog1=%A_programfiles%\IrfanView\i_view64.exe Where=C:\Users\John\Desktop runwait, "%Prog1%" "/capture=0 /convert=%Where%\SIneo+%A_now%.jpeg" But when I try to capture a scanned image from my scanner it is not doing anything Prog1=...
by labrint
26 Feb 2019, 04:48
Forum: Ask For Help
Topic: running two functions at once
Replies: 5
Views: 339

Re: running two functions at once

I don't think you can run two functions at once in a single script because AHK does not support multithreading. What you can do is run this script in parallel with another script. #Persistent SetTimer, Internet, 500 return ConnectedToInternet(flag=0x40) { Return DllCall("Wininet.dll\InternetGetConne...
by labrint
26 Feb 2019, 03:31
Forum: Ask For Help
Topic: Taskbar Search Macro
Replies: 0
Views: 151

Taskbar Search Macro

Windows allows one to create a search bar in the taskbar to locate a file and search the internet.

Can one add a macro taskbar search bar? I have in mind a search bar that acts as an input box at the start of a macro.
by labrint
26 Feb 2019, 03:05
Forum: Ask For Help
Topic: Error 0x80072F7D - An Error occured in the secure channel support Topic is solved
Replies: 1
Views: 234

Re: Error 0x80072F7D - An Error occured in the secure channel support Topic is solved

Replaced

Code: Select all

WinHttp := ComObjCreate("WinHttp.WinHttpRequest.5.1")
with

Code: Select all

WinHttp := ComObjCreate("MSXML2.XMLHTTP.6.0")
and it worked.
by labrint
26 Feb 2019, 03:01
Forum: Ask For Help
Topic: WinHttpRequest (An error occurred in the secure channel support)
Replies: 16
Views: 1156

Re: WinHttpRequest (An error occurred in the secure channel support)

- You could try this: oHTTP := ComObjCreate("MSXML2.XMLHTTP.6.0") - Which is demonstrated here: Lynda.com workaround - Page 2 - AutoHotkey Community https://autohotkey.com/boards/viewtopic.php?f=5&t=61969&p=264597#p264597 - Or try variants of the code by teadrinker in that thread. This worked for m...
by labrint
22 Feb 2019, 07:37
Forum: Ask For Help
Topic: Software Monitoring
Replies: 0
Views: 178

Software Monitoring

I have an AHK which I am selling as a subscription and I need to monitor each time it is run. Currently, I use an API call to Airtable to fill a spreadsheet. I need suggestions of what to use which is cheaper, and has less limitations than Airtable. Airtable limitations: 1,200 record limit for free ...
by labrint
22 Feb 2019, 07:24
Forum: Ask For Help
Topic: Returning values / variables in multiple conditions
Replies: 5
Views: 349

Re: Returning values / variables in multiple conditions

I do that already DRocks.

Returning to the question, is there a way to return Vars which meet / do not meet a condition / multiple conditions?
by labrint
22 Feb 2019, 04:03
Forum: Ask For Help
Topic: Returning values / variables in multiple conditions
Replies: 5
Views: 349

Re: Returning values / variables in multiple conditions

I'm working on software where I need to capture a lot of classNNs and sometimes, something goes wrong and the var remains empty. I need to know which ones are empty in multiple conditions.
by labrint
22 Feb 2019, 03:07
Forum: Ask For Help
Topic: Returning values / variables in multiple conditions
Replies: 5
Views: 349

Returning values / variables in multiple conditions

Example code;

Code: Select all

A := 0
B := 0
C := 0

If (A = 1) OR (B = 1) OR (C = 0)
MsgBox, One of the variables is a zero
How can I return which variable satisfied the conditions and which variables did not?
by labrint
21 Feb 2019, 16:13
Forum: Ask For Help
Topic: WinHttpRequest (An error occurred in the secure channel support)
Replies: 16
Views: 1156

Re: WinHttpRequest (An error occurred in the secure channel support)

Is a solution involving code possible? It is not always possible to fix registries of many client pcs.
by labrint
21 Feb 2019, 06:04
Forum: Ask For Help
Topic: Screen Resolution Issues
Replies: 20
Views: 999

Re: Screen Resolution Issues

Yes Jeeswg that is good for clicking the centre of a known ClassNN. But you need to click an area in the class with an unknown position, on several systems without a hitch its good to relate it to other points. If it runs on one operating system with the same monitor settings I would not go through ...
by labrint
21 Feb 2019, 04:26
Forum: Ask For Help
Topic: Screen Resolution Issues
Replies: 20
Views: 999

Re: Screen Resolution Issues

I have solved it using this method. Step 1; Get the position of four arbitrary controls in the target window. Preferably situated Top Left, Top Right, Bottom Left, Bottom Right to be able to account for the stretch with different resolutions and screen sizes. Use WinGet, ActiveControlList, ControlLi...
by labrint
21 Feb 2019, 03:09
Forum: Ask For Help
Topic: Error 0x80072F7D - An Error occured in the secure channel support Topic is solved
Replies: 1
Views: 234

Error 0x80072F7D - An Error occured in the secure channel support Topic is solved

I am using Autohotkey to log data onto Ragic (online database) via API with the following code. The code works on most computers but not all and it gives this error on those it doesn't work on. Can anyone explain? It is stemming from AHK. Ragic(Name,PID,Transaction){ API_Key := "****" Ragic_Date := ...

Go to advanced search