Search content:

 

Personal Menu
Username:
Password:
Save password

Become a member

Forgot Password?

 

Don't miss these
PDF Asset Xtra
Snap Shot Maker
myFile
EasyBase
MP3 player and project source code
dmmMDB
Returns Rect of visible PDF doc within an Impressario sprite
NTI CD Maker
HTML-ingo
The Multimedia Workshop
MediaMacros Xtras Mall
 

 

 

Behavior Copy Keydown Script

Added on 10/2/2000

 

Compatibilities:
D7 D8 PC Script

Required Xtras:
Buddy API

This item has not yet been rated

Author: MediaMacros (website)

Copies selected text with ctrl+c

global startChar, endChar, currentField

on keyDown me  
  if currentField <> void then
    if the key = "c" and the commandDown then
      copySelected()
      dontpassevent
      alert "copy"
    else
      pass
    end if
  end if
end

on copySelected me
  if startChar < endChar then
    theSelection = currentField.char[startChar..endChar]
  else
    theSelection = currentField.char[endChar..startChar]
  end if
  thetext = theSelection
  baCopyText(thetext)
end

 


Upload Provided by ABCUpload ASP

Contact

MMI
22 West Court Sq
Suite 2C
Newnan, GA 30263
USA

Fax - (206) 339-5833

Send e-mail