Enable Print option after opening a FET file

Started by infoo_, January 15, 2023, 06:58:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

infoo_

Hello all

I was thinking about a little improvement. When FET is opened, a blank timetable is set by default (named Untitled on the top left corner).

I go to File > Open... > and select what FET file I want to continue working.

After I opened the file, the Print option is not available. It says "Please generate, firstly".

However, yesterday I have generated a timetable and in the timetable's folder it has all .html files. Everything is correct.

So I suggest that the Print option is enabled so that the print view can be accessed more quickly, instead of having to search for the containing folder on the computer.

I think this can prevent certain people who are sparse, not knowing that a folder is created on the computer, from regenerating the timetable and losing the distribution they had achieved after closing FET.

What do you think? Is it possible?

Thanks!

Liviu Lalescu

#1
Hello, darkwindow,

The suggestion is good, unfortunately it cannot be solved elegantly, because the input data is different from the timetable.

But: For each successfully generated timetable, you have in the results directory the file filename_data_and_timetable.fet. This file will be overwritten only on successful generations. For partial timetables it will remain the same from the previous successful generation. So you can open it and generate with FET on it. It should generate in an instant and provide the same timetable.

For now, I added your suggestion in the TODO.

infoo_

Thanks for the reply, Liviu!

Quote from: Liviu Lalescu on January 15, 2023, 07:16:28 PMFor partial timetables it will remain the same from the previous successful generation. So you can open it and generate with FET on it. It should generate in an instant and provide the same timetable.

How does this work? I was going to ask something similar in a different thread.

Liviu Lalescu

You're welcome!

If your file is "name.fet", open "name_data_and_timetable.fet", from the results, with FET, and generate it. It has all the activities locked.