• Mirroring events

    From Shaun Kulesa@user1405@newsgrouper.org.uk.invalid to comp.lang.tcl on Fri Dec 27 20:55:19 2024
    From Newsgroup: comp.lang.tcl

    I want to mirror events happening on one tk window to another. I know I can execute these the events using `event generate`.

    But I am unsure how to read all events being handled in a window. I have looked at things like the dooneevent and the history command.

    Is there a way to record all the previous executed events?
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Ashok@apnmbx-public@yahoo.com to comp.lang.tcl on Sat Dec 28 11:11:22 2024
    From Newsgroup: comp.lang.tcl

    I don't know one offhand but possible TkReplay might give you ideas (https://wiki.tcl-lang.org/page/TKReplay)?

    It's somewhat dated but Tcl/Tk tend to be very compatible between
    releases so perhaps a few tweaks might get it running.

    If you do implement something with tkreplay or independently, the
    community would be grateful if you publish it :-)

    /Ashok

    On 12/28/2024 2:25 AM, Shaun Kulesa wrote:
    I want to mirror events happening on one tk window to another. I know I can execute these the events using `event generate`.

    But I am unsure how to read all events being handled in a window. I have looked at things like the dooneevent and the history command.

    Is there a way to record all the previous executed events?

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From JeffSmith@user9@newsgrouper.org.uk.invalid to comp.lang.tcl on Sat Dec 28 11:20:08 2024
    From Newsgroup: comp.lang.tcl

    Shaun Kulesa <user1405@newsgrouper.org.uk.invalid> posted:

    I want to mirror events happening on one tk window to another. I know I can execute these the events using `event generate`.

    But I am unsure how to read all events being handled in a window. I have looked at things like the dooneevent and the history command.

    Is there a way to record all the previous executed events?

    From the wiki, this may help

    https://wiki.tcl-lang.org/page/playtkl%2C+testing+Tk+apps+and+playing+macros

    Kind Regards

    Jeff
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Shaun Kulesa@user1405@newsgrouper.org.uk.invalid to comp.lang.tcl on Sat Dec 28 12:40:01 2024
    From Newsgroup: comp.lang.tcl

    Ashok <apnmbx-public@yahoo.com> posted:

    I don't know one offhand but possible TkReplay might give you ideas (https://wiki.tcl-lang.org/page/TKReplay)?

    It's somewhat dated but Tcl/Tk tend to be very compatible between
    releases so perhaps a few tweaks might get it running.

    If you do implement something with tkreplay or independently, the
    community would be grateful if you publish it :-)

    /Ashok

    On 12/28/2024 2:25 AM, Shaun Kulesa wrote:
    I want to mirror events happening on one tk window to another. I know I can execute these the events using `event generate`.

    But I am unsure how to read all events being handled in a window. I have looked at things like the dooneevent and the history command.

    Is there a way to record all the previous executed events?


    It is so ancient that the ftp source download server doesn't exist anymore lol. --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Shaun Kulesa@user1405@newsgrouper.org.uk.invalid to comp.lang.tcl on Sat Dec 28 12:41:58 2024
    From Newsgroup: comp.lang.tcl

    Shaun Kulesa <user1405@newsgrouper.org.uk.invalid> posted:

    Ashok <apnmbx-public@yahoo.com> posted:

    I don't know one offhand but possible TkReplay might give you ideas (https://wiki.tcl-lang.org/page/TKReplay)?

    It's somewhat dated but Tcl/Tk tend to be very compatible between
    releases so perhaps a few tweaks might get it running.

    If you do implement something with tkreplay or independently, the community would be grateful if you publish it :-)

    /Ashok

    On 12/28/2024 2:25 AM, Shaun Kulesa wrote:
    I want to mirror events happening on one tk window to another. I know I can execute these the events using `event generate`.

    But I am unsure how to read all events being handled in a window. I have looked at things like the dooneevent and the history command.

    Is there a way to record all the previous executed events?


    It is so ancient that the ftp source download server doesn't exist anymore lol.

    I will ask the university as the ftp downloads belong to them.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Ashok@apnmbx-public@yahoo.com to comp.lang.tcl on Sat Dec 28 19:42:04 2024
    From Newsgroup: comp.lang.tcl

    Last year I purchased a used copy of Tcl/Tk Tools published in 1997! So happens the CD had a copy. Now uploaded to https://sourceforge.net/projects/magicsplat/files/tkreplay1.1.tar.gz/download



    On 12/28/2024 6:10 PM, Shaun Kulesa wrote:
    Ashok <apnmbx-public@yahoo.com> posted:

    I don't know one offhand but possible TkReplay might give you ideas
    (https://wiki.tcl-lang.org/page/TKReplay)?

    It's somewhat dated but Tcl/Tk tend to be very compatible between
    releases so perhaps a few tweaks might get it running.

    If you do implement something with tkreplay or independently, the
    community would be grateful if you publish it :-)

    /Ashok

    On 12/28/2024 2:25 AM, Shaun Kulesa wrote:
    I want to mirror events happening on one tk window to another. I know I can execute these the events using `event generate`.

    But I am unsure how to read all events being handled in a window. I have looked at things like the dooneevent and the history command.

    Is there a way to record all the previous executed events?


    It is so ancient that the ftp source download server doesn't exist anymore lol.

    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Shaun Kulesa@user1405@newsgrouper.org.uk.invalid to comp.lang.tcl on Sat Dec 28 15:49:00 2024
    From Newsgroup: comp.lang.tcl

    JeffSmith <user9@newsgrouper.org.uk.invalid> posted:

    Shaun Kulesa <user1405@newsgrouper.org.uk.invalid> posted:

    I want to mirror events happening on one tk window to another. I know I can execute these the events using `event generate`.

    But I am unsure how to read all events being handled in a window. I have looked at things like the dooneevent and the history command.

    Is there a way to record all the previous executed events?

    From the wiki, this may help

    https://wiki.tcl-lang.org/page/playtkl%2C+testing+Tk+apps+and+playing+macros

    Kind Regards

    Jeff

    Thanks. This seems like a good path, I made a new function playtkl::getnextevent so I can get a live feed of the events.
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Shaun Kulesa@user1405@newsgrouper.org.uk.invalid to comp.lang.tcl on Sat Dec 28 15:50:21 2024
    From Newsgroup: comp.lang.tcl

    Ashok <apnmbx-public@yahoo.com> posted:

    Last year I purchased a used copy of Tcl/Tk Tools published in 1997! So happens the CD had a copy. Now uploaded to https://sourceforge.net/projects/magicsplat/files/tkreplay1.1.tar.gz/download

    Thanks. I'm currently playing with playtkl but I will also look at this after. --- Synchronet 3.20a-Linux NewsLink 1.114