mohd Posted February 2, 2008 Share Posted February 2, 2008 بسم الله الرحمن الرحيم hi i want to know from u how can i hide my work Example : i want to open note bad and write "autoit" and copy it ,,, ? how can i hide that ? Link to comment Share on other sites More sharing options...
Swift Posted February 2, 2008 Share Posted February 2, 2008 What? hide What? And What you mean by 'hide'? Link to comment Share on other sites More sharing options...
Developers Jos Posted February 2, 2008 Developers Share Posted February 2, 2008 i want to open note bad and write "autoit" and copy it ,,, ?Can I get a copy of that NoteBad program ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Swift Posted February 2, 2008 Share Posted February 2, 2008 Can I get a copy of that NoteBad program ? Hahaa.... go Jos! Link to comment Share on other sites More sharing options...
mohd Posted February 2, 2008 Author Share Posted February 2, 2008 i mean i want to 1- open the note bad 2- write "auto it " 3- copy it 4- save it all this in hide the script Run("notepad.exe") ; Wait for the Notepad become active - it is titled "Untitled - Notepad" on English systems WinWaitActive("Untitled - Notepad") ; Now that the Notepad window is active type some text Send("autoit.{ENTER}{ENTER}") Sleep(500) Send("+{UP 2}") Sleep(500) ; Now quit by pressing Alt-f and then x (File menu -> Exit) Send("!E") Send("C") Send("!f") Send("s") Send("autoit") Send("{Tab}{Tab}{ENTER}") ; Now wait for Notepad to close before continuing WinWaitClose("Untitled - Notepad") thanks Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted February 2, 2008 Share Posted February 2, 2008 Run("notepad.exe",-1,@SW_HIDE) WinWait('Untitled - Notepad') $Handle = WinGetHandle('Untitled - Notepad') ControlSetText($Handle,'','Edit1','Autoit.') ClipPut(ControlGetText($Handle,'','Edit1')) MsgBox(0,'',ClipGet()) Link to comment Share on other sites More sharing options...
mohd Posted February 2, 2008 Author Share Posted February 2, 2008 im very sorry this script dont working . Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted February 2, 2008 Share Posted February 2, 2008 im very sorry this script dont working . Yeah, it does. Watch it while it isn't hidden Run("notepad.exe") WinWait('Untitled - Notepad') $Handle = WinGetHandle('Untitled - Notepad') ControlSetText($Handle,'','Edit1','Autoit.') ClipPut(ControlGetText($Handle,'','Edit1')) MsgBox(0,'',ClipGet()) Link to comment Share on other sites More sharing options...
mohd Posted February 2, 2008 Author Share Posted February 2, 2008 im very sorry the script dosent work . Link to comment Share on other sites More sharing options...
Developers Jos Posted February 2, 2008 Developers Share Posted February 2, 2008 What is the exact Title of the NotePad window after it is started ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
mohd Posted February 2, 2008 Author Share Posted February 2, 2008 the first script u give me it doesn't work and in th csecond script it i sworking but not hide and i have message ! ......... What is the exact Title of the NotePad window after it is started ? are you mean that " Untitled - notebad " thanks Link to comment Share on other sites More sharing options...
Developers Jos Posted February 2, 2008 Developers Share Posted February 2, 2008 are you mean that " Untitled - notebad "I know I made a joke about this but are you now serious ?does it actually say " Untitled - notebad " SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
mohd Posted February 2, 2008 Author Share Posted February 2, 2008 ok ,, but now please till me an answer if u know that because i need it ,,, please Link to comment Share on other sites More sharing options...
Developers Jos Posted February 2, 2008 Developers Share Posted February 2, 2008 ok ,, but now please till me an answer if u know that because i need it ,,, pleaseThat last post was a serious question: reason being that the title of the Notepad program window depends on the Windows language used. The Dutch version of windows show "Kladblok" instead of "Notepad" .... so again: tell us the EXACT text in the Notepad program window title. Preferably start AU3Info and cut&paste the info about the window in your reply.Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
mohd Posted February 2, 2008 Author Share Posted February 2, 2008 first: thank u i want to till u i dont want that on note bad this is only example ... i want to do that on Hijack_This tool do you know that ? i want to hide her work but i cant can u and all help me to do that ? thanks Link to comment Share on other sites More sharing options...
Kademlia Posted February 2, 2008 Share Posted February 2, 2008 Why do you want to write into a file while its open? Just directly write into a file? CODE $file =FileOpen("test.txt",2) FileWriteLine($file,"Aoutoit is cool") FileClose($file) 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