On 23/9/02 03:18, "Randal L. Schwartz" <[EMAIL PROTECTED]> wrote:

>>>>>> "Phil" == Phil Dobbin <[EMAIL PROTECTED]> writes:
> 
> Phil> As usual, the Perl section of this works flawlessly but the Applescript
> Phil> doo-dah chokes around:
> 
> Phil> ========================================
> 
> Phil> set output_file to (path to temporary items folder as string) &
> Phil> "fetch_headlines.html"
> Phil> write_to_file(output, output_file, false)
> Phil> tell application "Finder" to open output_file
> 
> Phil> ========================================
> 
> Phil> With the Finder complaining it can't set path to temp items.
> 
> I never claimed to be an AppleScript expert.  However, I *do* know
> that I tested the code (for quite a while, making constant minor
> tweaks) before submitting.
> 
> However, I just tested it again under 10.1.5, and it seems
> to be working fine.  Are you sure there isn't something
> else a little messed up?
> 
> That is *all* one line, you know.

Doesn't make any difference (in fact, all on one line makes it exit quicker,
as you'd expect - `expected end of line`).
 
> Here's what "the result" shows for me when I run this:
> 
>   set output_file to (path to temporary items folder as string) &
> "fetch_headlines.html"
>   output_file
> 
> in the AS editor:
> 
> "Randal800:private:tmp:501:Temporary Items:fetch_headlines.html"

[snip]

What does it show in the browser?

Regards,

Phil.

Reply via email to