Automation Tutorial

General discussion about the Phantom Automation Language and related tools.

Automation Tutorial

Postby SpiritualMadMan on Mon Dec 06, 2010 7:08 pm

After Recording the PhantomTarget.exe Window to Create PhantonTarget.dec and attempting to run the Tutorial Code I get an

INTERNAL ERROR 1936 in PhantomBase.cpp

This is line 9 of the sample code...

Any hints?
SpiritualMadMan
 
Posts: 20
Joined: Mon Dec 06, 2010 4:02 pm

Re: Automation Tutorial

Postby SpiritualMadMan on Tue Dec 07, 2010 6:04 pm

OK, got some help from "Support". It appears that there is a "Bug" when PTD calls WinDR. To avoid this"Bug" call WinDR directly to create your own .DEC files.

Further, because the download of the original files was blocked. I copied and pasted the Automation Test Sample into Notepad and was trying to Create my own .DEC file to go with it.

Two problems arose because of that.

First, the Window ID in my DEC File was "Phantom" and the Window ID in theoriginal Script was Phantom_Test.

The second problem was that WinDR didn't know I needed the .dec to include the Combo Box. Even though I had it Up on the Display.

To "fix" this problem required creating the .DEC for the main form then checking the "Append" checkbox on the WinDR and then Adding the Combo Box Form as well.

Man I hate being this low on the learning curve! :)
SpiritualMadMan
 
Posts: 20
Joined: Mon Dec 06, 2010 4:02 pm


Return to Phantom

Who is online

Users browsing this forum: No registered users and 1 guest

cron