0
votes
0answers
16 views

Batch format and convert word documents in mac OSX

I am looking for a way to format multiple word documents (in a same formatting) and then save them as PDF. Specifically: Format orientation, page margins, page columns, and font. Save the formatted ...
0
votes
1answer
60 views

Why Does Clicking on Applescript Notifications Open the AppleScript Editor?

I'm experimenting with AppleScript and with Python. But the big issue i'm having now is not about Python specifically. The end goal is to be able to write Python scripts that use AppleScript features. ...
0
votes
1answer
24 views

save multiple tabs to chrome Pocket extenson

I use the Pocket extension to read pages offine on an Ipad, but it's tedious to click the icon for every page. Most of the time I open multiple tabs on one subject. Does anyone have a piece of ...
0
votes
0answers
25 views

Applescript for Hotspot Shield

I'm trying to build a simple Applescript to control the 'Connect' and 'Pause Protection' buttons in Hotspot shield VPN, but there is no applescript dictionary or menu bars for the programme. Does this ...
0
votes
0answers
16 views

Prevent application from detecting screen zoom on Mac OS X

I have an application which streams live television, using a rather expensive portable mobile decoder. And for some reason the company that controls the app has decided to limit the screen size of the ...
0
votes
0answers
62 views

Can one show or hide the Mac OS X on-screen keyboard via either keystroke or API?

I would like to show and hide the Mac OS X on-screen software keyboard (fig. 1) with a keystroke, but no actions to do so are available when customizing the keyboard shortcuts via System Preferences. ...
0
votes
0answers
78 views

disabling password require via applescript freezes Mac

I wrote little script to enable/disable screensaver and password check. Idea is that when my iPhone is near to my Mac (Proximity app checking this), screensaver and password check should be disabled. ...
0
votes
1answer
265 views

How can I use AppleScript to open a new Safari window on the current desktop space?

I need to open a new Safari window in the current desktop space using AppleScript. NOT move to another space which has Safari running and then open another Safari window. Of course, if Safari is not ...
0
votes
0answers
47 views

Outlook on a MAC and the 1GB limit

While waiting for MS Office 2014 to arrive and address the 1GB limitation, has anyone written an AppleScript for detecting file size on an Outlook file/folder to send a threshold exceed warning ...
0
votes
0answers
51 views

Changing Mac OS X text-to-speech voice per contact in Messages.app

I am quite enjoying using the Speak Events.applescript handler in my Messages.app. It speaks the incoming messages. I'd like to have a male voice for my male contacts and a female voice for female ...
0
votes
2answers
291 views

Apple Script - Reopen Closed Finder Windows

I have the following Applescript which toggles the show/hide hidden files and I would like to reopen the user's Finder windows which will be closed as the Finder gets relaunched. tell application ...
0
votes
0answers
27 views

Is it possible to duplicate mail.app and access using applescript on mac?

I made a simple applescript to create an email conversation. It was a program that, when you sent it an email that said "update schedule", it would send the sender of the message an updated schedule ...
0
votes
1answer
244 views

Trying to Use AppleScript to Convert .xls and .xlsx to .txt (Tab Delimited), Needs Fixing

I copied this from an answer I got from another thread. I am trying to convert ~300 .xls and .xlsx files to tab delimited. They are all in the same folder. If anyone knows a better way, please let me ...
0
votes
1answer
508 views

AppleScript + Quicktime: Start and stop a movie recording and export it to disk

Attempting to start a screen recording, wait a few seconds, stop the recording and export saved recording to disk. Versions AppleScript 2.2.4 QuickTime: 10.2 AppleScript set filePath to "" & ...
1
vote
1answer
47 views

Restarting multiple mac computers with terminal

How do you restart multiple mac computers that are on the same network with terminal? I know the ssh command to login to one computer but I want to be able to send a reboot command to multiple ...
0
votes
2answers
243 views

Applescript to get name with VLC 2.0 should work but doesn't

I'm trying to get the name of the current file playing in VLC. Applescript SHOULD be able to do this with VLC 2 and on (it's in the dictionary, "name of current item") however it keeps not compiling, ...
1
vote
2answers
163 views

