One of the commands that it does is copy my Safari bookmarks file into my Dropbox folder. To explain: I have an AppleScript application that executes a series of commands and then shuts down. The onus is upon the user to add any error handling as may be appropriate, needed or wanted. AppleScript: Connection is invalid What does this error message mean 'AppleScript: Connection is invalid'. Note: The example AppleScript code is just that and does not contain any error handling as may be appropriate. Since I have frequently run into problems with script applications I send other people not running on. "document.getElementsB圜lassName('magnifier').click() " I wish I could find some information on what this error means. Repeat until (loading of last tab is false) Set AppleScript's text item delimiters to "" Set searchString to text items of searchString Set AppleScript's text item delimiters to space ( error -212.)”Īnyone have any ideas what the problem could be? on run The action “Run AppleScript” encountered an error: “The operationĬouldn’t be completed. The script runs successfully if you comment out the JavaScript line, do JavaScript "document.getElementsB圜lassName('magnifier').click() "įrom the Chrome console, this line of JavaScript executes successfully.īut if you include the JavaScript line, the following error occurs: The AppleScript below is supposed to click the first element with the magnifier class on a predefined web page.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |