Access body part of any keynote slide using Applescript

Hi,
Is there any way I can access body part of Keynote slide?
I tried with this code but it doesn't work..
tell application "Keynote"
tell slideshow 1
set slidebody to "Apple"
set body of slide 1 to slidebody
-- Title works perfactly
set slideTitle to "Computer"
set title of slide 1 to slideTitle
end tell
end tell
Any help will be appreciated.
Thanks,
Rohit

You should try the discussion that covers Apple script:    Apple Technologies

Similar Messages

  • How do I spell check my keynote slides using my ipad

    I am using Keynote on my iPad. How do I check spelling on the presentation slides?

    Model No. A1084
    The light is green.
    Thanks for checking this.
    Unfortunately, this is an older version of the AirPort Express that cannot be configured using an iPad.
    You could still configure the Express using a Mac or PC. Might you have one there?
    If you do have a Mac, we need to know what operating system it is using to provide more instructions for you.
    Click the Apple icon in the upper left hand corner of the screen and then click About This Mac. Look for the version of OS X and post back with that info.

  • Resize a Keynote slide with Applescript

    Hi, I'm trying for hours to resize a Keynote presentation in a window, but with no success.
    I'm starting thinking that it's impossible..
    With
    tell application "Keynote"
      start
              set the bounds of the window 2 to {0, 0, 800, 600}
    end tell
    it doesn't work properly..
    Is there a way to launch the slideshow and then change the rect (size and position) of the presentation to show, for example, the slideshow in a particularly part of the desktop?
    Any hints would be appreciate...
    Thanks

    Any particular reason for those specific technologies?  wget does not exist on a mac, although you can nstall it I guess.  OS X has curl installed which should do pretty much anything you want to do with wget.  cron is being replaced by launchd, although cron still exists on mountain lion.
    As far as I can tell from automator all the standard 'actions' to access keynote  available to it require keynote to be open and running, but does not provide a function to actually open it.  So I think you will have to write some applescript, as a minimum to open and quit keynote. I notice that the keynote actions are mostly circa 2005 an wonder if they would even work.
    Under utilities in automator 'actions' there is a capability to add applescripts as part of the workflow.
    Also, note that cron is being dprecated by Apple and replaced by launchd.  that said cron is stil on my mountain lion instalation.
    This entry at stackoverflow shows use of cron with curl to get web urls.  http://stackoverflow.com/questions/1683620/getting-started-with-cronjobs-on-a-ma c
    If I have any time I may try and get this to work as it is quite interesting and new to me.  But otherwise, good luck.

  • Exporting from Keynote 08 using applescript or automator

    Hi
    Does anyone have a method for triggering an export from applescript of an open keynote presentation, I have an action that takes a sequence of images (exported slides) sorts and loads into an new presentation and I would like to then export as .ppt
    This allows the sad ppt user to see the slides perfectly formed (and stops them editing and stealing my ideas). However the last step of the export I have to do manually as I cant see any actions in automator or anything in the applescript dictionary.
    Any ideas
    thanks
    Jon

    I have exactly the same question. I have been experimenting with AS. I found some code that almost works, but it won't select the PDF button. The sheet with the buttons is obviously not a radio button group, and I can't work out what it is.
    tell application "Finder"
    set draggeditems to (choose file)
    repeat with thisFile in draggeditems as list
    tell application "Finder" to reveal item thisFile
    set thisFile to thisFile as alias
    tell application "Keynote" to open thisFile
    tell application "System Events"
    tell application process "Keynote"
    set frontmost to true
    if menu item "Hide Inspector" of menu 1 of menu bar item "View" of menu bar 1 exists then
    keystroke "i" using {command down, option down}
    end if
    click menu item "Export…" of menu 1 of menu bar item "File" of menu bar 1
    repeat until sheet 1 of window 1 exists
    end repeat
    tell sheet 1 of window 1
    click button "PDF" of radio group 1
    click checkbox "Include slide numbers"
    click checkbox "Include date"
    click checkbox "Print each stage of builds"
    click button "Next…"
    end tell
    repeat until button "Export" of sheet 1 of window 1 exists
    end repeat
    tell sheet 1 of window 1
    click button "Export"
    end tell
    delay 3
    keystroke "w" using command down
    end tell
    end tell
    end repeat
    end tell

  • Access elements inside a dialog box/window using applescripts

    Am new to applescript. I want to access elements inside a dialog box/window. I tried following code.
    tell application "System Events" set procs to processes set windowName to {} repeat with proc in procs try if exists (window 1 of proc) then repeat with w in windows of proc if w's name contains "App Name" then copy w's name to the end of windowName copy properties of w to the end of windowName end if end repeat end if end try -- ignore errors end repeat end tell return windowName
    But am only able to get the 4 elements from window: 1.Close 2.Minimize 3.Maximize 4.window title
    Nothing from inside the window/dilog.
    Can any one help me with this pls?

    Hi,
    Like this :
    tell application "System Events"
          tell process "App Name"
                tell (first window) to if exists then return UI elements
          end tell
    end tell

  • How to place a html page into body part of mail?

    Hi,
    I want to place a html page into body part of any mail.How can i do this?
    Thanks...

    just set ur message type to text/html and put ur whole html string into the body will do...

  • Using AppleScript to find specific text in mail message?

    I'm new to scripting, and I'm a bit lost on this one...
    Is there any way to use AppleScript to find a file name from within the body of a mail message so it can be used later in the script?
    Specifically, I want to use AppleScript to "read" the content of a mail message and look for a paragraph that says "Filename: MyFileName" so I can set "MyFileName" as a variable. (There will always be a paragraph that begins with "Filename: " in this particular email message.)
    This will part of a larger script that uses Fetch to download "MyFileName" from our FTP server.
    Thanks in advance for any ideas - I'm struggling with this one.
    Andy Gill

    Ok, red_menace above me had a shorter and more elegant solution to the question, I'm adding this just for another example.
    To solve your problem I'd make a mail rule that looked for any messages with "Filename:" in them (along with whatever criteria you wanted, like sender, domain, etc). The mail rule would execute the Applescript. My assumption is that the "Filename:foobar" text could be anywhere in the email, not necessarily the first thing in a paragraph, so I had to parse it differently.
    The results end up in a datalist, (theFilename {} ) that you can parse later to collect all filenames found in whatever messages were processed.
    I realize this could be cleaner, hope it's not hard to follow, but I did it really fast. It works flawlessly for me, picking out the name of the file no matter where in the email it appears.
    using terms from application "Mail"
    on perform mail action with messages theSelectedMessages for rule theRule
    repeat with aCounter from 1 to count theSelectedMessages
    set theMessage to item aCounter of theSelectedMessages
    set theContent to content of theMessage
    set theWords to every word of theContent
    set theFilename to {}
    set tid to AppleScript's text item delimiters
    set AppleScript's text item delimiters to ":"
    repeat with thisLoop in theWords
    try
    if (text item 1 of thisLoop) is "Filename" then
    set end of theFilename to (text item 2 of thisLoop)
    -- rest of your logic goes here the display is just to show it finds the filename, take it out!
    display dialog theFilename ¬
    buttons {"OK"}
    end if
    end try
    end repeat
    set AppleScript's text item delimiters to tid
    end repeat
    end perform mail action with messages
    end using terms from
    Message was edited by: stephen.bradley Typos for the win!

  • My Imac is ejecting every disk inserted in it, I cannot access the disks, can any body help me troubleshoot the problem. I am using snow leopard.

    My Imac is ejecting every disk inserted in it, I cannot access the disks, can any body help me troubleshoot the problem. I am using snow leopard.

    Try resetting the SMC Intel-based Macs: Resetting the System Management Controller (SMC) - Apple Support
    and PRAM How to Reset NVRAM on your Mac - Apple Support
    If those don't help you can try a cleaning disc or a quick shot of compressed air. Chances are that your drive has failed, join the club it's not all that uncommon. You can either have it replaced or purchase an inexpensive external drive. Don't buy the cute little Apple USB Superdrive, it won't work on macs with internal drives working or not.

  • How can I use wget, cron and Automator to periodically pull a dynamic image from a URL to local storage, and then update a Keynote slide with that image, automatically?

    How can I use wget, cron and Automator to periodically pull an image from a URL (which is dynamically updated - like a weather map, say - to local storage, and then update a Keynote slide with that image, automatically?

    Any particular reason for those specific technologies?  wget does not exist on a mac, although you can nstall it I guess.  OS X has curl installed which should do pretty much anything you want to do with wget.  cron is being replaced by launchd, although cron still exists on mountain lion.
    As far as I can tell from automator all the standard 'actions' to access keynote  available to it require keynote to be open and running, but does not provide a function to actually open it.  So I think you will have to write some applescript, as a minimum to open and quit keynote. I notice that the keynote actions are mostly circa 2005 an wonder if they would even work.
    Under utilities in automator 'actions' there is a capability to add applescripts as part of the workflow.
    Also, note that cron is being dprecated by Apple and replaced by launchd.  that said cron is stil on my mountain lion instalation.
    This entry at stackoverflow shows use of cron with curl to get web urls.  http://stackoverflow.com/questions/1683620/getting-started-with-cronjobs-on-a-ma c
    If I have any time I may try and get this to work as it is quite interesting and new to me.  But otherwise, good luck.

  • I use a web site called ACRIS- up until yesterday I could access all parts of the site, including calling up images of deeds. Now I can no longer get the images via firefox, but can them via windows explorer. Why? How do I fix this?

    I use a web site called ACRIS- it allows me to access NYC Finance dept records- specifically images of deeds. Up until yesterday I had no problem. Then without any apparent reason I could access all parts of the site, but could not access the deed images. First I thought it was a problem on their end, which sometimes happens, but after waiting 24 hours I was still having the problem. Then I tried windows explorer and it worked without any problem. How do I fix this?

    Hi jeffbeal,
    First question I would ask is what has changed recently? Did you add any new extensions or add-ons?
    I'd try starting Firefox in [[Safe Mode]]. If you don't have the issue while all of your add-ons, extensions, and themes are disabled, you can try adding them back in one by one until you find the culprit. You should look at the [https://support.mozilla.org/en-US/kb/Troubleshooting-extensions-themes Extensions and Themes troubleshooting guide ] and the [[Troubleshooting plugins]] article as well.
    Hopefully this helps!

  • My Imac is ejecting every disk inserted in it, I cannot access the disks, can any body help me troubleshoot the problem.

    My Imac is ejecting every disk inserted in it, I cannot access the disks, can any body help me troubleshoot the problem

    The frist thing to try is a drive-n disk. They are cheap (US$5-15) and easy to use. Many unresponsive drives, even ones declared "dead" by an Apple tech, have returned to service after a cleaning.
    Check with home entertainment specialty shops, electronic superstores and office supply outlets that sell computer accessories.

  • HT5067 When using a Keynote Widget with iBooks Author, do the transitions and builds between Keynote slides appear in the iPad preview version of the iBook, or only in the finished product?

    I'm using the Keynote Widget in iBooks Author, and the Keynote presentation uses the Magic move transition between slides.  When I preview the iBook on a new iPad, the Magic move transitions don't show up (i.e. the transition from slide to slide is standard, not Magic move).  Any suggestions?

    Hyperlinks and magic move should work but don't. However I  found the following as a workaround for me. Use three slides instead of two to generate the magic move effect in Keynote presentations on Ibooks using hyperlinks only. As an example
    Supose an object on  slide 1 was set as a hyperlink to go to a slide which then had a magic move effect to a third slide. For some reason it works on the mac, but not on ibooks. However you can create the magic move transition effect by simply adding a "dummy slide" as follows.  Suppose an object on slide 1 had an object which would hyperlink to slide 4. Duplicate Slide 4, and make the duplicate slide 5. Then set Slide 4  to automatically transition (with no effect) to the next slide (i.e. slide 5) after .5 seconds. Have Slide 5 set to transition to Slide 6 using magic move automatically after .5 seconds. By having the hyperlink point to slide 4 the magic move effect from Slide 5 to Slide 6 works fine (with a brief 1 sec delay). IF the hyperlink pointed directly to Slide 5, the magic move transition to slide 6 would not work.
    For some reason having an extra slide makes magic move work even though it is not needed on the mac. I hpe this helps.

  • I used to be able to copy and paste images from the internet into keynote slides and pages. Now when I copy and paste all I get is an empty  box. My iskysoft iTube studio has also stopped downloading videos. Is there an extension I need to enable?

    I used to be able to copy and paste images from the internet into keynote slides and pages. Now when I copy and paste all I get is an empty  box. My iskysoft iTube studio has also stopped downloading videos. Is there an extension I need to enable? Any ideas

    Try dragging the image to the desktop, then drag the image to the slide you want it on

  • Using Visio Web Access Web Part to dynamically display visio drawings in document library according to which folder a user is viewing

    I have a document library web part in SharePoint 2010. There is also a Visio Web Access Web Part on the same site, side by side with the doc lib. In the folder structure of the document library web part (it is pretty complex and a few levels deep),
    each folder contains one and one only Visio diagram. I want the Visio web access web part to display the visio drawing that exists in what ever folder the user is currently browsing. For example.. if the file structure is as follows below and a user clicks
    on folder A from the list I would like the Visio Web Access web part to display the visio diagram that lives in folder A. Same for any folder at all anywhere in the structure that the user is viewing, dynamically changing as the user browses the directory.
    Is this possible?
    1.0 Folder A
      1.1 Word Doc
      1.2 Visio Doc
      1.3 Folder a.1
        1.3.1 Word Doc
        1.3.2 Visio Doc
        1.2.3 PDF Doc
        1.2.4 Folder
    2.0 Folder B
      2.1 Word doc
      2.2 Visio doc
      2.3 pdf doc
      2.4 Folder B.1

    Got this to work. Made a new data view in a designer for document library. Created parameter and used it to filter the data view. Then I connected the visio's shape data to the parameter and OOB sorting and filtering works as expected.

  • I am sonu v s from india...i am a apple id user...now i have a problem regarding this apple ID...i forget my apple ID security Qn...so i can't access and purchase any apps by using my apple ID..4 tms i frwd my reqst using itune apps store bt no solutn

    I am sonu v s from india...i am a apple id user...now i have a problem regarding this apple ID...i forget my apple ID security question...so i can't access and purchase any apps by using my apple ID..4 times i frwd my reqst using itune apps store but i can't get any solution....many times i my try to call u bt there is no response from ur custmr support group...pls kindly give me any solution

    Contact the App store for Apple ID help. Their support link is on the right of the App store window
    LN

Maybe you are looking for