• 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: Need an Idea
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need an Idea


  • Subject: Re: Need an Idea
  • From: Mark Lively <email@hidden>
  • Date: Thu, 26 Jan 2006 10:39:28 -0500

On 1/26/06, Steven Valenti <email@hidden> wrote:
> What I'm trying to do is make a folder distinguished from another
> folder so that I can later determine type of job inside of it. In this
> manufacturing environment, an artist creates different files depending
> on the process of the job. There are 10 different processes and
> sometimes artists forget to make a file for a particular process which
> stalls production. I am building a script that will run at end of
> workday to verify all files were made depending on process. I need a
> way to mark the folder in such a way to later determine process of job
> to know what files should be in it. I can't change the folder name. I
> thought about using the comments pane in the folder info... this seemed
> simple enough.
>
> tell application "Finder"
>         set comment of folder PathToFolder to MyProcess
> end tell
>
>
> tell application "Finder"
>         set MyProcess to get comment of folder PathToFolder
> end tell
>
> Then I realized this comment is local and isn't seen on another
> machine. (All artists work there jobs on a server.) Dismount the pc
> server and comments are lost. Can comments be saved in such a way to a
> remote drive?
>
> Does anyone have an idea how I can label the folder to later determine
> the process of the job inside?
> Thanks for any help.

There are labels (colors)

tell application "Finder" to set label index of folder to 7

This gives 8 values 0-7.

Another option is to place a file in the folder and look at the file
name or even the contents of the file.

There are other ways to do it that get progressively more complex.  A
central database of information, walking around with a cattleprod.

-Mark
Only $50 from the feed store.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Need an Idea (From: Steven Valenti <email@hidden>)

  • Prev by Date: Need an Idea
  • Next by Date: QuickTime - Save Export Settings - help needed
  • Previous by thread: Need an Idea
  • Next by thread: Re: Need an Idea
  • Index(es):
    • Date
    • Thread