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

Simple script question

Community Beginner ,
Mar 15, 2017 Mar 15, 2017

Copy link to clipboard

Copied

Hi all

I am new to writing scripts so please bare with my stupidity. I am trying to write a script for use in indesign to automate a really menial task. I want to replace the straight speech marks in the font proxima nova with curved ones from the glyph menu. I just need help getting started with writing the script, can anyone help?

Thanks

TOPICS
Scripting

Views

356

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 ,
Mar 15, 2017 Mar 15, 2017

Copy link to clipboard

Copied

Hi, there may be a simpler way than a script to accomplish this task:

1. Set InDesign preferences to curly quotes

2. Use Find and Replace to replace (Find: " and Replace: " yes, same character")

Thx Stefan

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
Community Beginner ,
Mar 16, 2017 Mar 16, 2017

Copy link to clipboard

Copied

Thanks Stefan, yes that would be simpler but its for a wide array of corporate branding where we need to ensure that the wrong quotes are not used so I think a script is the best way to ensure this.

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
Guide ,
Mar 16, 2017 Mar 16, 2017

Copy link to clipboard

Copied

Just for starter.. it will change all straight quotes into left curly quotes

app.findGrepPreferences = null;     app.changeGrepPreferences = null; 

app.findGrepPreferences.findWhat="~'";

app.changeGrepPreferences.changeTo  = "~[";

app.changeGrep(); 

HTH,

K

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
Community Beginner ,
Mar 16, 2017 Mar 16, 2017

Copy link to clipboard

Copied

LATEST

Thanks! Ill give that a try!

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