Re: Startup !
Re: Startup !
- Subject: Re: Startup !
- From: Andrew Oliver <email@hidden>
- Date: Wed, 09 Jun 2004 09:59:01 -0700
On 6/9/04 9:14 AM, "Gnarlodious" <email@hidden> wrote:
>
Entity email@hidden spoke thus:
>
>
> I have a Script, that I want to add to startup items.
>
You can store the script (Application only) wherever you want. Then use
>
"Accounts" prefpanel>Startup Items to navigate to the script.
>
Actually, no. Accounts -> Startup Items should really be called 'Login
Items' since they run when the specified user logs in, not when the machine
is booted, which is what the original poster requested.
Of course, the distinction between 'startup' and 'login' on Mac OS 9 was
weak (non-existent?) and therefore a login item may suffice, but if you want
to run a script at startup you need to put it in
/System/Library/StartupItems/<name>/ where <name> is a name for your startup
item.
Additionally, I don't know the level of support for AppleScripts at this
stage of startup. All the standard startup scripts are shell scripts. I'm
sure that at the very least there's no user interaction allowed but since
AppleScript apps always want to bind to a WindowServer that might be a
problem.
Apple have documentation on their site regarding writing shell startup
scripts, and it shouldn't be too hard to modify an existing startup script
and tweak it for your needs, although any AppleScript commands would have to
be executed in a shell wrapper via osascript.
Andrew
:)
Return-Path: <email@hidden>
Received: from lists.apple.com (17.254.0.151) by www.axon.net with ESMTP
(Eudora Internet Mail Server 3.2.4) for <email@hidden>; Wed, 9 Jun
2004 08:43:49 -0700
Received: from lists.apple.com (localhost [127.0.0.1]) by
lists.apple.com (8.12.9/8.12.9) with ESMTP id i59Fd5jK013935; Wed, 9
Jun 2004 08:39:05 -0700 (PDT)
Received: from RelayDAL.nai.com (relaysnc.nai.com [205.227.136.197]) by
lists.apple.com (8.12.9/8.12.9) with ESMTP id i59FY8UX013510 for
<email@hidden>; Wed, 9 Jun 2004 08:34:08 -0700
(PDT)
Received: from daldcwsout1.na.nai.com (dalexwsout1.na.nai.com
[161.69.212.92]) by RelayDAL.nai.com (Switch-2.2.8/Switch-2.2.6) with
SMTP id i59FTsj21985 for <email@hidden>; Wed, 9
Jun 2004 10:29:54 -0500 (CDT)
Received: from dalexbr1.corp.nai.org(161.69.111.81) by
daldcwsout1.na.nai.com via csmap id
0c84d99c_ba28_11d8_81ec_00304811fc59_3823; Wed, 09 Jun 2004 10:16:57
-0500 (CDT)
Received: from sncexbr1.corp.nai.org ([161.69.5.246]) by
dalexbr1.corp.nai.org with Microsoft SMTPSVC(5.0.2195.6713); Wed, 9
Jun 2004 10:34:03 -0500
Received: from banexmb1.corp.nai.org ([161.69.182.237]) by
sncexbr1.corp.nai.org with Microsoft SMTPSVC(5.0.2195.6713); Wed, 9
Jun 2004 08:34:03 -0700
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Subject: Startup !
Date: Wed, 9 Jun 2004 21:03:59 +0530
Message-ID: <email@hidden
g>
Thread-Topic: Startup !
Thread-Index: AcRONy9KrOUdKj4YTtyhgLQFufYBnA==
From: <email@hidden>
To: <email@hidden>
X-OriginalArrivalTime: 09 Jun 2004 15:34:03.0261 (UTC)
FILETIME=[316CFAD0:01C44E37]
X-Converted-To-Plain-Text: from multipart/alternative by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: email@hidden
Errors-To: email@hidden
X-BeenThere: email@hidden
X-Mailman-Version: 2.0.13
Precedence: bulk
List-Unsubscribe: <
http://www.lists.apple.com/mailman/listinfo/applescri
pt-users>,
<
mailto:email@hidden?subject=unsubscribe>
List-Id: Help and discussions for scripters developing scripts and
solutions in AppleScript. <applescript-users.lists.apple.com>
List-Post: <
mailto:email@hidden>
List-Help: <
mailto:email@hidden?subject=hel
p>
List-Subscribe: <
http://www.lists.apple.com/mailman/listinfo/applescript
-users>,
<
mailto:email@hidden?subject=subscribe>
Hi,
I have a Script, that I want to add to startup items.
In OS 9 it was simple as adding to Startup items resolved the problem
but in OS X it is not working.
Can anyone help me in telling how I can execute the script the moment
the OS is started. ( I am using Jaguar)
Regards
Karaan
_______________________________________________
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.
- Follow-Ups:
- Curl
- From: Martha Espinosa <email@hidden>