• 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
Bug in the Finder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in the Finder?


  • Subject: Bug in the Finder?
  • From: Syllas Rodner <email@hidden>
  • Date: Sat, 23 Nov 2002 08:26:45 -0800 (PST)

Hi All,

The following script should compare the contents of a
source folder to the one
of a target folder and stores the difference in a
variable
----- START ------
tell application "Finder"
set SourceFolder to folder "LocalDisk:Desktop
Folder:00002 Destination:"
set TargetFolder to folder "VolumeA:00002
Destination:"
set TargetList to name of (every folder) of
TargetFolder
set DifSource to (((every folder) of SourceFolder)
whose name is not in TargetList)
-- display dialog DifSource as text
display dialog number of items of DifSource
end tell
----- END ---------
In the following case this script does not work at
all. ( The Script should display 1)

When the Source folder, "LocalDisk:Desktop
Folder:00002 Destination:", contains these two
folders:
"00002 Test1" and "Test1"
And the Target folder, "VolumeA:00002
Destination:",contains this folder : "Test1"
I can't figure out what's happen.
Is-it a bug in the finder ?
I am using Mac OS 9.2.2 and AppleScript 1.7
Any help will be appreciated !

Thanks in advance
Yahoo! Mail Plus  Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
_______________________________________________
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: FileMaker Pro, get image by reference
  • Next by Date: Quark Q&A : Big Thank You Jay ! and the next one...
  • Previous by thread: Re: Just screwing around
  • Next by thread: Quark Q&A : Big Thank You Jay ! and the next one...
  • Index(es):
    • Date
    • Thread