Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7889 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

in redesigning an app, i'd like to concatenate some scripts into one in several places. there's no way to do this with copy/paste, but i seem to remember hearing about a technique to do this with applescript. any pointers appreciated.

Posted

Hi Stefangs,

If you are using version 5.0 or later, you can import scripts from one file to another.

If you are using an older versions, then you will need a utility such as AutoScript.fm Pro

HTH

Lee

smile.gif

Posted

sorry, perhaps i wasn't making myself clear enough. what i want to do is string 2 or more scripts into 1. importing won't help, because they will still be separate scripts. apparently there's a way to do that with applescript, but i don't know how.

Posted

External script

That's the answer -- at the end of the 1st script, add a Perform Script step; if the next script needs to run from another file, use the "External script" to select it.

Posted

i guess he just wants to put 20 3-line skripts into one 60-line skript. AppleSkript is of no help here.

There once was a solution for FM 4 which was based on mouse-clicks at a certain window position, but it was never finished. And never worked in foreign language files.

Since there is no "create script" (applescript-)command in FileMaker, spend your time typing rather than trying to make this utility work.

b.t.w, the utility is called "Promaker Utils", was available from Peter Baanen (www.troi.com). He stopped developing it further because ofthe "import-Script"-ability of FM 5.

Posted

Why do you want them to be one script? There's no real advantage -- in fact, I often split scripts into two or more modules in order to be able to use the same modules over and over simply by stringing them in different orders.

This topic is 7889 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.