PhotoShop Automation PlugIn: How do I get the coordinates of a polygonal selection?

Hi.
I try to get the coordinates out of a selection, but I can't find out how to do that.
I tried to convert the selection into a path and get the coordinates from the path. That doesn't work either.
Can somebody give me a list of parameters inside the action descriptor of keyPathContent in classPath? I assume that the point infos are located there...
Thanx in advance,
Christian

found the answer myself. It might be helpfull to others.
btn.addMouseListener(new MouseAdapter(){
public void mouseClicked(MouseEvent e) {
Rectangle ret = btn.getBounds();
double y = ret.y + ret.getHeight();
pop.show((Component) e.getSource(), ret.x, (int)y);
}

Similar Messages

  • [IDCS5.5 plugin] How do I get the sentence at the cursor's position?

    Hi All,
    How can I get the current cursor position (event on mouse left-click)?
    And then , how can I fetch the sentence based on the cursor's position? (Assuming a sentence starts with a capital character and ends with a ".")
    I'm getting no hint on this, any help will be appretitated.
    Thanks

    tma654 wrote:
    Sorry, not so good great at LR.  Do you have pics or something visual to show how this is done?...Do i have to switch each photo's process version or is there a way to do a whole batch of them?
    The quickest way to update just one photo is to click the lightning bolt icon under the histogram in the Develop module. This can be more convenient than scrolling all the way down to the Calibration tab.
    A quick way to update a whole batch of them is to select any number of them in Grid view, and then choose Photo > Develop Settings > Convert to Current Process. The AutoSync way works too, as long as you remember to turn it off immediately after you're done.
    Like JimHess suggests, I don't automatically convert them all at once, but on a case by case basis because they don't always look better after conversion. The benefits of the new process version can potentially make them look better, but you usually have to do a few more adjustments to get them there. If you don't have time to do that yet but you need to use the existing images soon, leave them in the old process version for now.

  • How do I get the tutorials to run once selected?

    Using Premiere Elements 10:  I select tutorials and the items to view and nothing happens, how do I get it to start?

    SEMAPM16
    Where are you selecting "tutorials". Are you clicking on the message bar at the bottom of the Premiere Elements 10 interface and trying to view "Adobe Elements Inspirational Browser" or are you elsewhere?
    Have you checked out Adobe TV Premere Elements
    http://tv.adobe.com/show/learn-premiere-elements-10/
    There is also the Premiere Elements 10 PDF Help to check out.
    http://help.adobe.com/en_US/premiereelements/using/premiereelements_10_help.pdf
    I have found this file to open very slowly.
    ATR

  • How can I get the coordinate in the layer coordinate system while doing the iterate?

    I found that the position(x,y) the iterate function tell me is not right sometimes.
    Actually,it happens when the top of the layer is negative. The "y"is in the comp coordinate system(maybe?) but not the layer.In another word, the position with y=0 is not the top.
    More specifically, I have got the color map of a layer. I am able to get the color of any pixel in the layer. But I can't set the color one for one when I use "iterate",because there is an offset.
    Am I supposed to get the offset? Is there any way to access the whole layer directly if I use iterate function?

    so indeed it's the offset at play.
    AE will diminish the buffer at 20% increments, and not for each pixel that
    goes out of sight. it's not really in relation to the upper left corner,
    it's all about what part of your layer buffer is out of sight.
    there's also an "iterate offset function". check it out. perhaps it will
    save you some trouble.
    On Fri, Dec 19, 2014 at 2:45 PM, Hinanawi Tenshi <[email protected]>

  • How do I get the coordinates of the text block (TextFrame) help me please!

    Dim myApp As New Illustrator.Application
    Dim myDoc As Illustrator.Document
    myDoc = myApp.ActiveDocument
    Dim textRef = myDoc.TextFrames.Add
    For Each ArtPageItems In myDoc.PageItems
    If TypeName(ArtPageItems) = "TextFrame" Then
    '========It is necessary to obtain the coordinates of the text block and move closer to the object (ie the text)============
    Else
    End If
    Next

    Hi Todd, you're welcome, please explain better, I don't understand the question.
    are you trying to "move" a textframe (Dim textRef = myDoc.TextFrames.Add) closer to other text frames? or do you want to "zoom" to this textframe?

  • How can I get the coordinates to draw a line?

    Hi,
    I want to draw a line. Here is a part of my Quell-code.
    public class Map extends JFrame {
    public Map() {
    super("Map");
    setSize(340, 340);
    MapPane map = new MapPane();
    getContentPane().add(map);
    class MapPane extends JPanel {
    public void paintComponent(Graphics comp) {
    Graphics2D comp2D = (Graphics2D)comp;
    comp2D.drawLine(0,0,340,340);
    Now, the line begins exactly top left in the edge, but ends not exactly down right in the edge of my Frame. Is there any possibility to determine the exact coordinates of the frame. I thought, if the size of the window is set by the setSize-Method to (340,340), the line ends exact
    in the edge (down right). See: comp2D.drawLine(0,0,340,340).
    Can somebody give me a piece of advice, please?
    Thanks, joletaxi

    Have you tried the getWidth() and getHeoght() methods to determine how long the line should be?

  • How do I get the Organizer to show file names?

    I'm lost and confused in Photoshop 13. How do i get the file names to be displayed in Organizer? I've chosen to keep the older version of the "grid" display and miss having the file names showing. I've searched the online manual but can't seem to find what I need!

    ManyOldPhotos a écrit:
    And as a follow-up question, how do I get the font to be larger in the Organizer. It's all so tiny!
    If you are on Windows, you can set the font size  from the control panel, display options. You can set the text font to 125% or 150%.
    That will change the display for other applications too (not for the editor...)

  • How do you get the value of a selected list item?

    I have a drop-down list that the user can choose from. How do I get the value of what they selected? I thought I could do this by using the NAME_IN function, but I'm getting FRM-40105 Unable to resolve reference to item X. I don't know what I'm doing wrong.
    Thanks!

    Hi,
    You can use an WHEN-LIST-CHANGED trigger, attached to the list-item itself. And, in this trigger, you can use the name of the item to refer its value.
    For example:
    :block_name.list_item_name
    John

  • CS5.1 overrides CS5 registry entries, how do I get the photoshop installation location safely?

    Hi there,
    I'm creating a installer for my Photoshop plugins, so I need to find out Photoshop installation directory. I did this by looking for registry 'HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Photoshop\', but I found that CS5.1 will override the CS5 registry entries - they are both in ’HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Photoshop\12.0‘
    So how can I distinguish CS5 and CS5.1 in the registry? Or how can I get the correct installation direcotry for both CS5.1 and CS5?
    Thanks,
    Daniel

    You can't on Windows. On Mac they did the right thing and made a seperate .paths files. On Windows they just tromped on the CS5 registry entries with the CS5.1 entries, even though it's a completely seperate application installation with its own plugin path. Not too cool.
    Although, it only matters if you encounter the probably rare corner case where a user has both CS5 and CS5.1 installed AND wants to put the plugins into the CS5 plugin path. We just punted and can only install into CS5.1 in that case, unless the user manually selects the installation location. It hasn't generated any significant support issues for us that I know of.

  • Hi, after installing Adobe CC I tried opening Adobe Photoshop. This failed. I get the opening window where it says installing plugins searching etc, after which PS opens in full screen. Just moments after that there's a fail warning, no code number, only

    Hi, after installing Adobe CC I tried opening Adobe Photoshop. This failed.
    I get the opening window where it says installing plugins searching etc, after which PS opens in full screen.
    Just moments after that there's a failure warning, no code number, only the warning that PS failed to open and PS will close.
    I tried downloading it for a second time, but this did'nt solve the problem.
    Befor the CC version I used a one year student version of Adobe CS6.
    What can I do?

    Regarding the Flash Player problem, disable Hardware Acceleration to circumvent driver incompatibilities.
    Regarding the Flash Pro installation problems, post in the Flash forums or http://forums.adobe.com/community/download_install_setup

  • How do I get the pictures folders in photoshop 7 out of My window XP computer and put them into my new computer windows 8 photoshop12

    How do I get the pictures folders in photoshop 7 out of My window XP computer and put them into my new computer windows 8 photoshop12

    I am so sorry for you and your situation. Were you using iCloud photostream?
    Otherwise I do not see any chance for your precious photos.
    Congrats anyway on the little darling!

  • My Photoshop Elements does not start any more. It gives response "Photoshop elements cannot start or continue because of missing file(s). Please reinstall." How do I get the installing file again (I bought it via internet the first time december 2013?)

    My Photoshop Elements does not start any more. It gives response "Photoshop elements cannot start or continue because of missing file(s). Please reinstall." How do I get the installing file again (I bought it from Adobe via internet the first time december 2013?)

    Did you download the Basic/Free version?
    I also thought the Trial period was as long as you needed!?
    What is your Warranty and Return Policy?
    You get to use VueScan for as long as you want before you buy it, so we recommend you test it before you buy it to make sure it meets your needs.
    All sales are final and there are no refunds.
    Isn't this a bit harsh? Naah I actually prefer to solve problems, and if I offer refunds, people give up too easily. If I can't solve your problem after you send a few Problem Reports (see above), I'm happy to give a refund.
    http://www.hamrick.com/sup.html#q

  • When editing an image in Photoshop from Lightroom then saving it back to Lightroom, how do i get the image to go back and  sit next to the original? Mine is going to the end of the folder. Thanks Karen

    When editing an image in Photoshop from Lightroom then saving it back to Lightroom, how do i get the image to go back and sit next to the original image? Mine is going back to the end of the folder. Thanks Karen

    Hi Karen
    You may the sort set to Custom. Click the dropdown menu on the toolbar (to the right of the word sort) and change to capture time.
    If you can’t see the toolbar above the filmstrip press the T key. Press T again to hide.

  • I am downloading from a Canon 650D to Photoshop CS5.1 AND Adobe Bridge CS5.1  do i need to download a  DNG convertor? if so how do i get the images from the camera to the convertor?

    I am downloading from a Canon 650d  TO Photoshop CS5.1  and Adobe Bridge CS5.1  Do i need to download a DNG convertor? if so how do i get the images from the camera to the convertor?

    Please check the list yourself and co,mare the necessary CR version with the one your version of Photoshop utilizes. 
    If the version os higher than yours you can use the free DNG Converter – as to how to use it please read up on that.
    Camera Raw plug-in | Supported cameras

  • How can I get the picture to show in Photoshop?  The thumbnail image appears in the right side panel but the full image isn't showing at all.

    How can I get the picture to show in Photoshop CS3?  The thumbnail image appears in the right side panel but the full image isn't showing at all.

    What specific information would you need?  The program was working just fine early yesterday morning and than when I came back in the afternoon to edit  some more pictures that is when I wasn't able to see the full image anymore.  It is providing me with all of the editing options as if the picture is there but it is just a blank screen with the thumbnail pic showing in the right panel. 

Maybe you are looking for

  • Impostos não cálculados na ordem de vendas

    Olá, estou com um problema no atual cliente. Resulta que fiquei a cargo de aplicar a Localização Brasil e alguns problemas surgiram. Primeiro: O Client que estão usando (500) não foi copiado do 000 como a SAP recomenda. Segundo: Não rodaram a Country

  • Calendar app keeps freezing

    I've got an ipad mini which I've had for a few months and have not had any problems until now. Every time I try to look at March 2013 in the calendar app it force closes. It doesn't have any problems on any other month or view (day, weekly etc even i

  • HT4241 Can I connect audio to the TV for later model MacBook Pros?

    I have a mid-2009 MacBook Pro and I got an HDMI mini Displayport to HDMI Adapter, but the audio doesn't transfer. Any idea if I need a different cord/cable etc?

  • How to make label transperent

    I have a Form with a image on the background. the radio group button has a label. This label is not transparent. So, i have to choose a white background. But that is not nice. When I fill the Prompt property, I get a prompt which is transperent. How

  • Where to read: Document Customisation

    Hi, We have a pre-xdb document management system where we supply vendor documents in a table in one schema identified by a number and allow the customer to customize any of these documents by creating a document in a document table in another schema.