AppleScript Remote Event trying to Quit iCal from another computer

I'm trying to write an AppleScript that will allow me to quit iCal on a particular user's account on my iMac from my MacBook, irrespective of if that user is the active user on the iMac.
I did some research and determined that if I enabled Remote Apple Events on the iMac and used the syntax of
on machine "eppc://[username:password]@[machine name]?uid[userID]"
...I should be able to issue the AppleScript command to quit the application.
Here's the weird bit:
If I use this syntax to :
tell application "Address Book" of machine "eppc://[user:password}@i[machinename]/?uid=[uid#]" to quit
... then that works, for Address Book. However, if I copy and paste the same line, and change Address Book to iCal, it gives me "Unable to Authenticate User" as the error and it won't compile.
Strange strange strange...
[By the way, I didn't find an AppleScript forum... is there one? is there a better place to ask this question?]

Did you ever get an answer to this question? I have the same problem on one of several Macs in my office.
This causes a User Authentication error even though the IP address, the user name, and password are correct:
set remoteMac to "eppc://username:password@ipaddress"
using terms from application "Finder"
tell application "Finder" of machine remoteMac
activate
end tell
end using terms from
However, this works fine using the same IP address, user name, and password.
set remoteMac to "eppc://username:password@ipaddress"
using terms from application "Transmit"
tell application "Transmit" of machine remoteMac
activate
end tell
end using terms from

Similar Messages

  • HT2688 I am trying to import music from another computer in my network. My homesharing is set up properly & I can see the music; iTunes help tells me that there is a settings button that will be present so I can select the music to import. Where in the bu

    I am trying to transfer music from a library that is in my network.  I can see the library and play the music but cannot figure how in the world to import it into MY library. 

    You can Share the Music but you cannot Transfer it to a Different Apple ID.
    SHARING iTunes MUSIC
    http://macmost.com/five-ways-to-share-music-in-itunes.html

  • I exported an archive of iCal from a computer running the last OS X. On a new computer running OS X (10.7.4), I tried to import the .icbu file and got a message "The calendar failed to restore". How do I fix this/get my calendar?

    I exported an archive of iCal from a computer running the last OS X. On a new computer running OS X (10.7.4), I tried to import the .icbu file and got a message "The calendar failed to restore". How do I fix this/get my calendar?

    I exported an archive of iCal from a computer running the last OS X. On a new computer running OS X (10.7.4), I tried to import the .icbu file and got a message "The calendar failed to restore". How do I fix this/get my calendar?

  • I tried to reinstall iCal from Disk and get an error

    I deleted info.plist from my iCal package. I had read somewhere that if I deleted that all old files in my iCal would be deleted. But instead what happened is I get an error when I try to start "2008-05-19 15:29:46.693 iCal[9051:10b] No Info.plist file in application bundle or no NSPrincipalClass in the Info.plist file, exiting logout" So then I tried to reinstall iCal from Disk and get the error "The Installer could not validate the contents of the 'iCal' package. Contact the software manufacturer for assistance"

    lizesc,
    Welcome back to Apple Discussions.
    I deleted info.plist from my iCal package.
    Just for the edification of other users, you should never alter any files inside of an application package.
    Drag your current copy of iCal to the trash, and then follow these steps to reinstall iCal:
    1. Insert your Leopard Installation disk into the computer.
    2. The disk will appear on your desktop.
    3. Double click on the "Optional Installs" folder.
    4. Double click on the "Optional Installs.mpkg."
    5. Click on (Continue) in Introduction.
    6. Click on (Continue) in Software License Agreement.
    7. Click on (Agree) to agree to the terms of the software license agreement.
    8. Click on the disclosure arrow ▶ next to Applications.
    9. Select (✓) iCal.
    10. Click (Continue).
    11. After iCal has been reinstalled, download and install the OS X 10.5.2 Combo Update.
    ;~)

  • Re:iMac remotely accessed from another computer and location?

    Can you access an iMac remotely from another computer and location if there is knowone to switch it on?

    Barbara,
    Both are legitimate concerns, I'll address each as best I can.
    As for the the power issue, well that's going to be the case with any computer. We have many choices, most of them impractical for example take your house off the grid, put in your own power source (solar or wind powered) which clearly for most of us is totally impractical. The next thing would be a backup-generator like a hospital or other mission critical facilities (police & fire houses) have. While this is more practical again it's stretching the limits again for most of us. So the next thing is a healthy battery back up system that can maintain power to a computer for several hours if necessary. While they are still expensive they are far less expensive than the first two solutions. Of course you can set the energy saver settings to power on your computer after the power comes back on if even the UPS battery goes dead. I haven't tried this remotely however I think it might work.
    Next is security, DropBox and Logmein both address this themselves so I would recommend looking into their solutions. Personally I find them trust worthy and don't have an issue. Even if you use MobileMe you would still have the same concerns, and how about Google, and all the other major players. To me Google while it's a vast resource and extremely helpful if for some reason they decided to become the Evil Empire they have far more access to your information that anything. Anytime you do a simple search they are collecting information about you. For example let's say you are looking for ATM's in a new city, they can capture your search and if they were evil enough they could track your every step. Is this far fetched and ridiculous, of course it is but it is possible. However this is the case with any Internet based computing, if you use some basic common sense for the most part your data is pretty secure. I'm much more nervous about the minimum wage clerk at Taco Bell taking my credit card information than Google, Apple, Logmein or Dropbox doing so.

  • Error while trying to copy template from another application

    Hi,
    I am getting this error while trying to copy template from another application:
    report error:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    This report is located here:
    Home-Application Builder-Application 150-Shared Components-Templates-Replace Templates
    best regards,

    It is usually a permissions issue.. you have read but not write permission. Why it would suddenly change is one of those Apple Mysteries... but it happens.
    Open the directory (folder) where your media files are.. and check the permissions.. see if you can fix them.
    The problem is the folder on the TC might have lost your ownership and you might not be able to change it.. Apple do not provide anyway to regain permissions because you would need low level access to the TC firmware.
    I would just as a matter of course reset the TC to factory and redo its setup.
    Factory reset universal
    Power off the TC.. ie pull the power cord or power off at the wall.. wait 10sec.. hold in the reset button.. be gentle.. power on again still holding in reset.. and keep holding it in for another 10sec. You may need some help as it is hard to both hold in reset and apply power. It will show success by rapidly blinking the front led. Release the reset.. and wait a couple of min for the TC to reset and come back with factory settings. If the front LED doesn’t blink rapidly you missed it and simply try again. The reset is fairly fragile in these.. press it so you feel it just click and no more.. I have seen people bend the lever or even break it. I use a toothpick as tool.
    N.B. None of your files on the hard disk of the TC are deleted.. this simply clears out the router settings of the TC.
    Do the setup via airport utility using different names.. short, no spaces and pure alphanumerics. Make sure passwords are also pure alphanumeric mixed case and numbers.. 8-20 characters is usually plenty.
    Mount the disk in finder and see if you have the same issue.. I am not expecting a change.. but it is worth a try.
    No luck you can copy your files off the TC.. wipe it .. and then copy them back.. no bad thing unless you already have a backup of your files at the moment. In which case you can just wipe the TC and copy the files now.

  • I am unable to set up my iphone 5 after reset since am getting a error stating 'unable to reach server' . i tried restoring the same from my computer  but  i get a error stating server unavailable' .  please help me as my phone is stuck at the set up page

    i am unable to set up my iphone 5 after reset since am getting a error stating 'unable to reach server' . i tried restoring the same from my computer  but  i get a error stating server unavailable' .  please help me as my phone is stuck at the set up page. so i have already tried recovery mode as well.

    Contact Apple support for warranty service.

  • My XP machine is unable to load iTunes 10.5.1. It gets about halfway loaded then says it can't find Bonjour.msi. However, that file is on the computer. I tried loading the Bonjour.msi from another computer but it came up with the same message.

    My XP machine is unable to load iTunes 10.5.1. It gets about halfway loaded then says it can't find Bonjour.msi. However, that file is on the computer. I tried loading the Bonjour.msi from another computer but it came up with the same message. I also tried to remove iTunes from the add/remove sector on Control Panel but it also refused for the same reason. Help, please.

    Try:                                               
    - iOS: Not responding or does not turn on           
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable                     
    - Try on another computer                                                       
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar
    The missing apps could have been done by setting the Restrictions that can hid those apps. If the backup was made with those retrictions set the the Restrictions are also restored.
    Thus, if you get it to work restore to factory settings/new iPod, not from backup                               
    You can redownload most iTunes purchases by:        
      Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • I am trying to load photos from my computer on to my ipad but keep getting the message "the device is no longer connected to the computer. It keeps popping up and I am stuck. This happened after I upgraded to the latest itunes

    I am trying to load photos from my computer on to my ipad but keep getting the message "the device is no longer connected to the computer". It keeps popping up and I am stuck. This happened after I upgraded to the latest itunes software.

    Greetings cdewinkel,
    It seems your iPad is not staying connected to your computer during syncing. The following article provides a number of troubleshooting steps which may help. This article is intended for devices which are not being detected, but the troubleshooting steps are relevant to your issue:
    If you don't see your connected device in iTunes for Mac - Apple Support
    Make sure that your device is on
    Also make sure that you can get to the Home screen.
    Get help if you have one of these issues:
    Your iOS device won't respond or turn on.
    Your iPod won't turn on.
    You forgot your passcode or your device is disabled.
    Make sure that your Mac supports your device
    See the system requirements for iPhone, iPad, or iPod.Check your USB connections
    Unplug other USB devices from your Mac and try again.
    Try a different USB port.
    Try a different USB cable. 
    Learn more about using USB cables with your Mac.Make sure that your device trusts the computer
    You might get an alert if you haven't connected your iOS device to this computer before. Unlock your device and tap Trust. 
    Learn more about the Trust This Computer alert.Restart your device
    Restart your iOS device or reset your iPod.Restart your Mac
    Turn your Mac off and back on.Update your software
    Check for software updates on your Mac.
    Check for an iTunes update.
    Check your security software
    If you have security software installed, learn how to resolve issues between iTunes and your security software. 
    Get more help
    If you still don't see your device in iTunes, contact Apple Support.
    Thank you for contributing to Apple Support Communities.
    Best,
    Bobby_D

  • I am trying to clear files from my computer. I have a bunch of .m4v protected files that will not delete. They are lectures from college that I do not need anymore and would like to delete them to make room on my computer.

    I am trying to clear files from my computer. I have a bunch of .m4v protected files that will not delete. They are lectures from college that I do not need anymore and would like to delete them to make room on my computer. I have looked at the help sites and they seem to give directions to change files that people are saving in the future and not regarding past files. I am unable to change anything about the file including the name, so I can not change these past files from .m4v to something else which is deletable such as .mp4 etc. Any help would be much appreciated!!!!

    Well, most of what we can tell you is already stated in the message you are getting.  A phone can only sync with one library at a time.  You have apparently synced your phone with a different iTunes library in the past, or changes have been made to this library so the phone no longer recognizes it as the library with which it was synced.  To know which you will have to provide the information.
    If you bought them using the AppleID you use with this phone it may simply be easier to re-download them directly to the phone rather than sync them, though you will want to resolve that issue at some point.
    Downloading (using iOS or computer) past purchases from the App Store, iBookstore, and iTunes Store - http://support.apple.com/kb/ht2519

  • I have a 3G iphone. I just tried to download the new itunes and lost all my itunes I had.  I tried to transfer them from my computer but can't. How can I and what do I do to get the ones I bought before and now have lost.

    I have a 3G iphone. I just tried to download the new itunes and lost all my itunes I had.  I tried to transfer them from my computer but can't. How can I and what do I do to get the ones I bought before and now have lost.

    It has always been very basic to always maintain a backup copy of your computer.
    Use your backup copy to put everything back.
    If for some reason you have failed to maintain a backup ( not good), then you can transfer itunes purchases from an ipod/iphone/ipad:  File>Transfer Purchases

  • My iphone 3gs have a problom because i tryed to downloud apps from my computer without apple id so i tryed update it to ios5 when i made an apple id and the phone restarted dureing the update and i restored it but now i can not activate it why is that ???

    my iphone 3gs have a problom because i tryed to downloud apps from my computer with out apple id so some times it restart and the spring board always get crashed so now affter i made an apple id  i tryed to update it to ios5 but the phone restarted  in the middle of the update so restored the files from my computer but when i tryed to activeate the phone from wi fi it said activeate server is now unavilable and when i tryed to activeate it from itunes it told me there is no sim card why is that

    My phone is an iPhone 3gs too, and last night actually it said the same thing, "No Sim Card" and my friend and I started panicking but I did what I call a "Forced Reboot" where you hold down the Home and Power buttons until you see the apple logo. DO NOT RELEASE UNTIL THEN otherwise you are just shutting it down. So, I did that and it worked again....

  • HT5925 I am trying to send data from my computer to my ipad, how do i do this if icloud says I cannot use it as I have multiple versions of outlook

    I am trying to send data from my computer to my ipad, how do i do this if icloud says I cannot use it as I have multiple versions of outlook

    Have you had more than one version of Outlook?

  • TS2972 Why is the "Import" button grey when I'm trying to transfer music from one computer to another?

    Why is the "Import" button grey when I'm trying to transfer music from one computer to another using Home Sharing?

    Hi lexipuppy,
    I dont know if you have your music on your other computer was on itunes, but if it was, make sure that you signed into your itunes account on your other computer. If you are signed in then your music should show up in your library.

  • Unknown error 54 when trying to sync music from my computer to an i phone 5

    message. unknown error 54 when trying to sync music from my computer to my i phone 5

    I don't see error 54
    iTunes: Possible iTunes Store errors

Maybe you are looking for