Auto-Skype button

Hi.

I would like to use automator to create a script for my kids. The idea is it would open skype and make a video call to Grampa. My kids could use it to chat with him when he's online.

Any tips?

MacBook Pro, Mac OS X (10.4.10), nothing really

Posted on Oct 15, 2007 1:45 PM

Reply
2 replies

Oct 16, 2007 5:29 AM in response to MacFred_72

At least here, ...

tell application "Skype"
send command "CALL xxx" script name "yyy" -- Where 'xxx' is a valid 'Skype' account, and 'yyy' can be anything.
end tell

... does launch 'Skype'; but also, presents the 'Skype API Security' window.

Clicking on the 'Skype API Security' windows' 'Allow this application to use Skype' radio button, and then the 'OK' button - will enter 'AppleScript' into a secured list.
However, the next time you execute the above code, the same ridiculous set of events occur.

---

To remove the presence of the 'Skype API Security' window, I use ...

tell application "Skype"
activate
repeat until ((name of window 1) contains "-")
delay 0.1
end repeat
send command "CALL hansgruber" script name "Hallo"
end tell

... You will have to replace 'hansgruber' with the grandfathers' 'Skype' account name or number.

---

'Script Editor' (in the '/Applications/AppleScript/' folder):
01. Launch 'Script Editor'.
02. Enter (copy and then paste) the above, second version, of AppleScript code into the 'Untitled' window.
03. Select the 'File, Save As...' menu item. A drop down sheet will appear.
04. Select 'application' from the popup menu.
05. Enter a name in the 'Save As:' textedit field. For example, I chose 'HansGruber'.
06. Determine the destination of the application.
07. Click on the 'Save' button.

'Automator' (in the '/Applications/' folder):
01. Launch 'Automator'.
02. Click on 'Automator' in the 'Library' column.
03. Double click on 'Run AppleScript' in the 'Action' column.
04. Replace ...

(* Your script goes here *)

... in the ...

on run {input, parameters} ... end run

... code with the above, second version, of AppleScript code (with respective change).
05. Select the 'File, Save As...' menu item. A drop down sheet will appear.
06. Select 'Application' from the 'File Format:' popup menu.
07. Enter a name in the 'Save As:' textedit field. For example, I chose 'HansGruber'.
08. Determine the destination of the application.
09. Click on the 'Save' button.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Auto-Skype button

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.