0
votes
1answer
20 views

How to locate UI Button for AppleScript using Accessibility Inspector

There are several articles here that address this question, but none offer the help to connect-the-dots. The attached screen shot shot shows Accessibility Inspector for the button in question, which ...
1
vote
1answer
37 views

How to Identify Safari Javascript Alert Dialog using AppleScript?

In a particularly 'pesky' website, a dialog box pops up to block (or cover) automated entry of the userid input box. I have used the following code attempting to get a reference & to close this ...
0
votes
1answer
51 views

AppleScript to click buttons and close tabs

Im not really familiar with applescript (using C/Python/Pacsal atm). So far did the autoclicker for my WoW ore prospection. I would like to use the script on safari to click the link with name "1st ...
4
votes
2answers
450 views

Applescript: Open current Safari tab in Chrome (Troubleshoot of working script)

So, I decided a while ago to run a Flash-free install of Safari. It's been really great, Safari seems much more stable overall and I barely miss it. But every once in a while I stumble upon a site ...
1
vote
2answers
1k views

Using Javascript | Applescript to click button in Safari

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 ...
1
vote
1answer
265 views

Applescript enable-disable wifi Safari

I figured out a command to enable/disable wifi. networksetup -setairportpower en0 on networksetup -setairportpower en0 off Now, I was wondering how to combine it in AppleScript in a way that when ...
0
votes
1answer
572 views

AppleScript - “Close tabs to right of current tab” in Safari 7

I have been using the AppleScript below as an Automator service in order to get Safari to close all tabs to the right of the current tab. However I have updated to Mavericks (10.9) and find that this ...
0
votes
1answer
57 views

Is there in AppleScript any way to use “X of every” to get multiple properties of each object to create a record?

It is possible to with the script: tell application "Safari" set urls to URL of every tab of every window end tell when execute, get all urls of every tab of every window (two dimensional list) ...
5
votes
1answer
755 views

How to click button with applescript using UI Element Inspector

I am new to applescript. I am trying to open a webpage, and click a button on that webpage. here is my script: tell application "Safari" to activate tell application "System Events" tell ...
2
votes
1answer
122 views

How can I script Preferences changes in an application?

I want to use applescript to change a checkbox in the preferences box of Safari. I can open the preference window, but how to code the check box change? Example: I'd like to toggle the check box for ...
1
vote
2answers
551 views

How to go to tab 5 in Safari? (AppleScript)

Is there any way to go to tab number 5 in Safari? tell application "Safari" to set current tab of document 1 to 5
2
votes
1answer
337 views

Can OS X automate creating a reminders from a page in a web browser?

I enjoy the feature of creating reminders from a web page with one click. similar to how Omnifocus does this. Can Apple's Reminders do the same by apple scripting or other addition/short cut?
2
votes
1answer
130 views

Safari - menu to show live tabs open in open windows

I often have five or six Safari (and Chrome) windows open, each containing several tabs. I often lose track of where a live tab is when I want to return to it. I can use the Safari window menu option ...
1
vote
2answers
545 views

How to add a Safari toolbar button that runs an AppleScript

How do I add a button to the Safari toolbar that, when clicked, executes a given AppleScript?
0
votes
1answer
123 views

How do I refresh Application metadata - URL handlers, Web browsers - after installing my own AppleScript?

I'm working on an Apple Script that handles URLs. There's a command one can give which re-creates the list that Safari shows to change the default web browser. Anyone know what this is?
6
votes
2answers
455 views

What's the easiest way to automate logging into a website?

There's this website I need to access about every ten minutes. And apparently it was designed in 1993, by sadists. There is no "remember me on this computer" checkbox. And if you don't interact with ...
5
votes
2answers
2k views

Is it possible to restart an application using AppleScript?

I want to restart Safari and reopen it with some tabs that I specify.