Save selection coordinates - simple nerdy script

Hello,
I've uploaded a little illustrator script that might be handy to some.
Ideally designers collaborating with developers could use this, because what it does
is fairly simple: it exports the coordinates of selected items in a document.
Designers can mind they're own workflow and simply send a bit of code so developers
cand use the assets, place them at the correct location and make them interactive.
The coordinates can be copied to clipboard or saved to disk, either in actionscript 3.0
or XML format. The XML format can be used with a variety of languages(HTML5, Objective-C, Java, etc.)
Instructions and more details can be found in this blog post.
I'm not sure if this is best place for a script release announcement, so
if I'm posting this in the wrong place, do let me know.

Glad it helps.
Thank you very much for the notice. Unfortunately I couldn't find an elegant solution to the Extension Manager locale problem I have.
Following your suggestion, I've updated the blog post and links to both the packaged and unpackaged version of the script, with a small print
explaining the difference.

Similar Messages

  • A simple "sudo" script

    Hi, I wrote a simple "sudo" script for people who prefer to use su rather than sudo.
    #!/bin/bash
    while [ -n "$1" ]
    do
    command="${command} $1"
    shift
    done
    su -c "$command"
    Usage:
    put it in /usr/sbin, then for example, do
    sudo pacman -Sy
    Password:
    enter root password
    Advantages:
    for those who don't like sudo, this sudo script is convenient for one line commands
    simple bash completion
    Hope you find it useful

    Xilon wrote:Couldn't you just do:
    alias sudo='su -c'
    That would require you to manually put ' ' around your command, and miss bash completion.
    mucknert wrote:Uh. sudo allows a much finer selection of rights. You can say what user or group is allowed to execute with its own password (or no password at all) instead of the root pw. That's a lot more than your script does and those are good reasons, too. Read up on sudo one day. You will be suprised.
    Thanks for your suggestion, I just had a quick read through sudo and sudoers. This is some stuff I found:
    The time stamp issue was never a big one, and you can configure the time or disable it. I find sudo -k useful too.
    I thought sudo might add security risk if the user password was compromised, but you can configure sudo to ask for the root password. However, this would defeat the purpose for those who disable root.
    I also have a questions: if you want to do access control, why would you prefer sudo over simple file permissions? Or is sudo primarily used as a finer access control scheme?
    Again, thanks for your advice, I really appreciate it. Please point out anything wrong with my questions. The manual was pretty long, so I'm bound to miss something.

  • Help with simple Automator script

    I have a simple Automator script for updating a specified folder with files from another folder. It consists of only two actions:
    1. Get Folder Contents (from the folder I drop on the Automator executable).
    2. Copy Finder Items.
    I left the option "replace existing files" unchecked because there's no point in replacing a bunch of files that already exist (we're talking about 4000-5000 files in the source folder).  I assumed that meant to ignore any existing files but, on the contrary, I found out that the script is copying duplicates of all the existing files -- making my target folder about 9000 files strong!
    How do I get a command into the middle of this script to restrict the Copy Finder Items command to files that do not already exist in the target folder? (It would be even nicer if it could check for files that are older than the files being copied and actually replace (only) those as well.)
    Any ideas?

    If you need the Terminal window to stay open, then you're looking at scripting Terminal. You can do this with Automator's run applescript action, or you can just use Script Editor (in Applications > AppleScript). Either way you will need to save the workflow/script as an application and drag it to your Login Items (in System Preferences > Accounts).
    click here to open this script in your editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">tell application "Terminal"
    activate
    set commands to "cd /Users/lenny/ventrilo/ 
    /Users/lenny/ventrilo/ventrilo_srv"
    do script commands in front window
    end tell</pre>
    PowerMac G5 (June 2004) 2x1.8GHz 1.25GB, PowerBook G4 (12-inch DVI) 1x1GHz 768MB   Mac OS X (10.4.3)  

  • Simple UCCX script for IVR,Welcome message then press 1 and press 2

    Dear Experts;
    I have uccx 10.5.
    I want to write a simple IVR script as below.
    Step-1- Welcome message.with press 1 for Sales and Press 2 for Marketing
    step-2   User Press 1 then transfer the call to Sales Skill Group.
    Step-3  User press 2 then transfer the call to  Marketing Skill group.
    My doubt is how to accept when user press 1 and match the value and then transfer the call to that skill group.
    Really appreciate any link or script for this.
    Regards
    Debashis

    Dear Martyn;
    Thanks a lot that was very nice and valuable information.
    just want to ask which palette i have to use to save the value 1 or 2 when user press 1 or 2.
    I know using Menu we can create different Menu option.
    After user press 1 it will go SALES skill group and if press 2 Go MARKETING Skill group.
    Appreciate if you can help me in this regard.
    Regards
    Debashis

  • Simple button script not working

    I am using AS2 and need help figuring out why this simple button script is not working:
    stop();
    buttonWS1.onRelease = function(){
                        gotoAndStop("Stage1and2_Boss",4);
    buttonWS2.onRelease = function(){
                        nextFrame();
    //end
    My buttons are the square letter-puzzles below. They are images that I converted to "symbols" (specifically, buttons). I put their names as above (buttonWS1, buttonWS2, etc.) in the "instance names" boxes.
    I have no idea what is going on. Please help!

    Hi -
    1. Yes, buttonWS2 is the instance name
    2. The only code attached to it is the code I pasted above.
    3. onRelease does not execute because my trace statement does not appear in the output
    Here is the modified code for buttonWS2:
    buttonWS2.onRelease = function(){
                        trace("clicked!");
                        nextFrame();
    Question: It shouldn't matter if I have commented-out code within that set of codes should it?:
    buttonWS2.onRelease = function(){
              //if (puzzleschosenarray[0] == 2 || puzzleschosenarray[1] == 2) {
              // cannot be chosen -- make button non-functional
              //else{
                        //puzzleschosenarray[roundnumber-1] = 2;
                        trace("clicked!");
                        nextFrame();

  • How to save the output of sap script to pdf document in sap

    hi abapers
    how to save the output of sap script in sap so that can retrieve the saved document later.
    i have to save the rcia output from sap script in pdf document in sap so that it can be retrieved later
    how to use dms

    Hi deepika,
    This thread will solve ur problem OTF  -> PDF
    Regards,
    Pravin

  • How to save the output of sap script in sap so that can be retrieved later

    hi abapers
    how to save the output of sap script in sap so that can retrieve the saved document later.
    i have to save the rcia output from sap script in pdf document in sap so that it can be retrieved later
    how to use dms
    <MOVED BY MODERATOR TO THE CORRECT FORUM>
    Edited by: Alvaro Tejada Galindo on Dec 26, 2008 11:01 AM

    Hi Deepika,
    Look into this link https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/401cca81-b861-2910-ada2-f416dfb3b3fe
    Regards,
    Pravin

  • Is there way to export a selection to JPEG through script (CS3)

    Hi all,
    Is there way to export a selection to JPEG through script (CS3).
    CS2 has possible method to export a selection to JPEG using the method
    Application.JPEGExportPreferences.ExportingSelection = True. But this method is not supported in CS3.
    Regards,
    Hemi

    Hi Hem,
    http://forums.adobe.com/thread/424774?tstart=30
    regards,
    sudar

  • 3D plot - select coordinates

    Hello,
    I would like to know if there is a way to know the coordinates on a 3D surface plot in LabVIEW. Actually I know one way but I would like to know if there is another. The way I know is: right click on the 3D plot and then click on ´Properties of 3D plot´. Then click on ´Cursor´ and finally set the X, Y and Z positions to the desired point on the plot. I have attached a few images showing this. I have also in the Blockdiagramm a PropertyNode that shows the selected coordinates.
    OK. Now, my question is...Is there a way to select a point just clicking on the graphic?? (without right clicking and selecting ´Properties´ and so on).
    Thank you very much in advance,
    Claudia
    Attachments:
    3Dplot.jpg ‏132 KB
    Properties.jpg ‏254 KB
    Property-Node.jpg ‏23 KB

    Hello ClaudiaRamos,
    I did some research and wrote a small VI to test these cursor things.
    Unfortunately, I just could do it like you. I am afraid, it is not possible to click in the 3D diagram and have the x, y and z value output.
    (Come to think about it: how should the computer know where you click? The mouse is not a 3D input device and there can be more than one point in the 3D room you could "mean" with your click - which one should the computer take?)
    Also, I have a question: should the point you select be on the surface of you graph, or anywhere in the diagram?
    I think the way we are trying just selects any point, regardless if it is on the surface of the plot, or not.
    I am sorry I cannot give you a solution at this point now.
    Best regards!
    Christopher W.
    Intern Application Engineering | NI Certified LabVIEW Associate Developer (CLAD) | NI Germany

  • Save selection criteria in payment wizard

    Hello,
    Does anyone know what the option 'Save selection criteria only' at the end of the payment wizard actually means?  Does it mean it will save the criteria you choose e.g selecting a specific property and BP group or does it mean it will save the results returned from your selection criteria the previous time you ran it?
    Many thanks,
    Kate

    Hi Gordon,
    I thought the same however when I tested this it did not seem to work in this way.  I selected property 6 which returned one business partner which was correct and when I got to the last step of the payment wizard i chose 'Save selection criteria only'.  I then went into the BP master data record of a different supplier and ticked property 6.  When I went back into the payment wizard and went through the one I had just saved, the second business partner was not displayed.  If i then start a new payment run and choose property 6 in the selection criteria, both suppliers were shown.  It seems to only be saving the results that it returns from the selection criteria rather than the selection criteria itself.
    Kind regards,
    Kate

  • Tidy -- simple python script to clean annoying files and directories

    Hi all,
    recently I opened a much-used flash drive and there was a lot of files like Thumbs.db, Mac OS' ._*, .DS_Store, etc all over it, making using it really annoying.
    So I decided to mimic a simple utility I saw as a plugin in Rockbox, which takes all of these files and deletes them.
    The result is a simple python script which you can find at:
    http://github.com/houbysoft/short/blob/master/tidy
    Usage should be self-explanatory. Be warned, by default, it deletes everything that matches the regular expressions without warning (this should be fine though, so if you want to be safe, try the -s and -v (simulate, verbose) or -p (prompt) options first.
    As usual, any feedback is welcome, and if you know of other files it should clean, please post them here!

    Hi all,
    recently I opened a much-used flash drive and there was a lot of files like Thumbs.db, Mac OS' ._*, .DS_Store, etc all over it, making using it really annoying.
    So I decided to mimic a simple utility I saw as a plugin in Rockbox, which takes all of these files and deletes them.
    The result is a simple python script which you can find at:
    http://github.com/houbysoft/short/blob/master/tidy
    Usage should be self-explanatory. Be warned, by default, it deletes everything that matches the regular expressions without warning (this should be fine though, so if you want to be safe, try the -s and -v (simulate, verbose) or -p (prompt) options first.
    As usual, any feedback is welcome, and if you know of other files it should clean, please post them here!

  • HT201250 how do i save selected emails to time machine?

    how do i save selected emails to time machine?

    Don't put emails you want to save into the Trash. In the mail sidebar you should see an "On MY MAC" section below the Inbox, Trash, Junk, etc., mailboxes. You can create mailboxes in this section for emails you want to save. (I suggest you check out Mail help & at least read the overview info.)
    Also, there is no point in looking for individual email files in Time Machine backups (or for that matter in the Mail folders on your HD). They are stored with names that won't make sense to you & cross-linked with database & other files Mail maintains.
    You are making this harder than it is. Just let Time Machine back up everything & it will take care of the rest of it.

  • When using the Save Layer Comps to PDF Script, can you change the PDF settings. I need both Smallest File Size and Press Quality?

    When using the Save Layer Comps to PDF Script, can you change the PDF settings. I need both Smallest File Size and Press Quality? Thanks in advance to the group for assisting with this matter.
    — John

    No, there isn't. The way you're using the file is not recommended. You
    should use a review tracker to avoid getting in the way of one another.

  • SIMPLE login script install of zfd4 agent?

    Is there is simpler way of installing the zfd4 agent via a login script when
    I'm not using an intermediate tier or use the application explorer. The
    login script examples I've found onlnie (and information in the Novell docs
    and Novel Press books) seem complex and frought with pitfalls...
    Thanks,
    KB

    > I'm reviewing this TID; I may be able to do this on my own. However, if
    > anyone has an example, working "simple" login script they could post as
    an
    > example, it would be REALLY appreciated....
    >
    > Thanks!
    > KB
    > "KB" <[email protected]> wrote in message
    > news:mHgfg.738$[email protected]..
    > > Forgot to mention - I want to run this in silent mode, and need to
    handle
    > > the issue where someone already has the agent installed...
    > >
    > > Thanks,
    > > KB
    > >
    > > "KB" <[email protected]> wrote in message
    > > news:Dfgfg.703$[email protected]..
    > >> Is there is simpler way of installing the zfd4 agent via a login
    script
    > >> when I'm not using an intermediate tier or use the application
    explorer.
    > >> The login script examples I've found onlnie (and information in the
    > >> Novell docs and Novel Press books) seem complex and frought with
    > >> pitfalls...
    > >>
    > >> Thanks,
    > >> KB
    > >>
    > >
    > >
    >
    >
    Hi,
    your Login Script must be seen like this:
    #z:exist c:\programme\novell\zenworks\nalwin32.exe
    if "%ERRORLEVEL"="0" THEN GOTO NOTHING
    #z:\zfdagent\agent.bat
    NOTHING:
    END
    the agent.bat is a batch File to install the agent in silent mode
    it looks like that:
    msiexec /i z:\zfdagent\zfdagent.msi /qn ADDLOCAL=ALL EDITABLE_MT_ADDRESS=1
    STARTUP_APPWINDOW=1 STARTUP_APPEXPLORER=0 REBOOT=ReallySuppress /l*v %
    WINDIR%\zfdagent.log
    the z:\zfdagent is a subdirectory in the sys:\system\Public where
    zfdagent.msi file exists.
    hier is a link to download exist.exe
    Download: http://www.novell.com/coolsolutions/...oads/exist.zip
    Best regards
    Issam

  • Save selected records?

    hi
    I want to save selected reocrd in my table i write these line in when button pressed commit button
    begin
         go_block ('blockname');
         if :kcheck <> 'Y' then
         do_key ('delete_reord');
         else
         commit;
    end if;
    end;
    but save all the records.
    I have master and detail block.

    If you insist on using a loop then try this:
    begin
      go_block ('blockname');
      first_record;
      loop
        if :kcheck <> 'Y' then
          clear_record;
        else
          Exit When :System.Last_Record = 'TRUE';
          Next_Record;
        end if;
      end loop;
      commit;
    end;clear-record will move the cursor to the next record without an explicit next_record.
    How about putting this in the button:
    commit;and this in the on-update trigger:
        if :kcheck <> 'Y' then
          clear_record;
        else
          update_record;
        end if;and letting forms do its thing? (code untested)

Maybe you are looking for

  • Error in Language labels in the OBIEE 11g logon page

    Hi all, I am getting following text messages in place of user name and password in OBIEE11g login screen, username -> ***kmsgEnterUserIdAndpassword: message text not found**** password -> ***kmsgAuthenticatePassword: message text not found**** and i

  • 1 iPhone + 1 non-iPhone, both ported

    Will online activation let me port my current number for iPhone use and my mom's current number for non-iPhone use to a brand new AT&T family plan (both numbers ported from another provider)? The online video at Apple didn't show this option. It only

  • Problem On Editing a Smartform in PDF with Chinese

    Hello, we are using SRM and in  a specific transaction we are generating a SAP message wich is editing a form for the PO. When we want to edit it on SRM in chinese we have problem with a lot of  ### ans everything wich doesn't mean anything. To gener

  • My skype number has disappeared!

    My skype phone number has disappeared.  When people using a regualar telephone call it the get a recording that says "Number is not a working number"  How do I get it back?

  • What other accessories do I need for airport express?

    Can I buy airport express and use it as a stand alone system?  On the set up page it said to connect to a DSL network and I don't have one of them.  Will airport express still work?