Working with the pasteboard

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
zopita
Newbie
Posts: 19
Joined: Wed Feb 18, 2009 5:45 pm
Location: Spain

Working with the pasteboard

Post by zopita » Mon Jun 08, 2009 2:30 pm

Hellow! I'm new in Macro Scheduler

I must make a macro like this:

[....]
copy...
IF PASTEBOARD IS EMPTY THEN do---
ELSE....
[...]
CLEAR PASTEBOARD
[...]

Do you help me with pasteboard funtions? Thanks!

gdyvig
Automation Wizard
Posts: 447
Joined: Fri Jun 27, 2008 7:57 pm
Location: Seattle, WA

Pasteboard vs Clipboard

Post by gdyvig » Mon Jun 08, 2009 6:56 pm

Do you mean the 3rd party alternative called "pasteboard" and not the standard Windows clipboard?

For the standard Windows clipboard use the Macro Scheduler commands GetClipBoard, PutClipBoard, and WaitClipBoard.

To clear the clipboard
PutClipBoard>

Search the forums for "ClipBoard" for some warnings about non-text clipboard data.


I have no experience with the 3rd party "pasteboard".

One approach would be to use a pasteboard enabled application to paste and clear the pasteboard using keystrokes, mouseclicks, or whatever the application supports.

Does your pasteboard run on a Mac? If it runs on Windows and you have access to the pasteboard API, you may be able to use LibFunc.


Gale

zopita
Newbie
Posts: 19
Joined: Wed Feb 18, 2009 5:45 pm
Location: Spain

I'm sorry, Gale!!!!

Post by zopita » Tue Jun 09, 2009 8:24 am

I was wrong. It's not PASTEBOARD. It will be CLIPBOARD (I was working with QuarkXPress....)

I will try your command and search again the questions about "Clipboard" on the forums.

Thanks!

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts