The tool rule: get the position of endpoint?

Using PS scripts:

If someone draws a rule on a document (using the ruler tool), it is possible to get the position of the end points of this line for use in a script?

For example, if someone draws a line (100 100-200 200) can I access data anywhere?

Thank you

Yes, if you have CS5 http://ps-scripts.com/bb/viewtopic.php?f=2&t=3817

Tags: Photoshop

Similar Questions

  • Vectorization of a PDF scanned document for the use of the position of endpoint.

    Is it possible to vectorizes somehow a floor plan scanned a book that allows endpoints using measument? either I'm doing the reverse of a program of CAD of publication in pdf format, allowing the snap points, endpoints etc. for measuremtn after the publication.

    You need to save/export a graphic software that has the ability of vectorization. Acrobat didn't like.

  • How can I get the tool rule to show the length in inches?

    This doc says the units of the ruler tool indicates the length in are changed using preferences:

    http://helpx.Adobe.com/en/Photoshop/using/positioning-ruler-tool.html

    This document explains the ruler tool always use pixels unless you change the scale on a per image basis:

    http://livedocs.Adobe.com/en_US/Photoshop//10.0/help.HTML?content=WS3D3EF585-502B-49d2-85F F - 537E9DC25C21.html

    So far, the latter seems to be the case, but it's horribly embarrassing. Y at - it something I'm doing wrong or there at - it some setting somewhere that will make the ruler tool display the length of the measurement in inches (or what I put in the preferences)?

    Note that I speak not of the units shown on the top and left side when the sovereign is in sight, I don't talk about data of length and the position of the tool rule if the sovereign is in sight.

    Mouse coordinates? Simply open the information panel and its "menu panel, choose Panel Options and units from pixels to inches."

    All units should be in inches, regardless of the tool.

    Gene

  • Get the position of the control in the window of the façade

    Hello

    I have the window façade divided with dispatchers on several components. On a glass, I have a button (and an overlay window) I want to move programmatically at run time. I would like to get the position of the button according to the coordinate system of façade, but to my knowledge, no such property exists. I know that I can calculate the position if I calculate the position of each knife (or component) that is between the origin of the façade and the button, but it takes a lot of time if you have many such cases.

    Any ideas are appreciated.

    Andrej

    Try this

  • How can I get the Position-Cluster-Information to calibrate the output Matches Vision Assistant

    Hello

    I have a problem to get Position information (x, y) output Matches Vision Assistant calibrated. How can I extract calibrated pole position or two real-variables (x, y-position) from the output of Matches?

    I need this information for more calculations and show the position on a graphical indicator. Everything I tried faild.

    I am a Newbee LabView and I'd be happy for each answer.

    Thank you very much!

    Just change the control to a constant and it will work the same.

  • How to get the position of a ring in a tree control?

    Okay, this is probably a stupid question, but how can we get the position of a ring within a tree control?  I have a tree with two columns, with rings in the second column.  I can set the position using SetTreeCellRingValueFromIndex(), but how do you get the position once the user has changed the control?  I found the functions GetTreeCellRingIndexFromValue() and GetTreeCellRingValueFromIndex(), but I have not found a way to get the Index or the value of the ring (I'm looking for is the index, but if I can get the value I can from there).  Thanks in advance!

    You can get the value of the cell in the tree of GetTreeCellAttribute (ATTR_LABEL_TEXT). Then, as you noted, you can use GetTreeCellRingIndexFromValue() to get the index.

    I hope this helps.

    -jared

  • When I try to use the Snipping Tool I get a message saying that "the capture tool doesn't on your computer right now. Restart your computer and try again. If the problem persists, contact your system administer. "__What I can do to fix this? __Thanks

    When I try to use the Snipping Tool I get a message saying that "the capture tool doesn't on your computer right now. Restart your computer and try again. If the problem persists, contact your system administer. »
    What can I do to fix this?
    Thank you

    Hi Palaimo,

    See if one of the patches in the following link works for you.

    Snipping Tool fails

    Ramesh Srinivasan, Microsoft MVP [Windows Desktop Experience]

  • How can I get the position of a field in a Manager?

    Hi all

    I just want to know that how I can the position of a field in a Manager (Vertical or flow)?

    If I get the x, position y, I can do a pop-up screen depends on this position...

    Can someone help me solve this problem?

    Thank you very much.

    Welcome to the forums.

    I use getFocusRect to fetch the XYRect of the target field. You can get the details from there.

  • get the position of the mouse on the screen

    How to use the local, local X Y properties of mouse click event...

    Any example pls...

    Use mouseX and mouseY to get the position of the mouse.

  • How to get the position of the shape puppeted

    If I have a layer of form with several small places in this document, which is a puppet of the tool on the layer, how he determine the position of one of the squares after the puppet tool has moved their?

    Thank you

    It's sounds like you have already found the setting Position of the axis 'puppets' and that it does not receive the contact information you are looking for.

    Have you tried the mouse overview of the place you are looking for the information of position for watching the Info Panel?

    If there is a specific place you're looking for on the site, you can create an element of double film and square on the square with a color that stands out from the paint.  Follow that dot and then replace the original work of art (the source footage that does not place).

    -Warren

  • Can not get the position of the - invalid parent node

    My team has just started to use the Muse of creating HTML DPS Article. In order to maintain interactivity familiar or similar to what our customers have been used to with articles based on InDesign, we use Widgets of Muse-topics in our files.

    I met a problem that I'm not sure is associated - widget. Trying to use the widget of Muse-theme pushy shutters, I received this error when you are trying to preview:

    "Can't get the position of note - invalid parent."

    Screen Shot 2016-02-10 at 10.17.19 PM.png

    Initially, we had 2 cases of the active widget - for 2 different breakpoints (using the latest version with sensitive provision). I removed one instance of the widget, but still have the error. I tried exchanging and removed the other instance - still have the error.  I went up to remove TWO instances of the widget, and the file STILL generated the error.  I thought that since the upstart components is no longer present, maybe just having Graphic Styles covered in the Parent/child agreement attempts to call something (I obviously don't know Muse very well yet...). So, I removed all instances of graphic themes as well, and again, Muse has generated the error even on preview.

    I'm really at a loss... What generates this kind of thing. My file is corrupt? What can I do to fix this?

    Any suggestions will be greatly appreciated.

    Thank you

    Tommy

    I think we have tracked the issue down for, quite simply, a source image missing who was left on the disk hard of the original designer, rather than on the server where the site is hosted. UGH!

  • After subscription and downloading and installing Acrobat DC, I can open it, but when I try to use one of the tools, I get the message that my trial has expired

    After subscription and downloading and installing Acrobat DC, I can open it, but when I try to use one of the tools, I get the message that my trial has expired.

    Can someone help me?

    Hello

    It is a problem of Activation, please follow the instructions at the link below, it should help solve the problem:

    Connect and disconnect activate Cloud Creative applications

    Applications creative Cloud back in test mode after an update until 2015 for CC

    Let us know if that helps.

    Kind regards

    Bani

  • Get the position of the upper left corner?

    Hey guys,.

    by geometricBounds [1] and geometricBounds [0], I can get the starting positions of my objects.

    In my case I need the position of the upper left corner. When you rotate an object, the geometricBounds always reflect a bounding box so that I can not get the desired coordinates.

    How can I get the properties of the "points of departure" (the upper left corner of my object)?

    Thank you very much!

    You have entered the field coordination complex spaces here.

    In short, you can use resolve() to find the anchor points on one

    object. But you have to decide in what coordinate space to get the

    results.

    Your best bet is probably to use spread coordinates. The point 0,0

    who is in the middle of spread.

    So, given a pageItem i, try:

    i.Resolve (AnchorPoint.TOP_LEFT_ANCHOR, CoordinateSpaces.SPREAD_COORDINATES);

    If you want to deepen this topic, Marc Autret has a good guide PDF

    on that.

    Ariel

  • Why 12 items to hang as soon as I open the text tool?  Get the message "an unexpected and unrecoverable problem has occurred.  Photoshop Elements will now stop.  With the help of Mac

    Why 12 items to hang as soon as I open the text tool?  Get the message "an unexpected and unrecoverable problem has occurred.  Photoshop Elements will now stop. "In Mac Help.  No imported fonts

    First check your fonts folders and make sure none of them are empty. Then get out the font book (applications > utilities) and check all your fonts, with which and resolve duplicates and fix any problems.

  • Variable width tool not work - cannot adjust the position of the points of width - Illustrator CS6

    Hello

    I'm having a Mare with variable width tool in Illustrator CS6...

    When I add points of variable width for a stroke I can't move the position of the decimal point of width. I watched several videos showing the width point slide seamlessly along the racing line - but I am unable to do this in my session of Illustrator!

    However, if I move the cursor width-tool on the end of the race only point, a (~) symbol will appear and I am able to slide that point only along the race. But this isn't a suitable way for me to realize the effects I'm trying since.

    I would be very grateful of any advice or experience with this issue.

    Thank you very much!

    When you create a new point width, you can move it in the direction of width but does not change its position. Howeven after the point is created, you can move your cursor near the point which is along the central axis of the race, to move along the racing line.

    You can also watch http://tv.adobe.com/watch/csinsider-design/illustrator-a-closer-look-at-the-variable-width - tool-for-illustration /

    Let me know this was useful.

Maybe you are looking for