Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6591 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I start my scripts with 'allow user abort off' but I have just noticed that the user can press esc (windoze) and the script DOES stop.

Anyone any ideas?

TIA

Phil

Posted

This shouldn't happen. Can you post an example of one of the scripts that doesn't work, preferably in an example file so we can replicate the problem.

Also, make sure you are running 8.0v3 which you can download for free at:

http://www.filemaker.com/support/downloads/index.html

Posted

Thanks for replying.

I have v3 installed.

At your suggestion I prepared a simple file for investigation. On testing this file I was puzzled by somewhat erratic results. Sometimes the esc worked. sometimes it didn't. I have eliminated a hardware problem by trying on another machine.

I am going to do a little more digging and will get back to you when I have a more to go on

Thanks again

Phil

Posted

Hi Phil,

I don't know if this will work. I have not tried this function before, but... Get(AllowAbortState) is supposed to return the current state (ie. 0=off & 1=on). Set up a unstored field with this function as it's calculation and watch in the data viewer as the script executes.

It's worth a try. Different get functions behave differently in a network environment, but could not see any mention of how this would behave. At least, if it works, you can see if the value changes during your script. If you get a null value then the host has returned it, according to the documentation (as I read it). Let me know how it goes.

HTH

Tim

Posted

Good thinking Batman!

That will def help with the investigation.

I will get back to you with the results but it might take a little while cos I threw my pc out the window in frustration.......only kidding......I could have hurt a passing stranger if I threw it out the window .......so I SMASHED IT WITH A HAMMER!!!!!!!! :

Nah, not really but I did move on to other areas cos I was getting a bit stressed so I will get back to you when I have had enough counselling to the face the issue again :tongue2:

Regards and thanks for the idea

Phil

  • 2 weeks later...
Posted

OK Round 2,

Can anyone explain the purpose of, or need for, the second allow abort off step in the following extract from the online help file,

[color:blue]Allow User Abort [Off]

[color:brown]Go to Layout ["Welcome"]

Pause/Resume Script [Duration (seconds)??? 3]

Go to Layout ["Data Entry"]

Allow User Abort[Off]

Further to that is there a default setting for Allow user abort and if so can it be changed?

TIA

Phil

Posted

It's a typo. It should read:

Allow User Abort [Off]

Go to Layout ["Welcome"]

Pause/Resume Script [Duration (seconds)??? 3]

Go to Layout ["Data Entry"]

Allow User Abort[On]

# more steps here that the user CAN abort

The default setting is to allow the user to abort. AFAIK, it cannot be changed, and turning it off only lasts until the end of current script (and its subscripts) or until turned on again, whichever comes sooner.

This topic is 6591 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.