XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently 2017年 Jun 25日 04:11

All times are UTC - 8 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: 2015年 Jun 18日 03:18 
Offline
User avatar

Joined: 2014年 Apr 6日 05:20
Posts: 23
I am interested in making a quick widget to paste some information onto the windows clipboard if I pressed a button, for example

If I press an icon it puts the text "here is some information" into the clipboard which I can then paste into any other application.

Is this possible?


EDIT: Found an answer using the command line. Assign the following to OnClick (or however you want to trigger it)

Code:
!Run=cmd /c echo|set /p=YOUR TEXT HERE|clip


Downside: It briefly flashes the command window, and depending on your string you may have to escape certain characters. I wish I could get it to work with Windows Scripting but so far I haven't been able to make it work.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB® Forum Software © phpBB Group