w0uter Posted January 25, 2006 Posted January 25, 2006 (edited) $h_File = 0*(GuiCreate("AutoPad", 400, 320,-1, -1 , 80674816)+GUICtrlSetData(GuiCtrlCreateEdit("", 0, 0, 400, 320), FileRead($cmdlineraw))+GuiSetState())+FileOpen($cmdlineraw, 2) While GUIGetMsg() <> -3 WEnd $h_File = FileWrite($h_File, GUICtrlRead(3))+FileClose($h_File) opens the file from the cmd line lets you edit it in a GUI interface saves it automaticly and that all in 4 lines of code (thanks to the tip on the wiki) from now ill do all my script writing in it (well not really but it sounded nice ) Edited January 25, 2006 by w0uter My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll
Moderators SmOke_N Posted January 25, 2006 Moderators Posted January 25, 2006 $h_File = 0*(GuiCreate("AutoPad", 400, 320,-1, -1 , 80674816)+GUICtrlSetData(GuiCtrlCreateEdit("", 0, 0, 400, 320), FileRead($cmdlineraw))+GuiSetState())+FileOpen($cmdlineraw, 2) While GUIGetMsg() <> -3 WEnd $h_File = FileWrite($h_File, GUICtrlRead(3))+FileClose($h_File) opens the file from the cmd line lets you edit it in a GUI interface saves it automaticly and that all in 4 lines of code (thanks to the tip on the wiki) from now ill do all my script writing in it (well not really but it sounded nice ) Definately gives me some ideas... nice one! Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
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