• 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: The Ones & Oh's of Logic
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The Ones & Oh's of Logic


  • Subject: Re: The Ones & Oh's of Logic
  • From: "Jason W. Bruce" <email@hidden>
  • Date: Sun, 17 Mar 2002 13:05:30 +0000

David Groover asked

> * * *
> tell application "Palm Desktop"
> set strFullname to full name of address 0
> set strEmail to text of address 0
> end tell
>
> Thanks
>
> Dave Groover
>
> PS - the second part (isn't working right)
> --------
> tell application "Claris Emailer"
> activate
> create mail subject "" recipients {name_old:strFullname,
> address_old:strEmail, type_old:0}
>
> end tell
> -------

Since strFullname and strEmail are variables called within a tell
application "Emailer" block, AppleScript will search Emailer's dictionary
for those terms and won't see them defined elsewhere in your script. In
order to make these variables visible within the tell block, try prefixing
them with the term my, e.g., recipients {name_old:my strFullname,
address_old:my strEmail, type_old:0}


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

  • Prev by Date: Re: Booting from 9 into X
  • Next by Date: Re: Keychain Scripting for Program Linking doesn't work! (sometimes}
  • Previous by thread: Re: The Ones & Oh's of Logic
  • Next by thread: calling osascript command from php
  • Index(es):
    • Date
    • Thread