Re: URL Access Scripting
Re: URL Access Scripting
- Subject: Re: URL Access Scripting
- From: "Daniel A. Shockley" <email@hidden>
- Date: Thu, 25 Jul 2002 14:04:27 -0400
From: Doug McNutt <email@hidden>
Subject: Re: URL Access Scripting
string after downloading html to disk. The problem comes with using
the Event Log while doing such a read. That causes the read to fail.
With Event Log off big reads from disk seem to be possible but
you're on your own debugging a script that uses such things. I was
also frustrated by problems with using UNIX line ends as delimiters
during a read operation.
Well, you can always put a stop log and start log line before and
after the line where you read (or do anything that logs >20k). That
should take care of the error problem, even though it's annoying.
So, the lines would look something like:
set someHandle to open for access alias "Macintosh HD:someBigFile.html"
stop log
set rawText to read someHandle
start log
close access someHandle
I wish the 'using delimiter' command worked properly and reliably.
Maybe it does now, but it's hard to be sure of using something that's
just been fixed.
Hey, while we're at it: will POSTing form data with URL Access
Scripting work in Jaguar? It still doesn't in 10.1.5, even though
it's still in the dictionary. Either yank it from the dictionary, or
put it back in the OSAX, please. I just use curl, but it would be
nice for the dictionary to match the actual capability.
Subject: Result too long for Event Log
Date: Sun, 21 Jul 2002 13:44:01 -0600
with reply from Nebel confirming that it's a known bug.
--
----
Daniel A. Shockley
email@hidden
email@hidden
http://www.danshockley.com
_______________________________________________
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.