This article has been archived. It is offered "as is" and will no longer be updated.
How can I get the Product ID (Dictid) for the current dictionary in a script with Dexterity?
You can use Runtime_GetCurrentProductID(). This will give you the product id from the current dictionary that the script is running in. In Test Mode, this function will always return 0, but in runtime it will return the product id of the dictionary.