Skip navigation
Currently Being Moderated

Change active keyboard shortcut set (applescript)

Aug 20, 2012 12:18 AM

Tags: #keyboard #shortcut

Hi all,

 

I was wondering if anyone can help me change the active keyboard shortcut set to a custom one inside indesign CS5 using Applescript?

 

I am trying to create a script to automatically setup specific pref's accross multiple computers.

 

currently, I can see "myShortcutSet" in the "Set" pull down menu, after i duplicate a stored ".indk" file to the folowing path ~/Library/Preferences/Adobe Indesign/Version 7.0/en_GB

 

I have been trying to use the following two make it the active set but the default set is still active afterwards and my shortcuts dont work...

 

apply shortcut set "myShortcutSet"

 

I am running Indesign 7.0.4 on OSX 10.6.7.

 

Thanks!

 
Replies
  • Currently Being Moderated
    Aug 21, 2012 5:53 AM   in reply to Matt Finlay

    Well isn't that odd…? Whatever name shortcut set I pass it just sets to default… And apply workspace always goes to Essentials… Bizarre bug may be?

     

    use Extendscript and all is fine… so replace

     

    tell application "Adobe InDesign CS5"

      activate

              apply shortcut set "Default Swedish"

      apply workspace "Muppet"

    end tell

     

    with…

     

    tell application "Adobe InDesign CS5"

      activate

              do script "app.applyShortcutSet( 'Default Swedish' );" language javascript

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

    end tell

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points