tal Posted August 12, 2007 Share Posted August 12, 2007 is there a way to run the script at the background , so the users wont see the script opening windows and jumping buttons? Link to comment Share on other sites More sharing options...
Zedna Posted August 12, 2007 Share Posted August 12, 2007 Put #notrayicon at begin of your script Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
tal Posted August 12, 2007 Author Share Posted August 12, 2007 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 Link to comment Share on other sites More sharing options...
herewasplato Posted August 12, 2007 Share Posted August 12, 2007 ...the user wont see them.and only the final result will pop to the userIt 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] Link to comment Share on other sites More sharing options...
tal Posted August 12, 2007 Author Share Posted August 12, 2007 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}") Link to comment Share on other sites More sharing options...
herewasplato Posted August 12, 2007 Share Posted August 12, 2007 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] Link to comment Share on other sites More sharing options...
qazwsx Posted August 13, 2007 Share Posted August 13, 2007 just open windows with @sw_hide and use controlsend so you don't need focus. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now