Why it doesn't work?
Why it doesn't work?
- Subject: Why it doesn't work?
- From: Marcus Rodrigues <email@hidden>
- Date: Wed, 6 Aug 2003 18:52:37 -0300
I did all I could to make this work, but to no avail..
Can someone read this to see if there is any BIG error in my code?
The goal is to display a dialog in a remote machine, and, depending on
the button returned, send an e-mail to me with the answer.
It works fine in my machine, but when I add the "remote machine code"
it fails.
Here is the code and thx for any help:
property carriage_return : return as text
property data : (current date) as string
using terms from application "Finder"
tell application "Finder" of machine "eppc://192.200.9.79"
activate
set theResult to the button returned of (display dialog "Jose,
parabC)ns pelo teu AniversC!rio.
Tomara que tu seja muito feliz na tua vida e no teu trabalho sempre
progredindo e aprendendo cada vez mais. Esta mensagem C) um AppleScript
que eu programei em 01 de agosto de 2003
e agendei para execuC'C#o no iCal" buttons {"Gostei, brigadu", "Achei
idiota..."})
if theResult is "Gostei, brigadu" then
end using terms from
using terms from application "Mail"
tell application "Mail" of machine "eppc://192.200.9.79"
activate
set newMessage to make new outgoing message with properties
{visible:true, subject:"Resposta da Jose", content:"Gostei!!!"}
tell newMessage to make new to recipient at end of to recipients
with properties {address:"email@hidden"}
send newMessage
end tell
else
tell application "Mail" of machine "eppc://192.200.9.79"
activate
set newMessage to make new outgoing message with properties
{visible:true, subject:"Resposta da Jose", content:"Naum gostei =-("}
tell newMessage to make new to recipient at end of to recipients
with properties {address:"email@hidden"}
send newMessage
end tell
end if
end tell
end using terms from
o#? Marcus Rodrigues o#?
iBook 600 - Combo - Jaguar
CC4nsul do Brasil Apple Clube - Caxias do Sul
Moderador BAC-Macusers
ichat: marcusrodrigues
mailto:email@hidden
http://homepage.mac.com/marcusrodrigues
_______________________________________________
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.