sourceforge-appscript
Ruby way of handling shell command that evokes a MacOS securityd window
I have a simple problem that I\'d like to see if people here can help me with.Currently, I\'m writing some test automation to handle a simple in house command line tool that dumps the contents of a sm[详细]
2023-04-03 03:59 分类:问答AppleEvent handler from OSAX causes other AppleEvents to fail
The code from appscript import * ps = app(\"Adobe Photoshop CS5\") ps.do_javascript works if Photoshop is not running yet. In that case, it starts up Photoshop and it finds the do_javascript method[详细]
2023-04-02 07:23 分类:问答Python appscript OSAX display_dialog: how to move it to foreground
I am playing around with the example from here; esp. I have this code: from osax import * sa = OSAX() print sa.display_dialog(\"Python says hello!\",[详细]
2023-03-28 09:55 分类:问答Python appscript File type usage of non-existing files. error -1700
I tried to follow some Python appscript examples from here. The following code import mactypes, aem mactypes.File(\"foo.j开发者_运维百科pg\").desc.coerce(aem.kae.typeFSS)[详细]
2023-03-28 00:00 分类:问答Python appscript error: OSERROR: -1700, Can't make some data into the expected type
from appscript import * ps = app(\"Adobe Photoshop CS5\") s = ps.current_document.save s._labelledargterms[详细]
2023-03-27 23:48 分类:问答Translate AppleScript to Python appscript (`do javascript`)
This is the AppleScript template: tell application \"Adobe Photoshop CS5\" set theFile to alias “Application:Documents:MyFile” open theFile[详细]
2023-03-27 23:44 分类:问答How to get path of currently selected file in Finder with rb-appscript in OSX Lion
In OSX 10.6 I used the following code to do something to each currently selected file in Finder: app(\'Finder\').selection.get.each do |item|[详细]
2023-03-26 18:58 分类:问答Using rb-appscript to write a bulleted/numbered list in pages or textedit
I need to use rb-appscrip开发者_Python百科t to create a new Pages document that contains bulleted and numbered lists. Looking in to this, I see that paragraphs have a property called list_style, but I[详细]
2023-03-14 01:29 分类:问答py-appscript filter with datetime
I am trying to use the day field of a datetime property as a filter when selecting events from an iCal calendar.[详细]
2023-02-27 12:25 分类:问答rb-appscript: Accessing parent reference?
Is there an easy way to find the parent element reference of a reference? For example, suppose I have the following reference:[详细]
2023-02-26 00:51 分类:问答