Re: Login Item that can run a Shell Script
Re: Login Item that can run a Shell Script
- Subject: Re: Login Item that can run a Shell Script
- From: Andrew Oliver <email@hidden>
- Date: Mon, 14 Jul 2003 09:48:13 -0700
Save the updateByHostPrefs.sh script anywhere you like on your machine.
Save the following script as an Application:
-- BEGIN SCRIPT
do shell script "/path/to/updateByHostPrefs.sh"
-- END SCRIPT
Drag the AppleScript Application into your Login Items preferences
On 7/14/03 6:26 AM, "Mark Anderson" <email@hidden> 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.
_______________________________________________
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.