-
Jun 8th, 2008, 06:59 AM
#1
Thread Starter
Fanatic Member
VBScript tray icon
Hello,
Is it possible to have a vbscript (.vbs or .hta) put an icon in the systemtray and listen to the dblclick event? I don't want external applications or so. Some api's from standard windows libraries are fine. It must run on windows XP (or above?). Does anyone have an idea/example for this or knows whether it is possible or not?
Thanks in advance
Don't Hate Me Cause You Ain't Me
-
Jun 12th, 2008, 12:43 PM
#2
Junior Member
Re: VBScript tray icon
Hi jacsoft:
I did a google and didn't find much...it doesn't look like it is possible.
http://bytes.com/forum/thread681420.html
I know you state that you don't want to use a third party tool but have you considered AutoHotKey? You could write simple code in AHK that will give you what you want, an icon in the tray (even customizable to an icon you want). You can then compile the script into an exe and distribute it to other machines, with no other software installation required.
-
Jun 13th, 2008, 01:16 AM
#3
Re: VBScript tray icon
I'd suggest looking into using pure VB, separate application rather than VBScript here, as you'll need to interact with the Windows API. There's a Shell_NotifyIcon API call if you do want to go down that route, and there's more help on this here http://allapi.mentalis.org/apilist/S...tifyIcon.shtml
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|