TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: AIberto on June 17, 2015, 12:36:01 PM
-
Hi Theswamp's friend
I have a problem. need help.
call: (setq bb (vl-registry-read "HKEY_CURRENT_USER\\SOFTWARE\\tools\\Hotkey" "no.1"))
Return: "test"
"KEYNAME" IS A KEY FROM DCL
:edit_box {
key = "KEYNAME" ;
label = "COMMAND" ;
width = 15 ;
}
I Enter test to edit_box
call this
(if (not (equal bb (get_tile "KEYNAME")))(prompt "\Does not SAME."))
Always prompt "Does not SAME", why ?
-
Alberto,
What does (get_tile "KEYNAME") returns ?
ymg
-
Alberto,
What does (get_tile "KEYNAME") returns ?
ymg
It's returns 'nil" ,
OK. problem is be resolved.
(setq bb (vl-registry-read "HKEY_CURRENT_USER\\SOFTWARE\\tools\\Hotkey" "no.1"))
(setq cc (get_tile "KEYNAME"))
(if (not (equal bb cc))(prompt "\Does not SAME."))