View Full Version : how i prass ctrl + v (Paste) whit a button?
the code key for ctrl is 17 a the cot for V is 86 how i prass ctrl + V for Paste a copy data whit a button (if user prass the button then the button run the Paste).
i ned to know if samwan copy whit rhit click on the mouse and the click copy if i can know and the make a paste in my program
if e_Key == 13 then
-- Load the address that was input by the user:
Web.LoadURL("Web1", Input.GetText("Input1"));
end
bat i need a code 17 and 86 how i put 2 numbers?
and how i gut the mouse click?
yosik
05-27-2006, 04:45 PM
You have to use both the e_Key value (number) and the e_Modifiers value (table):
if e_Key == 86 and e_Modifiers.ctrl ==true then
-- Load the address that was input by the user:
Web.LoadURL("Web1", Input.GetText("Input1"));
end
Hope that helps
Yossi
Josué Alba
06-05-2006, 12:04 AM
well you need to go to plugins (Project --> plugins) and select clippboard one.
then use the Clipboard.GetText(); and Clipboard.CopyText("My Text") commands to associate this action to anything on AMS
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.