Help creating Shell/Applescript to automate creation of Image Sequences

Hi Everyone,
I am currently getting into shell scripting (what fun it is!) and have created a couple of scripts that:-
a) Take a picture with the iSight camera every minute and name them YYYY-MM-DD-HHMM.jpg
b) Once every few hours move all images into folder YYYY-MM-DD so that all images are in one place.
What I want to do now is automate the process of creating the Image Sequence timelapse mov from QuickTime Pro.
Is this possible? Even if you just point me in the right direction I would be very grateful! I've been going around in circles and still haven't found out if I can do this.
Thanks again,
James AKA MrBriz

Eric wrote:
1) He said libreoffice is the new name for openoffice, which isn't true.
2) Openoffice may be owned by Oracle, but it's still open source (which is why so many other office suites are based on the openoffice code, e.g., NeoOffice and LibreOffice, as well as others.)
If you're going to say "libreoffice, formally openoffice" you have to back that up with some truth.
Thanks Eric.
My mistake. The last time I checked the opensource world was awash with statements to the effect that OO was dead. I then discovered that LibreOffice was picking up where OO left off.
I now see that OO is still going. So I guess people were making a fuss about nothing when the Oracle / Sun thing happened.
Either way, Apple Pages lacks the Navigation feature found in OO/LO, and Word. And that is what I'd like to find a way to work around.
I had to drop word on this kind of document because its way of handling numbered lists within paragraph styles was driving me nuts, as it had done for the person I was assisting, and has done for many other people I see have posted issues about that as far back as 2003 or earlier. So I switched my friends document over to Pages, as that's installed by default on her MBP. But she really wanted the document map functionality that was in Word. OO/LO was my next option, and the one I am running with for now.

