[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
Re: U2 fram PrsExe50
- Subject: Re: U2 fram PrsExe50
- From: cld@xxxxxxxx
- Date: Mon, 15 Sep 2008 22:34:47 +0000
Harry:
> I'm interested in using the ENTER key to execute both native Xy4 commands
> and U2 frames.
If you must do this, do NOT use error suppression (ES 1) in your frame -- it will smother error
messages generated by legal commands that have faulty syntax (e.g., "LM O" [letter
"O"] instead of "LM 0" [number zero]). The logic of what you want to do is
actually a bit tricky. Here, use this frame:
XPLeNCODE v2.0
b-gin [UNTITLED]
{{;5XCorU2}} Execute native command|launch U2 frame [ arg(s)]
[CLD][cr|lf]{002}{<}SX01,{<}VA$EB{>}{>}{<}SX02,{<}VAWA{>}{>}
{<}SX01,"[BX_]d eb="+{<}IS01{>}+",wa="+{<}IS02{>}+"[Q2_]"{>}[
BX_]d eb=0,0,wa=0[Q2_][BX_][Q2_][XC_]{<}IF{<}ER{>}&{<}VA$ER{>
}<>12{>}{<}SX02,{<}VA$ER{>}{>}{<}PV01{>}[BX_]beep[Q2_]{<}SX01
,"{<}VA\"+{<}IS02{>}+"{>}"{>}{<}SX01,{<}PV01{>}{>}{<}PR@01{>}
{<}EX{>}{<}EI{>}{<}IF{<}ER{>}{>}{<}SV02,{>}{<}IF{<}VA$MG{>}<>
""{>}{<}SX02,{<}VA$MG{>}{>}{<}EI{>}{<}PV01{>}{<}PR@02{>}[JM_]
2.PrsCMline[Q2_]{<}IF{<}VA$ER{>}>1351{>}{<}SX01,@upr({<}IS01{
{062}}){>}{<}PRBad framename @01{>}{<}EI{>}{<}EX{>}{<}EI{>}{<}PV0
1{>}{002}[cr|lf][cr|lf]
-nd
XPLeNCODE
--
Carl Distefano
cld@xxxxxxxx