• 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
running scripts in BBEdit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

running scripts in BBEdit


  • Subject: running scripts in BBEdit
  • From: doggman <email@hidden>
  • Date: Mon, 20 Nov 2000 20:05:59 -0500

Hello all,
I am a newbie and have been lurking for a while soaking up as much great
information as I can...at least that which doesn't go straight over my head.
I have just created a set of scripts that takes an email form received in
Outlook Express and transfers it to FileMaker Pro 5 via BBEdit. I have it
set up so it works but it is slow. I think that it would be much faster if I
could get BBEdit to run scripts from within itself. Like the "do script"
command in FileMaker. As it is now once the email is copied to BBEdit I have
to use the finder to call a saved application instead of running a script
from within BBEdit to parse the information and save it to a comma separated
file. That file is then imported into FMP.
Any help is appreciated.

<--This is the script as called from Outlook Express
on run
<-- copies information to BBEdit
tell application "Outlook Express"
set theWindow to window 1
set windowClass to the class of theWindow
if windowClass is message window or windowClass is draft window then
set theText to the content of theWindow
end if
tell application "BBEdit 5.0"
make window
insert text theText
end tell

<--this is the script that I would like BBEdit to run.
tell application "extract OEBBEdit1"
activate
end tell
end tell
<-- opens the filemaker database
tell application "Finder"
open file "gmvsalumni.fp5" of folder "GMVS-ALUMNI" of folder
"websites" of disk "SUKI(1)"

<-- I 'd like the OEBBEdit1 script work like this
tell application "FileMaker Pro"
do script "BBEditsave"
end tell
end tell
end run

Thanks for any help.

Jeff
email@hidden


  • Follow-Ups:
    • Re: running scripts in BBEdit
      • From: Will Gosney <email@hidden>
  • Prev by Date: mounting a SNAP! server
  • Next by Date: iDo Script Scheduler AppleScript
  • Previous by thread: Re: mounting a SNAP! server - never mind
  • Next by thread: Re: running scripts in BBEdit
  • Index(es):
    • Date
    • Thread