PDA

View Full Version : Dialling a connection with AppleScript and Automator




umiwangu
Jun 16, 2011, 06:19 AM
I want to automate the process of calling a number and then hanging up with my Mac. Everything already works, I just want to make it so it can run on it's own (through the night). I've created a connection in network preferences with the telephone number. When I dial the number, the phone rings, so it's all working.

I've been trying to use automator to "watch me" create an action, but apparently this part of automator is quite buggy. After I create the action and start it, it just crashes the computer.

Is there any way of doing this with a simple AppleScript? Such as, dial this connection, hang up after 30 seconds. And then using Automator to repeat the script?

If I'm going in completely the wrong direction, feel free to point me in the right direction.

Seth



jiminaus
Jun 16, 2011, 03:33 PM
Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_3 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8J2 Safari/6533.18.5)

Why?

umiwangu
Jun 16, 2011, 04:03 PM
Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU iPhone OS 4_3_3 like Mac OS X; en-us) AppleWebKit/533.17.9 (KHTML, like Gecko) Version/5.0.2 Mobile/8J2 Safari/6533.18.5)

Why?

To wake guards up at night.


Seriously.

umiwangu
Jul 6, 2011, 01:00 PM
Anyone?