Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
max 255 local variables
#7
In this case probably it is best to move the 20-line code to a function. Like in the guide.
Example:

Create function Func4258:

function w str'bmpFile
spe -1
wait 1000 S bmpFile child ("_ctl.Window" "test" w2) 0 1 | 4 | 16 | 40 0x400;; '_ctl.Window'
lef
...

to call the function:
int w1 = win ("test", "WindowsForms10.Window.8.app.0.33c0d9d")
Func4258 w1 "C: \ macro \ images \ test1.bmp"
...
Func4258 w1 "C: \ macro \ images \ test2.bmp"
...

Why in your code \ and | are surrounded with spaces? Like C: \ macro \ images \ test1.bmp


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)