View Single Post
  #244  
Old 03.12.2017, 16:44
ottoS ottoS is offline
Vacuum Cleaner
 
Join Date: May 2013
Posts: 17
Default How to build an interactive script?

Quote:
Hi,

with the new trigger-functionality now we can start a script on button-press.
Very, very nice.
With this scenario I want to build an interactive script with an datetime-picker at script start.
For instance:
1. button pressed in JD-menu launches the script.
2. the script should launch a dialog box with a datetime-picker (at best there would be a cancel-button).
3. after input the script then processes the value ... (or abortes on cancel-button).

Now my question:
How to render the picker, because we have no html-canvas onto we can render the UI-elements (form, etc)?
(The only GUI-canvas I see is the alert-popup, but can it blown up to a multifunctional UI-element?)


Thx for reading this.
A lot more thanks for a reply.
Rückfrage von JIAZ:
Quote:
Originally Posted by Jiaz View Post
@ottoS: what for do you need the date picker exactly for? You could just let user enter input like hours:minutes:day...
Antwort von ottoS:
Ok, the date picker is nice, but separate inputs will also be fine.
But this brings me to my next question: How to render a self-composed input-dialog-UI with a bunch of canvas elements (label, input-fields, buttons) in the jd-desktop-GUI environment?

thx
__________________
Sys-Info: Win10Home32bit | NTFS | OracleJRE1.8 | JD2 with GUI
Reply With Quote