[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: UNDO



Robert,
Are you LOADing the version of DLG at XyWWWeb? The very first
frame should say:
{{5$?}}
[2]«SX99,«VA$FR»»JM 2.«PV99»Q2 [2]

Yes.
I tried your "$K,bc,c,i, ,¦,¦,¦,cl,cl", and I do not get Access
Denied. It works perfectly.

Must be some Read Only issue.
It's not possible that {240}"["> would generate an
Access Denied. That instruction simply checks to see whether
the current window is [UNTITLED] -- "does  contain a
left-bracket character?" No file access is happening there.
I know. It's puzzling. Here's the sad story: below are two versions of $T,
with  before and after the section (i.e., where "access
denied" first occurs

XPLeNCODE v2.0
b-gin [UNTITLED]
{{;5$T}} Create Timed UnDo Backup RJH 7/5/08[cr|lf]{002}{<}I
F{<}VA$WS{>}==1{>}{<}SX01,{<}VA$FI{>}{>}{<}SV02,{>}{<}IF{<}IS
01{>}{240}"."{>}{<}SX01,{<}VA@01.1{>}{>}{<}EI{>}{<}PR okay{>}
{<}EX{>}{<}IF{<}IS01{>}{240}"["{>}{<}SX01,{<}VA$WN{>}{>}{<}SX
01,"UNTITLE"+{<}IS01{>}{>}{<}SX02,{<}CP{>}{>}[XD_][TF_][DF_][
BF_][DF_][BX_]jmp {<}PV02{>}[Q2_]{<}SV02,d{>}{<}EI{>}{<}SX50,
{<}VA$ED{>}{>}[JM_]2.GetPath[Q2_]{<}SX03,{<}IS50{>}+"\UD\"+{<
}IS01{>}+".BAK"{>}[BX_]exist {<}PV03{>}[Q2_]{<}IF@NOT({<}ER{>
}){>}[BX_]del/nv {<}PV03{>}[Q2_][BX_]wait[Q2_]{<}EI{>}{<}SX04
,{<}VA$TX{>}{>}[BX_]sa{<}PV02{>}/nv {<}PV03{>}[Q2_][BX_]wait[
Q2_]{<}IF{<}PV04{>}<1{>}[GH_]{<}EI{>}{<}IF{<}VA|02{>}>0{>}[XD
_]{<}EI{>}{<}SX03,{<}IS50{>}+"\UD\UNDO.CTL"{>}[BX_]sa %01,{<}
PV03{>}[Q2_][BX_]wait[Q2_]{<}EI{>}{002}[cr|lf][cr|lf]
-nd
XPLeNCODE

Next one generates "access denied":
XPLeNCODE v2.0
b-gin [UNTITLED]
[cr|lf]{{;5$T}} Create Timed UnDo Backup RJH 7/5/08[cr|lf]{0
02}{<}IF{<}VA$WS{>}==1{>}{<}SX01,{<}VA$FI{>}{>}{<}SV02,{>}{<}
IF{<}IS01{>}{240}"."{>}{<}SX01,{<}VA@01.1{>}{>}{<}EI{>}{<}IF{
<}IS01{>}{240}"["{>}{<}PR okay{>}{<}EX{>}{<}SX01,{<}VA$WN{>}{
{062}}{<}SX01,"UNTITLE"+{<}IS01{>}{>}{<}SX02,{<}CP{>}{>}[XD_][TF_
][DF_][BF_][DF_][BX_]jmp {<}PV02{>}[Q2_]{<}SV02,d{>}{<}EI{>}{
<}SX50,{<}VA$ED{>}{>}[JM_]2.GetPath[Q2_]{<}SX03,{<}IS50{>}+"\
UD\"+{<}IS01{>}+".BAK"{>}[BX_]exist {<}PV03{>}[Q2_]{<}IF@NOT(
{<}ER{>}){>}[BX_]del/nv {<}PV03{>}[Q2_][BX_]wait[Q2_]{<}EI{>}
{<}SX04,{<}VA$TX{>}{>}[BX_]sa{<}PV02{>}/nv {<}PV03{>}[Q2_][BX
_]wait[Q2_]{<}IF{<}PV04{>}<1{>}[GH_]{<}EI{>}{<}IF{<}VA|02{>}>
0{>}[XD_]{<}EI{>}{<}SX03,{<}IS50{>}+"\UD\UNDO.CTL"{>}[BX_]sa{032}
%01,{<}PV03{>}[Q2_][BX_]wait[Q2_]{<}EI{>}{002}[cr|lf][cr|lf]{
{;5$K}} Create Keystroke-Triggered UnDo Backup RJH 7/7/08[cr
|lf]{002}{<}IF{<}VA$WS{>}==1{>}[$T_][BX_]dos/nv/x/z /c kmd/c{032}
start /min {<}PV50{>}\UnDo.exe K {<}PV707{>}[Q2_]{<}EI{>}{002
}[cr|lf][cr|lf]
-nd
XPLeNCODE
> Table=ALTX+SHIFT
> 22=$T
> and, in REG,
> UnDoKeys=A4A055

If ALTX is just another name for ALT,

Yes.
 then the proper Scancodes
are "121055". ALT=12, SHIFT=10, U=55. "A4A055" would be
LeftAlt-LeftShift-U. You're going to have trouble using the
Shift key -- I wouldn't.

Okay, once I get it working I'll try finding an unused key.
> When you say you've been using LeftAlt+LeftShift+U AND
> ALSO ScrollLock--do you mean: using them together somehow?
> Or that each worked separately.

Each worked separately.

Okay, thanks.
Try to figure out where this Access Denied is coming from. I've
never seen that. Access Denied usually means that another
program is already accessing the file that you're trying to
access. I don't really see how that could be happening within
UnDo... unless your machine is very very slow. The only other
explanation is a read-only file or directory.
My machine is very fast. I'm going to Google "access denied." And try the
later version you just posted.

Thanks, Robert.
--Harry
-----------------------------
Robert Holmgren
holmgren@xxxxxxxx
-----------------------------


Harry Binswanger
hb@xxxxxxxx