copy text to Clipboard

Next
 From:  Thimp (THIMP2)
10681.1 
Hi all,
Using scripts more and more to automate tedious jobs, I was looking for a way to copy text to clipboard.
I think the possibilities would be endless :)

Does anyone know how to copy text? I could not find a function in current scripts

Thanks, Arjan
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
10681.2 In reply to 10681.1 
Hi Arjan, try this:

moi.copyTextToClipboard( 'Text here' );

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Thimp (THIMP2)
10681.3 In reply to 10681.2 
Thanks, Michael,
Just what is was looking for.

-- and joining a long row of happy users,: "Thanks for this wonderful, nice program" --

Arjan
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All