Jump to content

Execute InDesign scripts from Applescript


Recommended Posts

Hi, 

 

I was trying to figure out a way to execute/use indesign scripts through an Alfred workflow. I bumped into this handy workflow from joonaspaakko which does it all for AI and PS.

I changed it for use with inDesign but I don't get it the same result yet.

 

The workflow can search and find all the scripts in this scope: 

~/Documents/Scripts/ID/1_SD_SCRIPTS/
and returns the scripts in alfred but don't execute them in InDesign and return this error. The scripts work fine from within InDesign itself, so nothing wrong with that.

image.thumb.png.3e81a23b26dcf2892565e04b670f970f.png

Do the scripts for InDesign have to be at their original place to work, can anybody confirm this? I changed the scope in the workflow to InDesigns original scripts location:

~/Library/Preferences/Adobe InDesign/Version 18.0/en_GB/Scripts/Scripts Panel/1_SD_SCRIPTS/
but that gives no result when searching for scripts. I put this path in alfred search scope but with no result either...

 

Is there a way to let Alfred see/access what's in this scope?

~/Library/Preferences/Adobe InDesign/Version 18.0/en_GB/Scripts/Scripts Panel/1_SD_SCRIPTS/

 

See my version of the workflow

 

Thanks in advance!

 

Edited by vanwoods
Link to comment
  • vanwoods changed the title to Execute InDesign scripts from Applescript

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...