Hello Support Team,
I'm using a custom export script in Python. This part add few more touch functions in HYPE directly:
def extra_actions():
return [
{"label" : "Veeva GoToPreviousSlide Exit", "function" : "GoToPreviousSlide"},
{"label" : "Veeva GoToSlide Exit", "function" : "com.veeva.clm.gotoSlide", "arguments":[{"label":"Go to slide : ", "type": "String"}, {"label":"Extensions : ", "type": "boolean", "val": ".xxxx"}]},
{"label" : "Veeva GoToNextSlide Exit", "function" : "GoToNextSlide"}
]
What are the different options I can pass to this part of code, to:
Add a dropdown and not a textarea,
Add a predetermined value in this new field.
Thanks.
1 Like
MaxZieb
(Loves Hype)
March 8, 2022, 5:11pm
2
Sadly, there isn't really much else except the input field. It is a standing feature request to add more options like dropdowns, checkboxes and angle/color pickers. Also, these options would be great for document arguments… specially because this would limit the possibilities for wrong inputs by users.
I explored the topic in Hype Bundles
and in
[Screenshot-20210120-234353@2x]
Here is an early drop of a Hype Power Pack. It currently offers a preview of the following commands:
Conditional Behavior
Set Variable
Run Function on Selector
Run JavaScript Expression
And additional callbacks
HypeDocumentLoad in functions()
It uses the export script interface to extend Hype with new actions. As most people don't use export scripts this might come in handy.
The extensions needed for this are injected into the generated script. Runtime is…
1 Like