• 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: tell syntax - specifying the APPL with a preset string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tell syntax - specifying the APPL with a preset string


  • Subject: Re: tell syntax - specifying the APPL with a preset string
  • From: JJ <email@hidden>
  • Date: Tue, 06 Nov 2001 19:57:36 +0100

> set theBrowser to "Netscape Communicator"
> set theBrowser to "iCab"
> set theFile to "Luna:. . ."
> set theURL to "https://www.. . ."
> process(theURL, theFile)
> . . . . .
> on process(aURL, aFile)
> tell application theBrowser
> GetURL aURL to file aFile
> end tell
> end process
>
> Results in a compile failure. Something about "expected end of line
> but found identifier" but the Script Editor won't let me copy it for
> pasting here. The item aURL is highlighted in the line that begins
> with GetURL. I have tried adding theBrowser to the argument list but
> it doesn't help. I haven't tried this:
>

It works for me (Communicator & iCab 2.5.3)
on process(aURL,aFile)
tell application theBrowser
open location aURL given <<class dest>>:aFile
end tell
end process

JJ


  • Prev by Date: Re: Validate user input
  • Next by Date: Re: Dialog Director Questions
  • Previous by thread: Re: tell syntax - specifying the APPL with a preset string
  • Next by thread: Validate user input
  • Index(es):
    • Date
    • Thread