isaiah Posted March 4, 2007 Share Posted March 4, 2007 HI, i wanted to show my kaspersky windows. but when i run the program, it automatically minimize to tray. how to show it using autoit? Heres my code $mykavr = @ProgramFilesDir & "\Kaspersky Lab\Kaspersky Anti-Virus 6.0 for Windows Workstations\avp.exe" ShellExecute($mykavr,@SW_SHOW) Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 4, 2007 Moderators Share Posted March 4, 2007 HI, i wanted to show my kaspersky windows. but when i run the program, it automatically minimize to tray. how to show it using autoit? Heres my code $mykavr = @ProgramFilesDir & "\Kaspersky Lab\Kaspersky Anti-Virus 6.0 for Windows Workstations\avp.exe" ShellExecute($mykavr,@SW_SHOW)I'm sure this is Kaspersky's setting. Have you checked from within Kaspersky's options, if it has a default to tray option, maybe you could toggle that off. 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. Link to comment Share on other sites More sharing options...
Developers Jos Posted March 4, 2007 Developers Share Posted March 4, 2007 (edited) HI, i wanted to show my kaspersky windows. but when i run the program, it automatically minimize to tray. how to show it using autoit? Heres my code $mykavr = @ProgramFilesDir & "\Kaspersky Lab\Kaspersky Anti-Virus 6.0 for Windows Workstations\avp.exe" ShellExecute($mykavr,@SW_SHOW)oÝ÷ Ûú®¢×whºÛayh§v-Ù^o*)zx§+fj{ÖvÚ2¢êìr¸©µ«¢+Ù]¥¹]¥Ð ÅÕ½ÐíѡѥѱÅÕ½Ðì¤)]¥¹MÑMÑÑ ÅÕ½ÐíѡѥѱÅÕ½Ðì°ÅÕ½ÐìÅÕ½Ðì±M]}M¡½Ü Edited March 4, 2007 by JdeB 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...
isaiah Posted March 4, 2007 Author Share Posted March 4, 2007 By using this code, im able to restore it from tray icon. is it ok? ShellExecute($mykavr) ShellExecute($mykavr,@SW_SHOW) Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted March 4, 2007 Moderators Share Posted March 4, 2007 By using this code, im able to restore it from tray icon. is it ok? ShellExecute($mykavr) ShellExecute($mykavr,@SW_SHOW)Using this:ShellExecute($mykavr,@SW_SHOW) By itself doesn't do it? You have to execute the exe twice to achieve this? 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. 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