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

Rotating all objects in file using AppleScript

New Here ,
Dec 02, 2008 Dec 02, 2008
I am trying to rotate objects in a PDF file.
I open the file before running the script.
If I manually Select All before running my AppleScript, everything gets rotated:

(* =========================================== *)
tell application "Adobe Illustrator"
rotate selection angle -45 about center
end tell
(* =========================================== *)

How can I put the Select All into the script?
TOPICS
Scripting
926
Translate
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
Adobe
Community Expert ,
Dec 02, 2008 Dec 02, 2008
Try

set selection to every page item of document 1
Translate
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 ,
Dec 02, 2008 Dec 02, 2008
LATEST
Thanks, that works.
Translate
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