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

Help with script to apply workspace in InDesign 5

New Here ,
Jul 26, 2011 Jul 26, 2011

Copy link to clipboard

Copied

I need to apply a workspace in InDesign, but I am not sure how I call to it.

tell application "Adobe InDesign CS5"

apply workspace "name"

But this doesn't seem to work

Thanks

Mari

TOPICS
Scripting

Views

880

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
Contributor ,
Jul 26, 2011 Jul 26, 2011

Copy link to clipboard

Copied

Hi

in JavaScript, it works, but AppleScript not works.

#target "InDesign-7.0"

app.applyWorkspace("name");

I dont know why, if you must use AppleScript, use do script.

tell application "Adobe InDesign CS5"

  do script "app.applyWorkspace('name');" language javascript

end tell

Thankyou

mg.

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
New Here ,
Jul 27, 2011 Jul 27, 2011

Copy link to clipboard

Copied

LATEST

Thank You So Very Much. It works perfectly.

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