Monitor: Read from the monitor

Hello,

I would like to write a script that use the display as an input.

In the display there is a list of file. I want to use it as an array and this would be the input in my script. Does somebody know how do I make it?

Can you explain what you mean by "in the display there is a list of files". How did the list of files get there? Did you run another command to get them?

In my workplace a team works in the same project. So many files are created.

When I want to write something to a file, firstly I ask a list the last modificated files - this is on the monitor with ordial number. I only need to use this number if I want to compile my file because the list creator script uses only one tempfile to save this list (my editor script uses this file).

My problem is that there is ONLY ONE tempfile. So if another colleauge ask another list than the file is changing. It means that sometimes I open not that file what I want.

A solution is that if the editor script wouldn't use the tempfile but uses the monitor as input.