• 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
'delete login item' no longer works
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

'delete login item' no longer works


  • Subject: 'delete login item' no longer works
  • From: crooked-eye <email@hidden>
  • Date: Thu, 8 Jan 2004 07:34:31 +0000

Hi,

I have a script that worked in Jaguar and no longer seems to work in Panther (10.3.2). Can anyone confirm this for me? I think the problem is that the 'delete login item' line no longer works.

Is there another way to do this?

Thanks for your help

John M

--My Script

set run_path to (path to me) as text
if run_path contains "Script Editor" then
display dialog "This script must be run as an application to operate correctly." ,
default button 1 with icon 2
end if

tell application "System Events"
get (name of every process whose name contains ("System Preferences" as text))
if result contains "System Preferences" then
display dialog "System Preferences is open." & return & return & ,
"Quit System Preferences, then re-open this script to complete this setup.",
buttons [" OK"] default button 1 with icon 2
return
end if
delete login item "My Script" --The name of an existing login item
make login item at end with properties {path:(path to me), hidden:false}
delete (every login item whose name contains "Script Editor")
--To remove addititons of Script Editor from Login Items
end tell
_______________________________________________
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: Synchronization between FileMaker and AddressBook
  • Next by Date: Re: 'delete login item' no longer works
  • Previous by thread: Re: Synchronization between FileMaker and AddressBook
  • Next by thread: Re: 'delete login item' no longer works
  • Index(es):
    • Date
    • Thread