Warmuptill
Active Member
If you are trying to set the value of a variable to be the file path referenced by a text source, you can use a macro like this:I can't seem to set the variable to be the text source, which the text source itself is referencing its own file source (not static text, but the text inside the .txt file).
If you are then trying to read the contents of that text file and assign it to another macro you can use this setup:
I hope I understood your question correctly - I apologise if I did not!
Not sure if it will work:The other thing is, i'm not sure how to ask the macro to skip itself until a new line is created... here is the use case.
The kill feed shows who has died, and stays on that line position for 5-7 seconds then disappears - however, it could get bumped if another player dies within that same window, screenshot below.
https://imgur.com/a/4mETJXW Video example: https://streamable.com/z0yfqt
(you can see deaths go from 8 to 9, because I pattern matched the "continue button"), so I can track my own K/D ratio but trying to track my teammates via the kill feed.
Line 1 on the screen initially is "BoT slain by Baba"
then quickly after another person dies and Line 1 now becomes Line 2, Line 1 is now "cT was slain by Kaal", etc.
So it's like I need the script to not read Line 1 and spam the hotkey counting kills every 1 second, but also be smart enough to read a different line is created.
Maybe you can limit the area to be check to be only the lowest line like this:
Then you are sure that only the most recent death log is being checked and the lines which are pushed up are being ignored.
However with that approach you would have to set up a separate macro for each of the players.
The "Within the last X seconds" option in combination with "Perform actions only on condition change" at the top ensures that the increment happens at most every X seconds.
So you will have to tweak that value to your liking.
You can import the example macros shown in this post using this code:
Code:
AAApA3ic7Vrvb9s2E/5XBGIf2s1y9Mt2km+pm3QGmiyr0/bDUhSURElcJFIgqTR5A//v75GSbElxknbL1g2z0aASeXc83j28e+jkDhU4Elyiw9/uEMMFQYfo+AYXZU7QCKWCVyU6THAuyQiVuJJkia/JK5Lha8oFOnSa0Y6MwHlO8vUAZ/MMs3QjIa9oeXxDol/YUmGhNuOKl0eRopzJRXLG1WvONkp64YwLNaciqqg6vsZ5hbVsV2JegY1izllM9dQ8I9HVgikiQHotFz0qdIe0ZdJ5cMbeweAzQuq21FMrWJZRZcJwTYQ0/rgwGvPoakmUoiyV2pYgKZWwxtqLDMt3FXtVKaVVlKjqsXMdy3ujECdVybc47IQ1o2mWw49aJOu9yAtRbUImWvsX5AZcRLAearLV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