Re: "Continue" button to come out of preview needs to be clicked twice. Fix?



On Sun, 28 Aug 2005 16:09:27 +1200, Helpful Harry
<helpful_harry@xxxxxxxxxxxxxxxx> wrote:

>In article <qq02h1h0sshu542bmjt062l9qd3jc5hasv@xxxxxxx>, Cerulean
><Spamming@xxxxxxxxxxxxxx> wrote:
>
>> It's been a while since I've worked on my dbs what with working at
>> Access in the office <sigh>. I'm so grateful to come home though to
>> FMP when I figure out how I need to fix my solutions; it's so much
>> more intuitive than Access and I progress at light-speed compare to
>> MS' app! <g>
>>
>> I did run into a problem with a process today. I set up a script to
>> take user from the main input screen to a preview mode using a
>> completely different layout. It enters that other layout in preview
>> mode okay, maximized and everything. Then pressing "continue" takes
>> the user back to the main screen, window toggled back to zoom. The
>> problem lies in that one has to push the "continue" button twice,
>> which is no good.
>>
>> Here's my script as it stands now (is there a way to export script
>> contents, btw, to make copy/pasting script to a text environment like
>> this easier??? <g>):
>>
>>
>> - Allow User Abort [Off] ... to take out the "cancel" button
>> - Go to Layout ["Preview of Main Input screen"]
>> - Toggle Window [Maximize]
>> - Sort [Restore, No dialog]
>> - Enter Preview Mode [Pause]
>> - Pause/Resume Script []
>> - Go to Layout ["MAIN ENTRY SCREEN"]
>> - Enter Browse Mode []
>> - Toggle Window [Zoom]
>>
>> Thanks so much!
>
>Ummm ... get ready for one of those "DOH!" moments we all have. :o)

<chuckle>

>Unless it's a typo in your message, your script above does actually
>pause twice, so that's why you need to click Continue twice:
>
> Enter Preview Mode [Pause]
> Pause/Resume Script []
>
>Either turn off the Pause option from the Enter Preview Mode command or
>remove the entire Pause/Resume Script command - that'll fix the
>problem.

Great! That did the trick. I took the Pause out of the [Pause]
portion in the first line.

I'm not fully trained or anything, just a power user. FMP is so
logical and intuitive and such a delight to use that a person like me
with no actual training in this type of thing can make up solutions so
very easily - but with little glitches like this along the way, as you
can see <lol>. (My Access skills are even less; but there are a lot
of wizards so despite it being much more complicated, can manage to do
some rudimentary things in it! <g> I'm always impressed with FMPs so
much easier ways of being able to do things for the same results!!!)

I just copy/pasted the above two lines of code and their respective
other lines from other working script and modified them for this
solution. Each step worked in its original environments! <g> Thanks
for teaching me where to look next time I ever need to press a button
twice! I'll kow what I'm looking for! <g>.

Thanks!

>Helpful Harry

Very helpful, thanks, Harry! :oD

>Hopefully helping harassed humans happily handle handiwork hardships ;o)

.