(* dm at mayart.de, 2004 Adobe Illustrator CS Ausgewähltes eingebettetes Rasterbild auf Originalgröße und -rotation zurücksetzen. Das Skript muss im Apple Skripteditor als *.scpt gespeichert und kann unter Programme > Adobe Illustrator CSx > Vorgaben > Skripte abgelegt werden. Nach Neustart von Illustrator findet man es im Menü Datei > Skripten. Es geht auch mit dem Skript Menü in OS X (installieren mit AppleScript Utility in Programme > Applescript) oder besser mit FastScripts: . Hier liegen die Skripte in ~/Library/Scripts/... *) tell application "Adobe Illustrator" if current document = {} then return if (selection = {}) or (count items of selection) > 1 or (class of selection) is group item then display dialog "Bitte nur ein nicht gruppiertes platziertes Bild auswählen." return else if class of selection ≠ placed item then display dialog "Bitte erst ein platziertes Bild auswählen." return end if activate try set s to item 1 of selection set p to position of s set mvalue_a of matrix of s to 1.0 set mvalue_b of matrix of s to 0.0 set mvalue_c of matrix of s to 0.0 set mvalue_d of matrix of s to -1.0 set position of s to p on error error_message display dialog error_message end try end tell