T O P I C R E V I E W |
iniwoni |
Posted - 09/08/2025 : 1:02:04 PM Origin Ver. and Service Release (Select Help-->About Origin): OriginPro 2025 10.2.0.188 Operating System: Win10
Hi, I know how to create a button in Toolbars that runs with LabTalk, but is it possible to create a button that runs with Python instead?
Best regards, iniwoni |
2 L A T E S T R E P L I E S (Newest First) |
iniwoni |
Posted - 09/10/2025 : 02:48:37 AM Thank you, Chao.
Best regards, iniwoni |
ChaoC |
Posted - 09/08/2025 : 2:14:05 PM Hi iniwoni,
Yes, you can set a toolbar button to run the LabTalk command run -pyf that executes a .py file. See: https://www.originlab.com/doc/python/Running_Python_Code#From_External_.py_File
Best, Chao |
|
|