Skip to main content

I've a big problem with an export applescript. I would like to export many keynote files to powerpoint files. I found this script below, but there is an error that tells that the menu item "Exporter..." ("Export..." in English, my version is in french) doesn't exist. When I change "Exporter..." by "Fermer", it works very well!!!? May you help me?

below the script I've written:

set thisFile to "/Users/kyou83/Documents/pépépé.key" tell application "System Events" tell application "Keynote" activate open thisFile end tell tell process "Keynote" click menu item "Exporter..." of menu of menu bar item "Fichier" of menu bar 1 end tell end tell

set thisFile to "/Users/kyou83/Documents/pépépé.key"
tell application "System Events"
    tell application "Keynote"
        activate
        open thisFile
    end tell
    tell process "Keynote"
        click menu item "Exporter..." of menu of menu bar item "Fichier" of menu bar 1
    end tell
end tell

''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' And here the error description

error "Erreur dans System Events : Il est impossible d’obtenir menu item "Exporter..." of menu of menu bar item "Partage" of menu bar 1 of process "Keynote"." number -1728 from menu item "Exporter..." of menu of menu bar item "Partage" of menu bar 1 of process "Keynote"

I've a big problem with an export applescript. I would like to export many keynote files to powerpoint files. I found this script below, but there is an error that tells that the menu item "Exporter..." ("Export..." in English, my version is in french) doesn't exist. When I change "Exporter..." by "Fermer", it works very well!!!? May you help me?

below the script I've written:

set thisFile to "/Users/kyou83/Documents/pépépé.key" tell application "System Events" tell application "Keynote" activate open thisFile end tell tell process "Keynote" click menu item "Exporter..." of menu of menu bar item "Fichier" of menu bar 1 end tell end tell

''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' And here the error description

error "Erreur dans System Events : Il est impossible d’obtenir menu item "Exporter..." of menu of menu bar item "Partage" of menu bar 1 of process "Keynote"." number -1728 from menu item "Exporter..." of menu of menu bar item "Partage" of menu bar 1 of process "Keynote"

I've a big problem with an export applescript. I would like to export many keynote files to powerpoint files. I found this script below, but there is an error that tells that the menu item "Exporter..." ("Export..." in English, my version is in french) doesn't exist. When I change "Exporter..." by "Fermer", it works very well!!!? May you help me?

below the script I've written:

set thisFile to "/Users/kyou83/Documents/pépépé.key"
tell application "System Events"
    tell application "Keynote"
        activate
        open thisFile
    end tell
    tell process "Keynote"
        click menu item "Exporter..." of menu of menu bar item "Fichier" of menu bar 1
    end tell
end tell

''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' And here the error description

error "Erreur dans System Events : Il est impossible d’obtenir menu item "Exporter..." of menu of menu bar item "Partage" of menu bar 1 of process "Keynote"." number -1728 from menu item "Exporter..." of menu of menu bar item "Partage" of menu bar 1 of process "Keynote"

Source Link

Problem with my applescript to export keynote files to powerpoint

I've a big problem with an export applescript. I would like to export many keynote files to powerpoint files. I found this script below, but there is an error that tells that the menu item "Exporter..." ("Export..." in English, my version is in french) doesn't exist. When I change "Exporter..." by "Fermer", it works very well!!!? May you help me?

below the script I've written:

set thisFile to "/Users/kyou83/Documents/pépépé.key" tell application "System Events" tell application "Keynote" activate open thisFile end tell tell process "Keynote" click menu item "Exporter..." of menu of menu bar item "Fichier" of menu bar 1 end tell end tell

''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' And here the error description

error "Erreur dans System Events : Il est impossible d’obtenir menu item "Exporter..." of menu of menu bar item "Partage" of menu bar 1 of process "Keynote"." number -1728 from menu item "Exporter..." of menu of menu bar item "Partage" of menu bar 1 of process "Keynote"