How to record every click and it's location to a table?

Dell7730Dell7730 Member, PRO Posts: 388

I wanna record every single click that I make, recording its X and Y positions. It don't matter if it's just 1 click or a thousand.

Answers

  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375

    This should be what you need.

    Every time you click I added a new row to the table, then filled its cells with the x and y positions of the click.

    The text being displayed is the most recent click position.

  • Dell7730Dell7730 Member, PRO Posts: 388

    @bjandthekatz said:
    This should be what you need.

    Every time you click I added a new row to the table, then filled its cells with the x and y positions of the click.

    The text being displayed is the most recent click position.

    thanks, i'll let you know how it goes.

  • Dell7730Dell7730 Member, PRO Posts: 388
    edited July 2015

    @bjandthekatz said:
    This should be what you need.

    Every time you click I added a new row to the table, then filled its cells with the x and y positions of the click.

    The text being displayed is the most recent click position.

    is there a way to make the x and y round up the number and how can you make that record to another table that I can reuse over and over?

  • bjandthekatzbjandthekatz Orlando, FlMember Posts: 1,375

    Use the ceil expression to round the numbers up, or floor to round down.

    What do you mean record to another table to reuse? Can you explain a little?

  • Dell7730Dell7730 Member, PRO Posts: 388

    @bjandthekatz said:
    Use the ceil expression to round the numbers up, or floor to round down.

    What do you mean record to another table to reuse? Can you explain a little?

    ok, i'll round it down or up...

    what I mean is for every click, i'd like that recorded and saved, so when I go check that table, i'll find all the recorded locations of the clicks not just get displayed, and that table I can use for anything.

  • SocksSocks London, UK.Member Posts: 12,822
    edited July 2015

    @Dell7730 said:

    You can also just use 'round' and let the maths decide which way it should go . . . round(value)

Sign In or Register to comment.