• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Help w/ creator changer script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Help w/ creator changer script (From: Harold Bert Martin <email@hidden>)

  • Prev by Date: Re: even better coerce to record with usrf
  • Next by Date: Re: even better coerce to record with usrf
  • Previous by thread: Help w/ creator changer script
  • Next by thread: Re: Help w/ creator changer script
  • Index(es):
    • Date
    • Thread