open without performing script? 
Author Message
 open without performing script?
Hello all.

Is there a way to open a fm db and keep it from activating a script set in
doc prefs?

Thanks,
Mason



Tue, 11 Nov 2003 03:09:40 GMT
 open without performing script?

Hi Mason

I assume you mean a script set as the opening script in the document
preferences.

Command period (or PC equivalent) will sometimes stop the script providing
that the script doesn't contain the "Allow User Abort [Off]" script step
(many opening scripts do).

Failing that, and providing you have access privileges to the file, you
could create a new file, create a
script which runs an external subscript within the file that cannot be
opened (providing the script already exists).  This will open the file and
by-pass the opening script.

--
Bridget Eley


Quote:

> Hello all.

> Is there a way to open a fm db and keep it from activating a script set in
> doc prefs?

> Thanks,
> Mason



Tue, 11 Nov 2003 04:20:09 GMT
 open without performing script?
The running of the script can be made dependent on one of the mod keys, and
that use tested against Status ( CurrentModifierKeys ). Thus, if the Caps
Lock (a value of 2 for that status function) is held down while the file
opens, it would halt the script:

If
   Status ( CurrentModifierKeys )=2
   Halt Script
    Else
   Your Script steps
End If

--

John Weinshel
Datagrace
Associate Member, Filemaker Solutions Alliance
Vashon Island, WA
(206) 463-1634


Quote:
> Hello all.

> Is there a way to open a fm db and keep it from activating a script set in
> doc prefs?

> Thanks,
> Mason



Tue, 11 Nov 2003 04:45:02 GMT
 open without performing script?
Thanks John, that's better than what I came up with.  One thing though, what
if I forgot to put that into a script, and (please don't laugh) the last
step in the script is Close[]?
Quote:

> Organization: CenturyTel.Net
> Newsgroups: comp.databases.filemaker
> Date: Thu, 24 May 2001 13:45:02 -0700
> Subject: Re: open without performing script?

> The running of the script can be made dependent on one of the mod keys, and
> that use tested against Status ( CurrentModifierKeys ). Thus, if the Caps
> Lock (a value of 2 for that status function) is held down while the file
> opens, it would halt the script:

> If
> Status ( CurrentModifierKeys )=2
> Halt Script
> Else
> Your Script steps
> End If

> --

> John Weinshel
> Datagrace
> Associate Member, Filemaker Solutions Alliance
> Vashon Island, WA
> (206) 463-1634



>> Hello all.

>> Is there a way to open a fm db and keep it from activating a script set in
>> doc prefs?

>> Thanks,
>> Mason



Tue, 11 Nov 2003 06:51:39 GMT
 open without performing script?
Yes! Thanks Bridget, that worked!

Mason

Quote:

> Organization: -
> Newsgroups: comp.databases.filemaker
> Date: Fri, 25 May 2001 06:20:09 +1000
> Subject: Re: open without performing script?

> Hi Mason

> I assume you mean a script set as the opening script in the document
> preferences.

> Command period (or PC equivalent) will sometimes stop the script providing
> that the script doesn't contain the "Allow User Abort [Off]" script step
> (many opening scripts do).

> Failing that, and providing you have access privileges to the file, you
> could create a new file, create a
> script which runs an external subscript within the file that cannot be
> opened (providing the script already exists).  This will open the file and
> by-pass the opening script.

> --
> Bridget Eley



>> Hello all.

>> Is there a way to open a fm db and keep it from activating a script set in
>> doc prefs?

>> Thanks,
>> Mason



Tue, 11 Nov 2003 06:54:20 GMT
 open without performing script?
Create a dummy file that has one field - name dosn't matter, create a
relationship to the file with the close script step, linking to any field that
you know the exact data in the field.
In your dummy file set the one field to the same data that is in the other file
and put the related file on the same layout .  When you are in browse mode the
related file will open up hidden and you can use the window menu to switch to it
and change the scripts.
Quote:

> Thanks John, that's better than what I came up with.  One thing though, what
> if I forgot to put that into a script, and (please don't laugh) the last
> step in the script is Close[]?


> > Organization: CenturyTel.Net
> > Newsgroups: comp.databases.filemaker
> > Date: Thu, 24 May 2001 13:45:02 -0700
> > Subject: Re: open without performing script?

> > The running of the script can be made dependent on one of the mod keys, and
> > that use tested against Status ( CurrentModifierKeys ). Thus, if the Caps
> > Lock (a value of 2 for that status function) is held down while the file
> > opens, it would halt the script:

> > If
> > Status ( CurrentModifierKeys )=2
> > Halt Script
> > Else
> > Your Script steps
> > End If

> > --

> > John Weinshel
> > Datagrace
> > Associate Member, Filemaker Solutions Alliance
> > Vashon Island, WA
> > (206) 463-1634



> >> Hello all.

> >> Is there a way to open a fm db and keep it from activating a script set in
> >> doc prefs?

> >> Thanks,
> >> Mason



Tue, 18 Nov 2003 21:16:44 GMT
 
 [ 6 post ] 

 Relevant Pages 

1. Open a window without using "Open"

2. Initialising backup device without performing backup

3. perform find script on check boxes

4. Perform a script using a link

5. Perform Find Script problem

6. perform script from scriptmaker online

7. Start and End dates in separate fields during a script for a Perform Find

8. Performing Script from Web Page

9. Scripting Perform Find options

10. Perform auto-update of fields (when importing w/script)

11. Perform script automatically after data input


 
Powered by phpBB® Forum Software