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

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

Recommended Posts

  • Newbies
Posted

I have a database that creates job numbers for my business based on the client selected. I have a script that pauses to wait for a selection of which client from a value list pop-up. The problem is that I would like the script to automatically resume once the client is selected and I can't figure out how to do it. Can anyone help

Posted

Put your Pause in a loop that exits if not IsEmpty(clientfield) and add your remaining steps after the loop.

  • Newbies
Posted

Thanks,

That's exactly what I tried, but obviously I've got the syntax wrong or something. Here is what I have:

Loop

Pause/Resume Script [indefinitely]

Exit Loop If [ not IsEmpty (Job Info::Client )]

End Loop

Posted

You don't want to pause indefinitely or else the script will never continue until Enter is pressed. You want to pause for 1 second or less, allow the exit test to perform, and then pause again if it fails. You may even be able to use 0 seconds and still get a good result.

Posted

Since you're developing on a Mac, might some of your stuff also be used on a mac. If so might you be aware of HIGuidelines issued by Apple, and in this case in particular the issue of "forgiveness":

http://developer.apple.com/documentation/mac/HIGuidelines/HIGuidelines-24.html

...issues taken more lightly under Windows, Gnome and KDE.

I've some time before becomming member of this forum developed a template with way to include this forgiveness as well as providing the userinterface with keyboard shortcuts ...Fenton have assisted with an explanation.

Feel free to investigate and ask further:

http://www.fmforums.com/threads/showflat.php?Cat=0&Number=87872

--sd

This topic is 7283 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.