Highlighted

reading images path from Sharepoint using indesign script

Participant ,
Aug 13, 2020

Copy link to clipboard

Copied

Hey everyone, 

 

I want to read the images pathes that are placed in cloud (sharepoint for microsoft). I used to read the images and render it in the document from a local file. but the deigner asked me if it's possiable to read from cloud?

Sample of my code how i'm mangaing reading files localy and place it:

var doc = app.documents.add()
var rect = doc.pages[0].textFrames.add({geometricBounds: [12.7, 12.7, 90, 90]});

 var f = Folder("/Users/...");
 var allFiles = f.getFiles();
for(var i =0 ; i<=allFiles.length;i++){
rect.place(allFiles[i])
}

 can any one show me how or share a documention with me?

 

thanks all 

Adobe Community Professional
Correct answer by brianp311 | Adobe Community Professional

You can check out Kris Coppetier's GetUrl tool: 

 

https://coppieters.nz/?p=133

Topics

Activation billing and install, Bug, EPUB, Feature request, How to, Import and export, InCopy workflow, Performance, Print, Publish online, Scripting, SDK, Server developers, Sync and storage, Type

Views

43

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

reading images path from Sharepoint using indesign script

Participant ,
Aug 13, 2020

Copy link to clipboard

Copied

Hey everyone, 

 

I want to read the images pathes that are placed in cloud (sharepoint for microsoft). I used to read the images and render it in the document from a local file. but the deigner asked me if it's possiable to read from cloud?

Sample of my code how i'm mangaing reading files localy and place it:

var doc = app.documents.add()
var rect = doc.pages[0].textFrames.add({geometricBounds: [12.7, 12.7, 90, 90]});

 var f = Folder("/Users/...");
 var allFiles = f.getFiles();
for(var i =0 ; i<=allFiles.length;i++){
rect.place(allFiles[i])
}

 can any one show me how or share a documention with me?

 

thanks all 

Adobe Community Professional
Correct answer by brianp311 | Adobe Community Professional

You can check out Kris Coppetier's GetUrl tool: 

 

https://coppieters.nz/?p=133

Topics

Activation billing and install, Bug, EPUB, Feature request, How to, Import and export, InCopy workflow, Performance, Print, Publish online, Scripting, SDK, Server developers, Sync and storage, Type

Views

44

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
Adobe Community Professional ,
Aug 13, 2020

Copy link to clipboard

Copied

You can check out Kris Coppetier's GetUrl tool: 

 

https://coppieters.nz/?p=133

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
Reply
Loading...