XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently May 1st, 2025, 6:01 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: June 18th, 2015, 3:18 am 
Offline
User avatar

Joined: April 6th, 2014, 5:20 am
Posts: 24
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 19 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