• 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: Facespan script problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Facespan script problem


  • Subject: Re: Facespan script problem
  • From: Phi Sanders <email@hidden>
  • Date: Fri, 26 Jan 2001 16:03:06 -0500

try this:

>open windoid "Main Dialog"
tell windoid "Main Dialog"
>set textbox "sender1" to mysender1
>set textbox "subject1" to mysubject1
end tell
>end run

OR

>open windoid "Main Dialog"
>set textbox "sender1" of windoid "Main Dialog" to mysender1
>set textbox "subject1" of windoid "Main Dialog" to mysubject1
>end run

One of those should work.

~Phi
--
Phi Sanders
"Phee, Phi, Pho, Phum..."

"And now, back to your regularly scheduled reality."

On 1/26/01, Eric Waters {email@hidden} said the following :

>Applescripters-
>
>I have a Facespan script that I'm wanting to display a floating
>"windoid" dialog to notify users of new email with email sender and
>email subject fields on the dialog - so the users can quickly view
>who the new email is from and the subject before deciding to
>interrupt current work to read the mail. They have the option (in the
>Facespan dialog) to either read individual messages or ignore all
>messages until later. However, I'm having trouble setting the
>textboxes in the Facespan dialog to the sender and subject variables
>I'm grabbing from Eudora. Here's the script:
>
>on run
>tell application "Eudora"
>set mysender1 to sender of last message of mailbox "In"
>set mysubject1 to subject of last message of mailbox "In"
>end tell
>
>open windoid "Main Dialog"
>set textbox "sender1" to mysender1
>set textbox "subject1" to mysubject1
>end run
>
>I'm currently getting the following error when running the script:
>
>"Can't set textbox "sender1" to "--sender's name--"
>
>Any ideas? Also, any input as to how I could account for more than
>one message received since the last mail check and display both
>senders and subject lines?
>
>Thanks in advance.
>--
>WWWWWWWWWWWWWWWWW
>
>Eric Waters
>Systems Trainer - Office of Institutional Communications
>Southwest Educational Development Laboratory - SEDL
>Austin, Texas 78701
>800-476-6861 ext. 329
>
>web: http://www.sedl.org
>_______________________________________________
>applescript-users mailing list
>email@hidden
>http://www.lists.apple.com/mailman/listinfo/applescript-users


  • Follow-Ups:
    • Re: Facespan script problem
      • From: Eric Waters <email@hidden>
References: 
 >Facespan script problem (From: Eric Waters <email@hidden>)

  • Prev by Date: Replacing braces in search and replace strings "{" and "}"
  • Next by Date: Seting Web Companion sharing via AppleScript?
  • Previous by thread: Facespan script problem
  • Next by thread: Re: Facespan script problem
  • Index(es):
    • Date
    • Thread