Search found 5 matches

by palendin
17 Feb 2021, 18:27
Forum: Gaming
Topic: accessing a function variable in main script
Replies: 4
Views: 55

Re: accessing a function variable in main script

thank you much appreciated!
by palendin
17 Feb 2021, 15:35
Forum: Gaming
Topic: accessing a function variable in main script
Replies: 4
Views: 55

Re: accessing a function variable in main script

Hello, thanks for the reply.

When I added this.w := width as a class variable, it didnt output anything. Could you elaborate a bit more on this?

Thanks!
by palendin
17 Feb 2021, 02:07
Forum: Gaming
Topic: accessing a function variable in main script
Replies: 4
Views: 55

accessing a function variable in main script

Hi All, I created a class Window, and within it, there is a function call detect_window, and within that, it has WinGetPos width, height. I am trying to return this width and height value in my "main" script. but I have no luck. Could anyone give a tip? Thanks! ;this is my class script: DetectWindow...
by palendin
13 Jun 2020, 14:12
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 643
Views: 239772

Re: FindText - Capture screen image into text and then find it Topic is solved

hi Feiyue,

I am already failing the first step. I saved the file as FindText and ran the script. It gave me a local variable error line text: local, error: line does not contain recognized action.

Could you help?

Thanks!
by palendin
15 Apr 2020, 23:05
Forum: Gaming
Topic: while loop problem
Replies: 1
Views: 299

while loop problem

Hi All, I have this code below that suppose to do the following: 1. click on a x,y coordinate 2. sleep for a random time between 60 to 70 seconds, 3. during the sleep period, it will press the key "3" randomly. The problem I have is that it doesnt press 3. Could anyone help? Thanks! F9::pause, toggl...

Go to advanced search