Jump to content

Recommended Posts

Posted

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!

Posted

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

 

image.jpeg.9f1a974c98e9f77d824b358729b089b0.jpeg Chimp

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

Posted (edited)

could i show text instead of the icon?

 

I do not know

maybe >here something to try

Edited by PincoPanco

 

image.jpeg.9f1a974c98e9f77d824b358729b089b0.jpeg Chimp

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

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
×
×
  • Create New...