Applescript Adobe Acrobat Pro将图像保存为PDF
我正在尝试编译一个applescript,让Adobe Acrobat Pro将PDF中的选定图像保存为JPEG格式 这是我到目前为止所拥有的,但我无法让它发挥作用 非常感谢 达里尔 告诉应用程序Adobe Acrobat Pro 激活-培养杂技演员Applescript Adobe Acrobat Pro将图像保存为PDF,applescript,adobe,acrobat,Applescript,Adobe,Acrobat,我正在尝试编译一个applescript,让Adobe Acrobat Pro将PDF中的选定图像保存为JPEG格式 这是我到目前为止所拥有的,但我无法让它发挥作用 非常感谢 达里尔 告诉应用程序Adobe Acrobat Pro 激活-培养杂技演员 tell application "System Events" tell process "Acrobat" click menu item "Save As" of menu 1 of menu bar item "F
tell application "System Events"
tell process "Acrobat"
click menu item "Save As" of menu 1 of menu bar item "File" of menu bar 1
click menu item "Image" of menu 1 of menu bar item "Save As"
click menu item "JPEG" of menu 1 of menu bar item "Image" of menu bar 1
end tell
end tell
结束讲述尝试一下
activate application "Adobe Acrobat Pro"
tell application "System Events"
tell process "Acrobat"
click menu item "JPEG" of menu 1 of menu item "Image" of menu 1 of menu item "Save As" of menu 1 of menu bar item "File" of menu bar 1
click button "Save" of window "Save As"
end tell
end tell
在OS X 10.9.4 | Adobe Acrobat Pro 10.1.10上测试一期。。。我的兴奋有点过早。。。
这样可以保存整个页面。如果在Acrobat中选择图像并右键单击该图像并选择“保存图像”。请查看您是否对此有任何改进。Magic!感谢您的帮助,这将保存整个页面。如果在Acrobat中选择图像并右键单击该图像并选择“保存图像”。请查看您是否有解决此问题的方法。不幸的是,Adobe脚本库不允许将gui脚本编写到PDF中,因为PDF中没有任何元素,因此您必须求助于类似applescript+鼠标工具的混合系统,在该系统中,您可以使用坐标系控制鼠标来执行单击。当然,这只有在图像始终位于同一坐标空间时才有用。