JS CS3 image rotation value not the same in Photoshop

I might be missing something but when I test the following line:
app.activeDocument.links[1].parent.rotationAngle;
The console returns -20. So if I try and apply this value to a Photoshop script.
app.activeDocument.rotateCanvas (-20);
The result is the image has rotated the wrong way.
Am I doing something wrong?

Thanks Jongware,
To check what I'm rotating I used the following:
app.activeDocument.links[1].parent.constructor.name
this returned Image and to be sure I tried:
app.activeDocument.links[1].parent.parent.constructor.name
This returned Rectangle.
So is the top line rotating the image or the frame? Or do you mean that ID only workers with frames and is not an image editing package so even though it returns Image it's still just the frame holding the image?
Cheers, John.

Similar Messages

  • About viewing images that are not the same dimensions as the iPod screen

    I sent some images to my iPod via email. I saved them to my photo library. When I went to look at them, I noticed something odd was happening: my iPod is sort of 'stretching' the images so they fit the entire screen of my iPod, even if that means a) cutting off parts of the image (either top and bottom or the two sides), or b) is stretching the dimensions of the image to fit the screen--I can't tell which is happening, though I think the former.
    I can view the image correctly by pinching it a bit, but if I move to another image and come back, it's back to being stretched.
    I know that in Photoshop I can add a black boarder (either top and bottom or on the sides), so the image with the border matches the dimensions of the screen, but that seems like a pain in the rear to do with each image. This seems like an odd quirk of the iPod, given that they are trying to use the camera and image viewing as a selling point.
    Is there any setting on the iPod so I can keep it from doing this (I noticed that it does this even with photos I take with the iPod camera, because they have slightly different dimensions than the screen)? And if not, does anyone know the ratio (side to top) or resolution (in pixels) of the screen so I can match it.
    Thanks, David

    So generous people; thank you for your time.
    I visited the camera store and we discovered that my camera lcd was set to the maximum brightness level which completely distorted any understanding of my exposure. What I now see on the lcd in terms of ligt and shadow is very similar to what I see on my computer screen.
    Maybe you can shed light on this:
    I also may need to just upgrade my imac. On the camera store's late model imac my images were tac sharp but on my imac they look quite soft and still have less light.
    There is also still some difference in terms of color settings. My camera's colors have a brighter pinkish tone and on the camera store's imac and mine the tone is yellowish orange.
    I will try DPReview and Nikoncafe. My first step is to reset my cameras to factory defaults and then upload and compare.
    Thank you both for your help

  • My exported edited image in TIFF-16bit is not the same as my edited RAWfile

    Hi! First and foremost my problem is not speed. I have learn to deal with Aperture's slowness while editing or exporting images and not real time brush strokes and occassional crashes. It thought me PATIENCE!
    My problem are my exported image from Aperture, The images are not rendered the same exact way as the RAW image I edited (quality-sharpness-saturation-definition-etc.) in Aperture. The rendering is WAY OFF. I even exaggerate in Sharpness and contrast in rendering my RAW images yet my exported (both TIFF -16 bit or JPEG orig. size) are way softer than the one I originally rendered in RAW at Aperture 3.0.2. Even the COLORS are OFF-saturation, luminance, etc. It's not my Monitor or my Eyes, I asked 3 friends to help me validate my concern. After viewing my exported (TIFF or Jpeg) images on an external preview browser, I re-import them to Aperture and put them- (the exported images) in the same Projects where the Original RAW file is located, then I carefully compare them in Full Screen view, I can totally say that they're not the same quality, sharpness, saturation, tonal value!
    It's very frustrating to experience this. I work really hard on every single image, I tolerate the sluggishness, the crashes, All I want are my image output render the way I rendered them in RAW file in regards to sharpness, color value and just the overall look that I wanted in my images. BTW I just downloaded the recent March 22, 2011 update. But still it's still having this problem.
    Please help me all you good knowledgable, compassionate Aperture experts help an Aperture user in distress.
    Thanks for your time. I appreciate any positive feedback and help.
    JC

    Richard,
    You are not going crazy, this is a well documented throughout the web
    Sorry, but the web is not documentation for Aperture.
    I cannot understand why Apple have not resolved this
    For one, it takes time to fix a bug, and the have to know about it. Have you told Apple that this is a problem through Aperture feedback? Second, someone at Aperture has to prioritize what their engineers work on. Since this does not seem to be a problem for very many people (including the well-regarded contributors whom you were trying to offend in your other post on this topic), it may turn out that it has a low priority for Apple.
    Please Apple sort this out!
    Apple does not contribute to this forum and there's no reason to believe they will read this particular message and make a bug report.
    nathan

  • Line item Ship-to Info is not the same in Header Ship-to Party During Sales Order Creation via IDOC

    We have observed that during creation of sales order using idoc, the line item ship-to party is not the same with header ship-to. The ship-to party info in line item is equivalent to the header's sold to party. To give you a quick background, Sold to party info is given in idoc and ship to party is being determined using table EDPAR. In this specific scenario, sold to customer is not the same with ship to customer.
    Initial checking on the code leads us in function module VIEW_KUAGV. This FM populates partner details of sales order header and line item in program LVEDAF1Z
    Below is the code for Sales order Header. Notice that WE_INPUT parameter which contains Ship to party is passed as exporting parameter in FM VIEW_KUAGV. This is the reason why Ship to Party is populated correctly in sales order header but not in sales order item.
    Initially, it first set to Sold-To Party. However, if WE_INPUT is given or provided, partner details is set to Ship-To Party.
    Please advise on how we can make the ship to party info in header and line item be consistent. This is SAP Standard program which why we are hesitant to make change on the program. If there is a configuration to make this happen, kindly advise.
    Regards,
    Rommel

    Hi Jayesh,
    If I understand you correctly, you want that when creating SO from Quoatation
    the Ship to Party also follow/copy Ship to Party from Quotation, right?
    Just to confirm with you, when you creating SO reference from Quotation, you
    use copy/follow-up function, am I right?
    You can do this by setting in configuration of Copy Control (like mentioned by Hui).
    Step as follow :
    1. Go to IMG->CRM->Transactions->Basic Settings->Copying Control for
        Business Transactions
    2. Create your BAdi (Business Add-In for Copying Control), such as get Ship to
        Party value from source document and use it in current document
    3. Use this Rule you have created in BAdi (no. 2), in copy control transaction type
        IMG->CRM->Transactions->Basic Settings->Copying Control for
        Business Transactions-> Define Copying Control for Transaction Types
    4. Here you set Copying Routine for your transaction types (put name of your Badi
        created in step no. 2)
    Or alternatively, you can set it on access sequence in Partner Function
    Ship to Party in configuration. You can define access sequence the Ship
    to Party is taken from Preceeding Document -> Ship To Party
    1. Go to Partner Function access sequence :
        IMG->CRM->Basic Functions->Partner Processing->Define Access Sequence
    2. Create new access sequence with following entry :
        - Source COM_PARTNER_A (PrecedingPartner)
        - Check Mapping for Partner Being search
        - Partner Function in Source  = Ship To Party
    3. Assign this Access Sequence in you Partner Function used in Sales Order Transaction
       Type.
    Tell me if this is what you looking for
    Gun.

  • Passing different values to the same servlet

    Hi,
    Is there a way to pass different values to the same servlet?
    Background:
    I have a database that I query to acquire a list of customers, then I show each customer as a link, that when clicked will show details of that customer. (The customer table is dynamic so I can't create a new page for each customer)
    When using JSP what I do is
    //Do query database
    while (rst.next())
         String cust = rst.getString ("cust");
            out.write("<a href = \"cust2.jsp?cust=" + cust + " \" >" + cust + "</a> ");
    }Then on the cust2.jsp. I will use
    String str = request.getParameter ("cust");to acquire the customer to get details of.
    Is there a way to do the same using servlets?
    I could swap to JSP when creating this particular part of the project but it won't look good and it would help me learn a few things when there is another way.

    I want to know if there is a way to pass a variable from a webpage link like in my JSP example using servlets.
    Here is what I wanted to do:
    I have a webpage that contains customer names and each name has a link to the same servlet (let's say the link is famia/servb). I want servb to show detailed information about the customer my visitor clicked in the webpage.
    The logic I was thinking is to pass a variable to this servlet, then I can use that variable to know which customer should I query in my database. So that I can show the details to my users.
    Here lies my problem, I don't know how I can pass this variable, or even know which customer my visitor clicked. I can't use a new servlet for each client since the customer is in a database and if my customer base grows then I would need to create a lot more web page that does the same thing.
    The JSP example I gave is how I will be coding it if I am using JSP, but now I am using servlets. So I was wodnering if there is a way to do this using servlet. Or should I stay with using JSP for this particular logic and just call servb after the JSP page acquired the variable.
    I'm trying not to use "<original URL> + ? + <variable> = <value>" (eg: http://www.famia.net/customer?cust=famia) as the means for passing the variable. (or in the example as a means of passing variable cust with value famia)

  • Can we assign two values to the same parameter? If yes how? For details ple

    Can we assign two values to the same parameter? If yes how? For details please go through the following SAP related program.
    Here I need to print 2 queries using the same parameter "QUERY" the value assigned to this parameter(query) is REPORT_TEST1. I want to assign one more value to this Parameter. Is is possible? This question may sound stupid if it is not possible please kindly reply.
    I want to do this to print two documents(values) with a single command (parameter)
    Anybody please help quickly,
    Now, I have 2 tables from different queries. I have a print (HTML written) option in my WEB Template
    JAVA PROGRAM:
    <param name="QUERY" value="REPORT_TEST1"/>
    function PrintReport(typePaper) {
    document.title ='Report';
    if (typePaper == "0")
    {var CurrentReportName = '&?mp=U&ptot=1&rtot=0&psize=' + escape(typePaper) + '&fsize=' + escape('39') + '&qtitle=' + escape(document.title);};
    if (typePaper == "1")
    {var CurrentReportName = '&?mp=U&ptot=1&rtot=0&psize=' + escape(typePaper) + '&fsize=' + escape('52') + '&qtitle=' + escape(document.title);};
    CurrentReportName += '&ASOFDATE=' + escape(AsOfLabel.innerText);
    var openCMD='<SAP_BW_URL>';
    openCMD += '&DATA_PROVIDER=REPORT_TEST1&TEMPLATE_ID=DPW_PRINT_PAGE&CMD=RELEASE_DATA_PROVIDER';
    openCMD += CurrentReportName;
    openWindow(openCMD,'MainTitleNow',800,600);
    The data provider here is REPORT_TEST1. Now it only prints the corresponding data for the data proviedr 1 i.e., REPORT_TEST1. I have a second table whose data comes from the data provider 2 when i use this HTML to print I want the second table contents from the data provider 2 (REPORT_TEST2)also to be printed simlutaneously.
    Please help.
    THANX A LOT,
    SRINI

    Hi,
    Try assigning two values seperated by a delimiter ( say '|') to the same parameter.
    In the function get the parameter value and seperate the values using the same delimiter.
    <param name="QUERY" value="REPORT_TEST1|REPORT_TEST2"/>
    Regards,
    Uma

  • Can we assign two values to the same parameter? If yes how?

    Can we assign two values to the same parameter? If yes how? For details please go through the following SAP related program.
    Here I need to print 2 queries using the same parameter "QUERY" the value assigned to this parameter(query) is REPORT_TEST1. I want to assign one more value to this Parameter. Is is possible? This question may sound stupid if it is not possible please kindly reply.
    I want to do this to print two documents(values) with a single command (parameter)
    Anybody please help quickly,
    Now, I have 2 tables from different queries. I have a print (HTML written) option in my WEB Template
    JAVA PROGRAM:
    <param name="QUERY" value="REPORT_TEST1"/>
    function PrintReport(typePaper) {
    document.title ='Report';
    if (typePaper == "0")
    {var CurrentReportName = '&?mp=U&ptot=1&rtot=0&psize=' + escape(typePaper) + '&fsize=' + escape('39') + '&qtitle=' + escape(document.title);};
    if (typePaper == "1")
    {var CurrentReportName = '&?mp=U&ptot=1&rtot=0&psize=' + escape(typePaper) + '&fsize=' + escape('52') + '&qtitle=' + escape(document.title);};
    CurrentReportName += '&ASOFDATE=' + escape(AsOfLabel.innerText);
    var openCMD='<SAP_BW_URL>';
    openCMD += '&DATA_PROVIDER=REPORT_TEST1&TEMPLATE_ID=DPW_PRINT_PAGE&CMD=RELEASE_DATA_PROVIDER';
    openCMD += CurrentReportName;
    openWindow(openCMD,'MainTitleNow',800,600);
    The data provider here is REPORT_TEST1. Now it only prints the corresponding data for the data proviedr 1 i.e., REPORT_TEST1. I have a second table whose data comes from the data provider 2 when i use this HTML to print I want the second table contents from the data provider 2 (REPORT_TEST2)also to be printed simlutaneously.
    Please help.
    THANX A LOT,
    SRINI

    Hi,
    Try assigning two values seperated by a delimiter ( say '|') to the same parameter.
    In the function get the parameter value and seperate the values using the same delimiter.
    <param name="QUERY" value="REPORT_TEST1|REPORT_TEST2"/>
    Regards,
    Uma

  • How to pass multiple query string values using the same parameter in Query String (URL) Filter Web Part

    Hi,
    I want to pass multiple query string values using the same parameter in Query String (URL) Filter Web Part like mentioned below:
    http://server/pages/Default.aspx?Title=Arup&Title=Ratan
    But it always return those items whose "Title" value is "Arup". It is not returned any items whose "Title" is "Ratan".
    I have followed the
    http://office.microsoft.com/en-us/sharepointserver/HA102509991033.aspx#1
    Please suggest me.
    Thanks | Arup
    THanks! Arup R(MCTS)
    SucCeSS DoEs NOT MatTer.

    Hi DH, sorry for not being clear.
    It works when I create the connection from that web part that you want to be connected with the Query String Filter Web part. So let's say you created a web part page. Then you could connect a parameterized Excel Workbook to an Excel Web Access Web Part
    (or a Performance Point Dashboard etc.) and you insert it into your page and add
    a Query String Filter Web Part . Then you can connect them by editing the Query String Filter Web Part but also by editing the Excel Web Access Web Part. And only when I created from the latter it worked
    with multiple values for one parameter. If you have any more questions let me know. See you, Ingo

  • GetClientID not the same with request map in a dataTable

    Hi,
    I have a dataTable with multiple rows of same input text box (which has a required="true" validation attribute), the generated id in request map is something like (because it's repeating in a dataTable)
    formname:_id0:0:firstname
    formname:_id0:0:lastname
    but the .getClientId() method of UIComponet is NOT the same! When I try to getClientID, for the same componet (recusively gong the tree), I get
    formname:_id0:firsntame
    formname:_id0:lastname
    how do I retreive the correct id? or why is it not getting the right client ID?
    The reason I'm manually going through the tree is because I need to do some custom logic of checking each componet in the page, see if it's required, if it is, I'm going to do add custom required messge for them (all this is implemented in a phaseListener)
    thanks.

    Hi,
    thanks for replying.
    Basically, I have need to customize error message for validation, so I adopted the code here by implmenting a phaseListener.
    http://www.jroller.com/comments/ksevindik/Weblog/customizing_jsf_required_field_messages
    which in turn derived from
    http://www.oracle.com/technology/pub/articles/masterj2ee/j2ee_wk7.html
    If take a look at the code above, in the validateValue() method, it's checking for component .submittedValue properties. This normally works for forms by itself.... but when the form field are repeated inside a dataTable, the
    inputComponent.getSubmittedValue() becomes null.
    I was confused, so I tried to output the clientID of the inputComponent by
    inputComponent.getClientID(),
    Only then, i noticed that the ID is not the same as the ID in requestMap, mabye that's why inputComponent.getSubmittedValue() is null.
    Let me rephrase the question, how do I access the text box value in any row of a dataTable? (Note, the value has NOT been updated into the model yet because I'm trying to get the value in validation phase)
    Thanks again. REALLY appreicate it.

  • How do you delete the images in the Iphone images album.  Not the camera roll.  There is an album called Iphone images and there is not a delete option

    How do you delete the images in the Iphone images album.  Not the camera roll.  There is an album called Iphone images and there is not a delete option

    The same way you put them on the phone. Connect the phone to iTunes on your computer, click on the name of the iPhone, then the Photo tab. Uncheck the albums you don't want on the phone and click Sync.

  • Urgent! Display lookup value and return value at the same time.

    We are using pop up lov.
    How can we display lookup value and return value at the same time. let me claer..
    Our lov query is like fallowing
    select dname, deptno from dept
    we want to return deptno column into a database bind text item and dname column into a display item (look up)
    can we do it (we need to do)
    thanks for your help.

    We did it .
    But pop up key lov (display description return value ) property doesn't appear for tabular forms item.
    (Report Attributes pages Tabular Form Element section display As property list)
    can we set or not.
    Thank you.

  • PSD file on mac, opened on PC not the same colors??

    my PSD file has a specific color i need, PMS 300 in my logo. So on my MAC i make it. When someone at my work opens the PSD file on a PC, it is not the same color. why arent the colors the same?? even when i save it as a PDF, if someone on a pc opens it at my work. its a different shade of blue.

    Windows based PCs are sRGB by default. Many apps are not even color managed and can't display images tagged with other profiles correctly.
    Photoshop and Bridge are color managed, but what are they using to view your files?
    Add to that users who are not educated in color management and you have a problem.
    Those who target their files for commercial printing use Adobe RGB, a much larger gamut that will look desaturated in an sRGB environment like Windows.
    So either they get a viewer that can read these tags, or you will have to send them a copy of the file converted to sRGB.
    This can be found in Photoshop's Edit menu.
    Edit > Convert to Profile... if your image is already tagged as Adobe rgb
    You can still keep your Adobe RGB tagged files for print, but you have to explain that to your Windows users.
    It's not the best answer, but might hold until all PCs are on the same page and your co-workers educated.

  • Printing on paper not the same as on screen

    In CS4, when I look at a preview of my print, and select 'no margins' in the printer driver, it looks perfect. Why is it that the paper print area is not the same? I mean that the image is cropped on the paper by a small amount.
    I'm sure the answer is obvious, but life is being made difficult until I find it!
    Thanks.

    > Does CS4 have an option for this somewhere?
    Not that I'm aware of. You could, however, try creating an action that would expand the canvas by a fraction of an inch in each direction and experiment with that.
    It is also worth checking carefully all of the options within the print driver of your printer. Some printers have options for reducing or eliminating the borderless overspray (I think Epson refers to it as "Expansion" on some of its printers). Many don't.
    QImage is also an alternative as you mention.

  • Combo chart- left right y-axis scale are not the same scale

    http://img20.imageshack.us/img20/6264/questionk.png
    the left and right axis scale are not the same.
    how to set it?
    Thank you very much!

    Hi,
    Try this
    In Chart, Goto Advanced properties -> check Synchronize Line and Bar Axis
    This will make both scale values same.
    Thanks,
    Vino

  • Lang Alt array - multiple values of the same locale

    I am working with Iptc4xmpExt, but this question might apply to any Lang Alt array. 
    For the property Iptc4xmpExt:AOTitle, I need to write multiple values to accommodate alternate versions of an artwork title.  Writing titles of different locales is no problem, but I can't find a way to write separate array values for the same locale.
    Example 1:
    <rdf:li xml:lang="x-default">Prize Vessel from the Athenian Games</rdf:li>
    <rdf:li xml:lang="x-default">Panathenaic Prize Amphora and Lid</rdf:li>
    Example 2:
    <rdf:li xml:lang="x-default">Pantheon</rdf:li>
    <rdf:li xml:lang="en-us">Pantheon</rdf:li>
    <rdf:li xml:lang=""it-it">Santa Maria ad Martyres</rdf:li>
    <rdf:li xml:lang=""it-it">Santa Maria Rotunda</rdf:li>
    I think the separateArrayItems should work for this, but it doesn't.
    event.xmpAccess.separateArrayItems("Iptc4xmpExt:ArtworkOrObject[1]/Iptc4xmpExt:AOTitle", _workTitle.text, IXMPConst.ARRAY_ALT_TEXT);
    <fi:XMPTextInputMRU id="_workTitle" xmpPath="Iptc4xmpExt:ArtworkOrObject[1]/Iptc4xmpExt:AOTitle" xmpType="Localized"/>
    Also, I would like to preserve commas and I have had trouble using the "allowCommas:Boolean  = true" parameter in the separateArrayItems method.
    As a note, I tried using a semicolon and comma to separate other Lang Alt properties such as the CS4 Description panel "Document Title" and the values were written as a single string not as an array.
    <dc:title>
                 <rdf:Alt>
                    <rdf:li xml:lang="x-default">ENGLISH TITLE 1; ENGLISH TITLE 2; ENGLISH TITLE 3</rdf:li>
                 </rdf:Alt>
              </dc:title>
    Thanks for any help you can give.
    Greg Reser

    Hi Greg,
    an alternative to store any amount of data in any XMP property is to use qualifiers.
    The advantage of qualifier is that they are very flexible and that thay are ignored if you do not specifically request them.
    Disadvantage is that they might also be overlooked and deleted by apps that are not aware of their existance.
    FileInfo would overwrite them when you modify the "Artwork or Object" table. But if you build your own panel it will be working.
    Regards,
    -- Stefan
    In this example, I attached two alternative italian titles to the main AOTitle (you can import this file as a template to try it out):
    <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.0-c060 61.134777, 2010/02/12-17:32:00        ">
       <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
          <rdf:Description rdf:about=""
                xmlns:Iptc4xmpExt="http://iptc.org/std/Iptc4xmpExt/2008-02-29/"
                xmlns:q="http://alternativeTranslations">
             <Iptc4xmpExt:ArtworkOrObject>
                <rdf:Bag>
                   <rdf:li rdf:parseType="Resource">
                      <Iptc4xmpExt:AOTitle>
                         <rdf:Alt>
                            <rdf:li xml:lang="it-IT">
                                <rdf:Description>
                                    <rdf:value>Santa Maria ad Martyres</rdf:value>
                                    <q:alternativeTitles>
                                        <rdf:Seq>
                                            <rdf:li>Santa Maria Rotunda</rdf:li>
                                            <rdf:li>Santa Maria Rotunda 2</rdf:li>
                                        </rdf:Seq>
                                    </q:alternativeTitles>
                                </rdf:Description>
                            </rdf:li>  
                         </rdf:Alt>
                      </Iptc4xmpExt:AOTitle>
                   </rdf:li>
                </rdf:Bag>
             </Iptc4xmpExt:ArtworkOrObject>
          </rdf:Description>
       </rdf:RDF>
    </x:xmpmeta>

Maybe you are looking for

  • Update out_tab data in editable ALV

    Hi, I am working on editable ALV using oops. I want to insert the data into database tables after user insert the data in ALV based on the application tool bar button action. How to refresh the data in out_tab, If user click the application tool bar

  • How to keep background image for google in firefox?

    Please help me in keeping me an image as google backgroound.

  • Spotlight and FAT32

    A nasty side effect of bootcamp is: If the windows partition is FAT32, spotlight will index it completely once a day upon the first boot of that day (well, it takes several minutes for spotlight to be useable, while the volume gets indexed). In the p

  • Mac mini and mouse: Curious bug

    My Mac mini shows a quite curious bug. When I move the mouse while logging off an user - whether an admin or one with restricted rights - the mouse freezes. I have to log in and off again to make the mouse move again. I changed the mouses and re-inst

  • Photos missing from iPhoto Library - iPhoto 6.0.4

    I am a MAC newbie so please bear with me. I have searched various forums and have not found a situation precisely like mine. Because I am new to the OS and don't want to make an irreversible error, I decided to submit this question. I have been using