← Back to team overview

zim-wiki team mailing list archive

Re: One way round the clipboard issue in 0.66 in Windows

 

Thanks for sharing that, Bruce. It may be very helpful for many users
while we sort out the problems with the Windows build.

On Mon, May 22, 2017, at 10:40, Bruce Ax(tens) wrote:
> So I wrote a Custom Tool, using 8th <https://8th-dev.com>. 


> This is the Custom Tool definition:


>> [Desktop Entry]
>>  Type=X-Zim-CustomTool
>>  Version=1.0
>>  GenericName=
>>  Name=CopyToClipboard
>>  Comment=Seeing as the current copy doesn't work
>>  Exec=
>>  TryExec=
>>  Icon=
>>  MimeType=
>>  Terminal=false
>>  NoDisplay=false
>>  X-Zim-ExecTool=8th.exe c:\bin\CopyToClipboard.8th "%t"
>>  X-Zim-ReadOnly=true
>>  X-Zim-ShowInToolBar=true
>>  X-Zim-ShowInContextMenu=Text
>>  X-Zim-ReplaceSelection=false


> And this is the 8th code (stored in CopyToClipboard.8th)


>> : main
>>      argc 0 = not if
>>          0 args 
>>          >clip
>>      then
>>  ;
>>  main bye


> There may be size limits to what I can pass in on %t to the script,
> but it's survival until 0.67.> Kind regards,


> Bruce.


> _________________________________________________
> Mailing list: https://launchpad.net/~zim-wiki
> Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~zim-wiki
> More help   : https://help.launchpad.net/ListHelp


References