Jump to content
Sign in to follow this  
isaiah

Restore From Tray

Recommended Posts

isaiah

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
SmOke_N

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
Jos

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                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
isaiah

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
SmOke_N

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.