LaunchAgent plist to keep an app running and hiden

I'm using the following script <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist ...
3
votes
1answer
1k views

AppleScript: Open a new window in current space without switching to active window in another space

I want to have an application open a new window in the current space without switching to a space in which a window is already open, but I want to keep the When switching to an application, ...
3
votes
3answers
1k views

Quotes within quotes applescript

I am doing an applescript that is supposed to set an command with quotes an varible. This is the code so far: set myString to "This is a "quoted" text." But an error occurs because applescript ...
1
vote
1answer
42 views

I would like to know if someone has applescript to loop al my stickynotes and put it in a textfile

I have been meaning to do this for a while, but I never got around to do it. The problem is that I have to do research how applescript works. Anyway, I have now collected over 200 snippets for my ...
2
votes
1answer
135 views

How to get which file is requested to open using a mac application?

I have created a mac application which can be open my file extensions. But when I tested it, I dont get the path of the file requested to open using the application, instead I got the "psn_0_151589". ...
1
vote
2answers
1k views

Close all Mac Terminal windows, but the one running a script

I am trying to create a shell script that runs a python simulation programing in 4 terminal windows. I have the script that launches the program four times in four separate terminal windows(total of ...
3
votes
0answers
557 views

Applescript to connect to bluetooth device

I'm trying to create an applescript to allow me to connect to a bluetooth device by it's Bluetooth ID. So far, i've managed to get an applescript to turn on bluetooth if it's off. Here's the code: ...
3
votes
1answer
622 views

How can I run an AppleScript or shell command on Mac OS X at screen unlock?

Note that this is not the same as startup or login. I never log out of my machine and I want to run the script whenever I unlock the machine to start working.
2
votes
2answers
110 views

How can I type text from a file on Mac OS X?

I have text in ~/myfile.txt and I'd like to be able to "type" it into the current application, which will probably be TextMate or Terminal I'd like to see if I can have this happen without using the ...
0
votes
1answer
336 views

How can I parse data from inside a tag with Applescript?

How can I parse data from inside a tag with Applescript? I know Applescript has the words 3 thru -2 of myTextVariable syntax - but how would I use it to be sure I am just getting This is my text from ...
1
vote
1answer
503 views

How to programmatically flip a QuickTime movie metadata attribute from one kind to another

I have about 1,700 QuickTime movie files (some have .mov extension, most do not; it's not important, all are seen by the system as "QuickTime movie" and that's what they are) in an organized folder ...
3
votes
5answers
7k views

Toggle “ask for password after screensaver/sleep” or the delay in 10.7 using terminal

There's an option in the preference panel to change the time the mac is able to be in sleep/screensaver before requiring a password to be unlocked again. I'm using OS X Lion 10.7. Is there any way ...
2
votes
1answer
619 views

Get path of open file in any application on Mac OS X?

I installed Afloat for Mac OS X and I really like that it has a shortcut to "Reveal Current File in Finder". This works for basically all applications written in Cocoa. Can I use something like that, ...
0
votes
2answers
772 views

How can I get the foreground color in Photoshop with AppleScript?

How can I get the foreground color in Photoshop with AppleScript? Preferably in hex format.
0
votes
1answer
1k views

Change Mac “Ask for password after screensaver” delay

How can I change my Mac OS X Snow Leopard "Ask for password after screensaver" delay? I've tried: defaults -currentHost write com.apple.screensaver askForPasswordDelay -int 3600 but won't work. I ...
2
votes
2answers
3k views

Open Terminal Here, as Root (OS X)

There is a pretty awesome applescript called "Open Terminal Here" ( http://www.entropy.ch/software/applescript/ ) which you can add to your finder's toolbar and click when you want to launch a ...
1
vote
2answers
2k views

How to I use Apple Script to change the keyboard layout on Snow Leopard? [duplicate]

Possible Duplicate: Switch TO specific input source I want to do something like: set keyboard layout to 'QWERTY' or something like that.
1
vote
1answer
1k views

Mouse movement vertical axis inversion? (Mac OS X)

I would like to either run an AppleScript or use a Terminal command to invert the y-axis for mouse movement in OSX— and no, not like http://d.pr/w9z7 (/joke). Any ideas? I thought about checking for ...
1
vote
3answers
291 views

Is there a way to avoid having to click Autofill in iTunes?

I'm tired of always having to click "Autofill" in iTunes to put new songs and podcasts on my second generation iPod shuffle so I'm looking for a way to automate this with a keyboard shortcut, ...
1
vote
2answers
281 views

Is there a way to stop iTunes after the currently playing radio song ends?

While scripts like This Is The Last Song and Just Play This One work great with local songs, they don't seem to work with Internet radio stations like Groove Salad in spite of the fact that the name ...
5
votes
1answer
850 views

Determine Mac's screen state using AppleScript

Is there a way to determine what state the Mac's screen is in? I'd like to have a script that checks if the screen is in a non-active state; so either the screen saver is running or the display is ...
1
vote
2answers
572 views

Add Secure notes to Keychain via Applescript

I have switched from Windows to Mac and one of the things I need to set up properly is password management. Previously on Windows I was using a small TrueCrypt file containing text files with ...
3
votes
1answer
527 views

AppleScript Editor record doesn't work

I have opened the AppleScript Editor and pressed Record button. Then I run TextEdit, create a file and put some text there. When I click Stop button in AppleScript Editor, nothing was recorded, the ...
1
vote
2answers
769 views

How do I escape a slash in AppleScript?

How do I escape a slash in AppleScript? The documentation seems to suggest that set target_string to "\\" should return a single \, but in fact it returns \\\\. On the other hand, set ...
1
vote
1answer
1k views

How to get QuickTime Player 7 to save its export settings?

I'm trying to get QuickTime Player 7 on Mac OS X 10.6.4 to save its export settings so I can batch convert some MKV movies to M4V (MPEG-4). I've already exported a movie using the settings I want. ...
1
vote
1answer
2k views

How to automatically print the contents of a folder in OS X?

I would like to be able to set up a folder on my Mac, where I could dump files and have them be automatically sent to the default printer. This way I would be able to print files at home when I'm not ...
0
votes
2answers
593 views

Applescript cannot find sed during application install

I am attempting to install an application, but the installer fails with the following error message: sh: sed: command not found and there is an Edit and OK button in the dialog, so I click the Edit ...
1
vote
3answers
994 views

Can Automator or Applescript copy the number of items in a folder to the clipboard?

In Automator or Applescript, is there a way to get the number items in a folder and save result to the Clipboard or Automator Variable so I can use it in the next Action?
3
votes
1answer
244 views

Script Editor in Snow Leopard painfully slow after adding apps to Library

I have four different Macs that I use from time to time, and on each of them I notice a constant: adding more items to AppleScript Editor's Library window slows performance of mundane operations ...
0
votes
1answer
340 views

Applescript - Take a plain text and turn into a html link

We work with bugzilla. Whenever you need to query a ticket you just need to know the bugid (integer) and you simply prepend this to it. ...
1
vote
1answer
856 views

Applescript: Check if shell command fails?

I'm writing an AppleScript to watch a folder for completed downloads, then process them. If I'm downloading a file split across partial RARs (.r01, .r02, … God I hate those), they'll enter the ...
13
votes
5answers
47k views

Track kids browsing history even when they know how to clear it manually

I have a colleague with two teenage boys (yes, cue cliche's about 'I have this friend see...') He's currently having issues with them browsing pr0n and wants to do a little spying on their browsing ...
0
votes
1answer
448 views

Is Grapher (Apple)scriptable, and if so, how?

I use Grapher all the time, and while I think it's mostly wonderful, there are some things about it that I find annoying. Specifically: The default 2D graph has annoying default options that ...
2
votes
1answer
479 views

A way to strip certain text from incoming email in Mail.app (Mac Mail)?

I receive a large number of emails from a particular client of mine. These emails all come with a fairly long standard disclaimer at the bottom. When I print these emails, Mail makes a complete bodge ...