• 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: String character offset in excel cell string value
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: String character offset in excel cell string value


  • Subject: Re: String character offset in excel cell string value
  • From: Stephanos Piperoglou <email@hidden>
  • Date: Wed, 20 Oct 2004 18:05:53 +0300

peter boardman wrote:
I'm trying to parse a string contained in an Excel workbook
[...}
rec_name is a string. Offset is a method of string. Why is access not allowed?
    

obviously offset is being interpreted by Excel somehow. Take it outside the tell block?
  

Thanks that did it, though it did mess up my code a bit (a lot initially because I rewrote it thinking that variables are scoped inside tell blocks, which they're not. AppleScript is weird - but in a good way :-). Kind of like perl only you can actually read your own code). I hit upon a little diatribe on AppleScript's name resolution mechanism in the mean time that makes this kind of clear. Can I use something like "using terms" to tell AppleScript to look up terms in the Standard Extensions namespace or use an explicit namespace qualifier of some sort?

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: String character offset in excel cell string value
      • From: cheshirekat <email@hidden>
    • Re: String character offset in excel cell string value
      • From: Paul Berkowitz <email@hidden>
References: 
 >Re: String character offset in excel cell string value (From: peter boardman <email@hidden>)

  • Prev by Date: Re: Scriptin iCal's to do's
  • Next by Date: Re: String character offset in excel cell string value
  • Previous by thread: Re: String character offset in excel cell string value
  • Next by thread: Re: String character offset in excel cell string value
  • Index(es):
    • Date
    • Thread