Notifications
Clear all

[Closed] QUESTION – How to execute and expression at startup

How can i execute and expression that is changing the state of some buttons inside of my script?

It’s like this:

I’m loading my script, and inside it i have one checkbutton, at the start of the script i check if that is one file, i want the checkbutton state to be ON if the file exist or if it’s width it’s equal to 2×2, but in any other case i want the checkbutton state to be OFF.

Som help please, i was looking for some funtions like “ON (rollout) LOAD DO (EXP) but i cannot find anything like that

Cheers!

2 Replies

how about

on <rollout> open do <exp>

help topic – Utility and Rollout Properties, Methods, and Event Handlers

Yep, i found it before i saw your post…but i don’t know why it was not working yesterday night, i think that instead of making a floating rollout i was making a dialog, i’m not sure if it’s some difference.

THANKS!