I apologize for not getting back with you sooner, Sam. I didn't see that you had posted.
Basically I set up two different macros in EventGhost on my pc, and two different profiles in Tasker on my phone. I've posted the code below. The python script is what you saw in my post above.
IN EVENTGHOST ...
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Search found 6 matches
- Fri Jul 12, 2013 12:09 am
- Forum: General Support
- Topic: Working with the Clipboard
- Replies: 13
- Views: 10196
- Tue Jun 04, 2013 5:12 am
- Forum: General Support
- Topic: Working with the Clipboard
- Replies: 13
- Views: 10196
Re: Working with the Clipboard
Thanks again for the help, piert! That turned out to be just what I needed to finally figure this out.
import win32clipboard
# get clipboard data
win32clipboard.OpenClipboard()
eg.event.payload = win32clipboard.GetClipboardData()
win32clipboard.CloseClipboard()
With the payload thus defined, I ...
import win32clipboard
# get clipboard data
win32clipboard.OpenClipboard()
eg.event.payload = win32clipboard.GetClipboardData()
win32clipboard.CloseClipboard()
With the payload thus defined, I ...
- Tue Jun 04, 2013 4:46 am
- Forum: General Support
- Topic: Working with the Clipboard
- Replies: 13
- Views: 10196
Re: Working with the Clipboard
Thanks for the response!
I see that "data" is being defined within script as the clipboard contents, but I wonder how to get that as a variable which I can use throughout EG, such as with ShowOSD?
I see that "data" is being defined within script as the clipboard contents, but I wonder how to get that as a variable which I can use throughout EG, such as with ShowOSD?
- Mon May 27, 2013 7:31 pm
- Forum: General Support
- Topic: Working with the Clipboard
- Replies: 13
- Views: 10196
Re: Working with the Clipboard
Ok, I guess I just won't use Eventghost to do this. Thanks anyway guys.
- Tue May 14, 2013 1:08 pm
- Forum: General Support
- Topic: Working with the Clipboard
- Replies: 13
- Views: 10196
Re: Working with the Clipboard
More specifically, I am trying to sync clipboards among my phone, tablet, and desktop. Using Tasker and Autoremote, I have the clipboards synced between the phone and tablet, and using the Autoremote plugin for Eventghost the desktop will receive clipboard changes from both devices. I have not yet ...
- Mon May 13, 2013 3:30 pm
- Forum: General Support
- Topic: Working with the Clipboard
- Replies: 13
- Views: 10196
Working with the Clipboard
Hey, new member here! I've been using Eventghost 0.4.1.r1600 for a few days now and am starting to get the hang of the basics, but I'm getting stuck with scripting, specifically with the system clipboard. The action System.ClipboardChanged and the Copy string to clipboard action is about the only ...