Share clipboard among group of users on local network

Share your macros, knowledge, solutions, services, ...
Post Reply
Petr
Posts: 106
Joined: Tue Oct 18, 2016 1:12 pm

Share clipboard among group of users on local network

Post by Petr » Fri Nov 25, 2016 12:03 pm

The macro allows multiple network users to share clipboard. It is necessary that all the users have read/write access to a network folder ("\\Level32\documents\" folder in our example - this must be modified otherwise the sample will not work!!!).

Code: Select all

<#> Start of the macro
<cmds>
<form_item>("frmChooseCopyOrPaste","Transfer clipboard","LIST","Local ---> Network|Network ---> Local","strChoice")
<form_show>("frmChooseCopyOrPaste","Network Clipboard","shell32.dll",0,400,1)
<if_str>("_vCanceled == 1")<exitmacro><endif>
<if_str>("strChoice==Local ---> Network") 
    <clpsave>("\\Level32\documents\Network Clipboard.clx") <#> Folder must be modified - put your own here 
<else>
    <clpload>("\\Level32\documents\Network Clipboard.clx") <#> Folder must be modified - put your own here 
<endif>
<#> End of the macro

Post Reply