• Re: Mirroring events

    From JeffSmith@21:1/5 to All on Sat Dec 28 11:20:08 2024
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Shaun Kulesa@21:1/5 to All on Sat Dec 28 12:41:58 2024
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Shaun Kulesa@21:1/5 to All on Sat Dec 28 12:40:01 2024
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Shaun Kulesa@21:1/5 to All on Sat Dec 28 12:44:53 2024
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ashok@21:1/5 to Shaun Kulesa on Sat Dec 28 19:42:04 2024
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Shaun Kulesa@21:1/5 to All on Sat Dec 28 15:49:00 2024
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Shaun Kulesa@21:1/5 to All on Sat Dec 28 15:50:21 2024
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Shaun Kulesa@21:1/5 to All on Fri Dec 27 20:55:19 2024
    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?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ashok@21:1/5 to Shaun Kulesa on Sat Dec 28 11:11:22 2024
    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?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)