PDA

View Full Version : Clipboard issue


jonha
13th Nov 2009, 10:34 PM
The most annoying issue in s3pe to me is, that it clears the clipboard everytime I start an external tool.

As it is open source, i hacked the code and eliminated the issue here (thank you very much, btw. and if you want the code changes, i can send them to you). but the remaining issue is, that the stbl editor and others don't accept, if I pass them the stbl as command line (adding stbl.Helper1Arguments: "{}" in helpers.txt, they just crash).

So I want to ask, if you could make them command line compatible (and possibly make them simply auto overwriting the file on close) or if you could make them open source, too (I didn't find code for them) so I can fix this myself.

Thank you very much.

jonha
14th Nov 2009, 10:25 PM
Nevermind, I found the soruce code in the repository.

pljones
26th Nov 2009, 03:11 PM
It's something I've never got around to. The clipboard format is currently "wrong", too, so some work in that area is required...

pljones
19th Dec 2009, 07:09 PM
There will be a change in the next release that allows the external helpers to use a file passed on the command line rather than the clipboard. For the OBJK, STBL and VPXY editors, the syntax is "<cmd> [{/clipboard}|<filename>]", where <cmd> is the editor command name, {/clipboard} is the optional string "/clipboard" or alternatively <filename> is the file to read and write.

However, I've not changed the way s3pe uses them. You'll be able to do this easily enough through Helpers.txt, though, by putting "{}" in the Helper1Arguments.

pljones
10th Jan 2010, 12:25 PM
Fixed in latest version.

Let me know (in a new thread) if there's anything not working after the "fix".

Thanks!