Search found 97 matches

by labrint
Today, 07:37
Forum: Ask For Help
Topic: Software Monitoring
Replies: 0
Views: 24

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
Today, 07:24
Forum: Ask For Help
Topic: Returning values / variables in multiple conditions
Replies: 5
Views: 93

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
Today, 04:03
Forum: Ask For Help
Topic: Returning values / variables in multiple conditions
Replies: 5
Views: 93

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
Today, 03:07
Forum: Ask For Help
Topic: Returning values / variables in multiple conditions
Replies: 5
Views: 93

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
Yesterday, 16:13
Forum: Ask For Help
Topic: WinHttpRequest (An error occurred in the secure channel support)
Replies: 15
Views: 366

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
Yesterday, 06:04
Forum: Ask For Help
Topic: Screen Resolution Issues
Replies: 20
Views: 332

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
Yesterday, 04:26
Forum: Ask For Help
Topic: Screen Resolution Issues
Replies: 20
Views: 332

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
Yesterday, 03:09
Forum: Ask For Help
Topic: Error 0x80072F7D - An Error occured in the secure channel support
Replies: 0
Views: 30

Error 0x80072F7D - An Error occured in the secure channel support

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 := ...
by labrint
15 Feb 2019, 13:44
Forum: Ask For Help
Topic: Screen Resolution Issues
Replies: 20
Views: 332

Re: Screen Resolution Issues

I am currently approaching this problem by mapping the coordinates of all the controls in the software.

I calculate the distances between these controls and multiply with constants to deduce the coordinates that vary from pc to pc
by labrint
15 Feb 2019, 04:43
Forum: Ask For Help
Topic: Screen Resolution Issues
Replies: 20
Views: 332

Re: Screen Resolution Issues

Even if I get the control co-ordinates, I have a problem. There is a control with 5 buttons in it. I need to use ControlClick with the control address and the X Y offset to trigger each button. The X Y coordinates vary in these PCs. So even using controls or getting coordinates from controls are not...
by labrint
15 Feb 2019, 04:22
Forum: Ask For Help
Topic: Screen Resolution Issues
Replies: 20
Views: 332

Re: Screen Resolution Issues

SOTE I have used the above methods extensively. But I have a situation where I need to press locations without controls, as well as controls which are unnamed and changing ClassNN changing all the time. It would be very hard to use controls in that situation. Believe me, I have been using them for y...
by labrint
15 Feb 2019, 03:54
Forum: Ask For Help
Topic: Screen Resolution Issues
Replies: 20
Views: 332

Re: Screen Resolution Issues

I ran a code to check the position of the button across two resolutions. Screen Resolution 1440 by 900 control is 193,276 Screen Resolution 1024 by 768 control is 193,272 Why does Y change but X did not change? #SingleInstance force Gui, Add, Button, x190 y250 w30 h30, Executor Gui, Add, Button, x31...
by labrint
15 Feb 2019, 03:36
Forum: Ask For Help
Topic: Screen Resolution Issues
Replies: 20
Views: 332

Re: Screen Resolution Issues

I've tried the SysGet, to get monitor size and use it instead of resolution. Didn't work either. The coordinates of the buttons were the same location on both PCs with different resolutions! Then I have some client PCs which the button coordinates do not match.
by labrint
15 Feb 2019, 03:26
Forum: Ask For Help
Topic: Screen Resolution Issues
Replies: 20
Views: 332

Re: Screen Resolution Issues

I have written a simple code (below). 1440 and 900 is the resolution of my computer. If your resolution is the same, pressing the button press me would press the executor button. But if your resolution is different it will not work, even though the math is supposed to adjust the coordinates. #Single...
by labrint
14 Feb 2019, 13:47
Forum: Ask For Help
Topic: Screen Resolution Issues
Replies: 20
Views: 332

Re: URGENT: Screen Resolution Issues

I use them SOTE. This is a particular situation where it is impossible to use ControlSend/Click, because the Table Cell I need to click does not have a ClassNN.

Interesting AHK Student. Can you tell me how you arrived at 34, and 4.1?
by labrint
14 Feb 2019, 08:04
Forum: Ask For Help
Topic: Screen Resolution Issues
Replies: 20
Views: 332

Re: URGENT: Screen Resolution Issues

I figured out the problem but not entirely. The mouse wasn't clicking my fixed co-ordinates because some clients had a large discrepancy in screen resolution. Does anyone know a mathematical formula that converts co-ordinates based on screen resolutions? Example I have a co-ordinate of 42,219 with a...
by labrint
14 Feb 2019, 05:43
Forum: Ask For Help
Topic: Screen Resolution Issues
Replies: 20
Views: 332

Screen Resolution Issues

A simple code such as the one below is not working on some systems (few). Windows 10 and no antivirus. Why is this?

Can anyone fix it?

Code: Select all

winactivate, ahk_exe application.exe
winwaitactive, ahk_exe application.exe
MouseClick, left,  42,  214
by labrint
30 Jan 2019, 14:37
Forum: Ask For Help
Topic: Autohotkey to AirTable API (read and write data to cloud) Topic is solved
Replies: 6
Views: 268

Re: Autohotkey to AirTable API (read and write data to cloud) Topic is solved

Anything else apart from airtable? It's good but limited to 2500 records per base.

Go to advanced search