• 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: encode url without OSAX
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: encode url without OSAX


  • Subject: Re: encode url without OSAX
  • From: Paul Berkowitz <email@hidden>
  • Date: Sat, 30 Jun 2001 06:44:29 -0700

On 6/30/01 4:27 AM, "Nigel Garvey" <email@hidden> wrote:

> 'i' is a reference to an item in the thing being looped through, not the
> value of the item itself. 'Greater than' and 'less than' comparisons work
> here, but 'equal to' comparisons don't. You'd need to use the
> dereferencing operator 'contents of':
>
<snip>

I forgot to mention that. Thanks, Nigel. (It wouldn't have worked on its
own, of course.)
>
> Another solution would be:
>
> set applescript's text item delimiters to {" "}
> set y to text items of x
> set applescript's text item delimiters to {" "}
> set x to y as string
> set applescript's text item delimiters to {""}
> return x

The "best" solution (fastest).
--
Paul Berkowitz


References: 
 >Re: encode url without OSAX (From: Nigel Garvey <email@hidden>)

  • Prev by Date: Re: repeat with i from 1 to count items of the selection (9.1)
  • Next by Date: Why doesn't "choose from list (name of processes)" work?
  • Previous by thread: Re: encode url without OSAX
  • Next by thread: Why doesn't "choose from list (name of processes)" work?
  • Index(es):
    • Date
    • Thread