Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Create a Keynote presentation at screen resolution' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create a Keynote presentation at screen resolution
Authored by: mr. applescript on Mar 19, '09 06:54:16AM
Try this method of getting the screen dimensions (from the book AppleScript 1-2-3):
tell application "Finder"
	copy bounds of the window of the desktop to {h, v, screen_width, screen_height}
end tell

tell application "Keynote"
	activate
	
	if exists window "Theme Chooser" then close window "Theme Chooser"
	
	-- chose a theme for a new presentation 
	set chosenTheme to (choose from list (name of appThemes as list)) as Unicode text
	
	-- create a new slideshow based on the computer's resolution 
	set thisSlideshow to make new slideshow with data {theme:chosenTheme, slideSize:{screen_width, screen_height}}
	
end tell


[ Reply to This | # ]