January 27, 200520 yr I need to set up a Find scipt for Instant Web Publishing as I want to hide the Status Area on the web page. However, I can't find a way to Resume the script after the 'Enter Find Mode (Pause) step which allows the user to enter their Find requests. On the web, the Enter and Return keys simply add a carriage return after the entered text, and since the Status Area is hidden, there is no access to the 'Continue' or 'Submit' buttons. Using 'Pause/Resume Script', either later in the same script or called through another script doesn't work. It just seems to add an additional pause. Ideally, I'd like to use the same 'Find' button, and therefore the same script for both entering the find mode and then performing the find. I should be able to do this using If(Get WindowMode = 0). So if the window is in Browse Mode, the script goes to the step 'Enter Find Mode (Pause). After entering the find criteria, pressing the same button and running the same script again should by-pass 'Enter Find Mode' (as the Window Mode is now 1 (Find Mode) and go straight to 'Else' and then 'Perform Find', but I can't get it to come out of pause. Any ideas would be gratefully received. Thanks, Geoff
January 27, 200520 yr Geoff: Put a button on your layout, and define the button (not via a script, but via Format->Button) as "Resume Script." -Stanley
January 27, 200520 yr Author Thanks Stanley. I may have to do that. I had hoped to do it all within the one button Regards, Geoff
Create an account or sign in to comment