Jump to content
Macro Express Forums

Help With A Vbscript?


Strathos
 Share

Recommended Posts

Hello

 

I know this is not a Visual Basic Script forum, but I was wondering if someone with knowledge could give me a hand with a very simple macro/script.

 

This is how it would be in ME:

 

Repeat Until %N1% <> %N1%

If Window Title "Main battery Full" is on top

Macro Stop

End If

Wait For Window Title: "Main battery low"

Window Close: "Main battery low"

Repeat End

 

This is what I have done so far

 

 

for x=1 to 100

Window.WaitWindow (Main battery low)

Window.CloseWindow(?) "Main battery low"

next %>

 

Of course it won't work. I have no idea what to do with the "Sub Main", "Call main" and "functions" I'm reading a tutorial, but I dont think I will ever do a VBScript again :P

 

Long Life to Macro Express!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...