daywalkereg Posted July 12, 2007 Share Posted July 12, 2007 i made these two msn and yahoo sign in i want to put them in one script only but i need when it open it make the user chose where he want to sign in Can any one plz made this for me :"> 1 £0\\/3 |-|3® $0 |\\/|µ(|-| Link to comment Share on other sites More sharing options...
martin Posted July 12, 2007 Share Posted July 12, 2007 (edited) i made these two msn and yahoo sign in i want to put them in one script only but i need when it open it make the user chose where he want to sign in Can any one plz made this for me :"> Simplest way (not the best) start a new file put the includes used by both scripts at the start.(Only one in your case so far) next have a messagebox something like this $choice = MsgBox(4,"Your choice?","Do you want to run MSN?") if $choice = 6 then Startmsn() exit endif $choice = MsgBox(4,"Your choice?","Do you want to run Yahoo?") if $choice = 6 then Startyahoo() Func Startmsn() paste all your msn script here less the #include line endfunc Func Startyahoo() paste all your yahoo script here less the #include endfunc Better might be to have a gui interface, but the first thing is to get what you want somehow. Looks like you might need to read up on functions. Edit:spelling Edited July 12, 2007 by martin Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. 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