Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Indesign layer stacking method? / is there a over 31 characters file path handler? / up one folder command?



Try these.. Or as least this gives you some direction.

My_layer -- is basically the name of one of my layers

Tell app "Indesign cs"
tell document 1
try
move my_Layer to top
end try
end tell
tell application "InDesign CS"
	tell document 1
		move layer 1 to front layer
	end tell
end tell

-- Moves bottom layer (layer 1) to front layer. I am sure there is some way to figure out what layer my_Layer is

G5:myfolder1:german:file1.indd -- original path of indesign file
I am trying to have the path changed to
G5:myfolder1:Base:basefile1.indd -- new path based on above file name and
path


tell application "System Events" to set f to path of container of thefile as alias

M


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden
References: 
 >Indesign layer stacking method? / is there a over 31 characters file path handler? / up one folder command? (From: "Patrik B." <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.