• 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
Re: Why it doesn't work?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why it doesn't work?


  • Subject: Re: Why it doesn't work?
  • From: Jean-Baptiste LE STANG <email@hidden>
  • Date: Thu, 7 Aug 2003 01:16:56 +0200

Can you tell us where your code is failing ?

@+ JB

Le mercredi, 6 ao{ 2003, ` 23:52 Europe/Paris, Marcus Rodrigues a icrit :

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.
_______________________________________________
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.

References: 
 >Why it doesn't work? (From: Marcus Rodrigues <email@hidden>)

  • Prev by Date: Why it doesn't work?
  • Next by Date: Re: Why it doesn't work?
  • Previous by thread: Why it doesn't work?
  • Next by thread: Re: Why it doesn't work?
  • Index(es):
    • Date
    • Thread