Softvoile support forum

It is currently Thu Jun 20, 2013 3:05 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Using CTRL_V in macro
PostPosted: Wed Feb 22, 2012 7:28 pm 
Hello,

I'm having problems getting a macro to work. The goal is to copy a selected item (for example a graphic in a PowerPoint presentation) into a different file (for example to a new slide in another PowerPoint presentation). Here's the macro with comments:

%Control(CTRL_C)% "copy item
%Control(ALT_F_R_2)% "open file from "recent file" list
%Control(@1000)%
%Control(CTRL_M)% "add new slide
%Control(@500)%
%Control(CTRL_V)% "insert copied item <<< does not work
%Control(@500)%
%Control(CTRL_S)% "save file
%Control(CTRL_F4)% "close file

The CTRL_V does not work i.e. nothing gets copied. Is there some particular setting to be able to use the clipboard inside a macro?

Thanks,
Luxxor


Top
  
Reply with quote  
 Post subject: Re: Using CTRL_V in macro
PostPosted: Thu Feb 23, 2012 3:59 pm 
Offline
Site Admin

Joined: Tue Feb 17, 2004 12:49 am
Posts: 589
You can't directly use clipboard inside the macros. Because Flashpaste itself use it when process text template.

You can try to use %Clip()% macro but you should copy data in clipboard manually first, try the the following:
1. copy item manually in clipboard
2. run template with this macros
%Control(ALT_F_R_2)% "open file from "recent file" list
%Control(@1000)%
%Control(CTRL_M)% "add new slide
%Control(@500)%
%Clip()% "insert copied item <<< does not work
%Control(@500)%
%Control(CTRL_S)% "save file
%Control(CTRL_F4)% "close file

And, please note, really macros should be without any other text, spaces and new line symbol

%Control(ALT_F_R_2)%%Control(@1000)%%Control(CTRL_M)%%Control(@500)%%Clip()%%Control(@500)%%Control(CTRL_S)%%Control(CTRL_F4)%


If you need comment them you can use %Remark(...)% , ie

%Control(ALT_F_R_2)%%Remark(open file from "recent file)%%Control(@1000)%...

_________________
Best regards, Tiushkov Nikolay


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You can post new topics in this forum
You can 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group