Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.databases.filemaker > #2517

Re: Script Editing

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail
From Helpful Harry <HelpfulHarry@BusyWorking.com>
Newsgroups comp.databases.filemaker
Subject Re: Script Editing
Date Tue, 24 Nov 2015 13:34:40 +1300
Organization Aioe.org NNTP Server
Lines 45
Message-ID <241120151334409712%HelpfulHarry@BusyWorking.com> (permalink)
References <1me9h1d.1g9dfyu1t0zetfN%csampson@inetworld.net> <slrnn532ot.5tt.t-usenet@ID-685.user.individual.de> <1meci25.8ifcwu1o9gtkvN%csampson@inetworld.net>
NNTP-Posting-Host ADFJjCSnaL3aFsc9rgvenw.user.speranza.aioe.org
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 8bit
X-Complaints-To abuse@aioe.org
User-Agent Thoth/1.8.4 (Carbon/OS X)
X-Notice Filtered by postfilter v. 0.8.2
X-Face vIZzK[X\z-._]-_:U?l@cBtwg<{a>ggn\mH}Vs>38E,#R%7h%U0'=4;1Q=erO %[T#a{YJfGvAbWmE@f_h]<rQ30+q;vqA^FUVx%\9{@r{gt${p^.L~bemFF@WY$r9fhuA F"1)$0+MgN+j8OO<SAec%$P;!M4Aj/kVitK5\xKmed-/3$2LiT1nI!-lKjt0B!qP_E{V ja+\#+[_uq8",IkoIF3M0}}qCD(&
Xref csiph.com comp.databases.filemaker:2517

Show key headers only | View raw


In article <1meci25.8ifcwu1o9gtkvN%csampson@inetworld.net>, Charles H.
Sampson <csampson@inetworld.net> wrote:
> Martin ?rautmann <t-usenet@gmx.net> wrote:
> > On Sat, 21 Nov 2015 23:55:39 -0800, Charles H. Sampson wrote:
> > >
> > >  Is there some way to cut, copy, and paste in the script editor,
> > >  particularly copying parts of one script into another?
> > > 
> > >  As always, I'm still on FMP 8.
> > 
> > It does not work very well and it does require the advanced edition.
> > 
> > You can import scripts and edit them as needed. Best practise may be to
> > split scripts into modules which you use within other scripts.
> > 
> > FMP is based on manually clicking most of the staff. That's just the way
> > it is... With both its advantages and disadvantages....
> 
> Thanks, Martin. This has been my experience but I was hoping that I was
> wrong.
> 
> The "put it into modules" approach often works, but not when it's a 5-
> 1-line snippet of code that needs to be inserted into several scripts.
> In the case I'm working on, the snippet is a loop containing an
> if-statement, where the if-statement will have code specific to the
> script I want to copy into. The termination condition of the loop also
> depends on the receiving script. The advantage of copy-paste is that it
> reduces the chance of typos, which scripts don't catch at all.

Another sometimes useful option is to create one script (or the main
repeated bit at least), then duplicate it in the script list window and
tweak them.

OR

Possibly use one sub-script and have the main scripts pass it the
individual start / stop requirements in variables or Global fields.



The problem with having them all as separate scripts is of course if
you later find a mistake or need to make a change, then you have to
edit each script individually.

Helpful Harry  :o)

Back to comp.databases.filemaker | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Script Editing csampson@inetworld.net (Charles H. Sampson) - 2015-11-21 23:55 -0800
  Re: Script Editing Martin Τrautmann <t-usenet@gmx.net> - 2015-11-22 09:30 +0000
    Re: Script Editing csampson@inetworld.net (Charles H. Sampson) - 2015-11-23 15:16 -0800
      Re: Script Editing Helpful Harry <HelpfulHarry@BusyWorking.com> - 2015-11-24 13:34 +1300
      Re: Script Editing clkaufmann@gmx.ch (Christoph Kaufmann) - 2015-11-24 09:41 +0100

csiph-web