The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Python Event Handling

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
spconway1987 Posted - 07/13/2015 : 9:49:35 PM
Origin Ver. and Service Release (Select Help-->About Origin): 2015 Sr2
Operating System: Windows 8

Hi,

I did not see a section for Python so I thought Labtalk would be the closest area to post this in. I would like to know if there is a way to handle events in Python. For example, I would like to make a Python function that is called every time a cell in my worksheet is altered with a different value. Any help is greatly appreciated. Thanks!
1   L A T E S T    R E P L I E S    (Newest First)
SeanMao Posted - 07/14/2015 : 04:07:28 AM
Hi,

There is no directly way that you can handle Origin events in Python. The workaround to it is through OC dialog which can retrieve the message from change in cells, active layers, etc, and then use OC code to trigger Python function.

Regards!

Sean

OriginLab Tech. Service

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000