ScriptSpot is a diverse online community of artists and developers who come together to find and share scripts that empower their creativity with 3ds Max. Our users come from all parts of the world and work in everything from visual effects to gaming, architecture, students or hobbyists.
try(destroydialog X )catch()
rollout X ""(
dotNetControl btn "button" text:"SomeButton" height:20
on X open do setFocus btn
on btn KeyUp ev do(if ev.KeyCode == ev.KeyCode.Enter doformat"Pressed Enter\n"))
createDialog X
I think he means somehow making the enter key be able to be used to press ok (like when you are duplicating objects and the popup appear), perhaps accomplished by a macroscript to apply to that particular shortcut/key... or if Enter cant be used as shortcut, an alternative key
Comments
1. Use a macroscript.2. You
1. Use macroscript.
2. You can use ahk script to send your event.
http://mihailupu.ro/
to a button.
to a button.
.
use dotNetControl
.
But the rollout must be "on focus".
Tools and Scripts for Autodesk 3dsMax
.
Event to what? To a control in a rollout? To which control - button, checkbox, spinner,...?
Tools and Scripts for Autodesk 3dsMax
I think he means somehow
I think he means somehow making the enter key be able to be used to press ok (like when you are duplicating objects and the popup appear), perhaps accomplished by a macroscript to apply to that particular shortcut/key... or if Enter cant be used as shortcut, an alternative key
Taso