Copy link to clipboard
Copied
I asked in the FrameMaker forum and was told no https://community.adobe.com/t5/framemaker-discussions/extendscript-and-date-formats/m-p/13814769#M79..., but I thought I would ask here as well.
Approaches considered:
https://github.com/qodesmith/datepicker#readme - This is javascript, but it is designed to work with HTML pages, not sure if it could be adapted to ScriptUI, or if ScriptUI can display an HTML page, but that seems rather clunky.
https://www.pdfscripting.com/public/FreeStuff/PDFSamples/JSPopupCalendar.pdf - this uses Javascript, but it is tied to a PDF form. Not sure if that would work and it would be clunky also.
https://www.pdfautomationstation.com/products/item7.cfm - This seems similar to the item above, but it is $99.
https://answers.acrobatusers.com/How-enter-pop-calendar-pdf-form-q19050.aspx - I didn't research all of this options, but it is also talking about PDF Forms.
https://gregmaxey.com/word_tip_pages/date_picker_form.html - I've used this for MS Access - it displays a userform using Visual Basic for Applications. I know ExtendScript is supposed to support Basic, but everyone uses the Javascript versions of it, but don't know if any of that applies to ScriptUI.
It seems like it COULD be done, it's bascially just displaying a table in a window with controls to move to different months, and the above could be converted to do that, but I was hoping not to make one from scratch.
All suggestions appreciated!
Copy link to clipboard
Copied
I'm pretty sure you'd have to write your own date picker.