stefangs Posted April 22, 2003 Posted April 22, 2003 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.
Lee Smith Posted April 22, 2003 Posted April 22, 2003 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
stefangs Posted April 22, 2003 Author Posted April 22, 2003 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.
danjacoby Posted April 23, 2003 Posted April 23, 2003 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.
cjaeger Posted April 23, 2003 Posted April 23, 2003 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.
danjacoby Posted April 23, 2003 Posted April 23, 2003 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now