Re: Moving large PDF files with Applescript
Re: Moving large PDF files with Applescript
- Subject: Re: Moving large PDF files with Applescript
- From: "Mark J. Reed" <email@hidden>
- Date: Wed, 1 Apr 2009 14:59:54 -0400
On Wed, Apr 1, 2009 at 2:44 PM, John C. Welch <email@hidden> wrote:
> That's assuming the only way to use the timing loop is to check for
> increases.
>
> That's what the code posted so far has done.
>
> A certain amount of “do your own thinking” is assumed on a programming list.
Well, I was addressing the posted solutions, not the entire universe
of possible solutions that the endlessly creative programmers on the
list might concoct along the same basic lines.
> You know the size of the file when you start the transmission.
No, "I" don't. We're talking about a folder action that responds to
the appearance of a file in a folder. If that folder action is to
somehow know the correct final size of the file, that information has
to be conveyed through some mechanism from whatever process is writing
the file to that folder. It doesn't come free.
> That’s trivial to obtain. Please don’t make me explain something that basic.
No, please, humor me. Explain to me the basic, trivial process by
which a folder action can intuit the final size of a file being
written by some other process.
> Really, it’s not that hard to figure out.
Yes, please condescend some more. All this stuff is so basic,
trivial, not hard to figure out, and those of us worrying about the
flaws in the delay loop idea are clearly just stupid.
If we have the size information, obviously that simplifies things
tremendously on the "check to see if the file is done transferring"
front. The entire rest of your message assumes we have that
information, and proceeds to argue against some strawman argument I
didn't realize I was making wherein I claimed this to be a hard
problem despite having that vital information. I'm such a moron!
--
Mark J. Reed <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden