IMovie 08 slideshow infinite loop - with Applescript and Automator?

As many people I try to use iMovie for a slide show with an infinite loop. But there is no button inside the program for it. I don't want to export the project to use the loop function of Quicktime. Because that means compression of the slide show photos - Export with Quicktime: H.264, Best Quality.
I already compressed the photos with JPG in High Resolution (Photoshop) and dropped them into the project. The result of double compression is not fine (enough). And the amount of data increases.
So I tried to program a short Applesript for an infinite loop in iMovie. First it seemed to be very simple. iMovie "cmd g" starts the fullscreen presentation of the project. At the end you press "spacebar" and it runs again.
(Finder object)
tell application "System Events"
tell application "iMovie" to activate
keystroke "g" using command down
end tell
(Pause)
tell application "System Events"
tell application "iMovie" to activate
keystroke "space bar" (or "arrow left"?)
end tell
(infinite loop)
Unfortunately it didn't loop. At the end of the presentation the screen remains black. Only a beep signals that the Applescript pressed the spacebar. What did I wrong?
In some groups people say it's impossible to program a script for iMovie because it does not support Applescript.
Blackletter

I made a simple mistake in the code.
wrong:
keystroke "space bar"
right:
keystroke space
Now the infinite loop runs in iMovie!

Similar Messages

  • Applescript and automator

    I have studyed html for 3 days and wordpress for 3 days , word , excel for 5 days, and llustrator and photoshop 13 yeas ago for 6 months.
    and still now its so hard to understand some how.
    but I am in need of understading now with the printed documents from my computer.
    and I wonder , so there are many defferent way to communicate with anyone out side of the world, right?
    like I know email , fax, facetime,
    but there are other way now I think because of the documents I found.
    and also with applescript and automator can do anything possible like even the child can click one and start conecting etc..
    I have the copy from its ,
    does anyone have time to explain me what it is?
    It's not that of teenager who doesn't want paretns to know or else,
    but I am quite serious for my situations.
    Please Help !
    Mac OS snow leopard to lion to moutain lion,,,,,
    but I don't know when it started yet.

    Using JavaScript to script System Events wouldn't be any better, since it uses the same Apple Events mechanism (how well it uses it is another topic).  To hold down a key you would need to use something that has access to the deeper system APIs, most likely using Xcode.
    And yes, your code snippet will press the arrow key 5 times (I am guessing that the missing space in key code is a typo).  You can place the cursor in a bunch of text in another application such as TextEdit, and use your script to activate it before performing the key codes to get a better idea of what is happening (trying to reposition the cursor in the Script Editor will reveal a bug with the delay command).

  • IWeb Applescript and Automator - scripts you shouldn't be without

    Applescript and automator will automate mundane manual repetative task that seem to take forever. These scripts fill in iWeb's void that makes it hard to implement advance features such one click ftp publishing, code editing, swithching domain site files, etc. Don't miss out on these scripts that will save you ton of time. These are scripts you shouldn't be without.
    Work smarter not harder with iWeb applescript, only from MacEzzy.
    -- Also check out the free downloadable iWeb templates.
    Powerbook G4 Ti   Mac OS X (10.4.4)  

    Thank you for your feedback.
    -- Article never mentions compressed or uncompressed. Traditionally tiff format is used for buttons and small images on web pages and jpeg is used for higher quality photos exemplified by iWeb.
    -- Search engine spiders or crawlers start from top of the page to the bottom of html pages. They craw for topic as well as content. This is exactly what appears from iWeb html pages for meta (meta name="Generator" content="iWeb 1.0.1")
    -- I am the first to admit I don't know everything but I don't make up information. I use iWeb on a daily bases and try new things to push the envelope. Things that I find helpful to me I make it available for other iWeb community users so that they don't go through tribulation.
    -- I put google ads and paypal donate buttons throughout the pages to test if iWeb is up for commercial challenge. I also tested how well the search and replace script worked. I have exemplified in macezzy website it is possible to use iWeb for business purpose. The script worked extremely well, it would have taken hours to insert google and paypal codes manually. Using the script it only took 10 min. I wanted to share that with other users who might wanted to do similar things. Sorry if that offend you, I will remove them.
    -- I never claimed to have created the script except the script that makes the first folder in documents folder. I did change the wording so that it is clear to users that they are switching sites(domain file). I did not create the awesome search and replace script either. I do mention that I have made the iWeb_ftpUpload automator.
    I have started macezzy site when iWeb was introduced and there wasn't much information about iWeb. I have and do try many things with iWeb and report to iWeb community users of things that I find helpful. I haven't made a dollar off the site and I have invested lot of my time because I like to see other users succeed.
    Powerbook G4 Ti   Mac OS X (10.4.4)  

  • Windows won't install USB device...infinite loop of connect and disconnect

    I've been very happy with my Ipod purchases over the years but this one is the worst problem I have ever had. Purchased an 8gb Ipod Nano 3rd gen for the wife as a Xmas present and went to install it on my PC today but no luck whatsoever. The PNP manager seems to go into an infinite loop of connect and disconnect with the odd "Itunes has found a corrupt player ...." message but the device won't stay on the PC long enough as it promptly disconnects from the PC again!
    My other 3 Ipods all connect and work quite happily on this PC, I've tried a few of the other "solutions" that seem to fix other "problems" but as the device does not stay connected for long enough I can't do anything with it!
    Has anyone else had this problem and been able to fix it? If so, what did you do to correct the problem?
    thanks
    Marty

    Thanks, tried that and much more - a very frustrating process.
    I've just posted this on another thread...
    I've tried unplugging everything and it still didn't work (I only have a USB printer, USB 1.1 hub and a USB phone connected). Funnily enough though connecting it to the USB 1.1 hub it works OK - go figure. Connecting directly to a USB 2 connector either on the front or rear panel and my PC goes into the connect/disconnect loop! My 1st and 2nd gen Ipod nano's and my Shuffle all happily connect to the USB 2 connectors on the front panel but the 3rd gen one does not want to know.
    I think that Apple have got something seriously wrong here and it would be nice if it was acknowledged and a proper fix applied.

  • Problem with AppleScript inside automator app

    Creating an Automator Application that I want to run by itself (hence application instead of workflow). The firs thing asks for a folder, then it goes to run the following applescript, followed by some more automator applications and another applescript. Everything works perfectly when i run it inside automator, but when I run it as a standalone app it fails on the first applescript. Here it is:
    on run {input, parameters}
         set aFolder to input
         tell application "Finder"
              set folderName to name of folder aFolder
         end tell
         set value of variable "SeasonNumber" of front workflow to "0" & ((characters -1 thru -1 of folderName) as string)
         return input
    end run
    I'm thinking it has something to do with the fact that I am setting a value to an automator variable (SeasonNumber) but not sure. If so, I have attached the second applescript in case something needs to be fixed in both. Thanks in advance.
    on run {input, parameters}
    set whichFile to input
    set epNum to 1
    set sNumber to get value of variable "SeasonNumber" of front workflow
    repeat with aFile in whichFile
         if epNum < 10 then
              set ifZero to "0"
         else set ifZero to ""
         end if
         set textBox to "What is episode title for S" & (sNumber as string) & "E" & epNum & "?"
         tell application "Finder"
              set filename to name of aFile
              set nameEnding to ((characters -4 thru -1 of filename) as string)
              display dialog textBox default answer ""
              set text_returned to text returned of result
              set name of aFile to "S" & (sNumber as string) & "E" & (ifZero as string) & (epNum as string) & " - " & text_returned & nameEnding                    
         end tell
    set epNum to epNum + 1
    end repeat
    return input
    end run

    Awesome. Figured since now it is just a ask for finder items and run applescript, might as well convert the whole thing to applescript and save as application in script editor. So the first thing is ask for finder items, which I have as:
    set a     set aFolder to (choose folder with prompt "Select Season Folder" default location "afp://DiskStation._afpovertcp._tcp.local/Entertainment/TV Shows") as text
    But I keep getting an error saying that it can't make it into type alias. What is the correct way of changing the default location to this? It is a Folder called TV Shows that is on my NAS, connected through afp. Let me know as I have tried putting POSIX file, I have tried Network/DiskStation/Entertainment/TV Shows, among other things. DiskStation is the server and Entertainment is a partition. Thanks in advance.

  • In infinite loop with "support" trying to fix forg...

    First, I searched for an issue like mine and posted in it's thread hoping that we could both get help but their solution is part of our problem so here is a new thread.
    My wife needs help on recovering her Skype email and or password and, of course, she has no access to login so I am here on her behalf (she is sitting next to me). The provided solution does NOT work as it puts her into an infinite loop of "Thank you for contacting Skype Customer Service." messages telling her to go and fill out a form ( https://support.microsoft.com/skype/hostpage.aspx?language=en&locale=en-us&oaspworkflow=start_1.0.0.... ) with the exact same info we have entered 4 times so far! PLEASE tell us how to get to REAL help with her issue. SR 1285591565, SR 1285671840, SR 1285702596, SR 1285752888 are the Support Reference numbers we have so far.
    Speedy
    AKA: Hero Hog, Dr. Speed, "The Brass Mangler" and "That fat, old, balding, Grey-bearded gimpy guy"
    Solved!
    Go to Solution.

    I FINALY got an intelligent response to my wife's issue, they claim they don't have enough info to verify her as the owner even though they accept our monthly payment for over a year now and I included more than enough info to link the account to us. Did I provode 5 friend's addresses? No, because she didn't HAVE THAT MANY! Did we provide 2 numbers she called? NO, because SHE HASN'T CALLED ANY! Did we include the date she signed up? No, because it was well over a year or two ago and we have no idea when it was! We included the EXACT amount we last paid, the date it was paid, one contact (out of the 2 MAYBE 3 she had) and could have easily answered other questions NOT ASKED had we been able to comunicate with a human instead of dealing with canned responces!
    %^&* YOU SKYPE! Your "support" is a JOKE!
    Speedy
    AKA: Hero Hog, Dr. Speed, "The Brass Mangler" and "That fat, old, balding, Grey-bearded gimpy guy"

  • Using Applescript and Automator to manage files and folders

    Hi all.
    I need to make a simple action via applescript and-or automator to take the file it's been applied to (via the services) create a folder around it with the same name as the file.
    So far, I've searched the web, found some solutions but none are really working.
    Here's the script I found :
    set myFolder to findFolder()
    tell application "Finder" to set myFiles to files of myFolder as alias list
    repeat with aFile in myFiles
      set bName to my baseName(aFile)
      tell application "Finder"
      set folderExists to exists folder bName of myFolder
      if not folderExists then make new folder at myFolder with properties {name:bName}
      move aFile to folder bName of myFolder
      end tell
    end repeat
    ---------------- HANDLERS ----------------
    on baseName(myFile)
      tell application "System Events" to set {fileName, fileExt} to {name, name extension} of myFile
      return text 1 thru ((get offset of "." & fileExt in fileName) - 1) of fileName
    end baseName
    on findFolder()
      activate application "SystemUIServer"
      -- Bug pointed out by Lauri Ranta http://www.openradar.me/9406282
      tell application "Finder"
      activate
      set mySelection to (get selection)
      if mySelection ≠ {} then
      set mySelection to first item of (get selection)
      if mySelection's class = folder then
      set currentFolder to mySelection
      else if mySelection's class = document file then
      set currentFolder to parent of mySelection
      else if mySelection's class = alias file then
      set currentFolder to original item of mySelection
      end if
      else
      set currentFolder to target of front Finder window
      end if
      end tell
      return (currentFolder as alias)
    end findFolder
    And here's a page where they explain how to use automator and the Services to do what I <allmost> want, with some adaptation.
    But it still doesn't work.
    http://hbase.net/2011/08/17/move-selected-files-into-a-new-folder-using-applescr ipt-and-automator/
    So if anybody has an idea n how I could do this ?
    It It could either be a folder action (I drag and drop the files into a folder and boom, they get their folder around them)that I would set on a folder on a network drive, or locally, it doesn't matter, or a service (right clic on the file and boom folder around it.
    So if anyone could help with this I'd be grateful...

    Hi,
    Make an Automator Service (Service receives selected "Files or Folders"  in the "Finder.app").
    Use this script in the "Run AppleScript" action:
    on run {input, parameters}
        tell application "Finder"
            repeat with aFile in input
                if class of (item aFile) is not folder then
                    set {tName, fileExt} to {name, name extension} of aFile
                    if fileExt is not missing value and fileExt is not "" then
                        set tName to text 1 thru -((count fileExt) + 2) of tName
                        tell (get container of aFile)
                            if not (exists folder tName) then make new folder at it with properties {name:tName}
                            move aFile to folder tName
                        end tell
                    end if
                end if
            end repeat
        end tell
    end run
    This script work on files with a name extension.

  • Alternatives to AppleScript and Automator?

    AppleScript is so hard to use. Why has Apple let it languish, so utterly broken and hard to use? Is something coming around the bend and they prefer to replace it rather than patch it? Do we need to wait for OS 11?
    + iTunes 10 won't run any scripts, claiming I need iTunes 2.0.3, the old string comparison for version number bug. Sure one can hack the number but that's honestly not the right answer.
    + Automator doesn't accept variables, which requires a hack for editing the UUID in the XML form of the workflow.
    + Dictionaries and the bizarre and inconsistent COBOL-like syntax for object access are just too wild to grok. Hence these forums for constantly full of real people asking for advice, that is to say they want someone to write it for them. And who can blame them?
    I've read Neuberg's Definitive Guide, which just makes me laugh as I get the picture of a language for which excuses must be made every few pages. Despite matt's excellent wring and research, the subject is so twisted he can't convey a consistent mental model. AppleScript is just failed tech which only a few fans "get". I grok everything from LISP to TCL, but AppleScript is just a disaster, a mess.
    Sorry, I just needed to vent. This isn't a troll for defensive reactions. I would appreciate sympathy and alternative ideas for AppleScript. Can I learn some other language that uses Apple Events in a saner fashion? (Apple Events may in fact be part of the problem too, I know.) Will these work in every place AppleScript is accepted (iTunes script menu, Services plug-ins)?

    You will get arguments from both sides, but AppleScript is far from broken - weird perhaps, but it does get changed and updated for each OS version. There are a few AppleScript forums such as macscripter.net to help you figure out it's quirks, but I don't see it being replaced anytime soon.
    + I don't run iTunes 10, but that particular bug doesn't have anything to do with AppleScript itself, just the way the version number gets looked at.
    + Automator does use variables, but the particular action needs to be written to use them - Apple is being a bit slow to update a lot of it's included actions, but you are welcome to write your own or use a third party action. There are also actions that will let you run a shell script such as bash, Python or Ruby.
    + You won't get any argument from me about the scripting dictionaries, although those are written by the particular application developer.
    You definitely do not need to use AppleScript, so if you are looking for something other than a compiled language such as Objective-C or C/C++, there is perl, Python, php, tcl, and Ruby, in addition to the command line shells such as bash, ksh, zsh, and tcsh. Apple events are what is ultimately used by any scripting language to control the various applications - for an Apple-Event bridge, you might take a look at appscript.

  • Help on how to make an infinite loop with the same space on all images

    HI:
    I made a movie clip with infinite  loop in which there are images that move from right to left something simple like a marquee, and each image has a blank space between  them, but between last and first image there is a more space, how I can do to  make all images have an equal space between each one and that the motion never stops.

    Thanks for your time and answers my friend, but I'm still not be able to achieve what I want, I forgot to tell that I'm doing this by layers, let's say, I have 5 images, (in fact I have like 50 images converted to movie clip symbols) each image has it's own layer, layer 1, layer 2, layer 3, layer 4, layer 5, then I put a 200 frame motion tween on all layers at 30 fps, then I arranged layer 1 on the first frame to the frame 200, the second layer from frame 50 to frame 250, third layer from frame 100 to frame 300, fourth layer from frame 150 to frame 350, and fifth layer from frame 200 to frame 400, by this I mean I put a 50 frame of space on each image but if you can see, the last image has a duration from frame 200 to frame 400, and there's nothing on frame 250 where it is supposed to be another image to match the same blank space of all the others, the movie clip restarts on the frame 400, and there's a 150 frames of blank space between the last image and the first image, I put the gotoandplay on the frame 250, but it abruptly restarts the movie.
    Is there another way to do this ?
    Am I doing something wrong ?
    Please I really really need help on this.
    Thanks

  • I am trying to update and restore a backup of an iPad.  I ended up in an infinite loop of restoring and re-setting up the iPad.  Help???? Suggestions?

    This iPad had iOS 4.3.3 and I wanted to update it to the most recent software, 7.1.  The first thing I did was I backed it up to my computer so I would be able to restore all of the photos and data after I had updated.  At first, I tryed just clicking Update.  It kept failing with error 9006.  Then, I tryed the Restore and Update.  This timed out even though it seemed to be moving alone just fine.  The last thing I tried was to wipe the iPad and then update it.  This worked.  When it came up on my computer, it asked if I wanted to restore from a backup.  I said yes and selected the backup that I made.  It said Restoring.  Afterwards, it took me through the normal process that you would go through to set up a new iPad.  at the end of the setup, it asked if I would like to set it up as a new iPad, or restore from a backup.  ????????  I tried to restore from backup and it started and endless loop of restoring and setting up, and restoring again.  I eventually selected to set up as a new iPad.  I cannot firgure out how to get the pictures back onto the iPad from the backup if the restore won't work.  I was wondering if it is possible to find the picture files on my computer??? Does anybody have any suggestions or ran into the same problem???
    FYI: I was a bit disapointed to learn that the online support chat now costs $20

    Restore from iTune Backup
    1. Settings>General>Reset>Erase all content and settings
    2. You will be asked twice if you want to erase iPad
    3. Slide to set up
    4. Select Language
    5. Select Country
    6. (a) Use Location Service   (b) Don't use Location Service
    7. Choose Wi-Fi Network
    8. Enter Wi-Fi password
    9. (a) Setup as new (b) Restore from iCloud Backup (c) Restore from iTune Backup
    10. Select "Restore from iTune Backup"
    11. You will be instructed to connect to iTune (computer)
    On computer
    12. Two options offered
    13. (a) Set up as new iPad (b) Restore from backup (a list of backup will be shown)
    14. Select Restore from backup and select the backup
    15. Continue
    16. Restoring iPad from backup
    17. The settings for iPad restored

  • Need help with applescript and Xcode 4.3.2

    I'm trying to write my first application that will involve a GUI. I can code applescript using script editor with a bit of effort, but I'm want to have users input more than one piece of information in the pop up. So, I download xcode, create my first applescript cocoa project go to MainMenu.xib and add a bunch of labels, text fields and buttons. Looks fairly nice... Go to start it and... nothing (well the window pops up, but it doesn't do anything). Unfortunately, I haven't figured out how to link the window to the applescript... So, how do I...
    * Have the applescript prepopulate data in the text fields and pulldowns
    * Once the user changes the data in the fields tell the applescript
    * Tell the window to close and pass the control back to the applescript once either the cancel or submit button is pressed.
    More detailed...
    * What's an outlet and how do I use it here? Which of the 18 outlet(s) do i use for this?
    * What's a property (referenced on one of the web pages I saw around applescript and cocoa) and do I need them here?
    Looking at the documentation with xcode, there isn't a lot about xcode and applescipt. Looking at the web, the top links are a few years old. So, links to good relevent documentation would be very nice as well as direct answers to the questions
    Thanks,
    Scott

    I'm not sure why you are closing it, but the NSApplication class is what keeps track of the windows.  If you don't want to connect the window to an outlet from the interface editor, you can use something like
    set theWindow to current application's NSApplication's sharedApplication's mainWindow()
    ...and from there you can use whatever NSWindow methods, for example
    theWindow's performClose_(me)

  • Export PDF Workflow with Applescript and CS3

    Hello,
    I am setting up some PDF workflow with Applescript.
    On a given moment, as my script runs and after getting some user-input answers to questions in some dialogs, my script tells InDesign CS3 to open the Export Adobe PDF window for the current document. I copied and pasted that small part of the script:
    tell application "Adobe InDesign CS3"
    tell document 1
    export format PDF type to "Macintosh_HD:Test01.pdf" using "somePreset" with showing options
    end tell
    end tell
    When you run this small part of my Applescript, InDesign opens the Export Adobe PDF window (as expected) waiting for me to click on "Export". That is exactly what I want, since the user is given here a last opportunity to change some values (for example page range, or spreads). When all is set, the user can click on Export to close the dialog and finish the script.
    Problem: I was hoping that the Adobe PDF Preset "somePreset" would be selected in the first pull-down menu of the Export Adobe PDF window when this window is opened by the script. Unfortunately the last used preset is always selected by default. Anyone suggestions or help?
    Kind regards,
    Bertus Bolknak.

    My operators enter the page range and filename into a dialog box. Then I set those in the script. I use the Press Quality preset to start with and then set the changes I want into a export variable. I set things like bleed, marks, page range, etc.
    Here is an example:
    set theProps to properties of PDF export preset "[Press Quality]"
    try
    delete PDF export preset "Schmidt PDF"
    end try
    set theStyle to {name:"Schmidt PDF", acrobat compatibility:acrobat 7, bleed top:"0.125i", bleed bottom:"0.125i", bleed inside:"0.125i", bleed outside:"0.125i", page marks offset:"0.125i", include ICC profiles:Include None, effective PDF destination profile:use no profile, effective PDF X profile:"No Color Conversion"} & theProps
    make PDF export preset with properties theStyle
    set properties of PDF export preferences to theStyle
    set color bitmap sampling of PDF export preferences to none
    set grayscale bitmap sampling of PDF export preferences to none
    set page range of PDF export preferences to (item i of myPageList) as string
    export document 1 format PDF type to (PrinergyFolder & myJobNumFinal & "_" & VerCode & ".pdf") as Unicode text without showing options
    I am also doing this in Quark.

  • Reset while loop with time and button?

    I am trying to get the while loop to stop and reset with a button or if time runs out. So when I switch the button it should stop the indicator; when I switch the button back on it should reset the time and start reading data again. Likewise, when time runs out it should stop the indicator and I want to flip the switch to start a new run and reset the time again. I have attached my vi for some clearification. If you have trouble understanding please let me know and Ill try and explain more. Thanks.
    Attachments:
    reseting_time_whlloop.vi ‏70 KB

    Relient wrote:
    I know my program is not efficient at all, Im inexperienced with labview and my company needs it soon so I'm trying to get it out quick. Attached is what I have so far. It is very messy!!  However it is nearly working how we want. The producer/ consumer design is needed because I am implementing this into my other program and each loop  has a different job than the other loops. This is just a mock version as I am trying to figure out the process.
    The stop buttons aren't needed but the button labeled boolean should reset the time and stop the run. When the run is stopped I want to re-enter a 'test time' and hit the button again for a new run. I just need to be able to reset the original time... Is the producer/consumer the best way to connect while loops because it seems messy?
    Again sorry if it is hard to follow and if its not the best way to go about it; I'm doing the best with what I know. Thanks for the help.
    I realize you may need this soon but you will regret it later (or the next person to touch this code) when you need to touch it again. It is overly comnplicated, messy and not very well designed. Doing a bad job quickly is never the right answer. A little extra time spent up front to do it right can save tons more time later on.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • Iphone 6+ infinite loop of reboot and crash

    Just bought new iphone 6+ , 128G, started it as a new phone to setup, and then updated to 8.1 software, then i have reset all settings so that i can setup it as a phone from the icloud, but now it got into an infinite loop of reboot showing red screen for 1-2 seconds and then normal apple reboot logo.
    I was really looking forward for the new iphone 6+, it is so annoying and disappointing from Apple.
    what shall be done?

    Try to use iTunes on your computer to set it up as new device. To make sure that this is not software related set it up without using the latest backup first, in case it contains damaged data causing the crashes.
    How to erase your iOS device and then set it up as a new device or restore it from backups
    If it works after that, restore from the backup. If it does not, you'll have to get it serviced:
    iPhone - Contact Support - Apple Support

  • Problems with AppleScript and MS Office 2011

    The script below used to work great for converting MS Word files to PDF files.  However, sometime during the last few months it has stopped working and will no longer compile without error.  Possibly after upgrading to Mavericks but I'm not exactly sure when it stopped working, could have been an update to Office.  Anyway, the error I'm getting when I compile is a Syntax Error, "Expected end of line but found class name".  The editor highlights "document" in the line "set the_doc to active document".  I'm not very familiar with Applescript but I have opened the scripting dictionary for Microsoft Word in the Applescript editor and I do see "active document" as a property of the "document" object.  So why doesn't the compiler recognize it?  Am I missing something obvious or was there some sort of change in Mavericks that broke this functionality?
    I've been pulling my hair out trying to get this script working again  but I have not had any luck.  I've tried uninstalling and reinstalling Microsoft Office per instructions from Microsoft.  I have all the latest updates and patches. Any help would be greatly appreciated.
    Here is the original code which used to work just fine.
    -- Stephen Norum
    -- [email protected]
    property pdf_ext : ".pdf"
    on remove_extension(file_path)
        -- remove the extension if it exists
        set stripped to do shell script ("F=" & quoted form of file_path & " ; echo ${F%.*}")
        return stripped
    end remove_extension
    on get_pdf_path(doc_path)
        set doc_path to remove_extension(doc_path)
        -- Try the simple name first
        set pdf_path to (doc_path & pdf_ext)
        -- Otherwise, number the pdfs
        set counter to 1
        tell application "Finder"
            repeat while (exists pdf_path)
                set pdf_path to (doc_path & " " & counter & pdf_ext)
                set counter to counter + 1
            end repeat
        end tell
        return pdf_path
    end get_pdf_path
    on run {input, parameters}
        repeat with file_name in input
            tell application "Microsoft Word"
                open file_name
                set the_doc to active document
                set doc_path to path of the_doc
            end tell
            set pdf_path to get_pdf_path(doc_path)
            tell application "Microsoft Word"
                save as active document file name pdf_path file format format PDF
                close active document
            end tell
        end repeat
        tell application "Finder"
            activate
        end tell
        return input
    end run

    try this syntax:
                        tell application "Microsoft Word"
      save as (active document) file name pdf_path file format PDF
                        end tell
    Apparently they changed the enumeration label from format PDF to just plain old PDF without bothering to update the scripting dictionary or ensure backward compatibility. If you want to know how they managed to do that, they are still not using sdef or even scriptSuite xml files, but are loading the scripting information from old-school (i.e. os 8 or os 9 style) resource files.
    I've occasionally considered writing Microsoft a proposal to redo the Office scripting dictionaries so they are less crazy-making, but I'm not sure I'd survive the attempt.

Maybe you are looking for

  • How do I add multiple gamecenter accounts to one Apple ID?

    We have multiple devices and different kids so I want to keep all of the devices on one Apple ID for sync reasons but create different game center accounts, one for each device.  How do I do this?  I don't see anywhere in IOS7 where I can add or dele

  • HTML5 Video Upload from Muse To Business Catalyst.

    Hi all excuse my complete and utter ignorance of all things techniacal, I am new and I am in the process of learning.  As the title suggests I am trying to upload a video that I want to include in the design of my site to Business Cataylst via the pu

  • Adapter Framework File Adapter Message on hold

    Hello, we have a problem with the Adapter Framework and their the File Adapter / Messaging System. We process one HR IDOC from R/3 through XI and send it to 7 file adapters. The SXMB_MONI tells us that all messages have been processed without errors

  • CFolder bidder authorization

    Hi experts, We are working on SRM 5.0 (SP 14) and C-folder 4.0. We are implementing competitive bidding with 2 Envelope Functionality. Our problem is the authorization of bidders in C-folder. After the bid invitation is published and the bidder logs

  • Connect to other computer in Finder

    When I browse our network at work in the Finder and select a PC it says Connection failed. When I click Connect as nothing happens. When I connect using Command+K or open a network location file (or whatever it is called) that points to a share on th