How do I batch-render LiveType files?

I've been trying to find a way to render a batch of LiveType files, but so far have been unsuccessful.
The closest I've come is the applescript below, which I was going to combine with a shell script to call it on each of the files in a directory in turn, but the script won't wait until the file finishes rendering before going on.
Am I missing something? Is there a known way to batch render files? Or can someone help me complete the script below?
-- LiveType should be opened with the file to be rendered before this script is called
-- Focus LiveType
tell application "LiveType"
activate
end tell
-- Render the open file
tell application "System Events"
tell process "LiveType"
tell menu bar 1
tell menu bar item "File"
tell menu "File"
click menu item 17
end tell
end tell
end tell
tell window "Save"
click button "Save"
end tell
end tell
end tell
-- If this script would wait until the rendering is done, then the block below would close the finished movie window. Since it doesn't wait, it presses "cancel" on the rendering progress indicator. Doh.
tell application "System Events"
tell process "LiveType"
tell window 1
click button 0
end tell
end tell
end tell
Dual 1.8GHz G5 (4-slot RAM model) Mac OS X (10.4.7)

HI(Bonjour)!
As I know, Livetype is not "applescriptable". He's
not in the dictionnary list in script editor.
So I do not think that you can go further than open
this application via finder, who is
"applescriptable".
Michel Boissonneault
LiveType is GUI-scriptable. See the code above, which works except for not waiting for actions to be completed before going on. More on GUI-scripting is here:
http://www.apple.com/applescript/uiscripting/index.html
Unfortunately, the docs aren't very long. I've found AppleScript to be the most difficult "scripting" language to learn. I'm still left without a solution to the problem, though. There's got to be a way to make the applescript solution work.

