fajar
07-16-2009, 10:18 PM
Hay guys all I just want to ask, is that posible to use keyboard.control and keyboar shift to run something after al keyboard assigned
=====================================================================
)
rollout kop ""
(
button btn1 "X" post:[0,0] width: 50 height:50
on btn1 pressed do
if keyboard.controlPressed then
(
bla..bla..
)
else
if keyboard.shiftPressed then
(
bla..bla..
)
else
if keyboard.altPressed then
(
bla..bla..
)
else
if keyboard.escPressed then
(
bla..bla..
)
else
if keyboard.controlPressed and keyboard.shiftpressed then
(
bla..bla..
)
)
createDialog kop
)
=====================================================================
is that posible to run something if keyboard control and shift pressed!!? I already tried the script on my on compi but I found if all keyboard already assign, the combination of it can't running the function, is that I do something wrong? or something I must do to make it work!! like register the button maybe? or something missing here!
=====================================================================
)
rollout kop ""
(
button btn1 "X" post:[0,0] width: 50 height:50
on btn1 pressed do
if keyboard.controlPressed then
(
bla..bla..
)
else
if keyboard.shiftPressed then
(
bla..bla..
)
else
if keyboard.altPressed then
(
bla..bla..
)
else
if keyboard.escPressed then
(
bla..bla..
)
else
if keyboard.controlPressed and keyboard.shiftpressed then
(
bla..bla..
)
)
createDialog kop
)
=====================================================================
is that posible to run something if keyboard control and shift pressed!!? I already tried the script on my on compi but I found if all keyboard already assign, the combination of it can't running the function, is that I do something wrong? or something I must do to make it work!! like register the button maybe? or something missing here!
