How to turn Global Text Crawl On and Off?
Below is an example of simple script that turns Global Text Crawl on
and off. You can copy it into Notepad, and save it as Global Crawl.sca.
Load it into IC3 Designer and run.
You must add the Active switch for Global Text Crawl in ScalaScript language using a text editor.
For your script you need to do the following.
1. At the beginning of your Main script add a Special Event. Go to
its Branch menu, and select Set Variable:. For lack of a better word
will use 'Switch' as a variable name. Type Switch = On. It will ask if
you wish to create a Logical variable called Switch. Select Yes. When
you save your script will create a line in the ScalaScript as
Boolean(switch);. You can see this in the example below on line 5.
2. At the first page you wish to have the Global Text Crawl on add
in that page's Branch menu Set Variable: Switch = On. This can be a
Special Event page for which you can add an 'Interrupts Exactly'
schedule.
3. At the first page you wish to have the Global Text Crawl off
add in that page's Branch menu Set Variable: Switch = Off. This can be
a Special Event page for which you can add an 'Interrupts Exactly'
schedule.
4. Load your main script into Notepad and fine the
GlobalTextCrawl() line and add , Active(switch) before the last
parenthesis of the GlobalTextCrawl() line. See GlobalTextCrawl below.
Regards,
Scala Technical Support
!ScalaScript
:"Global Crawl.sca"
{
Group:
� � �Boolean(switch);
� � �BackgroundSettings(Size(800, 600));
� � �Config.SaveOpts(SaveEditable(On));
� � �GlobalTextCrawl(-1, 421, 801,
60,Source(TextFile("F:\Scala\Ic200\ReadMe.txt", Loops(0))), Front(On,
RGB($ffffff)), Backdrop(On, RGB($999999)), AntiAlias(On), Font("Arial
(Western [])", 50), Active(switch));
Sequence:
� � �switch = On;
� � �{
� � � Group:
� � � Display(Backdrop(Pen(15)), Margin(10, 10, 0, 0),
Tabs(Explicit(80,160, 240, 320, 400, 480, 560)), UserPalette(RGBPen(1,
$0, $ffffff, $999999, $555555, $712068, $df449c, $dc110e, $662200,
$ff5a00, $ff9c00, $ffd800, $8800, $dd00, $cccc, $66ff, $62, $777777,
$bbbbbb, $dddddd)));
� � � Text(69, 172, "Page1", Face(On, RGB($ffffff)), Backdrop(On,
RGB($999999)), AntiAlias(On), Update(Normal), Font("Arial (Western
[])", 50), Wrap(On, Width(721)));
� � � Pause.Milli(2000);
� � �}
� � �{
� � � Group:
� � � Display(Backdrop(Pen(15)), Margin(10, 10, 0, 0),
Tabs(Explicit(80, 160, 240, 320, 400, 480, 560)), UserPalette(RGBPen(1,
$0, $ffffff, $999999, $555555, $712068, $df449c, $dc110e, $662200,
$ff5a00, $ff9c00, $ffd800,
$8800, $dd00, $cccc, $66ff, $62, $777777, $bbbbbb, $dddddd)));
� � � Text(66, 254, "Page2", Face(On, RGB($ffffff)), Backdrop(On,
RGB($999999)), AntiAlias(On), Update(Normal), Font("Arial (Western
[])", 50), Wrap(On, Width(724)));
� � � Pause.Milli(2000);
� � �}
� � �switch = Off;
� � �{
� � � Group:
� � � Display(Backdrop(Pen(15)), Margin(10, 10, 0, 0),
Tabs(Explicit(80, 160, 240, 320, 400, 480, 560)), UserPalette(RGBPen(1,
$0, $ffffff, $999999, $555555, $712068, $df449c, $dc110e, $662200,
$ff5a00, $ff9c00, $ffd800,
$8800, $dd00, $cccc, $66ff, $62, $777777, $bbbbbb, $dddddd)));
� � � Text(52, 230, "Page3", Face(On, RGB($ffffff)), Backdrop(On,
RGB($999999)), AntiAlias(On), Update(Normal), Font("Arial (Western
[])", 50), Wrap(On, Width(738)));
� � � Pause.Milli(2000);
� � �}
}

