Jump to content

Running my script minimized in the backround.


Recommended Posts

I found this sample on the site:

If Not WinActive("Untitled - Notepad","") Then WinActivate("Untitled - Notepad","")
WinSetState("Untitled - Notepad","",@SW_HIDE)
If Not WinActive("Untitled - Notepad","") Then WinActivate("Untitled - Notepad","")
ControlSend("Untitled - Notepad","","","{CTRLDOWN}a{CTRLUP}Some{SPACE}text.")
sleep(2000)
MouseMove(491,408)
MouseDown("left")
MouseUp("left")
If Not WinActive("Untitled - Notepad","") Then WinActivate("Untitled - Notepad","")
WinSetState("Untitled - Notepad","",@SW_SHOW)

What line would I need to apply it to in my code (sorry I'm a novice, I've been borrowing a lot). Also, it functions perfectly the way I need it to, but if you guys have any suggestions on how to clean up my code, all help will be greatly appreciated. Thanks :graduated:

<removed>
Edited by Valik
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...