Compact 2013 Ebook

25.4 PBScripts
Created by djones on 6/25/2013 1:27:42 AM

PBScripts and How to Launch the Wizard

From the menu, Tools—>Platform Builder—>PBScripts you can create and run PBScripts

image_thumb4

Figure 25.4: PBScripts Menu

 

  • Show Scripts just opens a PBScript log window and gives an indication when scripts are running.
  • Configure Scripts is where you edit and select scripts. You can run them from there.
  • Run Active Script reruns the last script that was run

These scripts are simply text files and are stored in:
Documents\PBScripts as .pbscript files:

clip_image0253

Figure 25.5: PBScripts folder

 

You can edit the scripts from here using notepad, or even create new ones. You would normally create the scripts from Configure Scripts:

clip_image0271

Figure 25.6: The Configure Scripts Dialog-1

 

The drop down list at the top allows you to choose which script to run or edit.

clip_image02911

Figure 25.7: Configure Scripts Dialog-2

 

Here the CEComponentWiz script has been selected. This script is installed as part of the CEComponnetWiz installation. It is simply a text file:

VSVersion = 9.0

Name=CEComponentWiz

RunPBCmd("C:\Program Files (x86)\Embedded101\CEComponentWiz\CEComponentWiz.exe")

Listing 25.1 CEComponentWiz PBScript

 

To launch CEComponentWiz from Visual Studio 2012, you select it as above and run it here.

Once selected you can rerun it again from Run Active Script.

A further example of a PBScript, as follows is to run CerdispHost fro Compact 7 Platform Builder (Visual Studio). Note that this remote display component is not in the Compact 2013 Catlog but there is as an envisaged third party project to recreate it.

VSVersion=9.0
Name=CERDISPHost
RunCmd("e:\wince700\public\common\oak\bin\i386\cerhost.exe -c")
Listing 25.2 CerdispHost PBScript


NEXT: 25.5 Running CEComponentWiz

print

Click here to provide feedback and input

  Comments

There is no comment.

Turkish porno izle video site in rokettubeporno izle