Sign in to follow this  
Followers 0
isaiah

Restore From Tray

5 posts in this topic

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)

Share this post


Link to post
Share on other sites



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.

Share this post


Link to post
Share on other sites

#3 ·  Posted (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 by JdeB

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

By using this code, im able to restore it from tray icon. is it ok?

ShellExecute($mykavr)
ShellExecute($mykavr,@SW_SHOW)

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0