• 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
Re: Login Item that can run a Shell Script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Login Item that can run a Shell Script


  • Subject: Re: Login Item that can run a Shell Script
  • From: Mark Anderson <email@hidden>
  • Date: Mon, 14 Jul 2003 12:34:07 -0400

Hello rob,

A log in hook will not work as the users directory is not mounted yet when the login hook is executed :( I have explored this option fully.

BTW with Workgroup Manager you can make a login in item assigned by a group so the end user has not control over it.

Thanx
MA



On Monday, July 14, 2003, at 12:17 PM, Rob Morton wrote:

Don't do it this way unless your AppleScript is doing other things. Look at this and see if it will do what you are looking for...

http://www.bombich.com/software/lwm.html

While your way may work, I could see users removing it from the login items. Also, why not just keep it 100% transparent to them.

Rob Morton

On Monday, July 14, 2003, at 09:26 AM, Mark Anderson wrote:

Hello everyone,

I am new to Applescript and Shell scripting but am doing my best to learn quickly. I am currently reading Sams Teach Yourself Apple Script in 24 hours. It is a great book so far but I am running out of time and am only on lesson 10. I have also been digging around on the web for scripts hoping I could find one similar to what I am trying to accomplish.

What I am looking for is very simple it seems?
____________________

An Apple Script that could be set as a" login item" to be run when a user logs in...

This script would then run the following shell script from somewhere on the system
http://www.macosxlabs.org/documentation/hard_disk_maintenance/ byhost_renamer_shell/updateByHostPrefs2.sh

Then quit itself...
____________________

Any help with this would be greatly appreciated. I think this will fix some problems we are having in our new Workgroup Manager (OSX) computer lab. We have just upgraded all our labs from MacManager (OS9) and are trying to get everything working as it did on the older systems. So far it has taken a lot of learning :)

Thank you for your time
MA
______________________
Mark Anderson
Director of Multimedia
Wright State University
School of Medicine
email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.




______________________
Mark Anderson
Director of Multimedia
Wright State University
School of Medicine
email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Creating a shell script with AppleScript, and line endings
  • Next by Date: Re: Login Item that can run a Shell Script
  • Previous by thread: Re: Login Item that can run a Shell Script
  • Next by thread: Re: Substitute some Strings
  • Index(es):
    • Date
    • Thread