+ Post New Thread
Results 1 to 8 of 8
Scripts Thread, VBS System Tray popup in Coding and Web Development; I have a .vbs which gets AutoRun'd when i plug my USB pen drive in, and performs various actions. Is ...
  1. #1
    Samson's Avatar
    Join Date
    Mar 2007
    Location
    Wales
    Posts
    201
    Thank Post
    7
    Thanked 1 Time in 1 Post
    Rep Power
    16

    VBS System Tray popup

    I have a .vbs which gets AutoRun'd when i plug my USB pen drive in, and performs various actions.

    Is there a way from VBS, to get an icon in the system tray temporarily, and have one of those lovely yellow "speech bubble" type popups come from it displaying some custom information?

    Thanks

  2. #2

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,705
    Thank Post
    3,238
    Thanked 1,045 Times in 967 Posts
    Rep Power
    363

    Re: VBS System Tray popup

    will look more into this tonight as I am figuring it will be an ocx or activex control deal or something along those lines and you will have to register it on the machine you wish to use it on before you use it in vbscript.

  3. #3

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,401
    Thank Post
    637
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    319

    Re: VBS System Tray popup

    Not with plain VBS but an AutoIt script can do this (and more).

  4. #4

    Join Date
    Aug 2005
    Location
    London
    Posts
    3,154
    Thank Post
    114
    Thanked 527 Times in 450 Posts
    Blog Entries
    2
    Rep Power
    123

    Re: VBS System Tray popup

    I think the other alternative might be a .hta file. If you're used to writing VBScript then it's not too hard to do hta

    Have a look at http://www.microsoft.com/downloads/d...displaylang=en to find out more about HTA

    Steve

  5. #5
    ICTNUT's Avatar
    Join Date
    Jul 2005
    Location
    Hereford
    Posts
    1,419
    Thank Post
    196
    Thanked 249 Times in 122 Posts
    Rep Power
    62

    Re: VBS System Tray popup

    There is a real way to do this via the use of VB.

    To be able to do as you suggest would require hooks directly into the WIN API and this can not be done effectivley via VBScript.

    If you could provide details of what you want the tray app to do I am sure I could knock an .exe up for you if you wish and supply you the could should you wish to change anything in the future.

  6. #6

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,821
    Thank Post
    873
    Thanked 1,675 Times in 1,458 Posts
    Blog Entries
    12
    Rep Power
    444
    Sorry to drag up an old post..

    I have managed to do this, if you are interested let me know an i will post the full details plus a few dll's you will need.

    Z

  7. #7

    SYNACK's Avatar
    Join Date
    Oct 2007
    Posts
    11,039
    Thank Post
    852
    Thanked 2,666 Times in 2,263 Posts
    Blog Entries
    9
    Rep Power
    767
    Quote Originally Posted by FN-Greatermanchester View Post
    Sorry to drag up an old post..

    I have managed to do this, if you are interested let me know an i will post the full details plus a few dll's you will need.

    Z
    Sounds interesting and could be useful in some cases, could make a good wiki entry

  8. #8

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,821
    Thank Post
    873
    Thanked 1,675 Times in 1,458 Posts
    Blog Entries
    12
    Rep Power
    444
    Yep i do plan to post it in there but not now, simpily do not have the time.

SHARE:
+ Post New Thread

Similar Threads

  1. Popup or Alt Tag title
    By Scotmk in forum Web Development
    Replies: 3
    Last Post: 12th September 2007, 05:12 PM
  2. popup before login thing
    By browolf in forum Windows
    Replies: 3
    Last Post: 12th March 2007, 04:05 PM
  3. Replies: 4
    Last Post: 11th January 2007, 02:47 PM
  4. How Do I Remove Items From The System Tray.
    By tickmike in forum Windows
    Replies: 13
    Last Post: 6th September 2006, 10:32 PM
  5. Close Tray and Eject Tray in Right context menu ?
    By mac_shinobi in forum How do you do....it?
    Replies: 2
    Last Post: 24th January 2006, 12:29 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •