Using Automator in place of Tether

+I posted this in another topic in reply to a question, but since I get asked this a lot I figured I'd give it a unique post.+
So, if you were one of the many hoping Apple would add the ability to shoot tethered directly from within Aperture, only to discover the newly added feature left your shiny new Canon SLR out in the cold, here's how to more or less achieve the same thing using Automator and the Canon software:
Using Automator to accomplish the task is pretty simple. You'll of course need to use Canon's EOS Utility software to do the remote capture. It's better than Aperture anyway, since it'll actually let you change the settings on the camera remotely as well (Aperture simply lets you click the shutter).
Once you have the Canon software set up and running, you'll choose a folder to capture the photos to. This can be any folder you like, named anything you like. Within Aperture, create a new project or use and existing project. Do the following:
1. Open Automator
2. Choose a "Custom" workflow
3. You can narrow the action list down by choosing "Photos" under library, and then find the Aperture Icon with "Import Photos" and drag it to the area on the right.
4. Choose your project from the drop down menu, then select "Import by reference" if you want Aperture to leave the photos where they are and just reference them. Leave it unchecked if you want them imported to the Aperture library. You can also choose to have them deleted after the import if you'd like.
5. Once you've set up the action with your project and import preferences, go to the file menu and choose "Save as Plug In." Name the action "Tether" or another appropriate name.
6. In the first drop down menu choose "Folder Action"
7. In the second drop down menu choose the folder where you have your Canon captured shots going and click "save".
That's it! Now every time you take a photo using the Canon software, the photos will automatically be imported to the project of your choosing. Good luck!

I was advising a friend to budget $1000 for a suitable tethered camera along with Aperture2, & more ram.
I had previously used a video camera to take a snap of a product that he wanted sent via email to a web host on a daily basis. It worked when using iMovie and saving frames.
As of yesterday, I became familiar with Automator, set up an action that should do the trick anddon't have to use iMovie.
I do have Adobe Acrobat Pro for making pdf's so I can output in that format, however, will Leopard also output as a pdf without acrobat Pro?

Similar Messages

  • How to resize and change the resolution of a batch of photos using Automator

    I searched for a long time tonight looking for the answer to this (seemingly) simple question:
    How do I use Automator to scale and change the resolution of a batch of images?
    It was not so simple.
    Links to this question:
    https://discussions.apple.com/message/12341246#12341246
    https://discussions.apple.com/message/12342026#12342026
    https://discussions.apple.com/message/5785047#5785047
    https://discussions.apple.com/message/1173358#1173358
    https://discussions.apple.com/message/5641853#5641853
    https://discussions.apple.com/message/3207516#3207516
    These are just the links on this site - I found them all over the place at MacRumors, Apple Tips, Mac Help, etc.
    You can actually manage this in Automator.
    Here are the steps that worked for me:
    Create an Automator APPLICATION - not a workflow (this is due to the way that I'm batch converting images - workflows might be ok for some cases)
    Step 1 is Copy Finder Items
    My flow inserts an SD card, opens the DCIM folder that my Nikon creates, selecting the images that I click (command + click to multi-select) and once I have the photos highlighted, I drag them onto this Automator App we're creating.
    <==  You'll have this guy soon!
    As a result - I want to copy the originals to my computer as step 1.  I don't touch the originals on the SD card (and cards are cheap so I tend to leave them on the cards as well)
    Step 2 is the Scale Images action - you can search the library for this and find it quickly.  For my part, I found that scaling images to about 38.8 percent of their size on the SD card is good for uploading to a blog.  Change this value to whatever you wish.
    Step 3 is Run Shell Script - and here is where we marry the brilliance found at this link with our script.If you have a hard time reading the text in the image, it is as follows:
    #bin/bash
    for f in "$@"
    do
         /usr/bin/sips -s dpiHeight 72.0 -s dpiWidth 72.0 $f
    done
    Save this application (I named mine "Format Photos")
    Place the application inside the target folder where you want the images to end up.  I do this because when I have the SD card window open, I can also open my "Photos" window and see my App sitting there.  I select my images as I mentioned and drag them on top of this app.  The app copies the originals and the conversions into the folder.
    NOTES: When you open a converted pic in Preview, you will see Resolution = 300 dpi if you go to Tools --> Adjust Size...  This reading is explained by another brilliant discussion as sips only touches the JFIF properties inside the file's MetaData.  However, if you look at the bottom of the Adjust Size... window, you'll see the image size is probably around 500 kb (give or take depending on the original).  My goal was to get the images down from the 3.0 MB I shoot at to around 500 kb.  Therefore even though the MetaData still thinks that it is 300 DPI according to Preview, it has been changed to 72 (open it in some other applications mentioned at the links and you'll find different readings - it all depends on what the application reads from the Meta).
    This does not rename the files, so you'll get DSC_1000.jpg and DSC_1000 copy.jpg in all likelihood.  If that annoys you, add a step into the Automator Application that renames the file after the "Run Shell Script" action has run, and you can have each file renamed according to some convention that you like.
    This took a heck of a lot longer than I expected - so I decided to put in the effort to share this with the community and save others the hassle. 

    PPI is pixels per inch of the image.  It is difficult to increase resolution as you are trying to add data that is not there.
    But for printing purposes what you want is dpi or dots per inch.
    The image processor either accessed from Bridge (tools/photoshp) or PS is a good way to change a batch of images.

  • How do I use Automator to duplicate a folder with graphics on my desktop and erase their Resource forks?

    How do I use Automator to duplicate a folder with graphics on my desktop and erase their Resource forks?
    I do not use command line and tried to use ZapResourceForksAMAub_1.2 which I downloadedand instaled the Zap Resource Forks.action. Next I tried to use their sample copy-zap-rsrc.workflow in Snow Leopardon my Mac Pro. The 3 different steps are displayed in Automator but there is no place to put in which folder (on my deskto) to copy, and remove the resource forks from the graphic files.
    Can sombody please step me through this please please.
                                                                                          W.W.

    Unfortunately, Back to My Mac only works across computers using the same iCloud account.

  • How can I use automator to open terminal change directory run a python script?

    Hi all,
    I dont really ever use automator - which may be my big problem - and I am trying to make an apllication that seems fairly simple in theroy. I want something that will lunch terminal, cd to the place where my python script lives and then run it. I have tried a number of suggested ways and can get the terminal to open and the directory to change but cant figure out how to run the script. This is my workflow if i did it manually each time
    - open terminal
    - type cd "the place where my file lives"
    - type python uploadr.py -d
    I can get terminal to open then cd to the right place but cant get the "python uploadr.py -d" to run without an error.
    any help would be very appricated
    thanks!!!
    J

    this is the script I got closest with - I know its something to do with breaking those two commands up but i just dont know how to do it
    on run {input, parameters}
              tell application "Terminal"
      activate
                        if (the (count of the window) = 0) or ¬
                                  (the busy of window 1 = true) then
                                  tell application "System Events"
      keystroke "n" using command down
                                  end tell
                        end if
                        do script "cd /Users/behole/Desktop/FlickrUpload/" & "python uploadr.py -d" in window 1
              end tell
              return input
    end run
    this is the error I get in terminal after I run it
    Last login: Mon Jul 23 15:37:17 on ttys000
    be-holes-MacBook-Pro:~ behole$ cd /Users/behole/Desktop/FlickrUpload/python uploadr.py -d
    -bash: cd: /Users/behole/Desktop/FlickrUpload/python: No such file or directory
    be-holes-MacBook-Pro:~ behole$

  • How can I use automator to copy and paste excel content to a new empty document?

    Hi,
    I would like to copy and paste the content from an excel file to another empty new document using automator, which I created a workflow like below
    get specific finder item
    open excel workbook
    select cell from excel workbook (all content)
    obtain selected content from workbook
    copy to pasteboard the content of excel workbook
    close the excel workbook
    create new excel workbook
    paste copyboard content to excel workbook
    can anyone kindly suggest what's wrong with this workflow?
    Thank you so much
    Eddy
    (i know this is a number place but I couldn't find any excel seciton sorry guys...)

    now it only does one file at a time, whereas I would like to do multiple files simultaneously.
    If you try a search for "loop Automator" and also "folder actions" you may find some usable pointers on how to do that.  The first example on this page looks promising.
    SG

  • Cannot use Automator to Find Aperture Albums - just get errors

    I've been trying to use Automator to automate the process of Exporting my Portfolio from Aperture to jpegs, then uploading these via FTP. However, whenever I try to use the automator actions "Choose Albums" and "Find Aperture Items" I get either errors or no items returned. I've eventually concluded that both the 'Choose Albums' and the 'Find Aperture Items' (with 'Albums' selected from the drop-down) can only find albums which are inside Projects, and cannot find albums which are not (i.e. are just in a folder).
    For example, I am able to use Find Aperture Items (but not Choose Albums, incidentally) to find an album called 'Landscapes' which is inside a PROJECT called 'Portfolio', but not able to find an album called 'Landscapes' which is inside a FOLDER called 'Portfolio'. (Note the folder is not inside anything else, just under the Library heading in the inspector).
    Since I store my portfolio as a set of albums inside a folder, and do not want to store it as Projects inside a folder (as this would require the photos to be moved to that project, rather than residing in their original project and having a reference to them in the album), can you suggest any way that I can use Automator to find these albums which are not inside folders and hence export my versions?
    I should mention that when I try to use Choose Albums to find anything I get error messages, and when I try to use Find Aperture Items to find albums which are not inside projects I simply get no results.
    Also, I'm running Automator 2.2.2, Aperture 3.2.3 and Lion 10.7.3.
    Thanks

    Thanks for your help Léonie. As you suggested, AppleScript seems to be the way to go, so I learnt to use it and came up with the following...
    set rootExportFolder to "path:to:export:location"
    set albumNames to {"Foo", "Bar", "Etc"}
    set exportFolderNames to {"foo", "bar", "etc"}
    with timeout of (30 * 60) seconds
       tell application "Aperture"
          launch
          set fileNamingPolicy to file naming policy "Index only"
          set exportLargeSetting to export setting "Web Large"
          set exportThumbSetting to export setting "Web Thumb"
          repeat with i from 1 to count albumNames
             set albumName to albumNames's item i
             set allImages to get every image version in album albumName of library 1
             set exportFolder to rootExportFolder & ":" & {exportFolderNames's item i}
             set exportThumbsFolder to exportFolder & ":thumbs"
             export allImages to exportFolder using exportLargeSetting naming files with fileNamingPolicy
             export allImages to exportThumbsFolder using exportThumbSetting naming files with fileNamingPolicy
          end repeat
       end tell
    end timeout
    A quick rundown from the top:
    First I set some variables. The path to the place where I want my portfolio exported, and the names of each of the Albums my portfolio is sorted into plus the folder name for each album.
    Next I set a timeout - this is required because Apple Events time out after two minutes by default, so when exporting a large number of versions the script would time out and fail. So I set the timeout to 30 minutes instead.
    Next I launch Aperture (in the background) and select my file naming policy and version export settings. These are selected from those that I have set up in Aperture.
    Then for each of the Albums specified earlier, I get the contents of the album and export it, using Aperture's 'export' AppleScript command. For my purpose, I export both a large version and a thumbnail sized version. The thumbnails go in a folder which is in the folder where the full sized versions go.
    That's about it. My actual script contains a bit of extra code to only export versions with Green colour labels, but that's just specific to how I have my library set up, so I haven't included it here.
    Hope that's useful to anyone else who wants to export their Albums to folders!

  • Using Automator to create script

    What I'd like to do is use Automator to create a script that will open an image as soon as it is transferred to a specific folder. I'm trying to generate some extra income by doing a bit of photography. Since my photo gear is not wireless or bluetooth capable, I'm going to transfer the image from the camera to my MacBook via an Eye-Fi card. Once the image is transferred into the designated folder, I'd like the script to open the file in either Preview, Aperture, or Photoshop so I can see if I need to re-shoot the image. Is that possible? I'm just not sure how to do it in Automator. Thanks to all.
    -- Dennis

    Unless I misread your post this should be simple. The steps below are for the Snow Leopard version of Automator but will be similar for other versions. I had the test file open in Preview because I do not have Aperture installed but there should be a similar Automator action for it.
    1. Create the folder that you want to drop the photos into and put it in a convenient place. I used the Desktop.
    2. When the opening dialog appears choose Folder Action.
    3. When the next Automator window appears notice the drop down menu that allows you to choose a folder. Click here and choose the folder you created earlier.
    4. Find the Automator action "Open Images In Preview" and drop it into the window's right side as the only step/
    5. Save your work.

  • Using Automator to open a program with a delay after a programmed restart

    Hi to all! With my old PowerPc I used to start unattended sessions of my Newsreader (Unison) overnight simply putting Unison in my Login elements window, and programming a restart at a fixed hour. Unfortunately, with my very fast new iMac this doesn't work: Unison opens too fast after the programmed restart, before a network connection has been established, and Unison is unable to see the NewsServer online when it starts (error "nodelist not found", typical of a not yet established Internet connection). Note that I downgrade to Unison 1.8.x to do this, as the Unison 2.x program cannot be closed with a session running to resume it after start: it simply defaults to "Pause transfers" after quitting, and need a clic on "Resume" after reopening.
    Obviously, what I need is to introduce a "wait (say) 2 minutes before the opening of Unison", or anything that can check the Internet connection before Unison starts. May anyone instruct me to do this with Automator and/or AppleScript?
    In fact, I tried to generate a workflow in Automator, with a Pause after the start of the process, then the instruction to open Unison. I put the saved workflow in my Login elements, but it didn't work on my iMac 27, i7Core, Snow Leopard installed. I added an "execute workflow" at beginning of the process, but the Pause command gives always an error and the process stops before Unison' opening.
    Any suggestion or help in writing an Automator or AppleScript workflow/script to be put among the startup items?
    Thanks a lot!

    I am trying to use Automator to restart an application. I figured how to quit the application, however when I relaunch it, it asks for password permission... how can I use automator to enter the password? or is there a way to launch the software with password in a script?

  • Using automator to render and save hundred's of LT files

    hello. I have a few hundred LiveType projects that I need to render to QT movie--need to make them eneditable but still usable in FCP--So, does anyone know if I can do this with Automator, i.e. point it at a folder and let it open, render, save to different folder and close (rinse/repeat)?
    Or is there an applescript that can do this?
    thanks in advance.

    Well, I was able to use automator, somewhat... where the hiccup occurs is when the file needs to be saved. If the render time takes more than a minute or so, then automator chokes. Fortunately, most of my files took less time to render, so the majority could be automated. When a hiccup occurred, the mac let out an alert sign and I manually rendered that file(s) and set automator up again until the next hiccup.
    there is a "timeout" selection in Automator for each step, but try as I may to get the save step to delay 3 minutes, it wouldn't work. I tried everything.

  • Using automator to edit text - find and replace

    Hello. I have a huge database of tv repair tips. Unfortunately, when i started to accumulate the tips I put them in an html table like this:
    <tr>
    <td class="NoiseDataTD">TELEVISION </td>
    <td class="NoiseDataTD">SONY </td>
    <td class="NoiseDataTD">36XBR400 </td>
    <td class="NoiseDataTD">DEAD - NO H.V. - INTERMITTENT START UP - 'D Board' NG. </td>
    <td class="NoiseDataTD">IC6501, MCZ3001D 0r MCZ3001DB(8-759-670-30) - >>>HARD TO REPLACE!---tip:CUT PINS FROM TOP THEN PULL OUT SLOWLY </td>
    </tr>
    <tr>
    <td class="NoiseDataTD">TELEVISION </td>
    <td class="NoiseDataTD">SONY </td>
    <td class="NoiseDataTD">63A </td>
    <td class="NoiseDataTD">INSUFFICIENT HEIGHT </td>
    <td class="NoiseDataTD">CHECK C522 REPLACE IF PARTIALLY OR COMPLETELY OPEN </td>
    </tr>
    <tr>
    <td class="NoiseDataTD">TELEVISION </td>
    <td class="NoiseDataTD">SONY </td>
    <td class="NoiseDataTD">AA-2 </td>
    <td class="NoiseDataTD">Int. loss of pix (HV) after 10 Min. Audio Normal.Pwr up again & OK for 10Min </td>
    <td class="NoiseDataTD">H Protect Circuit. D521 (7.5 zener) ECG5015 </td>
    </tr>
    <tr>
    <td class="NoiseDataTD">TELEVISION </td>
    <td class="NoiseDataTD">SONY </td>
    <td class="NoiseDataTD">AA-2D </td>
    <td class="NoiseDataTD">VERTICAL HEIGHT PROBLEM </td>
    <td class="NoiseDataTD">BAD YOKE: BAD YOKE WINDINGS MEASURED 6 OHMS, SHOULD BE CLOSE TO 9 OHMS </td>
    </tr>
    <tr>
    <td class="NoiseDataTD">TELEVISION </td>
    <td class="NoiseDataTD">SONY </td>
    <td class="NoiseDataTD">AA-2W </td>
    <td class="NoiseDataTD">Negative main pix, pip video ok. Customer heard pop then pix went dark. </td>
    <td class="NoiseDataTD">IC355. CSA2131S </td>
    </tr>
    Now, I want to input the tips into a MySQL database with an insert statement like:
    INSERT INTO `otips` (`id`, `brand`, `model`, `problem`, `solution`, `user`, `date`) VALUES (NULL, UCASE('SONY'), UCASE('KP-53XBR200'), UCASE('CONVERGENCE OFF'), UCASE('REPLACED CONVERGENCE IC''S STK392-020 AND PICO FUSE PS5007 3.15 AMP open'), '0', '0000-00-00');
    I've been all over the help files and different websites with tutorials and I cannot figure out how to do this using automator. Could anyone tell me if this can be done with automator and perhaps point me in the right direction.
    Thanks,
    daniel
    IMac Intel Core Duo   Mac OS X (10.4.8)  

    Are you familliar with regular expressions? If you are, then you can create a shell script and incorporate it into your workflow. Or you could use bbedit or textwrangler from barebones.com to search and replace in multiple files.

  • How can I use Automator to search only in folders whose name contains a certain word?

    I'm very new to Automator. What I am trying to accomplish is this:
    I am using Transmit as my FTP client. I have mounted a server as a disk to my desktop. I am using Automator to try and search this server and open files whose path contains the word "mobile", then open files with the name "order.php" with my HTML editor. There are hundreds other files on this server that have the name "order.php", so I just want to target the ones found in paths with the name "mobile" applied.
    Where I get stuck is the "search only in paths that contain the word 'mobile' ".
    Please advise.
    Thanks.

    I'm very new to Automator. What I am trying to accomplish is this:
    I am using Transmit as my FTP client. I have mounted a server as a disk to my desktop. I am using Automator to try and search this server and open files whose path contains the word "mobile", then open files with the name "order.php" with my HTML editor. There are hundreds other files on this server that have the name "order.php", so I just want to target the ones found in paths with the name "mobile" applied.
    Where I get stuck is the "search only in paths that contain the word 'mobile' ".
    Please advise.
    Thanks.

  • Can i use Automator in app such as illustrator, Photoshop, Indesign?

    I want to use automator in illustrator. How can I use it?
    I tried to make services menu in illustrator cs5. but, It doesn't work.
    Simply explain one thing about illustrator. I want to make keyboard shortcut for file>script>script menu(this is what I want to make keyboard shortcut)
    I can make action for a script menu and defind keybosrd shortcut. It deserpeard after restart app.
    I tried to rocord "whatch me do" in illusrrator. but It doesn't work, either.
    How can I use Automator in illustrator?

    The short answer is this is not possible. 
    The long answer is Photoshop & Illustrator use print fonts installed on your system (True Type, Open Type, Post Script).
    Web fonts (ie: Google, TypeKit, Edge, etc...) need a web browser to display them because they use file types that are not recognized by other applications.  
    EOT Compressed
    EOT Lite (uncompressed)    
    TTF (raw TrueType Fonts for screen)
    SVG (xml version)
    SVGZ (gzipped version)
    WOFF (gzipped, web only, cross-browser font)
    Nancy O.

  • How can I use automator to import a .csv file into a an excel file

    I would still like all the import settings that I get if I am using excel to do the process, i.e. going in with the text format instead of the general format. That way my dates don't change

    You'll need to use Applescript in Automator.
    Note:  File extension cannot be CSV (Excel will assume that the file is comma separated), so add an action to copy or rename with extension TXT.
    (You can rename back at end of Workflow is needed)
    The Applescript Action is:
    on run {input, parameters}
         repeat with f in input
              tell application "Microsoft Excel"
                   open text file filename (f as string) data type delimited field info {{1, text format}} other char "|" with use other
              end tell
          end repeat
          eturn input
    end run
    NOTE: This is formating the 1st col to text
    If you need to format the second, then you need to:
      open text file filename (f as string) data type delimited field info {{1, general format}, {2, text format}} other char "|" with use other
    (You'll need to list the 1st col, 2nd col, etc until you get to the col to format as text).  Formats are (from the Applescript Excel Library):
    [field info list] : A list contain parse information for the individual columns of data.
    Formats are general format, text format, MDY format, DMY format, YMD format, MYD format, DYM format, YDM format, skip column.
    Or you can skip using Automator and just use an Applescript App (this is a droplet, just drop the files on the icon, or click to choose files):
    on run
         set fs to choose file with prompt "Select one or more files to open:" default location alias (the path to desktop folder as text) with multiple selections allowed
         proceed(fs)
    end run
    on open fs
         proceed(fs)
    end open
    on proceed(fs)
         repeat with f in fs
              tell application "Microsoft Excel"
                   open text file filename (f as string) data type delimited field info {{1, text format}} other char "|" with use other
               end tell
          end repeat
    end proceed

  • Hi can anybody help please. I am having terrible problems trying to use my Nikon D7100 to tether. I have downloaded the latest Lightroom updates and also checked my firmware which is also the latest avaiable and still Lightroom wont detect my camera!

    Hi can anybody help please. I am having terrible problems trying to use my Nikon D7100 to tether. I have downloaded the latest Lightroom updates and also checked my firmware which is also the latest avaiable and still Lightroom wont detect my camera!. When I use a friends Canon camera it works every time!

    Hi Keith thanks for your reply I have Lightroom 5.7.1 64 bit and my Nikon's firmware is version 1.02

  • How can I use Automator to extract specific Data from a text file?

    I have several hundred text files that contain a bunch of information. I only need six values from each file and ideally I need them as columns in an excel file.
    How can I use Automator to extract specific Data from the text files and either create a new text file or excel file with the info? I have looked all over but can't find a solution. If anyone could please help I would be eternally grateful!!! If there is another, better solution than automator, please let me know!
    Example of File Contents:
    Link Time =
    DD/MMM/YYYY
    Random
    Text
    161 179
    bytes of CODE    memory (+                68 range fill )
    16 789
    bytes of DATA    memory (+    59 absolute )
    1 875
    bytes of XDATA   memory (+ 1 855 absolute )
    90 783
    bytes of FARCODE memory
    What I would like to have as a final file:
    EXCEL COLUMN1
    Column 2
    Column3
    Column4
    Column5
    Column6
    MM/DD/YYYY
    filename1
    161179
    16789
    1875
    90783
    MM/DD/YYYY
    filename2
    xxxxxx
    xxxxx
    xxxx
    xxxxx
    MM/DD/YYYY
    filename3
    xxxxxx
    xxxxx
    xxxx
    xxxxx
    Is this possible? I can't imagine having to go through each and every file one by one. Please help!!!

    Hello
    You may try the following AppleScript script. It will ask you to choose a root folder where to start searching for *.map files and then create a CSV file named "out.csv" on desktop which you may import to Excel.
    set f to (choose folder with prompt "Choose the root folder to start searching")'s POSIX path
    if f ends with "/" then set f to f's text 1 thru -2
    do shell script "/usr/bin/perl -CSDA -w <<'EOF' - " & f's quoted form & " > ~/Desktop/out.csv
    use strict;
    use open IN => ':crlf';
    chdir $ARGV[0] or die qq($!);
    local $/ = qq(\\0);
    my @ff = map {chomp; $_} qx(find . -type f -iname '*.map' -print0);
    local $/ = qq(\\n);
    #     CSV spec
    #     - record separator is CRLF
    #     - field separator is comma
    #     - every field is quoted
    #     - text encoding is UTF-8
    local $\\ = qq(\\015\\012);    # CRLF
    local $, = qq(,);            # COMMA
    # print column header row
    my @dd = ('column 1', 'column 2', 'column 3', 'column 4', 'column 5', 'column 6');
    print map { s/\"/\"\"/og; qq(\").$_.qq(\"); } @dd;
    # print data row per each file
    while (@ff) {
        my $f = shift @ff;    # file path
        if ( ! open(IN, '<', $f) ) {
            warn qq(Failed to open $f: $!);
            next;
        $f =~ s%^.*/%%og;    # file name
        @dd = ('', $f, '', '', '', '');
        while (<IN>) {
            chomp;
            $dd[0] = \"$2/$1/$3\" if m%Link Time\\s+=\\s+([0-9]{2})/([0-9]{2})/([0-9]{4})%o;
            ($dd[2] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of CODE\\s/o;
            ($dd[3] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of DATA\\s/o;
            ($dd[4] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of XDATA\\s/o;
            ($dd[5] = $1) =~ s/ //g if m/([0-9 ]+)\\s+bytes of FARCODE\\s/o;
            last unless grep { /^$/ } @dd;
        close IN;
        print map { s/\"/\"\"/og; qq(\").$_.qq(\"); } @dd;
    EOF
    Hope this may help,
    H

Maybe you are looking for

  • Question about function with in parameters

    Hello, I have a question about functions with in-parameters. In the HR schema, I need to get the minimum salary of the job_id that is mentioned as an in-parameter. this is what I am thinking but I dont know if it's correct or not or what should I do

  • [CS2][JS]Superscript to Footnotes

    Hello scripters, I converted a scanned pdf to doc and then load in inDesign my problem is the footnotes became superscript numbers. Is there any way we can convert superscript numbers to footnotes in InDesign? Thanks, CharlesD

  • Organizer in PSE 11

    I imported my photos into organizer. I don't see the pictures, all I see are grey squares. I have to open every single picture in editor before I can see it in the organizer. What's wrong?

  • Reg. Line Numbering to the whole activeDocument

    Hi All, I have gone through most of the sites to put line numbers to the whole activeDocument but I could find only applying the line numbers for first page. Anybody please help me out to add line numbers to the entire activeDocument with continuos n

  • Radiogroups and Datagrids

    I am trying to have a radio group for each line of data. The choice is either "yes" or "no". For instance. Datagrid Name Send Email? Mike ( * ) Yes ( ) No John ( * ) Yes ( ) No Al ( ) Yes ( * ) No I have tried creating ItemRenderers for this, but all