AppleScript is a proprietary programming language in Mac OS X to control and exchange data with applications.

learn more… | top users | synonyms (3)

0
votes
1answer
774 views

Any way to delete custom fields of cards in Contacts.app?

Some custom fields of contact cards in Contacts.app are really annoying. For example, nicknames always appear in Mail.app. To make things worse, there seems to be no menu option to delete custom ...
0
votes
1answer
408 views

Programmatically read both per-tab Terminal.app titles

When bringing up the Inspector (⌘I) in Terminal.app to edit the title (⇧⌘I), there are actually two titles that can be entered. The first is known as the Tab Title and affects the terminal window ...
0
votes
1answer
319 views

Set Specific Podcasts to Show as TV Shows in iTunes, using AppleScript

I'm using on online TV recorder to record TV shows. Those recordings are downloaded as a podcast to iTunes. My following Applescript should just grab those podcasts, update some info fields and ...
0
votes
1answer
394 views

Detect the TV Show, Season and Episode from a mp4 file in applescript

Assuming I have an MP4/M4V file of a TV show. The file has the necessary metadata so it can be imported into iTunes and you'll see the all the relevant information. Using AppleScript, one can extract ...
0
votes
0answers
24 views

Launch program after inactivity [duplicate]

Possible Duplicate: How can I automatically launch an application whenever the Mac goes idle? I'd like to launch an AppleScript/ App after 30 minutes of system inactivity. e.g. no cursor ...
0
votes
2answers
571 views

Applescript - ignore modifier keys

I have an applescript that needs to be called by an external program with command-shift-click. However, the applescript then performs keystrokes with command & shift held down. How do I get ...
0
votes
3answers
1k views

AppleScript for iCal events from Address Book entries

I want to create a script that creates alarmed events in iCal for birthdays of people that I have in my address book. Unfortunately, I am very bad working with AppleScript. Below is the outline of ...
0
votes
0answers
231 views

How does Snow Leopard arrange files by “Date Added” for folders on the dock?

I would like to know the underlying mechanism that Snow Leopard uses to arrange files, within folders that are placed on the dock, by "Date Added." I would like to know this in order to retrieve the ...
0
votes
1answer
4k views

How to create applescripts for Outlook 2011 to replicate Quicksteps?

Outlook 2010+ for PCs includes Quickstep functionality, that allows you to create multistep rules or macros to easily perform actions on selected email(s). Examples are automatically categorize an ...
0
votes
2answers
96 views

Toggle Mail Classic View in Mountain Lion with

I found a script on this site which I edited to make work with Mountain Lion, I thought. It works fine from Automator, but when I save as a service and assign a keystroke to it, it does not. Any help ...
0
votes
2answers
460 views

Is there a dial from Addres Book and tel:/sip: protocol handler script/application available for 10.7?

We are currently using Mac OS X 10.6 and snomURLHandler to convert tel: uri's to a http GET request. This computer telephony integration let us click on a telephone number in Address Book.app and let ...
-1
votes
1answer
135 views

Get (tell) AXScrollArea in Applescript (Or, classes not appearing)

In my AppleScript I need to get the AXScrollArea on the left of Accessibility preferences. My first thought was to try using the AXRoleDescription, "scroll area", but it wouldn't compile. syntax ...
-1
votes
1answer
60 views

Can Applescript ask for the names of the people you want to send to and fill this in send to

I’d like to be able to send to people from my address book where a dialogue would say who would you like to send the email to and I would write in like peter, john, George etc and that would populate ...
-1
votes
1answer
43 views

Creating preview and icon for screenshots [closed]

I would like to make this code to automatically create preview and icon so it looks nice in Finder and so i don't have to wait my graphics app to create these things when i first time open in browse ...
-1
votes
2answers
78 views

AppleScript for restarting to Bootcamp?

I have tried to use an AppleScript to reboot to Windows It's not going well though, as when I tried it the first time, a white screen appeared on startup and didn't go away. A hard reset rebooted to ...
-1
votes
1answer
12 views

Using variables in pathnames and pathname variable help plus finding username applescript?

So, I want to have my script to be able to find out the current user's username and store it in a variable (myUsername). Then, it will go to /Users/myUsername/Desktop/FV.app. How can I do this and ...
-1
votes
1answer
187 views

Creating an account and sending mail using applescript

I'm trying to use applescript to do two things: Create an account in Mail.app Using that account, send an email in Mail.app I'm having an issue with creating an account on Mail.app mainly because ...
-1
votes
1answer
1k views

How to add a script that types in the password for my vps through applescript

I made a script recently and have turned it into an app, it basicly logs me into my vps via ssh but I don't know how to tell it how to type in my password for me, heres the code tell application ...
-1
votes
1answer
448 views

Applescript opens new window for everything when run

I have the following code I did for a tweetbot keyboard shortcut to open tweetbot and create a new tweet. on run {input, parameters} activate application "Tweetbot 2" tell application ...
-2
votes
1answer
3k views

How to configure Automator to log into a website, each time generating a new random UID and email address?

I need to find a way to log into a company intranet site multiple times in quick succession on OS X 10.8.2, each time with a new completely random user ID and email address. The website only requires ...
-2
votes
1answer
44 views

applescript to unlock mac works very slow

Hello i am using this script to unlock the mac tell me to activate\n tell application \"System Events\" to keystroke \"PASSWORD\"\n tell application \"System Events\" to keystroke return\n tell ...
-2
votes
1answer
167 views

error “Can’t get button returned of \”C\“.” number -1728 from button returned of “C”

set buttonChoice to (display dialog "Play game?" buttons {"Yes", "No"} with title "Play?") if button returned of buttonChoice = "No" then return "No" end if repeat set levelnum to text returned of ...