Similar Messages

  • How do I batch convert wav files to mp3?

    Just wondering how I can convert a batch of wav files into mp3 files (including metadata).
    I was looking thru features in both soundbooth and bridge, but I can't find it (if it exists).
    Thanls

    Found this FREE easy to use mp3 converter called All2Lame, here:
    http://members.home.nl/w.speek/all2lame.htm
    You will also need to download LAME MP3 encoder, and copy the lame.exe & the lame_enc.dll files into the all2lame directory to get it to work:
    http://www.rarewares.org/mp3-lame-bundle.php
    The program offers a lot of command line type options, so you need to read the documentation to understand all your choices, but here's a 'quickstart' line you can put into the 'switches' line that will make highest quality stereo mp3's using variable bit rate technique:
    --vbr-new -V 0 -q 0 --resample 44.1
    If you prefer mono to save space, use this line:
    --vbr-new -V 0 -q 0 -m m --resample 44.1

  • How do I batch download jpg files from a picture hosting site?

    I recently did a reset of Firefox and I am having trouble downloading a new plug-in/add on. Before the resetI I had installed FlashGot(?) which put an icon in the lower right corner of the page. To save a video, I would right click on the icon and choose my download options. I believe it was Flash Got.
    Now I have an icon which shows a greyed out downward arrow with a red X on it. I can't figure it out.
    Also, before the reset, I had an addon that would allow me to download You Tube videos by putting a red download button on any You Tube video. Simple. However, I cannot find that addon either.
    Any help would be greatly appreciated.!
    TIA,
    Jim

    Hi Jim, the icon might mean that the add-on isn't able to get video on that page, I'm not sure.
    The Reset feature usually creates a folder on your desktop named Old Firefox Data. Can you find that folder? If you drill down into your old profile folder and then into the Extensions subfolder, you will find your old extensions there. Unfortunately, the folders usually are named with IDs (long strings of numbers, letters, and dashes) rather than their friendlier names. If you run out of other options, you could Google these IDs to find out which extensions they are associated with.

  • How to batch convert Word files to pdf

    How do I batch convert Word files to pdf using Automator

    Here is a drag/drop AppleScript solution that uses the command-line LibreOffice capability to convert MS Word (.doc, .docx) files into PDF. Drag/Drop a single file, or a folder of Word documents, and it will write the respective PDF back to the original file location. When it is done, an OS X Notification will slide out onto the Desktop and provide the count of processed files.
    Save this AppleScript as a Desktop application that remains open after running. If you ignore the latter, the notification will not show when it is done. Tested on Mavericks 10.9.5.
    property name_extension : {"doc", "docx"}
    global fileCnt
    on open of finderObjects
        set fileCnt to 0
        repeat with i in (finderObjects)
        if folder of (info for i) is true then
            tell application "Finder" to set temp to (entire contents of i)
            repeat with j in (temp)
                process_files(j)
            end repeat
        else
              process_files(i)
        end if
        end repeat
        display notification "Processed Files: " & fileCnt with title "Word2PDF" subtitle "Processing Complete"
    end open
    on process_files(fname)
         set cmd to "/Applications/LibreOffice.app/Contents/MacOS/soffice "
         set cmdArgs to "--headless --convert-to pdf:writer_pdf_Export --outdir "
         tell application "Finder"
              set nameExt to name extension of fname
              set outDir to do shell script "dirname " & POSIX path of (fname as alias)
              if name extension of fname is in name_extension then
                   try
                        do shell script cmd & cmdArgs & outDir & space & POSIX path of (fname as alias)
                        set fileCnt to fileCnt + 1
                   on error errorMessage number errorNumber
                        display alert "Processing Error: " message "[ " & errorNumber & " ] " & errorMessage
                        error number -128
                   end try
              end if
         end tell
         return
    end process_files

  • How do I batch unlock files in nested folders in Time Capsule

    I am attempting to back up my computer to my Time Capsule, but Time Machine is unable to complete the backup because of lack of space. Part of the problem is that my wife used the TC a couple of years ago to back up some folders manually (i.e. not using Time Machine) and these take up a lot of room. I am unable to delete them, as there are a number of files deep within the folder structure of her photo library that are locked. To locate and unlock them all one by one would take weeks of work, so I either need to find a way to unlock them as a batch, or I will have to reformat the drive. I'm reluctant to do the latter, as that would mean also deleting the most recent backups that my wife and I have both made of our machines using TM.
    I have tried using terminal to do the batch unlock, by moving into the relevant high level folders and using the command
    chflags nouchg *
    as advised elsewhere in these forums, but this doesn't seem to have worked. I am guessing that perhaps it doesn't get into all the nested folder structure. Other advice I have found relates to forcing the trash to empty, but as the TC is an external drive I can't even get as far as dragging these folders into the trash.
    So I would be grateful if anyone could advise how I might batch unlock the files in the nested folders within TC.
    Thanks in advance

    Awesome. Thanks Matthew for finding this utility. I downloaded it used it on 7,000 locked files in all sorts of different folders and it worked within minutes. Saved me a lot of time because Terminal was a pain to use. And it didn't always work.

  • Batch Render - Help !

    Hi,
    I have over two hundred folders that contain sequentially numbered animation frames. How can I batch render these into 200 QuickTime movies?
    Can I batch render PremierPro ?
    Is there a plugin or render controller for PremierPro that will control a batch render ?
    Is there any other app on a PC that will do this ?
    Help!
    Thanks for any info!

    After Effects would be one way.
    You might also be able to do it using actions in PhotoShop CS3 extended.

  • How to batch upload PDF files into database BLOB

    Hello.
    I have a requirement to batch upload PDF files into BLOB column of an Oracle 8.1.7 table from Forms 6i Web. The content of the blob column (ie. the PDF content) MUST be displayable from all client software (eg. Oracle Web forms, HTML forms, etc.)
    Our environment is
    Middle-tier is 9iAS on Windows/2000
    Database is Oracle 8.1.7.0.0 on VMS
    Oracle Web Forms 6i Patch 10
    Basically my Oracle web form program will display a list of PDF files to upload and then the user can click on the <Upload> button to do the batch upload. I have experimented the following approaches but with no luck.
    1. READ_IMAGE_FILE forms built-in = does NOT work because it cannot read PDF file. I got error FRM-47100: Cannot read image file
    2. OCX and OLE form item = cannot use this because it does NOT work on the Web. I got error FRM-41344 OLE object not defined
    3. I cannot use DBMS_LOB to do the load because the PDF files are not in the database machine.
    4. Metalink Note 1682771.1 (How to upload binary documents back to database blob column from forms). When I used this, I got ORA-6502 during the hextoraw conversion. In using this solution, I have downloaded a bin2hex.exe from the Google site. I've noticed that when I looked at the converted HEX file, each line has the character : (colon) at the beginning of each line. I know the PDF file has been converted correctly to HEX format because when I convert the HEX file back to BIN format using hex2bin.exe, I'm able to display the converted bin file in Acrobat Reader. When I removed the : (colon) in the HEX file, I did NOT get the ORA-6502 error but I CANNOT display the file in Acrobat Reader. It gives an error "corrupted file".
    5. upload facility in PL/SQL Web toolkit - I tried to automatically submit the html form (with htp.p) but it does NOT load the contents of the file. I called the URL from Oracle forms using web.show_document. There seems to be issues with Oracle Web forms (JInitiator) and HTML (+ htp.p).
    The other options I can think of at this point are:
    1. Use SQL*Loader to do the batch upload via SQL*Net connection and use HOST() built-in from Oracle Webforms to execute SQL*Loader from the 9iAS.
    2. Write a Visual Basic program that reads a binary file and output the contents of the file into a byte array. Then build a DLL that can be called from Oracle webforms 6i via ORA_FFI. I don't prefer this because it means the solution will only work for Windows.
    3. Write a JSP program that streams the PDF file and insert the contents of the PDF file into blob column via JDBC. Call JSP from forms using web.show_document. With this I have to do another connection to the database when I load the file.
    4. Maybe I can use dbms_lob by using network file system (NFS) between the application server and VMS. But this will be network resource hungry as far as I know because the network connection has to be kept open.
    Please advise. Thank you.
    Regards,
    Armando

    I have downloaded a bin2hex.exe from the Google site.
    ... each line has the character : (colon) at the
    beginning of each line. I'm afraid it isn't a correct utility. I hope you'll find the source code of a correct one at metalink forum:
    Doc ID: 368771.996
    Type: Forum
    Subject: Uploading Binary Files: bin2hex and hex2bin do not reproduce the same file
    There is some links to metalink notes and some example about working with BLOB at http://www.tigralen.spb.ru/oracle/blob/index.htm. Maybe it helps. Sorry for my English. If there is any problem with code provided there, let me know by e-mail.

  • How to create Batch file to execute sql scripts

    Hi friends,  
          i want to create batch file to execute all my .sql scripts.
    I have all table ( all table scripts in single file ) ,Udds ( all udds in single file ) ,Stored procedures( separate file for each SPs ),Functions ( Separate file for each Functions ),Triggers and views scripts in .SQL file.   
    can anybody tell me how to create batch file for executing all these scripts in sql server ?.   
       while executing, it should ask Database name,server name, password. if these details are given then it should execute my all scripts in given database
    , if any error thrown then that error and procedure name alone have to move to separate log file..
    Please help me if this possible or any other easy way to do this..
    Thanks - Ravi

    Hi  Mate.
    can i save the below details in my batch file parmantly, so that i don't need to provide the details agains again in CMD while i execute this. Please help
    set /p SName=Server Name :
    set /p UName=User Name :
    set /p Pwd=Password :
    set /p DbName=Database Name
    If  i am providing the details before execution of this bat file it will throw error.

  • How to use batch files to send the load from ODC to UCM?

    Hello all.
    We're trying to do this along this week and, until now, we couldn't figure out how to use batch files containing metada on ODC and commit the output files to UCM.
    So these are our specs:
    VM 1
    ODC - 10gR3
    OS - Windows XP 32 bits SP3
    DB - Oracle DB 11.2
    VM 2
    No ODC
    UCM 11.1.1.6
    OS - Enterprise Linux Enterprise Linux Server release 5.5 (Carthage)
    We've opened a ticket with Oracle Support to know how we should do this. The number is SR 3-6108348211.
    Let me try to explain what we want to do:
    1 - we have a batch file with all metadata of many files from UCM
    2 - we want to use this file in ODC, so the application will convert the images and commit them to UCM
    3 - we should see all these files, their metadata, thumbnails and related content in UCM
    4 - this is a batch file example we want to send to ODC:
    @Properties LocalData
    IdcService=CHECKIN_UNIVERSAL
    dRevLabel = 1
    primaryFile=/tra/Relatorio_UHPF-03-04-2008-M-RL-EA.pdf
    dDocName=TRA_33
    dDocTitle=UHPF-03-04-2008-M-RL-EA
    dSecurityGroup=MAM_TRA
    dDocType=Document
    dDocAuthor=luis.neotropical
    dInDate=14/05/08
    xC_CLASSIFICACAO=EA - Educação Ambiental
    xC_DATA=01/04/08
    xC_DATAVALIDADE=30/04/08
    xC_LOCALIZACAOFISICA=N/D
    xC_USUARIO_DEP=LUIS FERNANDO DA CAMARA
    xC_TIPO=RL - Relatório
    xC_USINA=UHPF - USINA HIDRELÉTRICA PASSO FUNDO
    xC_FICHA=MAM - Relatorios Ambientais
    xC_IDDOCMAN=TRADocID=157
    xC_IDANEXODOCMAN=TRAFileID=33
    xC_DESTINOINICIAL=Tractebel
    xC_ORIGEM=Neotropical
    xC_FORMATODOCUMENTO=Digital
    xC_GENERODOCUMENTO=
    xC_DOCPRINCIPAL=Sim
    @end
    <<EOD>>
    5 - So, when we use this batch file on ODC, the file (or image) will be converted, all metadata attached and then sent to UCM.
    But we don't know how to do the link between ODC and UCM. The Oracle Support says it is necessary to do some customization. In the books I could not find any info about how to do, just generic information or how to use ODC.
    Is there a way (without customization) to do that? Can anyone give us a step-by-step guide?
    Thanks for all help and guidance.
    Fernando

    What is the one-sentence requirement or issue you're trying to solve?
    If you only want content to be converted to pdf, then you should already have that with your items checked into UCM (if you have IBR enabled).
    if you really want to feed content into ODC using a batchfile, my first thought would be to create a transformation utility/app that will convert your batchfiles to the expected ODC import server folder job format. then you'll have to move or map the content to match.
    Again, without knowing the exact issue/business requirement you're trying to work through, I'd say a redesign of your ingestion process may be in order.
    If you feed content directly into ODC through any supported ODC method (watch folder, email, scanner, fax, etc), then you'll be able to use everything ootb as you'll be able to auto-commit directly into UCM or add an indexing step and manual commit to UCM.
    ODC is basically a front end for indexing and extra ingestion options to your content repo.
    IPM is basically the same, but it includes some extra process-related details (process metadata, process integrations/bpel/bpm, other system integrations/ebs/crm, etc). I don't feel that IPM would help with the transformation-specific question you've put out there.
    -ryan

  • Aperture: How can I batch change one part of a file name

    I have a file name format for my motor sport pictures
    EventNameYear_CarNumber_ImageNumber
    I have just named 600+ images but after publishing the images, I spotted I put the event year as 2014 instead of 2015.
    How can I batch change the year but leave everything else the same? I've been through the batch change options but cannot work it out
    I am on Aperture 3.6, MacBook Pro on Yosemite 10.10.2
    Thanks

    So you renamed the versions in Aperture, the rename was not just done on the export?
    The names could be changed either in Aperture or on the exported files but as was noted it would require a script to do it. Doing the rename on the exported files would be the easiest, Applescript or possibly even Automator or any number of 3rd party apps could handle this rather easily. Name Mangler comes to mind as possibly being able to handle this.

  • How to batch convert bmp files into jpg by dos command or c# program language?

    How to batch convert bmp files into jpg by dos command or c# program language?
    Many thanks for replying.

    Try
    GraphicsMagick.

  • How do I batch convert separate avi files in Premiere Elements 11 to separate mp4 files

    How do I batch convert separate avi files to separate mp4 files

    For batch conversions, I use DigitalMedia Converter by Deskshare. My version is an older one (2.7), and there is a newer version, in two flavors, "regular" and "pro." I do not recall what limit on number of files is, but have had about 10 in the conversion queue. The newer version, and especially the Pro version, has probably expanded the number of files in the queue, but I could not quickly find what that max number is. While not opensource freeware, my copy was only about US$40. I was so impressed, that I bought two licenses - one for each of my editing computers. I have been meaning to upgrade to the new Pro version, but as old 2.7 works for what I need to do, just have not gotten around to it.
    Now, Premiere Pro can do batch conversions too, through the AME (Adobe Media Encoder), but that would be a much, much more expensive solution.
    I am certain that there are other conversion programs (some might also be free), that can do batch conversions, and with the H.264 CODEC for your MP4 output.
    One caveat: if your AVI files are SD (Standard Def), you will NOT be pleased if you convert to MP4 in HD (High Def), as there will be up-rezzing, and the results will not be pretty. If you need to up-rez to HD, when using SD material, you might want to look into something like Red Giant's Magic Bullet Instant HD. Many users have been impressed by its up-rezzing capabilities, though some have not.
    Also, I think that Corel's video editor has an up-rezzing capability, but have never used it, so cannot comment directly - might be great, or not so great.
    Good luck,
    Hunt

  • FCExpress Render Manager .... How do I 'manage' render files?

    How can I easily delete rendered files in FCExpress HD v3.5?
    (Other than traipsing into the Finder, hunting down the render files, "Guessing" which render "file(s)" are the ones I want to delete, then delete them (only to then get the "you're missing files/media" dialog box)
    I had set the sequence settings to 50% & 50% on the render and resolution for editing. I now want to 100% & 100% the sequence for the Final Cut (pun intended), there doesn't seem to be a mechanism in FCExpress HD v3.5 to delete just that sequence's render files.
    Changing the sequence settings doesn't "clear" current renderings under the former settings.
    Background:
    Thing is, I upgraded my hardware to an iMac Core Duo 17" and "downgraded" my video editing software from FCPro HD v4.5 to FCExpress HD v3.5.
    Good news is, all my FCPro HD v4.5 files "upwardly" converted to FCExpress HD v3.5; hmmm... FCExpress v3.5 is "newer" than FCPro HD v4.5 .. works for me!
    The flustrating news: FCExpress (including HD v3.5) doesn't seem to have a Render File Manager option as such FCPro has the Render Files Manager to manage rendered files; specifically, you can choose to delete rendered files so you can r-erender.
    Apple, I had better not have just spent tons of money to be forced to have to switch to the Finder to hunt down and guess which render files belong to the specific sequence I want to rerender.
    iMac Core Duo 17"; 1.5GB   Mac OS X (10.4.6)  

    As far as I know there is no render manager in FCE however as you rightly note every time you re-render a clip it replaces the old render file.
    Further, ANY change you make to a rendered clip requires the file to be re-rendered (with the notable exception of changing preference settings as there are not clip specific).
    Thus a workaround: Make an entirely irrelevant change to the clips in your sequence (like a 10% opacity shift. Render the sequence. Change it back to 100%. Re-render.
    My assumption is that the clips will re-render with the new preference settings.
    Unless there is a better way?
    M.

  • How to run batch file from oracle forms 9i

    Hi everyone.
    i have a data in csv file. i want to upload it to my database. i am using sql loader for it.
    i have made a batch file which run the sql loader and transfer my data to database.
    How to run batch file from oracle forms 9i.
    when i press the button, nothing uploads in my database. (when i simply run the batch file it works).
    here is my code
    Begin
    HOST('C:\temp\batchfile.bat');
    message('done');
    end;
    Thanks in advance
    regards
    sajid

    this is my log file, when i run manually.
    SQL*Loader: Release 10.2.0.1.0 - Production on Thu Jul 1 23:27:53 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Control File: file_to_upload.ctl
    There are 2 data files:
    Data File: sk.csv
    Bad File: sk.bad
    Discard File: none specified
    (Allow all discards)
    Data File: sk1.csv
    Bad File: sk1.bad
    Discard File: none specified
    (Allow all discards)
    Number to load: ALL
    Number to skip: 0
    Errors allowed: 50
    Bind array: 64 rows, maximum of 256000 bytes
    Continuation: none specified
    Path used: Conventional
    Table KHAN, loaded from every logical record.
    Insert option in effect for this table: APPEND
    Column Name Position Len Term Encl Datatype
    SR FIRST * , O(") CHARACTER
    DATES NEXT * , O(") CHARACTER
    AGENT NEXT * , O(") CHARACTER
    COUNTRY NEXT * , O(") CHARACTER
    TRANSACTIONS NEXT * , O(") CHARACTER
    PKR NEXT * , O(") CHARACTER
    USD NEXT * , O(") CHARACTER
    BANK NEXT * , O(") CHARACTER
    Table KHAN:
    11088 Rows successfully loaded.
    0 Rows not loaded due to data errors.
    0 Rows not loaded because all WHEN clauses were failed.
    0 Rows not loaded because all fields were null.
    Space allocated for bind array: 132096 bytes(64 rows)
    Read buffer bytes: 1048576
    Total logical records skipped: 0
    Total logical records read: 11088
    Total logical records rejected: 0
    Total logical records discarded: 0
    Run began on Thu Jul 01 23:27:53 2010
    Run ended on Thu Jul 01 23:27:54 2010
    Elapsed time was: 00:00:00.63
    CPU time was: 00:00:00.17

  • How to compress a batch of pdf files in different sizes to a specific target (20 mb)

    Hi,
    How do I compress a batch of pdf files in different sizes (21-39 mb) to a specific target (20 mb)?
    Thanks:)

    By endless trial and error.

Maybe you are looking for

  • "Server either does not have a virtual switch configured or none of the configured virtual switches have an IP address assigned" error driving me nuts!

    OK; have been trying to setup a test VM based RDS deployment for a few days now with no luck. this error mentioned above: "Server <server name> either does not have a virtual switch configured or none of the configured virtual switches have an IP add

  • Pages 5.5.1 after Yosemite update crashes

    Hello Ladies and Gentlemen, after installing the latest Yosemite Update (OS X 10.10) Pages stopped working. -I cannot open any existing file -I cannot create a new file It throws following exception (see below): The bug is really severe as I cannot w

  • Install problems Flash Player 9

    I had adobe flash player installed last week (and previously). Some things weren't working, so i uninstalled, reinstalled. Today, I went to do two separate things using adobe flash player, and it wouldn't work. I uninstalled again, went to re-install

  • IPrint migration - drivers in a shared store

    Hey all, Something I'm not seeing in the docs here, trying to save my self a lot of time re associating drivers. I've done one Transfer ID migration of a minor print server from SLES/OES2 to OES11 (32 to 64 bit, can't straight upgrade). It worked, wi

  • FI-AA: table(-s) for the asset value

    Dear forum members, I need to find the table where I can get the asset value from!? The background is that I`m writing a report where I have to get the value of an asset. If it is higher then 0,00 then it has to do this and if it lower than 0,00 it h