Python - app_started

Hi everyone. I noticed the app_started hook is no longer supported. What are folks doin to achieve something similar to the results that hook could give us. Thanks.

Hey Miles!

I’ve been using app_initialized to have scripts run once a project starts to load.

Mike

3 Likes

Hey Mike V ! I’m looking for something before the project is selected. Hope you’re well mate.

1 Like

What do you need to do?

I don’t believe there are any hooks before the app is loaded now. But depending on what you need to do there might be another way.

1 Like

Oh oh…this breaks my script.

This is 2023 right? @miles

Yes, it’s in 2023.

This worked for me though:

import flame
print(flame.get_home_directory())
print(flame.get_version())