AppleScript is an end user scripting language that has been available in Mac computers since System 7 Pro (7.1.1). It allows for automation of system tasks, communication between processes, and creation of workflows, amongst other functions.
2
votes
0answers
19 views
List of lists from file
I'm writing a sub-routine in AppleScript to get text from a file and insert that text in a list of lists forming a dictionary.
Text File:
a:b
c:d
e:f
Expected ...
2
votes
2answers
75 views
Applescript to change file extensions
I'm new at scripting, but I thought it would be handy to have a script that would change the extensions of selected files in Finder. I run this script from an automator service so that batch changing ...
5
votes
2answers
81 views
SSH chatting tool
I have taught myself some bash and already knew some AppleScript, so I have come up with this SSH chatting tool for OS X users. It allows you to chat from a terminal to another OS X computer.
One ...
3
votes
1answer
85 views
URL-finder using a lot of memory
I'm trying to get the URL of the browser with Mac OS X app. I wrote some AppleScript and am trying to use it in Cocoa. The problem is, when I watch it with instruments, memory is increasing, and at ...
19
votes
2answers
1k views
Writing FizzBuzz like this makes me feel like a small child
For the sake of full disclosure, this was written with bananas, not apples. The doctor may not be kept away.
With AppleScript highlighting:
For Copy&Pasting:
...
27
votes
2answers
306 views
Script to enter text in a box
Here's a little script that enters text into a document when activated.
...
4
votes
1answer
394 views
AppleScript to close running processes
I've been trying to emulate MS Windows behavior on my OS X and close processes that do not have a window.
What I'd really like to do is "quit" the process on clicking the red "x" button. Instead, I'...