Problem with rotate function.


rotatingtext.jpg

 

i got problem rotate function. when rotate (text) object (point text same behavior area text) on gui of illustrator, resize bounds around (see screenshot) rotated can resize used to. if rotate same object javascript, resize bounds not rotated along with. how can same effect gui-way javascript thats result need? , thinking error. here code used rotation:

 


var docref = app.activedocument;
var sref = docref.selection[0];

 

sref.rotate(20, true, true, true, true, transformation.topleft);

hi jens, had same problem, no matter tried, rotating via scripting keeps resetting bounding box. resolved recording action rotate object, same results if rotated manually. if still need rotate via scripting, vbs , applesript can execute actions script, js can not.



More discussions in Illustrator Scripting


adobe

Comments

Popular posts from this blog

How to decompile jsxbin to jsx

Gavik Photoslide GK2: Not able to upload photos - Joomla! Forum - community, help and support

Phoca Guestbook logger registret bruger af - Joomla! Forum - community, help and support