• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

is it possible to open a folder in macOS-finder/Windows-Explorer from Adober XD scripts?

Explorer ,
Apr 22, 2021 Apr 22, 2021

Copy link to clipboard

Copied

Hi,

i have a panel script here.  in the script i pick a folder.  i am able to successfully save to that folder.. however, i just need to open the location of that folder.. is it possible to open the folders in mac os finder?  i want to create a button that says "Open Folder Location" and it will open that folder i picked.

 

thank you

Views

415

Translate

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
Adobe Employee ,
Apr 26, 2021 Apr 26, 2021

Copy link to clipboard

Copied

Hi David,

 

Sorry for the delay in response. If I heard you right, it looks you are trying to do this: https://support.apple.com/en-in/guide/mac-help/mchlp1032/11.0/mac/11.0#:~:text=Open%20a%20single%20f....

 

If so, I would suggest trying the steps and see if that helps.

 

Thanks,

Harshika

Votes

Translate

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
Explorer ,
Apr 26, 2021 Apr 26, 2021

Copy link to clipboard

Copied

Thank you Harshika but this is not the answer i was looking for. 

i was hoping to open folders using Adobe XD UXP JavaScript library/API... for example, here is the UXP API https://adobexdplatform.com/plugin-docs/reference/uxp/ i was wondering if its possible to simply open a folder in finder using Adobe XD API JavaScript.

 

thank you

Votes

Translate

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
Explorer ,
Apr 29, 2021 Apr 29, 2021

Copy link to clipboard

Copied

LATEST

maybe i am making it too complicated..

lets say i want to open a folder.. lets say the folder is this..

 

/User/skywalker/Desktop/images

 

how can i open this using JavaScript.. i assume tehre should be a langauge like

let folder = new Folder();

folder.open("User/skywalker/Desktop/images");

Votes

Translate

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