[x-post] Launched: get the active table/view!

Hi y’all!

The Cursor API is now accessible within the scripting block. You can use it to access the currently active table ID and view ID. This is particularly useful for removing the need for your users to manually select tables and views while running a script.

Learn more about how to use it in our scripting block API documentation.

Hope you all enjoy the new feature; happy scripting!


Freakin’ far out! Two enthusiastic thumbs way up!

Thank you! This is awesome. I disliked having to hardcode the table name in a script that was invoked by a button. This makes it easier to reuse the same script for buttons in different tables.

1 Like

Very, very, very enthusiastic !
It’s a very big event in Script-Block’s life !