Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
    Dedicated community for Japanese speakers
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
    Dedicated community for Korean speakers
0

Can a pop-up calendar/datepicker be added to a ScriptUI form?

Engaged ,
May 25, 2023 May 25, 2023

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!

 

TOPICS
Scripting

Views

273
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 28, 2023 May 28, 2023

Copy link to clipboard

Copied

LATEST

I'm pretty sure you'd have to write your own date picker.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines