Hyperlinks?

Is there anyway I can define hyperlinks in 3D max. When I click on an object a folder containing photos on my pc pop up or an avi played..?
Thanks.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Anubis's picture

ShellLaunch function

There is HyperLink UI Control, but following your description seems to me ShellLaunch function is what you looking for.

ShellLaunch @"C:\My Pictures\" ""
ShellLaunch @"D:\foo.avi" "/play /loop"

my recent MAXScripts RSS (archive here)

cuatcside's picture

Thanks for your help. So how

Thanks for your help.
So how Do I set this up. lets say I want to play an avi when I click on certain sphere or dummy object in max from a viewport.
Thanks again.

barigazy's picture

U need to use callback fn

U need to use callback fn (#selectionSetChanged). In maxscript help you can find out how to use it ei. how it work

barigazy

barigazy's picture

Hi Panayot, i did not see

Hi Panayot,
i did not see that you already post something :)
Cheers!

barigazy

Anubis's picture

:)

am too to see your post after refresh :)

my recent MAXScripts RSS (archive here)

Anubis's picture

how deep you know MaxScripting?

Script usually run by clicking a button or hotkey. To "add some action" when an object is selected, you need to play with "events". Take a look in the help docs for Change Handlers and Callbacks.

my recent MAXScripts RSS (archive here)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.