Sign in to follow this  
Followers 0
richie1985

show hostname in taskbar or tray

4 posts in this topic

hi,

i want on all clients (over 400) to show hostname directly and permantly to the user (for remote help), but i dont know how?

The best would be, if the hostname will be shown anywhere in the taskbar...

 

have you a idea how i can make this?

Thx!

Share this post


Link to post
Share on other sites



this should do

#NoTrayIcon
Opt("TrayMenuMode", 1) ; Default tray menu items (Script Paused/Exit) will not be shown.
Local $exititem = TrayCreateItem("Exit")

TraySetIcon("Shell32.dll", -13) ; IC icon
TraySetToolTip("The name of this computer is " & @ComputerName)
TraySetState()

While 1
    If TrayGetMsg() = $exititem Then Exit
    Sleep(10) ; Idle loop
WEnd
Exit

small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

Share this post


Link to post
Share on other sites

could i show text instead of the icon?

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

could i show text instead of the icon?

 

I do not know

maybe >here something to try

Edited by PincoPanco

small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

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