Coordinates x y copy paste Question

Hi,
Is there a way to automatically show the coordinates of a box in Illustrator? I don't mean that i just need to know what the coordinates are... I know how to see them..
What I need is to have the x/y coordinates physically written and printed out and displayed right onto the canvas when I click the top left hand corner of square.
The only way I know how to achieve this is to copy and paste the coordinates on to the canvas each time. It there a faster more efficient way?
Please see attached illustration.

this version uses the document units, I should have thought of that.
I added a third decimal place, I figured it'd be useful with inches
if you use this a lot, consider recording an Action to play the script, you could assign a Shortcut Key to it.
// script.name = labelSelectedAnchors,jsx
// script.description = writes down the coordinates of each selected path point
// script.requirement = one or more anchor points selected
// script.parent = CarlosCanto // 01/01/2015
// script.elegant = false;
// https://forums.adobe.com/thread/1669676
#target "illustrator"
function main() {
    var idoc = app.activeDocument;
    var runits = getDocUnits ();
    var sel = idoc.selection;
    if (sel.length>0) {
        for (var a = 0; a<sel.length; a++) {
            var pgItem = sel[a];
            if (pgItem.typename == 'PathItem') {
                labelSelectedAnchors(pgItem, runits);
    else {
        alert('select one or more path anchors and try again');
main ();
function labelSelectedAnchors(pi /*pathItem*/, runits) {
    var sPP = pi.selectedPathPoints;
    var selAn = PathPointSelection.ANCHORPOINT;
    for (i=0; i<sPP.length; i++) {
        if (sPP[i].selected == selAn) {
            addAnchorLabel(sPP[i], runits);
function addAnchorLabel(pp /*path point*/, runits) {
    var idoc = app.activeDocument;
    var itext = idoc.activeLayer.textFrames.add();
    var x = pp.anchor[0];
    var y = pp.anchor[1];
    var xUV = new UnitValue(x, 'points');
    xUV.convert (runits);
    var yUV = new UnitValue(y, 'points');
    yUV.convert(runits);
    itext.contents = 'X: ' + roundnumber(xUV.value, 3) + ' ' + xUV.type + '\rY: ' + -roundnumber(yUV.value, 3) + ' ' + yUV.type;
    itext.left = x + 4;
    itext.top = y + 4;
function getDocUnits () {
    var idoc = app.activeDocument;
  var runits = idoc.rulerUnits;
  return runits.toString().split (".")[1].toLowerCase(); // points
function roundnumber(number, decimals) {
    rounded = (Math.round(number*Math.pow(10,decimals))/Math.pow(10,decimals));
    return rounded;

Similar Messages

  • (Probably) Stupid Copy/Paste Question

    Hello, and thank you in advance for your help. This is my first day on the PowerBook Pro. I was previously on a PowerBook G3.
    I'm having strange issue: Copying and pasting works fine...exept when copying and pasting from a website onto an HTML editor (like Composer or NVU).
    It's very strange. It worked fine on my PowerBook, but now when I go to paste nothing happens. I've tried to find some setting that may have changed but haven't found anything. I'm completely stumped. Does anyone have any ideas?
    MacBook Pro   Mac OS X (10.4.8)  

    It doesn't seem to matter what the site is. I've tried copying from different sites onto different HTML editors. I copy (via command C, or edit copy, or control click) and try to paste it into Composer nothing happens. If I paste it onto any regular text editor (MS Word, Stickies, etc) it pastes without a problem. For some reason I'm only having the problem when I paste into an HTML editor.
    Very strange, no?? Perhaps there's an issue with copying something formatted? I created a hyperlink in Word and tried to copy/paste it into Composer and wasn't able to do it. Is there a setting for copying formatted text that needs to be turned on or something?
    Thanks again for any help you could give!
    ~t
    MacBook Pro Mac OS X (10.4.8)

  • Basic copy & Paste question.

    Still new to Logic & just moving over from Cubase,I find simple things like copy & paste so very complex.I am trying to mix down a few tracks from a previous project done on Cubase.I have the vocals on 1 track with just 1 take.The singer has sung the chorus just once instead of twice so I need to repeat the chorus & all I'm trying to do is copy the chorus,split the single vocal track so there is some space to add the repeated chorus & attach the rest of the vocal track following the repeated chorus.
    In cubase I would just cut the chorus portion,copy it,move aside the remainder of the song to make room & paste the copied chorus in the empty space.
    After reading through the manual I still cant figure out how this simple procedure is best approached in Logic.Do I need to go through the sample editor or the 'comping' thing that involves arranging different takes? In this case this is only a single take.How do I cut exactly the measures that contain the chorus & place it right after it? Can someone please explain a step by step approach as to how to go about?

    Thanks a lot for the response.When I tried using the scissor tool & cutting it,the whole track disappeared! Please let me know how to cut just those specific measures & copy those measures alone,so I could drag aside the following measures to make room for the copied portion to be pasted.I spent a lot of tume trying this but just couldn't get it.Is there a video tutorial somewhere? Where/How do I specify the exact measures to be cut?

  • Copy/paste question...

    I am doing a lot of copying and pasting and I'm getting frustrated because every time I paste my selection, it moves back in my Pages document.  I then have to hit tab to put the selection back to where I wanted it.  How can I keep the pasted selection where I want it? 

    What version of Pages are you using?
    What you want is a Hanging Indent, where the first line start to the left of the rest of the paragraph.
    Menu > View > Show Ruler
    To do that drag the Left margin marker on your Ruler to the right, then drag back the top part of the marker to the left.
    To continue the paragraph but start a new line use a Soft Return (shift return).
    Or if you actual want a List, apply the type of List Style to the paragraph from your Format sidebar.
    To demote items in lists you type option tab for each level or shift option tab to promote a level.
    Peter

  • How to do a copy/paste of a question (and the possible answers) in a form ?

    Bonjour,
    Comment peut-on réaliser un copier coller d'une question (et des possibles réponses) dans un formulaire ?
    Merci de vos réponses.
    Hello,
    How to do a copy/paste of a question (and the possible answers) in a form ?

    Hi chrisweb86,
    Can you please elaborate the complete workflow you are trying to perform?

  • Robot/Copy-Paste Related questions

    Hi guys and gals,
    I want to achieve the following tasks:
    (1) Copy some texts in a website starting from the cursor;
    (2) Analyze the texts.
    I am considering the following solution (which is complicated):
    Let Robot simulate the copy-paste process, and save the copied texts into a file, then open the file to analyze the texts.
    The problem here is the Robot class does not support mouse dragging (does it?) and so copy-paste is hard to simulate. Is there any solution?
    Besides, the best way is to copy the texts directly into the Java program. How can I do that?
    Many thanks.

    Copy/Paste using java :
    See http://www.javapractices.com/Topic82.cjp
    http://www.javaworld.com/javaworld/javatips/jw-javatip61.html
    http://www.cafeaulait.org/course/week13/14.html
    I think you have rather to read text/html using file reader and analyze the text to search the information you need using regexp

  • Copy/paste and keyboard question...

    1)  Is there a way to adjust my imac so that when I copy/paste something it stays where the cursor is?
    I do a lot of copying and I use a colon, then skip two spaces and when I paste my selection, it skips back those two spaces after the colon.  It's frustrating because I then have to go back and space two times.
    I've never had an issue with this in windows, so maybe something in my settings isn't set correctly? 
    2)  Is there a way to set my keyboard up to have a forward delete button?  Right now if I hit delete it is really backspace, like the left arrrow in windows.  If I hit fn and delete at the same time it does the forward delete, but I'd like to do this in one button, is it possible?

    Manigeh wrote:
    When I copy and paste, I'm using the mouse. 
    Yeah, I definitely need to do some reading.  Still shocked though how difficult simple things are so different in mac vs. windows.  For one, I really miss my print screen/screenshot button.  
    If you have not already done so, check out KB Article:  http://support.apple.com/kb/HT5775 

  • Can't get Typekit to work with localhost (also, another weird issue with copy+paste)

    Hi!
    I've searched through the other posts already, and I *think* I've tried all the solutions, but I still can't get the typekit fonts on my machine.
    I'm trying to use the "orator-std" font.  In the "kit editor", in the "kit settings -> kit settings" tab I have for name "localhost" (w/o quotes) and for domains just "127.0.0.1" (w/o quotes).
    Then (AFTER saving the settings from that tab), I go back into edge animate, I start a new font by clicking that + sign next to "fonts", in the "library" tab.  I set the "font fallback list" to ' "orator-std",sans-serif ' (w/ quotes, w/o single quotes), and then go back to the open browser and go to the "embed code", copy both lines of javascript, go back to edge animate, and... nothing.  It won't let me change ANY text in this box anymore after the window loses focus.  I have to press "cancel" and try again.  So this time, I just type in the orator-std... blah blah, same as last time, but paste in the code successfully as it was already in the clipboard and I didn't need to make the window lose focus.  Okay, so I click "Add font", and apply the font to my text.  Nothing happens.
    Huh... well the "Font's from T" picture is showing up in the bottom right of my screen, so that's odd.  I go to preview in chrome, still ugly old sans-seriff there, also with the "Font's from T" logo in the bottom right.
    I figure "okay, probably just takes a second... or a minute... or w/e like the message said."  Well this was at least an hour ago, so something is still wrong.
    I would love to just delete the font and start from scratch... maybe something got screwed up along the way and it would fix things to just start from scratch.  Well... "sorry" says edge animate... can't let you delete that!  In the "libarary" tab, there's only one font visible, it says "orator-std,sans-serif" (w/o quotes).  If I right click it, the only option is "delete" and it's greyed out.
    I tried doing one with arial instead of sans-serif just now, still not working, but everything shows up in arial now instead of sans-serif... so that's something I guess.
    Apologies if this is just a simple problem that I'm just somehow not grasping.  Please accept this legitimate bug report as payment... the er copy paste bug, I mean...
    Thanks!
    Trevor

    Hi Trevor,
    I'm sorry you ran into trouble here. Typekit can be used locally. However there are some necessary steps that if left out, will cause the fonts not to render. In order to use Typekit locally, you've got to:
    1. Be running a local server when testing your site in the browser. You can tell if you're running a local server by the URL of the local site. If it starts with: file:// then you are just viewing the local file in a browser and not running it from a local server.
    If the local URL starts with: http:// then you're running a local server.
    2. The domain of your local server has to be part of the domain list in your Kit. So, if your local server uses: localhost, you'll need to add this to your Kit's domains.
    I hope this helps. If you have any further questions, feel free to reach out to us directly: [email protected]
    Cheers,
    Benjamin

  • How to import multiple XML files into one inDesign document without copy/paste ?

    I use InDesign CS6, and I have several XML files with the same structure. Only the data are different.
    I created  an Indesign layout with some tagged placeholder frames on merge mode, for automated layout.
    Today for each XML file I have to create a new InDesign document to import the XML. Everything works fine. Then in order to have all Indesign layouts one after the other into a single Indesign layout, I have to use the copy/paste function.
    I mean for example, copy the contents of all documents to the first one. Or add pages of other documents to the first one, then delete spaces between each page.
    So my question is the following:
    How to repeat this process without copy/paste function, knowing that the
    number of XML files could be unknown.
    Thank you very much for your answer.

    Yes, effectively I would like to catalogue the files into one collection so i can save as one PDF and Print as one.:)
    I know I could save each AI as a pdf them then merge the pdf's together in acrobat, but I have nearly 100 files so would feel more comfortable seeing them all together before print / saving.
    My concern is that if I insert them in Ai, will the file resolution reduce? and will the ai still be editable and would it update the indesign file?
    Thanks for the quick reply

  • Can you copy/paste files from the Finder to Mail in Lion, or drag them onto the Mail icon in the Dock to create a new message and attach the files to it?

    Message title says it: Can you copy/paste files from the Finder to Mail in Lion, or drag them onto the Mail icon in the Dock to create a new message and attach the files to it?
    I can't find anything in the Knowledge Base that says these two options no longer work or still do.
    I do not have a system capable of running Lion, but I need to know the answer nonetheless.

    Gee, I don't know: "paste attachments mail Lion"? ;-)
    One further question, if I may: in Panther (which is where I've aggregated nearly 7 years of mail), if you copy more than one file in the Finder, switch to Mail, and paste the files into a new message, only the file names paste in. If you copy one file and paste it into a Mail message, you get the file, not just the name. Is that still true, or has that (IMHO) bug been fixed since 10.3.9?

  • I look for integrated in the legend bloc of diaporama, a widget such as "Accordion" for, with a click, or passing with mouse, open a new legend for each photo. I tried with "Accordion" of Muse, it does not work. I tried copy/paste, mais no result. The wid

    Question.
    I look for integrated in the legend bloc of diaporama, a widget such as "Accordion" for, with a click, or passing with mouse, open a new legend for each photo. I tried with "Accordion" of Muse, it does not work. I tried copy/paste, mais no result. The widget disappear in bloc legend. disparaître. Have you one solution?
    Thank you,
    Loïc

    Accordion or Tabbed panel should to it, with click and open container.
    Please provide site url where this does not work, also if you can provide an example where we can see the exact action then it would help us.
    Thanks,
    Sanjit

  • Is Copy Paste Pans & Zooms Possible in Photoshop Elements Slide Show Editor Slideshow?

    In the Photoshop Elements Slide Show Editor, someone wants to create a unique pan and zoom effect for one photo and be able to apply it the the rest of the photos in the Filmstrip without having to do that on an individual photo basis.
    In the Slide Show Editor, Edit Menu/Apply Pan & Zoom to All Slides or Apply Pan & Zoom to Selected Slide(s) does not get the job done. Instead it looks like it just applies the default Photoshop Elements pan and zoom. I have investigated several routes to the goal unsuccesful and have concluded that Photoshop Elements Slide Show Editor offers no such copy paste pans & zoom feature.
    I have detailed how to add more than one pan & zoom per slide, how to get the pan & zoom copy/paste job done in Premiere Elements, either doing all the pan & zoom in Premiere Elements or creating the pan & zoom in Photoshop Elements for one slide, using Send to Premiere Elements, Break Apart Adobe Photoshop Elements Slideshow, copy/paste of the transferred pan & zoom. Believe it or not, that does work. I know that there will be skeptics who feel that the pan & zoom timing would be distored, but....This person does not have or want Premiere Elements in the equation. So, I am looking for a way out for her.
    I am posting the question here for someone to confirm my conclusion or offer a way that has escaped me. If someone has found a way, he/she will be fully created for the contribution and thanked.
    ATR

    Copy and past funtionaliy is not available  in pan & zoom feature. Please do a feature request.

  • InDesign CS6 + Yosemite + Copy/Paste = Missing font

    We use ITC Franklin Gothic throughout all of our pieces; it's installed and it's the default font setup. New and existing files have opened without issue until now. I opened an advertisement that needed to be resized, from our shared server and copied the contents. In a new document, I pasted the contents suddenly the font says it's missing. The images retained their links to the packaged folder on the server, the fonts just stopped working. I closed InDesign, then disconnected from the server in case there was some kind of conflict between the local font and the server font override from the packaged fonts folder (packaged from the local font installed, I made the source ad this same way). Loaded the new file, and got the expected missing links dialogue, but unexpectedly the fonts were still missing. I reviewed the missing fonts, and it was the entire family. I opened Suitcase, verified the fonts are active. Still no fonts in InDesign. Okay, disactivated font in Suitcase (maybe it needs an update), installed the font in Fontbook, need to get the ad done and I don't have time for this. Verified font works by opening a different file, making a new document, but as soon as I opened the ad with the missing the fonts, fonts go missing. I then changed the fonts to a different family, and tried changing them back, but the font doesn't even show in the list of fonts. I can't figure out why this particular method of copy and paste breaks the font. I've opened and created other files with this font family active, while this copy/paste file is open at the same time in another tab while it still says "no". The only work around I could use was to copy the entire packaged folder from the server to my desktop and just change the document properties to the size I need, then adjust the artwork to fit.
    I'd like to find a resolution as to why copying and pasting broke this font even though the same missing font works fine simultaneously in a different document. Any suggestions/questions/thoughts/solutions would be very welcome.
    System specs:
    27" iMac (Mid-2011) 3.1 GHz i5
    32 GB RAM
    1 GB Video
    10.10.2
    Adobe InDesign CS6 8.1
    Update: Looking through the font list, Franklin is being listed as a different font. Though the character palette, the font selected is ITC Franklin Gothic Std Book; the font listed in the Type drop-down menu is Myriad Pro, and once that was deactivated, Helvetica.

    i don't see how that could be the case because I originally installed the font, created and packaged the ad, and the font is available for typesetting in a new document while this problematic document is open without being connected to the server.
    I upgraded to creative cloud 2014 and this particular document is still a problem. This font issue is limited to this sole document. I'm guessing it has something to do with the copy and pasting. Tomorrow, I'll try replacing the font to something else and then copy/pasting it in the same way if it recreates the same problem with a different font.

  • How do I autofill left to right (or copy/paste) from data that is up and down in another table?

    I have source data that is in a table as a column, and I would like to have it autofilled (simply copy/paste if need be) into a row in a separate table.  Is there an easy way to do this without doing each cell individually?

    Question asked and answered many times.
    What you ask for is named "Transpose a row" or "Transpose a column".
    Yvan KOENIG (VALLAURIS, France) lundi 29 août 2011 22:48:45
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • Unable to 'undo' and 'copy/paste'

    Have NO idea what I did, but suddenly, I cannot copy and paste anything.  The options are available, but when used, nothing is copied/pasted.  Also  the 'undo' option is greyed out, even if I make an amendment to the code.
    I have CS4.  It may be quite awesome, but where can I get a publication which might explain to me all the options and gizmoes available in CS4...?
    Is there a 'default' setting for the layout?  Have also ended up with all sorts of windows all over the place.... (must be May madness? :-))

    I have CS4.  It may be quite awesome, but where can I get a publication which might explain to me all the options and gizmoes available in CS4...?
    Is there a 'default' setting for the layout?  Have also ended up with all sorts of windows all over the place.... (must be May madness? :-))
    Glad you got the other sorted  :-)
    If you go here:
    http://help.adobe.com/en_US/Dreamweaver/10.0_Using/WS8B985763-4DFA-4415-B242-B2C2D7DED657a .html
    On the Left menu - check out the help files on Workspace.
    I'd keep this bookmarked it's a very useful info site for DW specific questions..., can't find anything there, then you can ask your questions here  :-)
    Hope this helps.
    Nadia
    Adobe® Community Expert : Dreamweaver
    Unique CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    Book: Ultimate CSS Reference
    http://www.sitepoint.com/launch/005dfd4/3/133
    http://twitter.com/nadiap

Maybe you are looking for

  • Sales order need to be blocked for delivery while creation

    Hi experts,                 My requirement is to block sales orders for delivery, for the selected distribution channels, and for selected countries while creation itself, so for this I came to known that a program MV45AFZZ include, here in this at w

  • After Upgrade to Yosemite, all apps are slow.

    I upgraded to Yosemite  and all applications are slow.  ( as e.g.. starting to type in this box give me beachball for 2 seconds initially) A big difference in speed from Mavericks to Yosemite. Opening system preferences takes 3 seconds to load, and c

  • Desktop image center doesn't work after OS update

    Hi - I just updated the OS with software update.  I always had the same picture on my desktop and I used the "center" selection so it was zoomed in.  Following the OS update (10.7.5), the "center" selection no longer works.  When I click on center it

  • Not able to integrate the Adobe flex4 with BSP application.

    HI, I have created one flex4 application using the BSP(XML).  I am able to run the flex application, data retriving properly and working fine.but when I imported the SWF file into BSP application(MIME Repository) and  if  I run  the application from 

  • How to use File Transfer Protocol in Java?

    hi all, im new to java. i dont know how to use FTP in java. but i want to transfer files from my machine to another machine and also i want to download files from that machine through FTP. how can i start this program. pls any one give me the code fo