• 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: OS X (Jaguar) Scripts at Log-in Revisted
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OS X (Jaguar) Scripts at Log-in Revisted


  • Subject: Re: OS X (Jaguar) Scripts at Log-in Revisted
  • From: "Marc K. Myers" <email@hidden>
  • Date: Wed, 2 Oct 2002 14:01:06 -0400

From: email@hidden
Date: Wed, 2 Oct 2002 02:20:48 EDT
Subject: OS X (Jaguar) Scripts at Log-in Revisted
To: email@hidden

Maybe Chris can shed some light on this, since I'm still running into all
sorts of problems with every variation I've tried on running a
straight-forward script at log-in under Jaguar (the script runs as both a
compiled script and as an applet immediately after log-in with no problems if
triggered manually). I've tried all of Camilla's suggestions (posted on 30
Sept 02), with no sucess, such as run script alias "path to script", and
ignoring application responses. I've searched through both the online and
web-based help systems to no avail. I'm beginning to think that either the
permissions are set incorrectly to run at log-in.

The errors generated are either (one of the two has generated for each
solution when run at start-up:
Could not run the script "run SP5 aplet" because of a program error. -1344
[Edit, OK]
Could not run the script "run SP5 aplet" because of a program error. -1280
[Edit, OK]

Any suggestions, Chris (or anyone else in the know, but I definitely want to
hear Chris's feedback on this)...

This worked for me under 10.2.1. It's a stay open applet in login items that triggers another applet after a set interval:

property calledScript : choose file
property firstTime : true

on idle
if firstTime then
set firstTime to false
return 60
end if
ignoring application responses
run script calledScript
end ignoring
set firstTime to true
tell me to quit
end idle

I ran into similar problems trying to get applets to do certain things from Startup Items under OS 9. This delayed start mechanism appears to get them out from under the startup procedure conditions that cause the problem.

Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074

[10/02/02 2:00:14 PM]
_______________________________________________
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: Re: Updating Mail 1.2 database
  • Next by Date: Re: Adding a message to a mailbox in Mail
  • Previous by thread: OS X (Jaguar) Scripts at Log-in Revisted
  • Next by thread: Create a person in Address Book
  • Index(es):
    • Date
    • Thread