• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
New to AppleScript, looking to login as a different user...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

New to AppleScript, looking to login as a different user...


  • Subject: New to AppleScript, looking to login as a different user...
  • From: Joseph Trexler <email@hidden>
  • Date: Thu, 24 Aug 2006 01:09:25 -0500

So, I've discovered VNC and want to use it during the day while I'm at work. The problem is that my wife uses the computer at home under her account. Most of the time, she doesn't launch my account, then fast user switch to her account. I'm trying to figure out how to write a script to be triggered when she logs in that does the following:

Triggering action: User B logs into the machine.
Script actions:
1) Login as User A
2) Optional - Launch OSXVnc - (this is configured to fire when I login, but I'm not sure if that still happens when logging in via script)
3) Launch iPhoto (to share libraries)
4) Fast User switch back to User B


Since this is all on the same machine, I'm not worried about passwords being passed in clear text as it's just the two of us.

If anyone can point me in the right direction that would be great. I was unable to find anything close to this on google, or a "Login" event in the applescript help file online.

Thanks,
JB Trexler

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: New to AppleScript, looking to login as a different user...
      • From: "John C. Welch" <email@hidden>
    • Re: New to AppleScript, looking to login as a different user...
      • From: Norman Cohen <email@hidden>
    • Re: New to AppleScript, looking to login as a different user...
      • From: Matthew Smith <email@hidden>
  • Prev by Date: Re: Data from html table to excel
  • Next by Date: Re: New to AppleScript, looking to login as a different user...
  • Previous by thread: Deferred email sending
  • Next by thread: Re: New to AppleScript, looking to login as a different user...
  • Index(es):
    • Date
    • Thread