- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-06-16 08:15 PM
1 button 2 actions
Hi
May I ask to let me know how we can assign to actions to a button? such as by pressing button we change registry value and also control a bit status by using method?
Thanks
Link copied. Please paste this link to share this article on your social media post.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-06-17 02:54 AM
For a button to perform multiple actions the button will need to execute a script and the script then performs the required actions, see Associate a Mimic Script with a Script Pick Action.
To change the registry from a script use the SetRegistry global function.
To invoke a method on a database object from a script use the ServerObject.Interface property.
Andrew Scott, R&D Principal Technologist, AVEVA
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-06-17 02:54 AM
For a button to perform multiple actions the button will need to execute a script and the script then performs the required actions, see Associate a Mimic Script with a Script Pick Action.
To change the registry from a script use the SetRegistry global function.
To invoke a method on a database object from a script use the ServerObject.Interface property.
Andrew Scott, R&D Principal Technologist, AVEVA
Link copied. Please paste this link to share this article on your social media post.

