I'm curious if AppleScript can access each specific tab in a browser and execute some javascript in them.   Anyone have ideas?...
How is it possible to listen for events in OS X JavaScript for automation.  In the scripting Library for the Messages application there is a list of event handlers, such as messageSent and messageReceived. However, I cannot figure out how to use them...
Safari and Chrome can execute JavaScript via AppleScript  Safari:   tell application "Safari"     open location "http://example.com"     activate     do JavaScript "alert('example');" in current tab of first window end...
In short - what is the JavaScript for Mac Automation equivalent of AppleScript's as «class utf8» ?  I have a unicode string that I'm trying to write to a text file using JavaScript for Mac Automation.  When writing the string to the file, a...
I'm trying to figure out how to click on the button in a webpage. For example click on the "I'm Feeling Lucky" button in google web page.  This is what I have tried:  tell application "Safari"     make new document with proper...
I'm stuck writing a JXA script using Apple's Script Editor.  Essentially, I want to go through my inbox folder and move messages older than 44 days to an archive folder.  I'm able to find the account, and my inbox and archive "mailbox...
In a Mac mail rule, I am trying to run a javascript instead of an applescript. This has been asked in Mail Rules using JavaScript for Automation instead of AppleScript but the answer is not working for me!  I have tried to simplify the code as much a...
I realize there are several threads about this and they are all very specific to certain website . My background is in Python, not Javascript or Applescript, and I'm confused on exactly how to achieve this action .  I've seen several scripts...
I'm having a hard time extracting presentationNotes from a keynote presentation using JXA (Javascript for osx) I don't want to use applescript. There is way more to this script than extracting notes.  It seems rather simple. However when I ge...
I'm trying to figure out why my Applescript does nothing when the same javascript code typed into a Safari location bar works.  Go to a search results page, such as: http://www.google.com/search?q=test .  For the correct behavior, type this into...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.