-
-
Save MaxSteven/34802a02a874806fb0a0582ea00385fa to your computer and use it in GitHub Desktop.
Maxscript: Send a simple desktop notification similar to skype, from 3ds Max to the desktop. When users click on the balloon notification, in this example, it will open a windows explorer.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn closeIcon s e = s.dispose() | |
fn balloonClicked s e = shelllaunch @"c:\windows\" "" | |
a = dotnetobject "notifyicon" | |
a.visible = true | |
a.icon = (dotnetclass "system.drawing.systemIcons").information | |
dotnet.addEventHandler a "BalloonTipClosed" closeIcon | |
dotnet.addEventHandler a "BalloonTipClicked" balloonClicked | |
a.showballoontip 1000 "test" "test2" (dotnetclass "tooltipicon").info |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment