Search found 14 matches

by srt
28 May 2024, 00:10
Forum: Ask for Help (v1)
Topic: Multiple Clicks with Scroll
Replies: 3
Views: 254

Re: Multiple Clicks with Scroll

Thanks ...however this should be flagged as an error.
by srt
27 May 2024, 00:34
Forum: Ask for Help (v1)
Topic: Multiple Clicks with Scroll
Replies: 3
Views: 254

Multiple Clicks with Scroll

The code is supposed to click at multiple points on the screen based on the scroll counter . However it is not getting executed. What's missing? ;Multiple Clicks with Scroll counter := 0 +WheelUp:: While (counter <= 4) { ; Increment the counter counter++ if counter == 1 ; MsgBox, This is iteration n...
by srt
14 Apr 2024, 01:37
Forum: Ask for Help (v1)
Topic: WebBrowser reloads to center rather than top of page
Replies: 1
Views: 66

WebBrowser reloads to center rather than top of page

Ahk is used to switch between BrowserTabs(chrome/edge) & reload them automatically. However the browser reloads to the center as opposed to the top of the page . An additional Click,1,1850,100,Left Sleep(10) Home is appended to the script to move the scrollbar to the Top of the page,but it doesn't w...
by srt
11 Apr 2024, 02:43
Forum: Ask for Help (v1)
Topic: F1 not working as hotkey (Windows10)
Replies: 2
Views: 89

F1 not working as hotkey (Windows10)

To quickly switch between the first 3 open applications on Windows10 , F1~F3 have been mapped to those keys . Although F2-F3 work fine,F1 doesn't work. Also pressing F1 without mapping it AHK,the default windows help option doesn't pop up. How to get F1 to switch to the first open application? ;Swit...
by srt
03 Apr 2024, 23:16
Forum: Ask for Help (v1)
Topic: ImageSearch for full screen region (ErrorLevel = 1 )
Replies: 6
Views: 215

Re: ImageSearch for full screen region (ErrorLevel = 1 )

hi rockitdontstopit ,thanks for the confirmation that the buy button gets detected and executed in IB-Tws(Options Greeks).

Please share the buyicon cropped image on an external link(eg Google Drive) ,as it has been deleted from here.
by srt
03 Apr 2024, 03:08
Forum: Ask for Help (v1)
Topic: ImageSearch for full screen region (ErrorLevel = 1 )
Replies: 6
Views: 215

ImageSearch for full screen region (ErrorLevel = 1 )

FullScreen -https://drive.google.com/file/d/1QNFN3wHJmAPuYE7zJ4xm4eOvZIWjzAvW/view?usp=drive_link ImageSeaarch(Buy) - https://drive.google.com/file/d/1h-GVbSXiMhFT1fjic-drjskV2QzBXZxf/view?usp=drive_link ImageSeaarch/PixelSearch is not able to locate neither the 'Buy' imageIcon nor the pixels for th...
by srt
19 Mar 2024, 19:59
Forum: Ask for Help (v1)
Topic: Functions inside of a Function(Array parameter)
Replies: 6
Views: 164

Re: Functions inside of a Function(Array parameter)

Previous ahk instances have been exited and there is no prior instance running as per Task Manager. Still ahk gives errors . Refer image : https://i.postimg.cc/5yDvLLWQ/ahk1.jpg FULL CODE: #Persistent #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. #Warn ; Ena...
by srt
19 Mar 2024, 19:30
Forum: Ask for Help (v1)
Topic: Functions inside of a Function(Array parameter)
Replies: 6
Views: 164

Re: Functions inside of a Function(Array parameter)

Looks like ahk is referring to previous code (still in memory) because similar errors are occurring for other lines as well .
Is there a way to clear out memory in ahk ?
by srt
19 Mar 2024, 09:01
Forum: Ask for Help (v1)
Topic: Functions inside of a Function(Array parameter)
Replies: 6
Views: 164

Functions inside of a Function(Array parameter)

On passing an Array as a function parameter ,ahk is giving a "Functions inside of a Function" error. Values for Builtin functions like array.Length() have been manually entered to remove conflict but the error still persists. Plz provide a solution . main.ahk TabButtons := [{X: 1555, Y: 100} ,{X: 16...
by srt
17 Mar 2024, 02:56
Forum: Ask for Help (v1)
Topic: Improve ImageSearch (errorlevel2)
Replies: 7
Views: 120

Re: Improve ImageSearch (errorlevel2)

The path to the image and the website is fine.

webpage - https://gemini.google.com/app

IconButton
Screen_20240317132252.png
Screen_20240317132252.png (1.13 KiB) Viewed 82 times
by srt
17 Mar 2024, 01:29
Forum: Ask for Help (v1)
Topic: Improve ImageSearch (errorlevel2)
Replies: 7
Views: 120

Re: Improve ImageSearch (errorlevel2)

The iconButton is right next to the clicked area and is surely within the focusregion.Still ahk cannot find the image . Is it possible to get the coordinates of all the iconButtons matching the image in an arrray so that they can be compared to the clicked area for least distance? Run, "https://gemi...
by srt
16 Mar 2024, 21:38
Forum: Ask for Help (v1)
Topic: Improve ImageSearch (errorlevel2)
Replies: 7
Views: 120

Re: Improve ImageSearch (errorlevel2)

After altering the code ,the script is giving "ErrorLevel1". However the returned iconbutton vales(RestoreX,RestoreY) are null KeyWait, Shift, D ; Wait for the Shift key to be released MouseGetPos, ClickX, ClickY MsgBox, 262144, MousePos, cursor = X%ClickX% `, Y%ClickY% Loop { CoordMode, Pixel, Wind...
by srt
16 Mar 2024, 21:16
Forum: Pulovers Macro Creator
Topic: Keywait not saving modifier keys(PMCv5.4)
Replies: 0
Views: 326

Keywait not saving modifier keys(PMCv5.4)

Keywait is not saving modifier keys(shift,ctrl,alt).Once this key is created,applied and saved ,it reverts back to None.
by srt
16 Mar 2024, 21:05
Forum: Ask for Help (v1)
Topic: Improve ImageSearch (errorlevel2)
Replies: 7
Views: 120

Improve ImageSearch (errorlevel2)

The script below performs a ImageSearch in a focusarea defined near the clicked position. But despite having the iconbutton present right next to the click ,"errorlevel2" is the error given . How to improve image search? Run, "https://gemini.google.com/app" ; Open the URL in the default browser KeyW...

Go to advanced search