Re: Trouble moving script to OSX
Re: Trouble moving script to OSX
- Subject: Re: Trouble moving script to OSX
- From: garbanzito <email@hidden>
- Date: Wed, 9 Jan 2002 18:45:52 -0700
at 2002 01 09, 12:12 -0800, they whom i call Drew Fiero wrote:
I have a script I've used for a long time under OS 9 and I'm having trouble
getting it to run under OS X.1.2.
It's kind of long but I'm going to enclose it to make it easier to trouble
shoot.
hi Drew. you don't say anything about what kind of
"trouble", but i'm guessing that you aren't getting any
error message because of the big "try" in TryName(). my
first suggestion is that you comment that out for debugging
purposes and see if you get an error on a specific line.
however, without running your script, just looking at it,
i'm just going to guess that this line is the problem:
set job_folder to make new folder with properties
{name:jobName, current view:"as list"} at folder pathVar
although i don't have any easy way to check the Mac OS 9
Finder, on X, "current view" is a property of the class
"Finder window", not of "folder". so i would try leaving out
that property and value and see if it works. i don't script
Finder X a whole lot, but the rest of the script *looks*
like it should work.
--
steve harley email@hidden