Results 1 to 3 of 3

Thread: Manipulating the clipboard

  1. #1

    Thread Starter
    Frenzied Member msimmons's Avatar
    Join Date
    Jul 2001
    Location
    Houston, TX
    Posts
    1,057

    Manipulating the clipboard

    Is it possible to manipulate the clipboard? Here's my problem. On the site I am working on I need the user to be able to hit ctrl+t and the date is pasted wherever they have the cursor (assuming it is in a text field). I have the key command and the date code figured out. but I cannot figure out who to get it into that field. The site is very complex and it would be alot of trouble to rewrite the input field to add it to the value so I was hoping there was a clip board way. I saw on the msdn site some dhtml code that I thought may work but I dont quite understand it at http://msdn.microsoft.com/library/de...commandids.asp .
    If anyone has any ideas or suggestions I would be very appreciative
    Thanks in advance,
    Michael

  2. #2
    scoutt
    Guest
    if the input is already on the clip board and the cursor is already in the text field, then why hit ctrl-t when all you have to do is ctrl-v. and you don't have to program anything.

  3. #3

    Thread Starter
    Frenzied Member msimmons's Avatar
    Join Date
    Jul 2001
    Location
    Houston, TX
    Posts
    1,057
    The text isn't already on the clipboard... thats part of the problem. I need to figure out how to put it there then paste from it all in one function.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width