This was last updated on 2/6/06. You can now start an audio session. It has another new feature on it, and is alot cleaner. The above code will allow you to access many different iSights on your computer. For example, I have 3 iSights. They are living room, front yard, and kitchen. This code can handle up to 4 different cameras. It would be easy to do more. If you need help with this, just ask. All you have to do is send your indigo POP account an email with the word iChat in the subject box. For the email body, do this:
- The first line, ONLY type the name of the user name you want to connect to.
-On the second line, ONLY type then name of the camera you want to view. Tips:
1. Set up an Additional AIM account that you can use away from home, so that your normal AIM/iChat account can contact you from home. For example, your normal iChat name is Joe, make anotherr ID named Joe1. That way, you can run this script away from hime, and allow Joe to send Joe1 the video invitation. Remember, you cannot start a conversation with yourself on ichat.
2. Go to video preview and click the preferences button in iChat. If you have more than one camera, get its number (iSight, iSight#2, ect). If iSight#2 is your garage, then replace the word "kitchen" in my code with the word "garage". That way, if you email your Indigo POP account and want to connect to your garage, it will select iSight#2, where the garage is. This is all commen sense, just thought I would explain it just in case. Don't worry, if you only have 1 iSight, the code still works.
3.test this script in indigo. if you get an error, save the above script as an application named "remote security". then try this script in indigo instead. Sometimes application responses can interfere with a function of a script, and this will solve the errors, if you are having them....
- Code: Select all
ignoring application responses
tell application "remote security" to run
end ignoring