You can import a script directly from one file to another, at least I can do that using FileMaker Advanced, but you cannot import a script as text into FileMaker of any version.
And yes, that's unfortunate. We've asked for a text based script editor for over a decade abut have yet to see one...
Is my sequence wrong: as what (what extension) do I:
- first export
- then import
the scripts - the dialog box has the file with the text which I pasted into it from the PDF grayed out?
There is no export. If you have a script in File A, that you need in File B, Open File B, open Manage | Scripts and click the import button to find the file, open a list of scripts, select the ones you want to import and import them.
And no PDF is part of this process.
That's the only safe way to do it: FMP <> FMP?
Editing outside of FMP (e.g. in BBEdit), is impossible?
That said, there are 3rd party app's that let You edit the XML code in BBEdit - but not the script steps as they appear in the script editor (or by using the 'copy text' function from the MBS plugin)
It is one of the features I'm missing fir years..
'for years', typing mistake, posts can't be edited on iPad...
So the only way really to copy from one file to another is from within the FMP (Advanced) environment?
I'll revert to making that work, then :-)
I've imported scripts from one file to another many times, even jumping versions of FMP, and without Advanced.
The re-editing can be done in the new imported script manager.
I don't think I really explained myself very well: I have a script which needs certain sets of steps duplicating multiple (>20) times with only minor variations (field names etc).
Even using Duplicate, it's tedious and error-prone. The greater freedom offered by an external text editor (such as BBEdit) would be useful.
But I'm assuming that FMP script steps are tokenized (on commit?) in such a way that they're not really text that can ever be reliably edited externally.
Within the script editor, you can copy [Ctrl C] individual or a set of steps from one script and paste them [Ctrl V] into another script rather than duplicating complete scripts
In the end, I gritted my teeth and just used Duplicate. I have to agree with what has been said here, too: that some way to edit externally would be useful.