• 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
Have files, want one script for each; how to automate creation of these scripts?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Have files, want one script for each; how to automate creation of these scripts?


  • Subject: Have files, want one script for each; how to automate creation of these scripts?
  • From: Bill Christens-Barry <email@hidden>
  • Date: Fri, 15 Mar 2002 18:18:30 -0500

I have some files, say all of the files in a specified folder. I'd like to create a set of scripts, one script per file, and save each as a Classic apple. A typical script would go something like this:

tell app "targetApp"
activate
open "<the file that is unique to this script>"
end tell

How can I automate this (for 8.6 - 9.x) given that ScriptEditor is not scriptable (at least not v1.4.3 that I'm using on my 8.6 machine)? Is there an alternative tool (perhaps a scriptable script editor) that allows this?

Thanks.

Bill Christens-Barry
-----------------------
Bill Christens-Barry, PhD
Equipoise Imaging, LLC
email@hidden
http://www.eqpi.net/eqpi/
_______________________________________________
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: FADE DEAD
  • Next by Date: Re: "tell" to a running process
  • Previous by thread: Re: theSIMS -- Applescript copy paste from Explorer
  • Next by thread: Re: Have files, want one script for each; how to automate creation of these scripts?
  • Index(es):
    • Date
    • Thread