From: Kevin W. <kw...@co...> - 2024-10-20 15:52:45
|
<div><img width="1" height="1" src='https://fedbdhd.r.bh.d.sendibt3.com/tr/op/w9RFJy8VY4uLSMR-YeDYGzlisv0asz3HIFlm2pt4DEGz_a-gJxROqJi6MKv_DDqpBpXfy5_cG280hVbS1Qng3fBmk0azaaSSQ5LZ2wIoAZMoH9Trs2qgzQNEcpve7ujD_FUQ0qplkmGTZBTMNEpmSOAfI9b4rg4Dl7mXPqUvFD0PaHyBwz55k6GKKMvoHOCgmnJvzCQjpOUN_1a751ARjZ9bBN0a_NrM' /></div>I have never understood the value of “send”. It’s non-functional on macOS and Windows, and only works with other Tk apps on X11, which is far too limited to be useful. It’s obsolete and should be removed. <br/><br/>Each platform provides a native API for IPC - AppleEvents on macOS, dde or COM on Windows, and dbus on X11. Robust toolkits like Qt and wxWidgets support these out of the box. Tk should be able to serve data to other applications over these connections, and also consume it. I make use of this in all my apps. <br/><br/>My thought is not to submerge these under a single new command. The API’s are too different. But bundling all in one form or another makes sense. <br/><br/>> On Oct 20, 2024, at 7:26 AM, Jan Nijtmans <jan...@gm...> wrote:<br/>> <br/>> 1) dde and registry are 'dangerous' extensions. Dde has the same functionality as the "send" command,<br/>> which was disabled due to security concerns. Registry makes it possible to read and write<br/>> registry settings, which could also make the computer screw up completely. Separating<br/>> them would make it possible to remove them, if some application doesn't need it.<br/>> 2) dde and registry don't have the best API we can think of. dde would best be integrated in<br/>> a new "send" command. The registry commands should feel more oo-like.<br/> |