Jump to content
Sign in to follow this  
concept

Something very simple

Recommended Posts

concept

Well, I need to execute something very simple: get a number from file and then manipulate it. I know there must be something like this in the manual and on the forum, I am just unable to find it. Sorry for asking something this trivial.

Ok heres what I want:

$lopp = wingettext("temp - Notepad") ;Gets a value from file, in this case value is 1000

winactivate("tulem_kiirlaen - Notepad")

send($lopp)

send("{enter}")

$lopp -= 50

winactivate("tulem_kiirlaen - Notepad")

send($lopp)

the current output is:

1000

-50

But I need the output to be:

1000

950

Thank you!

Edit: The source contains one and only one value, no spaces or any other wierd symbols.

Edited by concept

Share this post


Link to post
Share on other sites
stampy

well when i look at the code it seems it should work. That is a way to use the operato