How to resize a Keynote slideshow?

独自空忆成欢 提交于 2019-12-25 05:29:14

问题


I'm an absolute newbie with Applescript but I need to know, first of all, if is it possible to launch a Keynote Slideshow and then how to resize that slideshow to a particular dimension and rect on the desktop.

I know you to start a slideshow. I Know how to resize a window with

set the bounds of the window 1 to {0, 0, 200, 400}

but don't know how to pass this command to the Keynote slideshow, if it is possible.. Any hints??


回答1:


You can resize the windows of any application by using a 'tell' statement or block. In your case, you would use:

tell application "Keynote" to set the bounds of window 1 to {0, 0, 200, 400}


来源:https://stackoverflow.com/questions/11646342/how-to-resize-a-keynote-slideshow

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!