Search found 3 matches

by ppirx
Wed Feb 07, 2024 7:51 am
Forum: General Discussion
Topic: Text module expression: Show only last line of text-file
Replies: 4
Views: 14228

Re: Text module expression: Show only last line of text-file

..I understand. Thank you for sharing your knowledge! I already solved the problem with Applescript, and as you suggested, outside of Magic. I wrote an applescript that searches the last line and writes it into a new txt-file, every 5 seconds until I stop the script.. voila! # Start Repeat set theCo...
by ppirx
Fri Feb 02, 2024 9:25 am
Forum: General Discussion
Topic: Text module expression: Show only last line of text-file
Replies: 4
Views: 14228

Re: Text module expression: Show only last line of text-file

..I have to read from an automatic generated and permanently growing textfile wherein only always the last line is interesting to me. The expression only needs to count the lines of my textfile and return that number.. The C++ Mathematical Expression Toolkit Library (ExprTk) is used by Magic, right?...
by ppirx
Wed Jan 31, 2024 10:05 am
Forum: General Discussion
Topic: Text module expression: Show only last line of text-file
Replies: 4
Views: 14228

Text module expression: Show only last line of text-file

Plz help, greenhorn here!
Someone knows how to screen only the last line of a text-file? -is there anyone who can help me with an expression please!

Thank you!