AppleScript is a proprietary programming language in Mac OS X to control and exchange data with applications.
2
votes
0answers
64 views
Safari - menu to show live tabs open in open windows
I often have 5 or 6 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 from ...
2
votes
0answers
529 views
With Lion, Problems Accessing Shared NTFS Folders with SMB://
We are testing a local login script that we created for our Macintosh users on Lion. It has worked fine on all OS X versions prior to 10.7. Listed below is the script that we are using. When we run ...
1
vote
0answers
9 views
Ruby and osx, clipboard status detection
My question: is it possible to detect when clipboard was pasted into other app ?
With use of RubyMotion, Macruby, or Apple Scripts maybe ?
1
vote
0answers
37 views
Can I find and replace Core Text/Cocoa text strings in any application?
My scenario:
I use an app called Antetype for UI design.
Antetype uses OS X-native technologies for text rendering (it uses the system-standard text palette).
Antetype does not have a find and ...
1
vote
0answers
76 views
Can a new mail be sent using AppleScript + Outlook + IMAP?
I'm trying to use apple script to automate creation of a new outlook mail message.
The below code will work when I have my email account sent up as pop3 but I need it to work with an IMAP account.
...
1
vote
0answers
29 views
Touching files in correct order
This code touches files in alphabetical order.
I need to touch files in order it is in list_of_files, so first it touches file2, then file3, then file1).
Is there any other way to do this than to ...
1
vote
0answers
45 views
Have OS X auto-search for WiFi
My school has installed PowerCloud, which does not officially support OS X. It works sometimes, sometimes it doesn't. I've tried to narrow it down but it's impossible. I was wondering if there is a ...
1
vote
0answers
49 views
Why would a Folder script stop working in 10.8.2? I have been using this script for several years
property disk : "Webserver:RAID:active_jobs" -- name of mounted disk where all work resides
property folderactive : "Active" -- name of Folder were active jobs folders are held
property destination : ...
1
vote
0answers
101 views
How do I tell Finder to read the network folder contents?
I use the following AppleScript script to automatically connect a remote drive when my VPN connection is established using Viscosity:
do shell script "sleep 5"
tell application "Finder"
mount ...
1
vote
0answers
146 views
Applescript vs. Spaces in Lion (10.7)
In Snow Leopard (10.6), I had an applescript that toggled iTunes between "maximised on Space 2" and "mini-player on all spaces":
set app_identifier to do shell script "echo 'com.apple.iTunes' | ...
1
vote
0answers
466 views
How to avoid the GUI password prompt when using `osascript`?
I’d like to use the osascript shell command to run some AppleScript, but I’d rather avoid the GUI password prompt. Instead, I’d prefer to run the script as sudo from the command-line, so no GUI ...
1
vote
0answers
87 views
Sending a “show next” command to multiple computers
I am trying to sync the advancement of Keynote slides on two matching computers. I am running into a delay on the second machine. ( I have switched the tell blocks and the second machine is always ...
1
vote
0answers
193 views
Populate Pages Chart Data via Applescript
Right now I'm copy and pasting between Excel and specified places in a Pages document. For instance, I'll copy cell B7 and find "B7_Value" in Pages and replace it with the copied value. Here's an ...
0
votes
0answers
25 views
AppleScript works fine in 10.8 but not in 10.7
I have a simple AppleScript that works perfectly on two ML machines (10.8.3), but when I try to run it on a 10.7.5 machine it doesn't work. To make matters more confusing, in 10.7.5 it runs in the ...
0
votes
0answers
12 views
Any way to add Lion full-screen feature for TaskPaper by AppleScript?
I am using TaskPaper and, unlike most Mountain Lion apps, it appears that there is no way to make it go full screen. Would it be possible to use an AppleScript to make it go full screen in the same ...
0
votes
0answers
34 views
Need help with Applescript and clicking menu bar item
I'm trying to make an applescript for F.lux that clicks the menu item "Disable for an Hour" as indicated in screenshot one. The element path is indicated in screenshot two.
Here is my code thus far:
...
0
votes
0answers
12 views
How to set size of Adobe Fireworks with AppleScript?
How to set size of Adobe Fireworks CS6 by AppleScript? It is possible to set position but size is possible only to read and bounds Fireworks doesn't support at all.
Next code doesn't work:
tell ...
0
votes
0answers
21 views
AppleScript Works in Script Editor, but not when run from FileMaker
When I run this from Script Editor, it runs perfectly fine, albeit slow, but when run via FileMaker Pro 6, it does nothing at all. In fact, even when I enclose it in a try block, it doesn't even ...
0
votes
0answers
12 views
Applecript - sending Sparow email with “matched” attachement
I want to make some rules to permanently unclutter my Mac with Hazel help.
I find a helful blogpost about using AppleScript with Sparrow but I'm not so good at coding to know how use this knowledge ...
0
votes
0answers
19 views
FileMaker 6 and AppleScript: Deleting a Menu Item
I am trying to write an AppleScript to delete or at least disable certain menu items in FileMaker pro 6. My documentation indicates that it can be done, yet even the exact examples that they give, do ...
0
votes
0answers
19 views
Eject Disk Image at logout with AppleScipt?
I would like to know how to use AppleScript to write a script that automatically ejects a disk image whenever the user logs out of their account.
This script would be the complementary inverse to a ...
0
votes
0answers
15 views
Is there a way to omit certain directories from where Mac OSX finds applications for its Applescript dictionaries et al?
Mac OSX maintains a list of applications for Applescript dictionaries, for the open-with list in finder etc.
This list gets collected from local directories (e.g. /Applications) but it finds as well ...
0
votes
0answers
24 views
How can I open a specific note in notes.app with applescript?
I can create and move notes in notes.app with applescript quite easily. However, given a specific note (i.e. the note's id), how can I tell notes.app to open it?
0
votes
0answers
54 views
How to pick out a DEVONTHINK record or group within the current group using Applescript
DEVONthink Pro Office comes with a scripts library, and I am trying to create something similar to a script in that library entitled "Group With Duplicates.scpt" That script takes selected records ...
0
votes
0answers
37 views
Right Click does not bring up Services every once in a while. Why?
I have a Mac OSX 10.7.5 (Lion), and every once in a while when I right click on a folder or file to pull up a Service, sometimes the Service field disappears. I am not sure if I have a virus or ...
0
votes
0answers
20 views
Finder droplet description when cursor over icon
After Dragging a droplet onto Finder's toolbar, hover description is its path.
Is there any way to customize this description?
0
votes
0answers
161 views
Advanced Apple Script iCal Help
This is what I have so far. All works ok, except for my duplicate check. Just receiving tell statement for "Event Discarded: Old.". When this is not the case. Any Help?
to ...
0
votes
0answers
37 views
Can you use GUI scripting from the iTunes script menu?
I have a script that uses traditional AppleScript, but also some GUI scripting. I placed it in ~/Library/iTunes/Scripts, so it would show up in the iTunes Script menu, where I have tons of iTunes ...
0
votes
0answers
11 views
Receiving dynamic_pager notices in Applescript
The dynamic_pager daemon also provides a notification service for those applications which wish to receive notices when the external paging pool expands or contracts.
How my AppleScript can ...
0
votes
0answers
47 views
Start PhotoShop with remote connections enabled
I'd like to be able to start PhotoShop from the command line with remote connections enabled. I'd like the script to take 2 arguments, "service" and "password".
The way I do this now:
1. Double ...
0
votes
0answers
50 views
Code problem with Bibdesk applescript
I've download an applescript to BibDesk from this web (go here for the applescript), but I have a problem running it.
The AppleScript Editor returns:
Syntax error -- Expected end of line but found ...
0
votes
0answers
48 views
How can I make compiled applescripts on $PATH be found and executed?
I have some short applescripts that I want to use as utility functions inside shell scripts-- for example, one returns the name of the frontmost application. The scripts reside in a personal scripts ...
0
votes
0answers
37 views
Launch Applescript with RFID
I currently have from SparkFun an RFID Reader (SEN-09963 + ID20 SEN-08628) that is connected to my Mac (10.8 if you are curious) What I have so far: the device is built, in a project box, connected ...
0
votes
0answers
82 views
Why doesn't this simple applescript work any more in ML mail.app (as a rule)
It works only when you right click on the mail message and choose "run rules", but not on incoming messages (without interaction).
The first dialog is shown both when incoming or running manually, ...
0
votes
0answers
118 views
How to set codec for Quicktime 7 export with AppleScript
I'm new to applescript and I'm having some trouble with a batch export of video files.
I'm trying to transcode several image sequences into .mov using QT 7, via Automator.
I found this code that ...
0
votes
0answers
46 views
Change background alpha in iterm2 with shortcut
I'd like to have something like
⌘ + + and ⌘ + -
(even better) alt + scroll wheel
To control the alpha of background in iterm2, like in the gnome terminal with compiz accessibility.
Some hint? ...
0
votes
0answers
63 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 ...
0
votes
0answers
108 views
How do I copy Chrome to TmpDisk on startup/RAMDisk creation?
I have set up TmpDisk to create a 1GB RAM Disk on startup.
This works fine.
How do I get it to automatically copy Chrome onto the RAM Disk every time it starts up?
0
votes
0answers
100 views
Script to Update/download most recent iTunes podcast WITHOUT opening iTunes at all?
I have a couple favorite podcasts that I subscribe to in iTunes.
I'm using You Control (so I don't have to open iTunes to play my music).
I'm using Keyboard Maestro.
I've made a macro that runs ...
0
votes
0answers
99 views
Applescript to create Smart Mailbox for sender of a selected message?
I like to keep Smart Mailboxes for current clients, and would like to be able to automate this using Applescript to create a new Smart Mailbox within a Smart Mailbox folder for the email address of ...
0
votes
0answers
292 views
Send all flagged messages in Mail.app to OmniFocus
So I found this article by Hunter Hillegas where he posts an AppleScript for taking flagged messages in Mail.app and adding them into OmniFocus. What I'd like to do is change this to look in all my ...
0
votes
0answers
71 views
Switch (x,y) position of the mouse between displays
In my workspace, I often connect second display to my MacBook and arrange both display in the System Preferences so that the second display is on the left.
Would it be possible to create a keyboard ...
0
votes
0answers
115 views
iCloud Find My Mac configuration using script
A Macbook Pro from a friend of mine was stolen and I am trying to create a script in order to activate the 'Find My Mac' feature of is iCloud account configured in his Macbook Pro.
Is there a way to ...
0
votes
0answers
798 views
How to create new message in iChat without sending, using Automator to grab selected text
I am trying to create a service that grabs the URL of some link, then create a blank iMessage with that URL in the body. Basically, I want to recreate that Message share feature in Safari in Mountain ...
0
votes
0answers
81 views
Permissions error accessing FileMaker 10 Server from AppleScript
I have an set of AppleScript scripts that talk to a FileMaker server to get some data. "get cell" statements are used for this. In one of the scripts, I get an error from a "get cell" line:
get cell ...
0
votes
0answers
144 views
AppleScript to tell Safari to save a PDF accessible through a given URL
I have URL "X". It points to a PDF file after redirection. I can't get around being subject to redirection, the web site does it and offers no direct links. It seems to be tracking accesses to files ...
0
votes
0answers
55 views
Using Remote Desktop to install Log Me In
Is it possible to install a DMG via Apple Remote Desktop, without notifying the user? I need to install Log Me In on about 200 computers, and I'm really really like to use my ARD to do it!
Any help, ...
0
votes
0answers
136 views
Import and export chapter markers from garage band or using command line tool
I want to be able to import and export chapter markers to and from a garage band podcast.
There are several possibilities:
Use apple script to do this within garage band
Use a command line tool to ...
0
votes
0answers
111 views
Scripting iPhone backup
Is it possible to use AppleScript to automate backing up an iPhone via iTunes? I've come across a script that uses the update command and that simply syncs rather than performing a back up. This is ...
0
votes
0answers
198 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 ...

