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
 Origin exit

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
rainlane Posted - 03/22/2017 : 9:20:15 PM
Origin Ver. and Service Release (Select Help-->About Origin): Origin 9
Operating System:Windows XP
How to get the Origin off operation?
When Origin is off, some OriginC programs are executed automatically. How to achieve?

forum
7   L A T E S T    R E P L I E S    (Newest First)
cpyang Posted - 04/10/2017 : 6:50:02 PM
Hi aplotnikov,

SR1 has been released, so please try this new feature.


Details:
https://originlab.jira.com/wiki/pages/viewpage.action?pageId=131334161#Origin2017SR1Features/Improvements-Programming

CP
aplotnikov Posted - 03/27/2017 : 1:14:25 PM
Hi cpyang,

thanks for the information. One more reason to try SR1.

Regads,

Alexei
cpyang Posted - 03/26/2017 : 10:58:53 AM
This is currently not supported, but since we are going to release 2017 SR1 very soon, we can add new system variable and you can control from your LT script.

@EC = 0, normal, as it is now
@EC = 1, do not close current project
@EC = 2, bit, can combine with 1, do not exit current instance

ORG-16188

CP
aplotnikov Posted - 03/24/2017 : 05:02:00 AM
Hi Yuki,

is it possible to cancel closing procedure using LT commands in [BeforeCloseDoc] and to continue the session?

Best regards,

Alexei
yuki_wu Posted - 03/24/2017 : 03:39:40 AM
Hi,

Not sure if this is what you want:

There is a file name ProjectEvents.ogs attached to the Origin Project by default. You can execute a set of commands upon opening , closing or saveing your Origin project.

For example:
1. Open Code Builder in Origin
2. In the Workspace panel, expand the Project tree node and find ProjectEvents.ogs
3. Double click to open the file
4. Type “type –c “Close Origin;” in the section [BeforeCloseDoc]
5. Save the file


So you will see a pop-up dialog when you close this Origin project.

Some pages may help:
http://www.originlab.com/doc/LabTalk/guide/ProjectEvents-Script
http://www.originlab.com/doc/LabTalk/ref/Type-cmd

Regards,
Yuki
OriginLab
rainlane Posted - 03/23/2017 : 11:38:23 PM
When the user closes Origin, gives the message "Are you sure to turn off?"
How to achieve?

quote:
Originally posted by yuki_wu

Hi,

I am sorry that I cannot understand your question fully.

Do you mean you want to access your Origin C functions independently of Origin’s environment? Before access any function, you need to reload and link them. Since Origin C program must be developed in Origin’s Integrated Development Environment (Code Builder), you will need to compile and link by using Code Builder. Thus, you cannot access any Origin C functions without an Origin session.

If I misunderstand your question, please post more details.

Regards,
Yuki
OriginLab




forum
yuki_wu Posted - 03/22/2017 : 11:00:01 PM
Hi,

I am sorry that I cannot understand your question fully.

Do you mean you want to access your Origin C functions independently of Origin’s environment? Before access any function, you need to reload and link them. Since Origin C program must be developed in Origin’s Integrated Development Environment (Code Builder), you will need to compile and link by using Code Builder. Thus, you cannot access any Origin C functions without an Origin session.

If I misunderstand your question, please post more details.

Regards,
Yuki
OriginLab

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