Welcome to dbFreaks.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Sorting Scripts

 
   Database Help (Home) -> FileMaker RSS
Next:  Installing zend fraemwork on Xampp *******Caution..  
Author Message
John G

External


Since: May 16, 2008
Posts: 9



(Msg. 1) Posted: Tue Sep 30, 2008 6:25 am
Post subject: Sorting Scripts
Archived from groups: comp>databases>filemaker (more info?)

Sometimes I need to look thru the Scriptmaker list to find a script and over
time they have been moved around.
It would be nice to just sort them by Alpha and/or Creation date to ease the
eyestrain.

Is this already possible?

Win XP and FM Pro9.

John G.

 >> Stay informed about: Sorting Scripts 
Back to top
Login to vote
Lynn Allen

External


Since: Jan 10, 2008
Posts: 65



(Msg. 2) Posted: Tue Sep 30, 2008 9:48 am
Post subject: Re: Sorting Scripts [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2008-09-30 02:39:13 -0700, "John G" <green.TakeThisOut@ozemail.com.au> said:

> Sometimes I need to look thru the Scriptmaker list to find a script and over
> time they have been moved around.
> It would be nice to just sort them by Alpha and/or Creation date to ease the
> eyestrain.
>
> Is this already possible?
>
> Win XP and FM Pro9.

No. Other than the folder structure in FM9, there are no organizing
tools for scripts. Even getting the folder structure is a major
triumph for developers.

It helps if from the beginning the developer(s) have a consistent
naming scheme for scripts and some concept of where things are going.

For instance, in my Scriptmaker, there is always a Developer
section/folder, a Nav section, Open/Close scripts, and then folders for
each operational part of the file. So, for example, I keep Invoice
scripts in an Invoice folder, and each script is named:

Invoice_ScriptNameGoesHere

This lets me restrict my searching to a much smaller section of the
script list. Organizing scripts is easy. If your scripts aren't named
logically, and you don't have too many hard-coded script names in your
code, I recommend a long afternoon renaming and organizing them.
Further development will be easier.

Also, did you know that if you select a script or folder in the list
before you hit New Script, the new one will be created at that spot
instead of at the bottom of the list? Saves much script-dragging time.
--
Lynn Allen
--
www.semiotics.com
Member Filemaker Business Alliance
Long Beach, CA

 >> Stay informed about: Sorting Scripts 
Back to top
Login to vote
Helpful Harry

External


Since: Jun 23, 2003
Posts: 405



(Msg. 3) Posted: Tue Sep 30, 2008 4:25 pm
Post subject: Re: Sorting Scripts [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article
<48e1f3c1$0$22586$5a62ac22@per-qv1-newsreader-01.iinet.net.au>, "John
G" <green.RemoveThis@ozemail.com.au> wrote:

> Sometimes I need to look thru the Scriptmaker list to find a script and over
> time they have been moved around.
> It would be nice to just sort them by Alpha and/or Creation date to ease the
> eyestrain.
>
> Is this already possible?
>
> Win XP and FM Pro9.
>
> John G.

I don't know if it's possible in newer versions of FileMaker or not,
but the best approach is to keep your Scripts tidily organised, just
like you should with any filing system. You can use empty Scripts with
titles like "----- Navigation -----" to separate groups of Scripts into
specific "folders".

Helpful Harry
Hopefully helping harassed humans happily handle handiwork hardships ;o)
 >> Stay informed about: Sorting Scripts 
Back to top
Login to vote
John G

External


Since: May 16, 2008
Posts: 9



(Msg. 4) Posted: Wed Oct 01, 2008 3:25 am
Post subject: Re: Sorting Scripts [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Lynn Allen" <lynn DeleteThis @NOT-semiotics.com> wrote in message
news:48e25858@news.bnb-lp.com...
> On 2008-09-30 02:39:13 -0700, "John G" <green DeleteThis @ozemail.com.au> said:
>
>> Sometimes I need to look thru the Scriptmaker list to find a script and
>> over
>> time they have been moved around.
>> It would be nice to just sort them by Alpha and/or Creation date to ease
>> the
>> eyestrain.
>>
>> Is this already possible?
>>
>> Win XP and FM Pro9.
>
> No. Other than the folder structure in FM9, there are no organizing tools
> for scripts. Even getting the folder structure is a major triumph for
> developers.
>
> It helps if from the beginning the developer(s) have a consistent naming
> scheme for scripts and some concept of where things are going.
>
> For instance, in my Scriptmaker, there is always a Developer
> section/folder, a Nav section, Open/Close scripts, and then folders for
> each operational part of the file. So, for example, I keep Invoice scripts
> in an Invoice folder, and each script is named:
>
> Invoice_ScriptNameGoesHere
>
> This lets me restrict my searching to a much smaller section of the script
> list. Organizing scripts is easy. If your scripts aren't named logically,
> and you don't have too many hard-coded script names in your code, I
> recommend a long afternoon renaming and organizing them. Further
> development will be easier.
>
> Also, did you know that if you select a script or folder in the list
> before you hit New Script, the new one will be created at that spot
> instead of at the bottom of the list? Saves much script-dragging time.
> --
> Lynn Allen
> --
Lynn,
Thank you, there are new things to learn everday.
This file has grown over the years to record all sorts of things. It is just
a private application but for various social groups and other things I have
been involved in it has provided a common basis for all sorts of data.
Every time I want a different report I either create a new file and link to
it or just build the new report if the data is here and there are buttons to
many other files, Hence lots of scrips and some of them redunant.
A PROPER programer would have planned it better but I was the senior PC
HARDWARE support for IBM in Australia for many years so planned programing
is not my strong point.

What do you mean "Hard- coded script names"?
Thanks again

John G.
 >> Stay informed about: Sorting Scripts 
Back to top
Login to vote
Lynn Allen

External


Since: Jan 10, 2008
Posts: 65



(Msg. 5) Posted: Wed Oct 01, 2008 10:31 am
Post subject: Re: Sorting Scripts [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2008-09-30 23:57:18 -0700, "John G" <green.RemoveThis@ozemail.com.au> said:

> What do you mean "Hard- coded script names"?

When scripts are modularized (kept small, and re-used in various other
scripts), it sometimes becomes necessary to test to see which script is
running.

So if you have tests in your scripting like:

If [Get(ActiveScriptName) = "DoTheFirstThingScript"]
Action goes here
End If

then you need to be careful about changing script names. But I suspect
your script expertise has not yet grown to that level.

Note( the above function may not be exactly named that. I didn't look
it up and contrary to popular belief, I do not have them all memorized)
--
Lynn Allen
--
www.semiotics.com
Member Filemaker Business Alliance
Long Beach, CA
 >> Stay informed about: Sorting Scripts 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Bits and pieces of scripts - Is there any third-party utility that can enable us to import parts of one script into another? This is rapidly becoming my No. 1 wish list for FileMaker... Rick A. Pleasanton

If I change the name of a layout will the scripts update ? - If I change the name of a layout, will all of the scripts that reference that layout update automatically ?

Sorting for sub-summary report - I have a report with 3 sub-summaries, with "Yes/No" fields set by the user to determine whether the sub-summaries are required or not. The user can select any combination of the 3. I'm now trying to write the script to produce the report, and...

sorting/printing speed FMP9 vs. FMP6 - Hi all, do you have any experience concerning printing speed? FMP7 and FMP8 where severely broken: PDFs where much bigger than required. The bug was to include font definitions again and again, causing file sizes with 100 times the size as required. ..

How toCopy data from Table 1 to Table 2 via scipt - Hi all, I would like to copy Table 1, Field 1 to Table 2, Field 2 via a script in FMP7. I have tried using Set Field steps and various others, but it won't copy I am in Layout 1, Table 1, Record 6 and run a script that switches to Layout 2 and creates ...
   Database Help (Home) -> FileMaker All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]