Newbie Questions
Newbie Questions
- Subject: Newbie Questions
- From: "Ivan Nuñez" <email@hidden>
- Date: Mon, 29 Sep 2003 09:07:45 -0700 (PDT)
X-Mailer: CommuniGate Pro WebUser Interface v.4.1
Date: Mon, 29 Sep 2003 11:08:00 -0500
Message-ID: <email@hidden>
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 8bit
Hello guys,
I just have a quick question. I am running OS 9.2.2 and
MacManager 2.2. I want to run a script to delete a folder
on the local volume. I want to run the script at
shutdown. I have tried to run the script from the
'Shutdown Items' Folder in the SystemFolder, but I get a
problem. The problem is that when you the user does not
log in and only shuts the computer down, the script
interrupts the shutting down process and there for the
computer stops working completely. Otherwise, if the user
has logged in and then shuts down the computer there is no
problem.
I found an article discribing my problem and telling what
not to do to fix the problem.
http://www.applescriptsourcebook.com/tips/gotchas/shutdownscripts.html
It essencially says: To avoid this problem, ensure scripts
in the Shutdown Items folder do not contain tell
application block / activate commands.
My Main question is how can I write a script to delete a
folder without the 'Tell application block / activate
commands' ??????
If you think there is a better way of doing this please
let me know. I appreciate every single second that you
spend on this. Thank you much!
Sincerely,
Ivan Nuqez
PC/LAN Tech
St. Louis Park Public Schools
_______________________________________________
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.