Similar Messages

  • Create an applescript to automate PDF compare?

    I need to create an applescript to automate comparing B4 and After PDF. Can this be done with applescripting.

    I know of no way to automate it. The PDF that you see really only exists on the screen. The internal structures that define it have little or no connection to the display. For example, if you open a Word document in a basic text editor, in between the special characters you can still read the text. You can't do that with a PDF. A PDF that appears to be entirely text may not contain any text.
    You would have to develop a system that exported text and compared the text. Such a system would fail more often than not. You could instead create a system that exported each PDF as an image and compared the image. You would likely get false positives but it should work.
    Adobe claims to have a diff feature in Acrobat Pro: http://www.adobe.com/ca/products/acrobat/file-compare-two-pdf-files.html
    There are some open-source tools as well: http://www.qtrac.eu/diffpdf.html
    Good luck with either.
    If you are the one making the changes, you could use Preview's browse versions feature to visually compare them.

  • Automatic creation of image

    Hello,
    As I'm preparing for my Powerbook to arrive with a fresh new harddrive, I've decided to not have my data lost again. What I will do is copy my userhome to an external drive every day and once a week make a full image of the entire harddisk to that same external drive.
    I'm sure I'll figure out the copying bit. There are dozens of tools out there to do it for me (although I've found to be rather disappointing, only Apple Backup seems to be really worth while - but I have no need for a .mac account so that option is out).
    However, the automatic making of an image is something I've never attempted on a Mac. If I insert my Tiger install dvd, I can run Disk Utility and with that make a dmg file which I'm guessing I could restore should something happen to the original drive. However, this requires me to do something and I'd prefer to have this done automatic.
    So, what do I do? The system needs to reboot into a different partition, I'm guessing ... which then starts the imaging process. How do I (a) make the system reboot at a specific moment, every week; (b) make it boot from a different partition; (c) how exactly do I have disks automounted (USB connected drive, HFS+ formatted) and (d) how do I have Disk Utility automatically make an image?
    Thanks
    Rob

    Hi Rob,
    You have a lot of questions here which I would not be really great at answering, however, there is a great FAQ about backing up that may answer some of your quetitons here:
    http://www.thexlab.com/faqs/backuprecovery.html
    Retrospect is an excellent backup too, Backup, apples solution is o.k. for backing up your home folder and for backing up your "iApps". (itunes, iMovier and such), but is not a comprehensive solution.
    You can use Disk Utility for some backups. A lot of folks use programs that will clone their hard drive to another, Programs such as Super Duper and Carbon Copy Cloner are designed to do just that.
    If you plan on copying to a USB drive a couple of things to remember. First it is going to be a bit slower than using a Firewire drive. Second, you cannot boot from a USB drive.
    Some of the automation could be accomplished using Automator, the built in tool provided by Apple with 10.4. I have never used it but have read some articles about it and it could handle the automation task for you, I think. You might check and see if there is a ready made script available from Apple.
    Hope it all gets worked out,I applaud your desire to have a backup system. The most important thing about any backup system is ti use it!

  • Applescript Quicktime export movie to image sequence

    I am having troubles with Quicktime 7.1 and Tiger using Applescript.
    Ultimately I want to export a movie as image sequence as tiff at a certain fps.
    I've downloaded the Applescript/Quicktime script collection. When I try to run the "Export to DV Stream.scpt" script, it gives me "an unknown error occurred"
    Looking at the event log, the problem with their file is on the line
    "export movie 1 to new_file as DV stream using settings preset "NTSC 44.1 kHz"
    If I truncate the options at the end to say "export movie 1 to new_file as DV stream"
    it works fine, but then I can't select presets.
    I don't want to export as DV, rather as image sequence, I thought I could just modify script to read
    export movie 1 to new_file as image sequence using settings {Format:"TIFF", fps:15}
    It compiles fine, but saves images as .png at 30 fps,
    I've studied the dictionary, but didn't get anywhere.
    Thanks in advance
    Kevin
    Dual 1 ghz G4, mac mini, 15" Powerbook, intelimac   Mac OS X (10.4.6)  

    Something definitely got hosed in QT 7.1's scriptable interface. A script I had running perfectly in 7 broke on 7.1. I basically just shuffled objects and commands around like you did until I it finally worked. :/ If you have a copy of the last version handy (perhaps on one of your other macs) then I suggest loading and using that for now.
    Edit: Oh yeah, and you can't specify settings the way you have it as a record ({Format:"TIFF", fps:15}) even though that compiles, the dictionary states that the 'using settings' parameter is a file containing settings. You would create such a settings file using another script with the 'save export settings' command (note this only saves the most recently successfully manually-attempted export settings)

  • Automator Help: Create simple workflow to automate opening random playlist?

    I'm fairly inexperienced with Automator. I've figured out how to create some workflows by having it record my actions but this is somewhat limiting. I'm hoping to accomplish something slightly more complex and I've been unable to find an existing thread on this (I may be searching for the wrong terms).
    I'm hoping someone here can help me to create an Automator workflow that will:
    1.) At a specific time on a specific day of the week (i.e. every Wednesday at 4pm)
    2.) Open a randomly selected file from a specified folder (i.e. go to folder "Playlists" and pick one of the 15 .m3u playlists available at random and open it).
    Is this possible with Automator? I've read other posts that seem to suggest something like this is possible but I'm having trouble finding the right building blocks in Automator to make it happen. I'm hoping it's fairly simple because I certainly don't want to ask too much of anyone here. Any help would be greatly appreciated but please don't go out of your way if this is a complex or demanding request.
    My goal is to create a virtual TV channel of sorts. I'd create specialized playlists (i.e. Wednesdays might be sitcom night whereas Thursdays are Sci-Fi night) and my Mac Mini would automatically open one of the multiple "sitcom" playlists (at random) every Wednesday just before I would get home. I love my Mac Mini and Front Row (and Boxee as of late) but sometimes I would like for my computer to be automated so it feels more like a regular TV channel (but one with programming I'm guaranteed to like).
    Thanks everyone. I really appreciate your time and input.

    Do you want to randomly select the playlists, or the items within a particular playlist, or both? Making an iCal alarm plug-in with something like the following will play a random item in the specified playlist:
    1) Get Specified iTunes Items {add your playlist}
    2) Play iTunes Playlist {select shuffle}

  • Help creating an AppleScript

    I need a script for AppleScript that allows Safari to load a certain page in different windows or tabs every 30 minutes. Can anybody help me out?

    You can make a stay-open application that uses the idle handler to create new tabs by using something like:
    tell application "Safari" to tell front window to set URL of (make new tab) to "http://www.apple.com"
    You are going to wind up with a whole lot of tabs though, unless you are you talking about reloading existing tabs, which would be something like:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    font-weight: normal;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #FFEE80;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    tell application "Safari" to tell front window
    repeat with SomeTab in (get tabs)
    do JavaScript "window.location.reload()" in SomeTab
    end repeat
    end tell
    </pre>

  • How to automate this unique image sequence?

    Greetings All,
    This is something I've been trying to figure out how to do for a while but have never found a solution.
    Let's say that I have a rather large number of still images (say 100+) that I want to place on a video track. All the images are unique and have been set to a duration of approximately 5 frames (doesn't really matter, but a relatively short interval). Now let's say I want to SPACE each of these 100 images by 5 seconds (or 150 frames, at 30 fps).
    So in summary, I have 100 unique, still images in my bin, all with a duration of 5 frames. I want to put them all in one video track but spaced apart by 150 frames. Is there any quick way to automate this process rather than having to manually space them one by one? Thanks.

    Select all your photos in the bin, go to Clip > Speed/Duration, and enter the duration that you want your interval to be. In your example, that's 5 seconds/150 frames @ 30fps. They may already be this duration; I believe 5 seconds is the default still image duration in Pr.
    Add your 5 second photos, all at once, to a sequence. Re-select all the photos in the sequence, right-click, and select Speed/Duration. This time, enter the final desired duration, e.g. 5 frames. Be sure the "Ripple Edit, Shifting Trailing Clips" option is NOT checked, and hit OK. All your selected photos will be shortened, and they'll leave gaps between them since you deselected the ripple option.

  • Automatic creation of FI & Co Documents

    Hi All SD Gurus
    I want to block the automatic creation of Accounting (FI) and Controlling (CO) documents when I create a Billing Document (F2). Can anybody help me in blocking this automatic creation ? I will do 'Release to Accounting' by selecting the Billing Documents by VF04.
    Thanks & Warm Regards

    Dear Anil,
    As suugested by others, it is Billing Block in Billing Type configuration, which will not allow automatic posting to FI. T.Code fr Billing Type Configuration is VOFA.
    Regards,
    Rajesh Banka

  • Automatic creation of PO's from Requisitions

    Hi
    I'm trying to get a grasp of what's needed to automatically create approved PO's upon approval of a requisition.
    There seems to be two ways to do it, a release program under a Contract Agreement, or using workflow with a Global BPA.
    Under either method, would you need to create a Contract Agreement or Global BPA for each and every supplier? Is there any easier way to achieve this?
    Thanks

    To automatically created Approved PO's you will need the following
    1. To create Standard PO's a Requisition will have to use a Quotation. This quotation can be attached to an ASL to default while creating a req
    The Workflow "PO Create Documents" should have automatic creation allowed set to yes
    2. To create Releases a Blanket PO must be attached to an ASL . The Workflow "PO Create Documents" should have automatic creation allowed set to yes
    Please let me know if you have any questions
    Thanks
    Navin

  • Automatic creation of delivery ,pgi and billing as soon as ordrer  is creat

    Hai gurus,
                Can we do automatic creation of delivery,pgi and billing as soon as order is saved.
    Plz explain ?
    Thanks in Advance
    sameer

    Hi sameer,
    unless the standard program is modified you cannot do auto pgi. However batch jobs can help creating a delivery afer sales order. But incase WM is implemented then we can for the required delivery movment types create an automatic transfer order and confirmation. This brings us closer to some extent in the task. Then schedule again a job that does PGI.
    can you please however explain the business need for auto pgi. It helps us to learn something as well.
    regards
    sadhu kishore

  • Automatic creation of Transfer Order when a delivery is created

    Hi all ,
    I wanted to have Automatic creation of Transfer Order when a delivery is created ,
    what are the configuration activities that needs to be carried out .
    Thanks ,
    KSR

    Dear Friends,
    I am also facing the same problem; I want the system to create a transfer order at the time of creation of an outbound delivery.
    I have done customization as under:
    Step 001
    Logistics Execution > Shipping > Basic Shipping Functions > Output Control > Output Determination > Maintain Output Determination for Outbound Deliveries > Maintain Output Determination Procedure
    Step 002
    On the screen, u201CProcedureu201D: Overview, choose the following:
    Procedure     Description
    V10000     Header Output
    Step 003
    On the screen, u201CControl datau201D: Overview, enter the following:
    Usage     Application     Procedure     Step number
    B     V2                     V10000     110
    Counter     Condition Type     Requirement     Description
    01     WMTA                     032                     Automatic TA
    The system does not create a transfer order automatically.
    May I request our learned friends to guide me?

  • How to create automatic creation of BP from customer and vendor master data

    Hi gurus,
    can any one tell how to create automatic creation of BP from customer and vendor master data.
    Please give me the steps.
    Thanks
    Sasikanth.

    HI,
    Goto SPRO\ Cross application components \ Master data synchronization \ Synchronization control.
    Assign account groups of customer and vendors to respective BP grouping. This setting is enough to create BP in background while creating customer / vendor. But the fields groups are very much important, ensure mandatory fields should be sync.
    rgds,
    Srini

  • Automatic creation of BP from SAP User (created manually) in PPM 5.0

    Hi Gurus;
    There are some way to create BP automaticaly from SAP User?
    I know that exits some Function Module BP* can do this automatic creation.
    Someone did this?
    Best regards.
    Mariano

    Hi Rajadurai,
    In the BADI - BUPA_FURTHER_CHECKS implement the method - CHECK_CENTRAL.
    The following code could serve your purpose:
    IF IV_ACTIVITY eq '01'. "Check if it is for creation
      CALL FUNCTION 'BUPR_RELATIONSHIP_CREATE'
       EXPORTING
        IV_PARTNER_1 = IV_PARTNER
        IV_PARTNER_2 = LV_createdby "BP no of the creator
        IV_RELATIONSHIP = 'BUR011' "Code for emp. resp
        IV_DATE_FROM = SY-DATLO
        IV_DATE_TO = '99991231'.
    endif.

  • Help creating Applescript

    I would like to create an Applescript which I will use in a Folder action.
    I would like Acrobat Pro 9 to go to menu item
    Advanced/Document Processing/Batch processing/Run Sequence/my sequence/OK
    Can someone help me and make that for me.
    I am new to this

    I don't have acrobat 9 - i only have acrobat 7 and it's not possible there. acrobat 7 has a very limited scripting dictionary and it doesn't let you do this. I kind of doubt things changed much in acrobat 9 but I could be wrong. other than this the only possibility would be by using GUI scripting. you can try recording your mouse movements using automator. but this usually works quite poorly and unreliably. plus it will steal focus from whatever you are currently doing.

  • Need help creating applescript to perform automator actions.

    Hi,
    I am looking for help with an applescript the will tell automator to execute  the steps of a workflow.  I'm aware that I coud just run a workflow or even tell applescript to instruct automator to run the workflow, however, I am looking to make this part of a larger workflow and this method would save the hassel of having to create a new workflow outside of applescript each time.
    I would like automator to "get folder contents" then "extract pdf text" to a "new file" with the "same name as original file" in the "same location as original" and "save as txt".  This doesnt seem to difficult to me, however, I have limited knowledge of scripting at this time.
    I appreciate anyones help...

    Hi,
    I'd say on a difficulty scale of 1-10, what you're asking for is a seven.
    Automator is scriptable, but when you run a basic AppleScript like
    tell application "Automator" to make new workflow
    you immediately get taken to the dialog asking you to choose a type for your document (app, calendar plugin etc). So that's going to stop the AppleScript dead in its tracks. It might be possible to move on with GUI scripting (using AppleScript to click the buttons) but it would be a ferocious cludge.
    I think the best approach would be to manually create an empty action as a starting point. You would then need an AppleScript that would duplicate the workflow file (so you've got a fresh one to duplicate next time), open it in Automator, add the appropriate actions, set the settings etc.
    It all sounds a bit too complicated
    HD

Maybe you are looking for

  • How to know if a file browser item is not null using javascript fucntion

    Hi <br><br> I tried to use javascript for validation. I have a file browser item named P55_FILE_NAME and I would like to know if this item is null or not before submit. <br> I wrote this function :<br><br> function validate_import(f_n){<br>      if (

  • Property inspector not displaying properties

    Trivial problem: DAK why DW8 (8.0.2) Property inspector sometimes displays just "Div ID, Class and an Edit CSS button" when within a DIV? When in Code view in a correctly functioning page, most of the code will have detailed HTML properties displayed

  • Playing AVI movie files??

    Help. I have 3 Macs: G4 Flat Panel, Imac G5- which play AVI movie files just fine. Mac Mini (specs below) which does not. Been at it for hours. The two older ones are non-intel, the mini is intel, this is the only difference I can see. I have the sam

  • For those concerned:  The iSight camera is lower quality.

    I really do not care, but it is noticeably "softer" or less focused/clear than the MBP or my iMac.

  • Java Error Log IE shuts down

    IE 6 and 7 will just unexpectedly shutdown and sometimes the system reboots also. I have uninstalled, reinstalled, and updated Sun Java multiple times. The computer is running XP SP2. Here is one of the logs: # An unexpected error has been detected b