• 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: Introduction and procmail test
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Introduction and procmail test


  • Subject: Re: Introduction and procmail test
  • From: Joe Klemmer <email@hidden>
  • Date: Sun, 20 Jun 2004 06:53:08 -0400
  • Organization: Unix System/Network Administrator & Ad Hoc Programmer

On Sat, 2004-06-19 at 15:33, Graff wrote:

> Heh, minor mess-up there. The script works but the prompts in the file
> dialogs don't come up. I forgot to put in the "with prompt" part.
> Here's a cleaner version:
> ----
> set theFolder to choose folder with prompt "Choose the folder to
> archive:"
> set theSource to quoted form of POSIX path of theFolder
>
> set theFolder to choose folder with prompt "Choose where the archive
> should be placed:"
> set theDest to quoted form of ((POSIX path of theFolder) &
> "archive.zip")
>
> do shell script "/usr/bin/ditto -c -k --sequesterRsrc " & theSource & "
> " & theDest
> ----
>
> I mess up like this all the time. I'm sure it's because the "display
> dialog" command doesn't have the "with prompt" part to it so I forget
> to use it with the file and folder choosers. Oh well...

Hhmm. This looks like it's darn near what I need to do. The only
thing is they want it to be a droplet so I'd have to use on open. I just
wish I had more time to learn all this stuff.

--
My UnKnown Blog
http://x-nc.blogspot.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.


  • Follow-Ups:
    • Re: Introduction and procmail test
      • From: Walter Ian Kaye <email@hidden>
  • Prev by Date: Re: Introduction and procmail test
  • Next by Date: where to put files owned by the application
  • Previous by thread: Re: Introduction and procmail test
  • Next by thread: Re: Introduction and procmail test
  • Index(es):
    • Date
    • Thread