Re: assistance with script
Re: assistance with script
- Subject: Re: assistance with script
- From: Ross Hunter <email@hidden>
- Date: Mon, 10 Mar 2003 20:25:13 -0500
>
Yes, it is.
>
>
What's the problem?
>
>
On Monday, March 10, 2003, at 05:37 PM, Ross Hunter wrote:
>
>
> I have just recently made my first attempt to write some
>
>AppleScript code to check email when the computer starts up in the
>
>morning. While the script works in a manner of speaking, it needs
>
>some help.
>
>
>
> Is this list the place to post the script and ask for guidance?
>
>
>
> Ross Hunter
>
> Orange, Virginia
Thank you for your kind offers of assistance.
I've included my scripting efforts below. I use Eudora. I have placed
my script in the startup folder so it checks email when the computer
comes on in the morning.
The script does not quit properly. When I shut down the computer I
get a window saying the script has timed out and I have to click
"OK". I'd like to know how to properly end the script so that I can
start the shutdown process and walk away from the computer.
You can see at the top of my script, my crude first efforts to make
the script so it will only run when the computer starts up at 7 in
the morning. I have not yet figured out how to make it "tell time".
The script seems to run properly from "tell application "Finder"
through the "end tell" after "connect with checking".
I would be most grateful for any assistance or guidance you can share.
Ross Hunter
Orange, Virginia
-----------------------------------------------
-- set the time_slug to my format_time_using(the current date, ":",
{"HH", "MM"})
-- set the time to time_slug
--if time_slug is greater than "06 55 " and time_slug is less than "07 05" then
tell application "Finder"
activate
select startup disk
open selection
select folder "Internet" of startup disk
open selection
select file "Eudora" of folder "Eudora Application Folder" of
folder "Internet Applications" of folder "Internet" of startup disk
open selection
end tell
tell application "Eudora"
connect with checking
end tell
tell application "Finder"
return
end tell
-- end if
-- tell application "Control PPP"
-- quit
-- 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.