Re: Help w/ creator changer script
Re: Help w/ creator changer script
- Subject: Re: Help w/ creator changer script
- From: Greg Strange <email@hidden>
- Date: Fri, 14 Dec 2001 17:36:54 -0600
On 12/14/01 4:15 PM, "Harold Bert Martin" <email@hidden> wrote:
>
I wrote a drag-n-drop script for changing the creator types of files.
>
When a file (as opposed to folder) is dropped on it, it gives me errors
>
about either memory(stack overflow) or string(alias) types. I solved the
>
alias problem with the folders (as you can see in the code), but when I do
>
this in the file routine, it gives me the memory errors I referred to. I
>
have not tested this in OS X.
>
Here's a script(some of the long lines of code might be cut off. If you want
>
me to email it to you as an attachment, I will.):
>
--
<snip a very long script>
Are you using this in 9.2.2? I wrote typeXchanger (which you can look at
the source code of by downloading it from either Versiontracker or my
website at www.citizenstrange.com) which does pretty much what you are
trying to do except for going into nested folders. Take a look at it.
However, I have had this little script of mine (~4K) do such horrorific
damage in 9.2.2 that I have had to give up using it until I can get some
time to figure out what the problem is.
As for your script, I can't even get it to compile. It gives me an error
"an identifier can't go after this identifier" on the line that you say
causes the stack overflow. How did you figure out it was that line that
causes stack overflows or other errors? I would be curious to know.
Greg Strange