|
#1
|
||||
|
||||
|
Bug: Page.Jump() : Stops Script
Hi,
im useing a function in globals an half way through the function i need to jump page and continue the rest of the script, but anything after the Page.Jump command dosent get fired, i thought the whole point of global was to make it available to the entire application. is this a bug, or is this intended ? |
|
#2
|
||||
|
||||
|
The Page.Jump action exits the script on the current event , so any action script occurring after it will not be executed. This functionality is by design.
|
|
#3
|
|||
|
|||
|
If you set the variable _NoExitScriptOnPageJump to true, the remaining script in the action will be processed.
Ya see, you can have it both ways
|
|
#4
|
||||
|
||||
|
Quote:
Quote:
maybe the Page.Jump function could use a extra argument Page.Jump("Page1",true) or false for exit current script well, heres a quick function (in case anyone has the same issue) Code:
function PageJumpEX(strPage,BOOL)
if BOOL then
_NoExitScriptOnPageJump=true
else
_NoExitScriptOnPageJump=false
end
Page.Jump(strPage);
end
-- this is just a test wrapper function
function Test(strPage,BOOL)
Dialog.Message("Before", "This dialog comes b4 the page jump.", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
PageJumpEX(strPage,BOOL)
Dialog.Message("After", "This dialog comes after the page jump.", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
end
Last edited by RizlaUK; 02-11-2008 at 10:24 AM. |
|
#5
|
||||
|
||||
|
That is the beauty of the APMS... it just works.
__________________
Never know what life is gonna throw at you. (Based on a true story.) |
|
#6
|
||||
|
||||
|
Sorry RizlaUK for not pointing that out, I was rushed yesterday. And thank you Worm for bringing up that feature.
|
|
#7
|
|||
|
|||
|
With the number of features in AMS, who could possibly remember all of them at the drop of a hat. I just used this feature the other day, so it was fresh in my mind.
|
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| TrueUpdate 2.0 Update (v2.0.6.0) Released | Brett | TrueUpdate 2.0 | 0 | 10-31-2006 02:10 PM |
| Bug or Script issue? | Cummins | AutoPlay Media Studio 6.0 | 5 | 07-18-2006 08:33 AM |
| New Setup Factory 7.0 (v 7.0.2.0) Available | Darryl | Setup Factory 7.0 Discussion | 9 | 03-06-2005 02:57 PM |
All times are GMT -6. The time now is 04:35 AM.








Linear Mode

