Bi0haZarD Posted August 28, 2005 Posted August 28, 2005 ok, I want to make a script that auto connectes and Minimizes Ventrilo so that i can add ventrilo to my startup. For those that haven't used Ventrilo. there is an option to minimize it to the system tray. but when i use my script it puts it down in the taskbar. taskbar = where normal apps go when you minimize system tray = small icons by the clock (just to clear that up) now.. if i manually hit the minimize button in ventrilo it goes to the system tray. if i use WinSetState then it goes down to the taskbar. heres my script, yes i know its small and rely's on sending "{space}" to connect. but can't remeber the command off my head to send a certain button lol. Run("C:\Program Files\Ventrilo\Ventrilo.exe") sleep(200) Send("{Space}") sleep(200) WinSetState("Ventrilo", "",@SW_Minimize)
LxP Posted August 28, 2005 Posted August 28, 2005 Kind of clumsy but might this do this job? -- send("!{SPACE}n")
Bi0haZarD Posted August 28, 2005 Author Posted August 28, 2005 (edited) hmm didn't think of that. but if i use that it shows up in the taskbar and the system tray lol. *EDIT* oops yeap that did it. still had the WinSetState still in my code. thanks Edited August 28, 2005 by Bi0haZarD
LxP Posted August 28, 2005 Posted August 28, 2005 (edited) That's odd because all it does is select Minimise from the system menu, which should be equivalent to hitting the Minimise button on the other side.Is there a button within the window itself that would tray minimise the window?Edit: Problem solved! Edited August 28, 2005 by LxP
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