How do you rotate a selection using Javascript?

I am trying to find a simple script on how to rotate a selection using javascript within InDesign CS3. Any ideas!?
Thanks in Advance!

Hey!
Yeah, you can!
app.activeWindow.transformReferencePoint = AnchorPoint.CENTER_ANCHOR
or you can check my InDesign Scripting Snippets blog
http://indisnip.wordpress.com/2010/07/24/rotate-single-selected-object/
where I explained how it works.
tomaxxi

Similar Messages

  • Hi, Haven't used bridge in a while. How to you export a selected group of images to a contact sheet?

    Hi, Haven't used bridge in a while. How to you export a selected group of images to a contact sheet?

    Exact version?  Platform?
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers: 
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • How do you sync only selected songs to your ipod using the new version of itunes?

    how do you sync only selected songs to your ipod using the new version of itunes?

    Same way you did with the previous versions of iTunes.
    To view the iPod in iTunes, Ctrl S to show the sidebar.
    Create a playlist, add songs and sync that playlist.
    Or drag songs to the iPod in iTunes.

  • Imported photos end up sideways - how do you rotate within iphone?

    SYnching photos from Picasa/Google, all the photos are correct in their orientation but when they come into iPhone, many get turned sideways. How do you rotate them back? (Of course if you turn the phone, the photo's orientation changes as well). Help - thanks!

    I apologize if I have hijacked the thread or if it seems that I have attempted to derail it in any way.
    My issue is "when they come into iPhone" and appears to be the same issue that kekman is having. I have a large number of photos on my iPhone, with about half of them being in portrait orientation.
    On the Macintosh platform, I can copy the photos off of the phone, put them in albums in iPhoto (which is not performing any actual rotation of the image other than for display), and sync the albums back to the phone with the pictures retaining their portrait or landscape orientation as they did in the camera roll.
    On Windows, I copy the photos off the iPhone (either Picasa, Camera wizard, and I've even copied via ssh/scp), put them in folders (without editing the photos in any way), and sync the "albums" back to the phone using iTunes, but this time all photos show up as landscape.
    I can't imagine that this was the intended behavior. Why have the iPhone store the orientation (which clearly both it and iPhoto are using to display it properly) if you're just going to ignore it when you sync albums? I really can't understand at all why iTunes would strip the EXIF data that the iPhone itself puts in the JPEG, from both a user and a developer standpoint. I shouldn't have to modify the photos just to get them to display properly as they did before I took them off the phone.
    I guess I'm just frustrated that I can't take photos out of my camera roll using my PC and still have them display properly when I sync them back as albums. So I'm currently keeping them all on the phone in the camera roll and it's getting very cluttered.
    It's irritating when you're trying to show off the nice expensive piece of kit to your coworkers and they keep asking why it insists on showing your pictures sideways and you have nothing to say other than "it's a bug" :-/
    Ok, so now I've really hijacked this thread. I'll just leave it at that and hope for a fix from Apple (do the devs even read this?). Is there some kind of Apple bug reporting/tracking system similar to bugzilla, etc.?
    Message was edited by: mpond
    Message was edited by: mpond

  • How do you rotate a picture in quicktime

    How do you rotate pictures in quicktime?

    Drat it all ... Sorry, that's Videos I gave you instructions for, not pictures.
    Pictures, I don't think you need Pro for.
    Right-click the image file you want to rotate. Select "Open with > PictureViewer" or "Open with > Choose Program" and select PictureViewer from the list.
    In PictureViewer, go "Image > Rotate Left" or "Image > Rotate right".
    Once you've got it rotated, go "File > Export" and choose a filename and filetype. Then save the rotated version.

  • TS2753 Has your debit/credit card been charged for unauthorized APPLE Itunes purchased? How do you find out who used it?

    Has your debit/credit card been charged for unauthorized APPLE Itunes purchases?  How do you find out who used it?

    Max OSX 10.6.8, iTunes 11.1
    I had a similar problem: I wanted to synch my playlist to my iphone. I like to have my playlist sorted by genre. But under each genre, albums are not sorted by the track numbers. This is a problem, especially when I am listening to club mixes when the DJ smoothly transitions from 1 track sequentially to the next one. Under the properties of each audio file, the Track Numbers and Disc Numbers are already there.
    My perfect solution was to turn On Sorting - Sort Album under View>Show View Options. Then, select all the songs in that album (Shift click, Cmd click, etc) , and Edit multiple item information (Cmd I). You will see Info-Video-Sorting-Options buttons. Click on Sorting. Then, under Sort Album, Enter the name of the album. Then OK.
    You should now have the playlist sorted by Genre, then each album individually sorted by track numbers. On your playlist you should see, if you scroll right, the column added called "Sort Album".
    Hope this helps.

  • TS4253 How do you rotate a photo that is sideways in the photo library on iPad?

    How do you rotate a photo that is sideways in the photo library on the iPad? I have found no solution in the user manual or anywhere else. I simply want to rotate the picture from being sideways to being upright. Doesn't seem like this should be such a mystery. Or am I missing something obvious? Thx

    Thanks folks, I see there are photo editor apps for the iPad. I am downloading one now, and it should work. Good to know I wasn't missing something in the iPad itself. It does not have the capability to rotate or edit pictures without outside help. Thx

  • How do you rotate a pdf document in preview?

    There is a book where the double pages are turned. How do you rotate them so that you can read them in preview?

    There are three ways.
    1. If you have a toolbar on your page (opened by clicking the gray oval in the upper right hand corner) you should see the 'Rotate' option there (it's blue).
    2. Click Tools in the Menu Bar. Rotate left and Rotate right are there.
    3. Command L for Left, Command R for right.
    Rotate until they face the right way. You should be able to save the changes in orientation.
    Susan

  • HT4906 how do you rotate pictures in photo stream?

    how do you rotate pictures in photo stream.

    The pictures in the photo library are rotated. When I view them
    t in photo stream they are not.

  • How do I save preferences/values using javascript in dashboard widget?

    How do I save preferences/values using javascript in dashboard widget? I apologize if this is a stupid question but I simply cant seem to find a way. For example, if on teh back side of the widget teh user chooses the color of the widget, where or how do I save that value so it is retained the next time the user goes to the dashboard. Also, once saved, how do I read the value?
    Thanks a mil....

    Please look into
    /Developer/Examples/Dashboard/Goodbye World/3-Saving Preferences directory for a comple example.
    Otherwise, wait until the following book is published :-))
    http://www.apress.com/book/bookDisplay.html?bID=10173
    Mihalis.

  • How do you drag and drop using mac laptop?

    how do you drag and drop using mac laptop?

      As said above, you can click down, ons use the other finger to drag the object.  I had turned on the setting to use three-finger drag, so you can drag objects with three fingers.  To change gesture settings, go to the system preferences>trackpad.  Here you can also see all of the gestures of Mac OS X.

  • How do you block a website using Firefox 5.0

    How do you block a website using Firefox 5.0

    You can use a program such as [http://www.123blockme.com 123BlockMe]. It will allow you to block any website on Windows and it works with all browsers including Firefox.

  • How do you rotate a table in 'new' pages?

    How do you rotate a table in 'new' pages, all my tables have spun round and I cant put them back?

    Thanks I tried to get my original doc back, but it wouldnt open, tried via time machine and that was locked too!
    Eventually had to save as a pages 09 doc, then reopen in pages 09 and turn everything back round
    Think i will stick with the old verision for now!

  • How will you send SMS by using any  java technology

    how will you send SMS by using any java technology

    Wikipedia has an entry on that protocol...
    http://en.wikipedia.org/wiki/SMPP
    Written by a 12 year old and edited by a H.S. student with a C+ average (or vice versa), so you know it's accuracy has been verified and you can trust your career on it!
    OK, I don't know that is true and you probably guessed it, but I'm not a big fan of the Wikipedia concept, but that doesn't matter as long as you understand that the information contained within Wikipedia is not vetted in any traditional way. And yes, I do use Wikipedia occasionally as a resource but I do it knowing that accuracy of the information is always in question.
    Probably doesn't need discussing in this forum, but if you are curious, there was on interesting discussion about Wikipedia here:
    http://online.wsj.com/public/article/SB115756239753455284-zM_NmQpDWtRRSoHcPYcbQ6iq4H4_20061011.html?mod=tff_main_tff_top

  • Please Help.  How can you monitor a directory using jndi connection to a ldap server?

    How can you monitor a directory using jndi connection to a ldap server? I
    want the ldap server to monitor the content change in a file system
    directory on another computer on the network. Can someone please help.
    Thanks
    Fred

    Hi,
    Why do you want to use LDAP for Hard disk monitoring..???
    U can do this by creating a MD5 checksum for all the files existing in some
    perticular
    directory and every hour or any configurable period u can recalculate the
    checksum
    to find out the change in the content.
    I guess all u need is to get the code for "updatedb" utility of Linux and
    instrument it for ur needs..
    Hope it helps...
    -aseem
    mr wrote:
    How can you monitor a directory using jndi connection to a ldap server? I
    want the ldap server to monitor the content change in a file system
    directory on another computer on the network. Can someone please help.
    Thanks
    Fred

Maybe you are looking for