Re: Help needed - auto email
Re: Help needed - auto email
- Subject: Re: Help needed - auto email
- From: JJ <email@hidden>
- Date: Sat, 08 Dec 2001 22:40:33 +0100
>
on specified days, at certain hours I program the Macs, thru the Energy
>
Saving control panel, to switch on and off (i.e. Mon, Wed and Fri, from
>
23:00 to 01:00)
>
give them some time to start up the file sharing procedures
OK. Make a Schedule that days at 23:05, launching an applescript that
>
tell the 8200 (via Applescript) to connect to the internet and copy the IP
>
address in the clipboard
Don't need the clipboard. Simply, copy the IP to a variable.
set string_to_send to... (get IP)
AND...
>
another script tells Outline Express to send to my email address a message
>
with the content of the clipboard (the IP address)
>
another script starts Hotline Server, which I just love, containing an alias
>
to my G3
>
I connect from home with Hotline Client to the IP address I've hopefully
>
received and I do what I need to do
set the_message to make new outgoing message at out box folder with
properties {recipient:Your_Mail, subject:"The IP", content:THE_IP}
send the_message
tell app "Finder" to open path_to_your_HS
>
after, say, 45'', shut everything off, Outlook, Hotline and Internet
>
connection
It could be another Schedule that run a simple shut-down script
>
>
Am I just crazy? Is it possible? Right now, I've crashed on Outlook, I don't
>
know how to tell it to send something, it's VERY confusing to me...
Depending on your OS version, Outlook 5.02 should crash (I tested it on my
8.5.1 and 8.6). This version isn't so robust (so, I'm working now in
Entourage, much more robust, near to "uncrasheable").
Otherwise, you could try using "sendmail-t" osax.
JJ