Jump to content
Sign in to follow this  
tal

how to hide the script

Recommended Posts

tal

is there a way to run the script at the background , so the users wont see the script opening windows and jumping buttons?

Share this post


Link to post
Share on other sites
tal

not good

it just wont show the tray icon

i want the script to run at the background

to open windows and typing text at the background so the user wont see them.

and only the final result will pop to the user

Share this post


Link to post
Share on other sites
herewasplato

...the user wont see them.

and only the final result will pop to the user

It would help if you would post the code that you want to run in the background...MSP

[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites
tal

end("{LWIN}+r")

WinWaitActive("Run")

Send("^a")

Sleep(500)

send("notepad.exe")

send("{enter}")

WinWaitActive("Untitled - Notepad")

send($A)

WinActivate("Untitled - Notepad")

Sleep(200)

send("{TAB}")

Send("{LALT down}")

Sleep(200)

send("{LSHIFT}")

Send("{LALT up}")

Share this post


Link to post
Share on other sites
herewasplato

That code looks like it was taken from the middle of a script.

The "S" from your first "Send" is missing and $A is not defined.

You might want to read the help file on FileWrite. It may let you do what you want without any windows showing and then show the user the end result.

Also, in the future - this code:

Send("{LWIN}+r")
WinWaitActive("Run")
Send("^a")
Sleep(500)
Send("notepad.exe")
Send("{enter}")oÝ÷ ÙƧmêÞ¦VyÜ"¶aÊ'zX§y«­¢+ÙIÕ¸ ÅÕ½Ðí¹½ÑÁ¹áÅÕ½Ðì¤

...hope this helps...


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites
qazwsx

just open windows with @sw_hide and use controlsend so you don't need focus.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×