Applescript  to launch and run an iPhoto Slideshow - needed

How do I make an applescript that will launch and run an iphoto Slideshow for
my dementia Mama.
She can read email, but iPhoto is too much for her.
Also, can iPhoto slideshows play just a specified album
Thanks!

Welcome to this forum.
The following script should launch a slideshow from the choosen iPhoto album, using the predefined slideshow settings. Just press the Escape key to end the slideshow.
*tell application "iPhoto"*
activate
*set R to choose from list (get name of albums 9 through -1) with prompt "Please choose an album:"*
*if R is false then return* -- user canceled
*set theAlbum to (album 1 whose name is item 1 of R)*
*select theAlbum*
*select photo 1 of theAlbum*
*start slideshow*
*end tell*
Hope it can help.

Similar Messages

  • How to launch and run script against safari using selenium webdriver

    I am trying to launch and run my selenium webdriver script using safari but its launching safari but not running script. Its throwing belwo error message..
    org.openqa.selenium.remote.UnreachableBrowserException: Failed to connect to SafariDriver after 50052 ms
    Build info: version: '2.33.0', revision: '4e90c97', time: '2013-05-22 15:33:32'
    System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_25'
    Driver info: driver.version: SafariDriver
        at org.openqa.selenium.safari.SafariDriverCommandExecutor.start(SafariDriverComman dExecutor.java:113)
        at org.openqa.selenium.safari.SafariDriver.startClient(SafariDriver.java:112)
        at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:110)
        at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:115)
        at org.openqa.selenium.safari.SafariDriver.<init>(SafariDriver.java:83)
        at org.openqa.selenium.safari.SafariDriver.<init>(SafariDriver.java:73)
        at LinkText.setUp(LinkText.java:38)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.jav a:47)
        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java :12)
        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java: 44)
        at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
        at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:7 0)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:5 0)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
        at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestRefere nce.java:50)
        at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunne r.java:467)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunne r.java:683)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.jav a:390)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.ja va:197)

    Hey Reese
    You bailed me out, dude! Apparently, my difficulties stemmed from me trying to directly edit /var/cron/tabs/root with pico. Never seemed to bother the other stuff, but it did this time. I am totally inept with vi, the default editor for crontab -e, which is why I had cheated before, and directly edited the /var/cron/tabs/root, el.al., so I had to find out how to
    export EDITOR='pico'
    in my .bashrc
    After having done that, no problem, except for a latent programming logic bug that has reared its ugly head (my script is doing some date manipulation with today's and yesterday's date, and my script crashed and burned on the month change and with stuff related to single-digit date sequence numbers <10).
    But, hey, I learned how to reset my default editor, so as to make life easier for me when it comes time to dorking with crontab files, and I learned that when the crontab file says "DO NOT EDIT THIS FILE - edit the master and reinstall," it means it!
    Thanx for the troubleshooting hint.

  • Adobe Flash Projector EXE files signed with Authenticode digital signatures do not launch and run.

    I am failing to digitally sign Adobe Flash projector exe files.
    Adobe Flash Projector EXE files signed with Authenticode digital signatures do not launch and run successfully.
    It is not currently possible to directly sign a Flash Projector EXE file. Doing so is causing the projector to fail to launch or run.
    What is the way to do it without involving 3rd party tool

    I searched for this in our bug database, but the only bug I found was reported (and deferred) back in 2008.  Other than using 3rd party tools, it doesn't look like this is possible.  I'd recommend opening a new bug report on this over at bugbase.adobe.com.  Please post back with the URL or bug number so others can vote and add their comments.
    Thanks,
    Chris

  • I have a Macbook Pro 15" that is three and a half years old.  Although it has slowed a bit, it still runs well and runs every program I need. Any tips for how to keep this old computer running well and in good health?

    I have a Macbook Pro 15" that is three and a half years old.  Although it has slowed a bit, it still runs well and runs every program I need. Any tips for how to keep this old computer running well and in good health?
    I have a 250 gig drive and try to keep at least 100 gigs unused at all times, 4 GB 667 MHz DDR2 SDRAM memory, back up with Time Machine and CrashPlan, and have OS X 10.7.3.
    This was my first Mac since an old Apple II GS.  After that I used PC's and got really good at reformatting, replacing drives, reinstalling, defragging, resolving software conflicts, etc.  Since switching back to Macs (five in my extended family now), I haven't had to do any of those things. So, although, the cost is three times as much, the aggrevation has been ten times less.
    I'm retired and living on a fixed income and would therefore like to keep this computer running as opposed to constatntly upgrading.
    That said, any tips?
    Thanks
    It does have a crack on the left of the screen case about 3/4'' up from the bottom.  I've posted that as another question.

    Kappy's Personal Suggestions for OS X Maintenance
    For disk repairs use Disk Utility.  For situations DU cannot handle the best third-party utilities are: Disk Warrior;  DW only fixes problems with the disk directory, but most disk problems are caused by directory corruption; Disk Warrior 4.x is now Intel Mac compatible. Drive Genius provides additional tools not found in Disk Warrior.  Versions 1.5.1 and later are Intel Mac compatible.
    OS X performs certain maintenance functions that are scheduled to occur on a daily, weekly, or monthly period. The maintenance scripts run in the early AM only if the computer is turned on 24/7 (no sleep.) If this isn't the case, then an excellent solution is to download and install a shareware utility such as Macaroni, JAW PseudoAnacron, or Anacron that will automate the maintenance activity regardless of whether the computer is turned off or asleep.  Dependence upon third-party utilities to run the periodic maintenance scripts was significantly reduced since Tiger.  These utilities have limited or no functionality with Snow Leopard or Lion and should not be installed.
    OS X automatically defragments files less than 20 MBs in size, so unless you have a disk full of very large files there's little need for defragmenting the hard drive. As for virus protection there are few if any such animals affecting OS X. You can protect the computer easily using the freeware Open Source virus protection software ClamXAV. Personally I would avoid most commercial anti-virus software because of their potential for causing problems. For more about malware see Macintosh Virus Guide.
    I would also recommend downloading a utility such as TinkerTool System, OnyX 2.4.3, or Cocktail 5.1.1 that you can use for periodic maintenance such as removing old log files and archives, clearing caches, etc.
    For emergency repairs install the freeware utility Applejack.  If you cannot start up in OS X, you may be able to start in single-user mode from which you can run Applejack to do a whole set of repair and maintenance routines from the command line.  Note that AppleJack 1.5 is required for Leopard. AppleJack 1.6 is compatible with Snow Leopard. There is no confirmation that this version also works with Lion.
    When you install any new system software or updates be sure to repair the hard drive and permissions beforehand. I also recommend booting into safe mode before doing system software updates.
    Get an external Firewire drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
    Carbon Copy Cloner
    Data Backup
    Deja Vu
    SuperDuper!
    SyncTwoFolders
    Synk Pro
    Synk Standard
    Tri-Backup
    Visit The XLab FAQs and read the FAQs on maintenance, optimization, virus protection, and backup and restore.
    Additional suggestions will be found in Mac Maintenance Quick Assist.
    Referenced software can be found at CNet Downloads or MacUpdate.
    Be sure you have an adequate amount of RAM installed for the number of applications you run concurrently. Be sure you leave a minimum of 10% of the hard drive's capacity as free space.
    Adding more RAM, if feasible, and a new, faster hard drive may also help pep it up a little.

  • Xcode 4 and applescript to build and run a target

    I am not really able to find clear info about how this should work; seems that since Xcode4 was introduced, Applescript does not work anymore with it.
    All that i have to do is to launch Xcode4, open a project, select a target and build and run (to be more specific, i have a test target that runs Unit tests; that's what i am trying to launch); but so far I was unable to tell Applescript how to do this simple action.
    The project is fine, it builds and runs nicely, even using xcodebuild; but it doesn't seem to work if i try via Applescript.
    Is there anyone that knows how to actually tell Xcode to build a specific target with specific build settings? I am running the simulator4.0 as SDK. configuration Debug, target called "mytestsuite".
    So far I can only launch and load the project into Xcode, but any other option fails, like when i tell the project that i want to build.
    Any help is more than appreciated; the lack of resources honestly is making me think to abandon Applescript for something that has more examples and is much more user friendly...but for now I gotta use it so can't avoid to deal with it (can't use xcodebuild sadly).
    Thanks in advance for any info.

    No worries; my nick is pretty common among people that likes Japanese animation (is the nick of the main protagonist of a series called *******!!! that was pretty popular in the 90s); the only place where i use it is mainly here or on pelicanparts and classicamiga.
    Anyway surprise me that nobody use applescript to build Xcode4 projects; probably everyone uses either xcode3 or just use xcodebuild.

  • Macbook launching and running slowly and server error on start up.

    Please help! My macbook pro has been acting up lately (not exclusively since installing Mavericks, but I don't think that has helped either). The macbook has been taking longer than usual to start up initially (boot) and to start each program (with no particular program being worse than others).
    The screen often freezes when browsing online, even when browsing low text-base websites.
    I am also receiving this error when I start up the computer, but this has been happening for some time now so I'm unsure of it's impact:
    "There was a problem connecting to the server 'wrt610n' The server may not exist or it is unavailable at the time" I don't recognise that server name, so how do I go about fixing that?
    I have included a copy of the Etresoft EtreCheck report which I am hoping will help!
    EtreCheck version: 1.9.12 (48)
    Report generated 18 June 2014 7:15:43 PM AEST
    Hardware Information:
              MacBook Pro (13-inch, Late 2011) (Verified)
              MacBook Pro - model: MacBookPro8,1
              1 2.4 GHz Intel Core i5 CPU: 2 cores
              4 GB RAM
    Video Information:
              Intel HD Graphics 3000 - VRAM: 384 MB
                        Color LCD 1280 x 800
    System Software:
              Mac OS X 10.7.5 (11G63) - Uptime: 0 days 0:1:31
    Disk Information:
              TOSHIBA MK5065GSXF disk0 : (500.11 GB)
                        disk0s1 (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) / [Startup]: 499.25 GB (155.8 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
              MATSHITADVD-R   UJ-8A8 
    USB Information:
              Apple Inc. Apple Internal Keyboard / Trackpad
              Apple Inc. BRCM2070 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple Inc. FaceTime HD Camera (Built-in)
              LaCie Rugged Mini USB 3 1 TB
                        Maddie's Things! (disk1s1) /Volumes/Maddie's Things!: 1 TB (758.19 GB free)
              Apple Computer, Inc. IR Receiver
    Thunderbolt Information:
              Apple, Inc. MacBook Pro
    Kernel Extensions:
              [loaded] com.LaCie.ScsiType00 (1.2.9 - SDK 10.6) Support
              [loaded] com.jmicron.driver.jmPeripheralDevice (2.0.4) Support
              [loaded] com.lacie.driver.LaCie_RemoteComms (1.0.1 - SDK 10.4) Support
              [loaded] com.oxsemi.driver.OxsemiDeviceType00 (1.28.13 - SDK 10.5) Support
    Launch Daemons:
              [running] com.lacie.desktopmanager.service.plist Support
              [loaded] com.microsoft.office.licensing.helper.plist Support
    Launch Agents:
              [loaded] com.lacie.eventsactions.launcher.agent.plist Support
    User Launch Agents:
              [loaded] com.adobe.ARM.[...].plist Support
              [loaded] com.facebook.videochat.[redacted].plist Support
              [loaded] com.google.keystone.agent.plist Support
              [loaded] com.spotify.webhelper.plist Support
    User Login Items:
              iTunesHelper
              Public
              TomTomHOMERunner
              LDMStatusItem
              Android File Transfer Agent
    Internet Plug-ins:
              AdobePDFViewerNPAPI: Version: 10.1.9 Support
              DirectorShockwave: Version: 11.6.8r638 Support
              AdobePDFViewer: Version: 10.1.9 Support
              QuickTime Plugin: Version: 7.7.1
              JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Check version
              SharePointBrowserPlugin: Version: 14.0.0 Support
    Safari Extensions:
              Searchme: Version: 1.3
              Ebay Shopping Assistant: Version: 1.1
              Slick Savings: Version: 2.0
              Amazon Shopping Assistant: Version: 1.1
    Audio Plug-ins:
              iSightAudio: Version: 7.7.1 - SDK 10.7
    iTunes Plug-ins:
              Quartz Composer Visualizer: Version: 1.3 - SDK 10.7
    User iTunes Plug-ins:
              TuneUp Visualizer: Version: 2.4.0 - SDK 10.7 Support
    3rd Party Preference Panes:
              None
    Time Machine:
              Time Machine not configured!
    Top Processes by CPU:
                  47%          WebProcess
                  31%          Safari
                   2%          mds
                   2%          WindowServer
                   1%          hidd
    Top Processes by Memory:
              185 MB          Safari
              153 MB          WebProcess
              57 MB          WindowServer
              57 MB          Preview
              45 MB          Finder
    Virtual Memory Information:
              2.20 GB          Free RAM
              865 MB          Active RAM
              139 MB          Inactive RAM
              833 MB          Wired RAM
              180 MB          Page-ins
              0 B          Page-outs

    Thanks Sham for your reply.
    I forgot to update the group.
    The issue turned out be disabling the mcafee while installing the CQ instance.
    mcafee was blocking the osgi bundles to get installed and my login and welcome screen were not up due to missing bundles.
    Bundle information: 122 bundles in total, 119 bundles active, 3 active fragments, 0 bundles resolved, 0 bundles installed.
    Now, I have disabled the mcafee, while installing the CQ and now it successfully started and with all the bundles installed.
    Bundle information: 231 bundles in total, 224 bundles active, 7 active fragments, 0 bundles resolved, 0 bundles installed.
    Hope it helps some one!
    Best Regards,
    Durga

  • Titles and captions in iphoto slideshows on ipad

    I am using iphoto on the ipad.  Ive managed to add photos and music but want to professionalise my slideshow by adding some title pages and captions.  Dont seem to be able to find out how to do this?  I've clicked on ? But there doesn't seem to be any hints.

    Well, Ive found the caption adder in edit, but what about title pages?  Can anyone help with this?

  • Slow Launch and Scan of iPhoto Videos

    When I launch iMovie 11 (9.0.4), the app launches very quickly, but then beachballs for over a minute while my iPhoto Videos load. Previously, iMovie would ask if I'd like to build thumbnails and I'd answer no, and then manually import only the videos I wanted to work with. Now, I'm never prompted to build thumbnails and it seems iMovie is scanning my iPhoto library everytime the app launches.
    Is this normal behaviour for 9.0.4 and is there any way to speed things up?

    Someone else was having a related, though not quite the same issue with iPhoto Videos. I did a lookup on Google to see what some people recommend and found this on the MacRumours forums: http://forums.macrumors.com/showthread.php?t=477746. It seems pretty drastic to pull the videos out of iPhoto just to get them to disappear in iMovie, but that's what one person that forum was suggesting. It would be way better if there was a switch that turned off the monitoring of the iPhoto Video folder in iMovie, that's for sure.

  • Clip length and Workflow with iPhoto (I need a pdf for a final...)

    I'm feeling like a total lunkhead after taking a number of passes at this in the past year.
    Short question:
    How do I control clip length in iMovie? Does it work one way when you bring images in and another way when you bring in a slideshow?
    Long question:
    I need to get from images organized in iphoto to a pdf or ppt presentation and right now this means I am organizing the photos in iPhoto (a breeze), exporting as wmv and then importing this into iMovie. In iMovie I am just adding a title on the first "slide".
    Now I am trying to make sure I have no dissolve effects between slides, make sure I can control the length of each slide and to get this exported into a "manually" advanced pdf.
    At some point I would like to get some vector based linework into my presentations as well and for some reason I am bypassing Keynote in the above setup.
    Can anyone help me get to a manual pdf so I can get out of the ditch here?
    Thanks for any help.

    It sounds like you've got a somewhat complicated issue.
    I'm simply trying to create match a single image file with a 35:00 min podcast so I result in a movie that I can upload to Vimeo (they don't accept audio, only video). I'll watch your post to see if anyone can explain making still images longer (mine caps at 10:00 min).

  • Deleting photos in iPhoto slideshow - need assistance asap!

    I'm making a slideshow in iPhoto.  I have tried to delete photos from the slideshow by first highlight the photo, then clicking on "Photo" in the menu and then clicking on "Delete from Album".  I deleted several photos and it appeared as if they had been taken out of the slideshow.  When I go back to view it the same photos that I thought I deleted again show up in the show.  Huh?  What am I doing wrong?  I've got to finish this slideshow this weekend!  Thanks in advance.

    Click on the thumbnail of the photo in the tray at the top of the slideshow window and use the Delete key.  Deleting them from the album they were imported from will not delete them from the slideshow.
    OT

  • I am not able to open my itunes as of about 4 days ago.  I run Windows 7... I've have a computer tech in my office for 2.5 hrs and we could not get my itunes up and running.  I now need your help!  (I've paid 150.00 in fees to my computer guy.)

    I have had itunes forever!!  When I try to open my itunes now...it says I am missing MSVCR80.dll.
    I had my computer tech in and he was unsuccessful after 2.5 hrs and 150.00 later.
    I run windows 7 and have for about 3 years....and only now, just lost my itunes. 
    What is going on?  As I also by my music by itunes and had a 25.00 credit on it
    How can you help me? 

    Hi Coreenfrombc,
    If you are having issues with iTunes after an attempted update, you may find the following article helpful:
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    Regards,
    - Brenden

  • I just upgraded my OS X 10.6.4 to Mavericks and now my iPhoto '09 needs an upgrade.  Will I lose all my photos if I do the upgrade?

    I upgraded my two Macbook Pro's yesterday to Mavericks, from OS X 10.6.4.  I can't seem to open iPhoto on ONE of them.   I believe it's the same on both computers, iPhoto '09.  So I went in the App store and clicked upgrade my iPhoto. Now it says the library needs to be upgraded to work with this newer version of iPhoto.  Help!  Am I going to lose all my photos?

    I believe it's the same on both computers, iPhoto '09.
    Check the iPhoto versions. The version number should be shown below in the "General" section of the Info panel, when you select iPhoto in the Finder and use "File > Get Info".  With Mavericks you should be using iPhoto 9.5.1.  You can buy the upgrade from the App Store.
    Will I lose all my photos if I do the upgrade?
    No, but never do an upgrade without making a backup of your computer, just in case something is wrong.
    Your photos are in your iPhoto library. After installing the upgraded version,  the iPhoto Library will be upgraded to a new format, when you open it the first time in iPhoto.
    If you want to use your iPhoto Library on both your computers, the iPhoto version should be the same.

  • Can i use osx lion server as a server for my online forum business? if so, what else do i need to get up and running. i know i need forum software. any suggestions?

    hello fellow apple lovers. I am in desperate need of advice. I am going to be starting an online forum business in the coming weeks. I was wondering if osx lion server would be able to function as my business server. I also need mac compatible forum software. Any suggestions? Thanks, Bryan

    If you have to use old Digidesign now Avid stuff, try to get hold of a DIGI 003 or a MBox pro. The 002 really sounds horrific (no offense) and I doubt it will be of any use in ML, even the MBox pro sounds better……..
    By the way, I thought that since ProTools 9 one could use any hardware of choice in combo. If you must use PTools, I would defiantly look for a more up to date hardware and Avid wouldn't be my first choice!
    Have a nice day!

  • Applescript to launch & run iSync...

    does anybody have an Applescript to launch and run iSync each day at a particular time?
    cheers

    Hi Ric,
    To sync is a one liner:
    tell application "iSync" to synchronize
    You could schedule this to run using Launchd (see Lingon for a Launchd editor), Cron (see Cronnix for a Cron editor) or with iCal (see this page).
    Best wishes
    John M

  • Run scripts when program launches and quits?

    Howdy all!
    Skipping the details: I need to run an AppleScript when a specific program launches and run another AppleScript when that program quits. Anyone know of a free/easy way to do this? (A custom script would work great but my knowledge of AppleScript is limited.)
    I have found a few programs that can do this but have yet to find the "perfect" one. For example: In the past I have jury-rigged ControllerMate to do it, but this is for a new computer and I don't want to spend $25 for this simple purpose. I also found Do Something When but the program hasn't been updated in 6 years so I am hesitant to use it.
    Any other thoughts on free programs or where I could find info for a custom script?
    Matthew

    You will need to use something that can observe NSWorkspace events.  An Applescript can be used, how easy depends on the OS you are using (if you are still using Leopard, you will need to use Xcode).   Do Something When still works, as far as I can tell. 

Maybe you are looking for