• 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: every character of theVar, as string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: every character of theVar, as string


  • Subject: Re: every character of theVar, as string
  • From: david <email@hidden>
  • Date: Sat, 10 May 2003 19:02:38 -0400

On Saturday, May 10, 2003, at 06:23 PM, Jeffrey Mattox wrote:

In my ASS project (but this question is more applicable to AS in general), I get a field from an AppleWorks database record thusly:

set theVar to (get |Name| of theRecord) -- an AppleWorks text field

Later, I have these lines (my "working form"):

-- theRow is a new row at the end of a data source
set text item delimiters to ""
contents of data cell "x" of theRow to (every character of theVar) as string

I got there by trial and error. I don't understand why I cannot use other forms, such as these (they all fail, resulting in an empty > cell):

contents of data cell "x" of theRow to theVar
contents of data cell "x" of theRow to theVar as string
contents of data cell "x" of theRow to theVar as text

Could somebody enlighten me as to what my working form is actually doing to theVar?

if you haven't read this it may be of value to you:
Macintosh HD:Applications:AppleWorks 6:AppleWorks Essentials:Scripts Support:AppleScript Usage Notes

your path may be different, but it will give you the idea what to look for.

david in maine
_______________________________________________
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: 
 >every character of theVar, as string (From: Jeffrey Mattox <email@hidden>)

  • Prev by Date: every character of theVar, as string
  • Next by Date: Sending a command from OS9 to OSX
  • Previous by thread: every character of theVar, as string
  • Next by thread: Sending a command from OS9 to OSX
  • Index(es):
    • Date
    • Thread