• 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
file type bzy?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

file type bzy?


  • Subject: file type bzy?
  • From: "Steve Suranie" <email@hidden>
  • Date: Wed, 19 Jun 2002 11:11:55 -0400
  • Thread-topic: file type bzy?

Hi folks

I am trying to move some large files (100+mb) but I keep getting Apple Event timeouts. Someone sent me a snippet of code which is suppose to check to see if a file is busy, if so its file type would be bzy. When ever I run the script I get the following error message

Finder got an error: Can't make some data into the expected type.

Here's the script snippet:

move file moveThis of thePath to the folder magFolder of dstFolder

repeat until (file type of file moveThis of folder magFolder of folder dstFolder is not equal to "bzy ")
end repeat

I tried this modification with the same error message:

if file type of file moveThis of folder magFolder of folder dstFolder is "bzy*" then

repeat until (file type of file moveThis of folder magFolder of folder dstFolder is not equal to "bzy ")
end repeat

end if

it doesn't seem to understand what file type I am looking for. Should the bzy type be 4 characters? Does it even exists? Any help would be appreciated.

Thanks

Steve
_______________________________________________
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.

  • Prev by Date: Re: BUG: Where's Application Support?
  • Next by Date: Re: BUG: Where's Application Support?
  • Previous by thread: Re: Excel.x VB & AS
  • Next by thread: Re: file type bzy?
  • Index(es):
    • Date
    • Thread