• 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: Storing Script Snippets - Follow-up with Enhancement
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Storing Script Snippets - Follow-up with Enhancement


  • Subject: Re: Storing Script Snippets - Follow-up with Enhancement
  • From: Paul Skinner <email@hidden>
  • Date: Thu, 12 Apr 2001 12:36:32 -0400

on 4/11/01 11:22 PM, Rob Jorgensen wrote:

> Howdy :-)
>
> For all of you who recently contacted me regarding the FileMaker Pro
> database for storing script snippets, here are a couple of scripts to
> enhance things a bit if you use Scripter and/or Script Debugger.
>
> When run from within the requested FileMaker Pro database, these
> scripts will write the text from the "Script Code" field (cell) to a
> text file on the desktop. The scripts will set the file's creator
> code to that of the respective editors and then open the file in the
> related editor. Script Debugger will attempt to compile the text.
> Scripter isn't scriptable (I hate to say that), so the attempt to
> compile is absent. I use both editors, and have attached these
> scripts to buttons, which works out quite nicely. :-)
SNIP!
> I hope you find them useful. :-)
I'm sure that many people will.
To add the auto-compile functionality to Scripter you could use Sandi's
additions or type text or a macro to send the command-K (compile) to
Scripter.
If you're willing to add one of the OSAX or a macro program then you
could just copy the "Script Code" field (cell) to scripter's clipboard, make
a new scripter doc, paste the clipboard into it then compile. All using
keystroke simulations.

tell application "Scripter."
set the clipboard to scriptText
TypeText "nvk" with Command--New,Paste,Compile
end tell
--
Paul Skinner


References: 
 >Storing Script Snippets - Follow-up with Enhancement (From: Rob Jorgensen <email@hidden>)

  • Prev by Date: Re: 8. Newbie to Applescript (Vincent Pyle): AppleScript books?
  • Next by Date: CGIs with MacOS 9.1 - problem
  • Previous by thread: Storing Script Snippets - Follow-up with Enhancement
  • Next by thread: Re: Storing Script Snippets - Follow-up with Enhancement
  • Index(es):
    • Date
    • Thread