Skip to content

Instantly share code, notes, and snippets.

@mipmip
Created July 11, 2013 12:40
Show Gist options
  • Save mipmip/5975103 to your computer and use it in GitHub Desktop.
Save mipmip/5975103 to your computer and use it in GitHub Desktop.
set indesign reference point
require 'rubygems'
require 'appscript'
include Appscript
idApp = app('Adobe InDesign CS4')
myDoc= idApp.make(:new => :document)
p idApp.layout_windows[1].transform_reference_point.set(:to=> :top_left_anchor)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment