• 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
Is this possible?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is this possible?


  • Subject: Is this possible?
  • From: Ian Sterling <email@hidden>
  • Date: Wed, 28 Feb 2001 00:12:06 -0600

I am a newbie to applescript, but was wondering if it was the tool to
accomplish something that is a really annoying task for me. Here is the
scenario, any pointers or help would be greatly appreciated.

I have a Win2k Advanced server storing around 2000 mp39s on a Macintosh
volume which are all in folders alphabetized by artist name then album name
(if I have the full album or a major portion of it). I would like to be
able to have applescript choose a specified number of random mp39s and copy
them to my mp3 folder on my powerbook. The part that has me stumped is
choosing the random files. Optimally, I would like the script to then save
the list of files chosen to a file and exclude them until all files have
been cycled through. Basically, this is what I9m thinking it would be
like....

mount ntmp3vol (using username/pass)
move all files in powerbook:hd:mp39s to trash
empty trash
copy random files from random folders from ntmp3vol to powerbook:hd:mp39s
folder (excluding files named in mp3list.txt)
list contents of powerbook:hd:mp39s as text
save text file as mp3list.txt
disconnect from ntmp3vol

Is this even possible? Being very new to AS, I just wanted your advice
before frustrating myself trying to do something which can9t be done.

Thanks for your help.
--
Ian Sterling
MCP, A+, MacLover


*-nix for stability
MacOS for production.
Windows for Minesweeper.


  • Follow-Ups:
    • Re: Is this possible?
      • From: Emmanuel <email@hidden>
  • Prev by Date: Re: Unspecified unit returned by gestalt call
  • Next by Date: Re: Project scope - is it worth doing?
  • Previous by thread: Re: Scripting AppleTalk control panel
  • Next by thread: Re: Is this possible?
  • Index(es):
    • Date
    • Thread