Jump to content

Restore From Tray


Recommended Posts

  • Moderators

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

  • Developers

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

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

  • Moderators

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...