• 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: Another FileMaker Applescript Question....
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Another FileMaker Applescript Question....


  • Subject: Re: Another FileMaker Applescript Question....
  • From: Tom Giles <email@hidden>
  • Date: Sun, 09 Sep 2007 16:08:22 +0100
  • Organization: BD Solutions

Thanks for that - i did mean "Recover". As i understood the instructions for migrating from pre filemaker 7, i needed to do a recover as well as a compress and save a copy. Thanks for the script I will give it a go.
tom


Bruce Robertson wrote:
Hi,

I'm trying to write a script that will restore some databases in
filemaker (I have about 500 to do in order to upgrade to FM9).  I have a
very simple one line script in FM that runs the restore command, and an
Applescript that calls it.  Unfort I can't for the life of me figure a
way to interact with the two menus the Restore command bring up.  The
first menu asks for a db to restore; the next one ask for a place to
save the restored copy.  Can anyone suggest away to fill these menus
with AppleScript?

Thanks!
tom

First of all there is no such command as Restore.

Secondly - perhaps you mean the Recover command?

Why would you want to do this?

You risk damaging all your databases. The Recover command is a last-resort
command and is not necessary for conversion to FileMaker 9.

What IS suggest when converting to FileMaker 9 is to use the save a copy
compacted command.


If your files are in FileMaker 8.5 then you can use a script like the
following to save the files in compacted format into a folder "Compacted"

Save Me Compacted Set Error Capture [ On ]
Set Variable [ $path; Value:Get(FilePath) ]
Set Variable [ $path; Value:Substitute( $path; Get(FileName); "Compacted/" &
Get(FileName)) ] Save a Copy as [ "$path" ] [ compacted copy (smaller) ]
Set Variable [ $result; Value:Get(FileName) & " error code: " &
Get(LastError) ] Exit Script [ Result: $result ]



-- Please note: the clock on my laptop is not functioning correctly and so the time this email looks like it was sent will no longer be correct.

___________
BD Solutions

3rd Floor
95A Rivington Street
London
EC2A 3AY

0207 739 3001

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: Another FileMaker Applescript Question....
      • From: Joe <email@hidden>
References: 
 >Re: Another FileMaker Applescript Question.... (From: Bruce Robertson <email@hidden>)

  • Prev by Date: Re: Playing one song using iTunes
  • Next by Date: Re: Script Icons in Eudora menu bar
  • Previous by thread: Re: Another FileMaker Applescript Question....
  • Next by thread: Re: Another FileMaker Applescript Question....
  • Index(es):
    • Date
    • Thread