Ricardo Posted October 21, 2003 Posted October 21, 2003 Is it possible that when my script is paused that i can place a 'resume' button on the layout. the reason why is because the left hand side of the screen is hidden and so the continue button doesnt show? if so how do you setup the resume script? thanks
andygaunt Posted October 21, 2003 Posted October 21, 2003 You can either .. press the return button to continue your script and prompt the users to do this. Or you can just draw a button and select the Resume Script step. HTH
CobaltSky Posted October 21, 2003 Posted October 21, 2003 Hi Ricardo, Yep, no problem. Add a button to your layout and, when you call up the 'specify button...' dialog, at the top of the list of commands on the left you will see: [color:"white"]W Do Nothing Control [color:"white"]W Perform Script [color:"white"]W Resume Script [color:"white"]W Exit Script etc etc... the command on the fourth line - 'Resume Script' - is the one you're looking for. Attach that to your button and it will perform the same function as the one that appears in the status area does. If you want the resume button to only appear when a script is paused, I suggest that you place it in a portal based on a self-join relationship, then configure your scripts to make the relationship (eg write an appropriate value to a global field on the left of the relationship) prior to each pause step, and 'break' it again (ie delete the global value) afterwards. Then the button will only be visable/accessible when needed.
CobaltSky Posted October 21, 2003 Posted October 21, 2003 Hey there Andy! That's what happens when one gets interrupted - looks like while I was otherwise engaged you 'beat me to the punch'... Oh well, I guess Ricardo's problem is doubly solved now?!
Ricardo Posted October 22, 2003 Author Posted October 22, 2003 Thanks guys - sorry for asking such a stupid question - why didnt i think of that d'oh!
CobaltSky Posted October 22, 2003 Posted October 22, 2003 No problem, Ricardo. And I think I can speak for Andy also in saying this: The only really 'dumb' questions are the ones that *aren't* asked!
Recommended Posts
This topic is 7707 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 accountSign in
Already have an account? Sign in here.
Sign In Now