applescript

Applescript for Mac Office 2011

Hi, Is there any Applescript available that sends either an URL or array of images as attachment of the mail through Mac Office 2011? Can someone help me? Thanks in advance. Regards, Deepa ...

Version control for other kinds of files? (non-source code files)

Version control in programming is pretty much a necessity, and some programs allow for things like change-tracking or a form version control for files other than source code (like MS Word, InDesign, etc.). Is there any kind of system or architecture/protocol that could be put in place to establish version control for non-source code fil...

quicktime mute all files droplet

Want an applescript droplet that opens files in QuickTime and mutes them all. The script only mutes the front most opened file. on open the_Droppings tell application "QuickTime Player 7" to activate tell application "QuickTime Player 7" to open the_Droppings tell application "System Events" to tell process "QuickTime Player...

Applescript to control terminal sessions

I would like to control mac osx terminal via applescript as follows: when I press Command-N, I get a new terminal session for localhost (as usual) when I press Command-Shift-N, I open a new terminal session with a different background color, with an ssh session to a machine (with config specified in ~/.ssh/config) How do I accomplish...

Applescript getting definitions from google

in google, you can do "define:cat" and it will give you a list of definitions. Does anyone know how to get the definitions of a word with applescript from google? Thanks! ...

Way to listen in on all Apple Events?

I'm looking for a way to listen in to all Apple Events send by any program to any other program. There was an app, AEMonitor, that used to do this but it is abandonware as of now. Is there a known way to do this via cocoa, carbon, etc? Any help MUCH appreciated. -- Target OS is 10.6 -- Carification: I'm looking to monitor ALL appl...

Keystroke command to Show All Bookmarks in Safari not working

Hi all, I am trying a simple Keystroke command to Show All Bookmarks in Safari 5.0.2 but it is not working - tell application "Safari" to activate tell application "System Events" keystroke "B" using {option down, command down} end tell end Can anyone suggest me where I may be wrong? Thanks, Miraaj ...

How do i pass command line arguments to Xcode project through AppleScript?

I am trying to set command line arguments for Xcode project related to iPhone Simulator Application. When i try to run the following script the line "make new launch argument with properties{name:"file:///Users/aakash/Desktop/sample_h.html",active:yes} " gives error: execution error: Xcode got an error: Can’t make or move that element...

NSAppleScriptErrorNumber = -1708

Hello, I am trying to attach a Image to Mail application using Applescript. But on 10.5 I am getting NSAppleScriptErrorNumber = -1708 error. What is this error means? Can anybody guide me with this? Regards, Sowmya ...

How to i get the default mail client using applescript?

Can anyone please tell me how do i get the default mail client using applescript. ...

Make new applescript in selected folder

How do I use AppleScript/Automator to make a service that'll make an empty AppleScript file in the selected folder? ...

Error: Can't get some «class» of {«class», «class», ...}

Hi, I'm writing an Applescript for use in iTunes in which at some point I want to select any track from a list of tracks, but the way I expected it to work gives an error. Here's the code: tell application "iTunes" set thePlaylist to the first playlist whose name is "Missing track count" -- ... -- populate a list of strings:...

How to script Excel or Numbers on a mac, and launch from bash?

Hi, I want to write a bash script for a mac which takes a text file containing a table of numbers (can be .csv), converts the numbers to a chart, saves the chart (any file format that I can display on my web page), and exits. It must do this unattended. No user interaction. I know bash, perl, and a little AppleScript, and I can learn...

AppleScript to download files from HTTP server, mutating the URL?

I've never messed with AppleScript so this is only a concept to me. Can this work? Bungie, the game designer, is hosting a ton of PNGs for Halo Reach in systematically named files and directories. IE: http://www.bungie.net/images/reachstats/commendations/onyx/onyx_large_precision_multiplayer.png Change two instances of the same word,...

Change Soundtrack properties in QT 7 pro - Batch with applescript

I need to change the soundtrack properties (movie properties tool in QT 7 pro) for a whole bunch of video files. The process would be: in movie properties click on sound track and then change the assignment of each audio channel from Mono to "center" save the file(s) I am completely unexperienced with Applescript but would it be possibl...

How to change the order of a song within an iTunes playlist by AppleScript

How can I move a song that's in a playlist to a different position within the list with an AppleScript command? I already have the song and the playlist, and the one is already in the other; I need only to change the position. My goal is to sort the tracks that the user has selected; ideally, I'd want to move the first-by-order track t...

scripting "system preferences" "language & text"

I need to change, using applescript, the listbox "region", in the system preferences|language & text section. I can't access this listbox - see code below. tell application "System Preferences" activate get the name of every pane of application "System Preferences" set the current pane to pane id "com.apple.Localization" ...