Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


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

203

Likes

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

Likes

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

Likes

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");

Likes

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