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
 Forum for Origin C
 creating new menus, OGS files

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
Qiang Posted - 07/23/2003 : 08:56:55 AM
Hi all,

After looking through FFTTOOLS.OGS file under origin, I wonder whether it is possible to
create an OGS file?

I have looked at an example called NMR on the internet. After installing it, it has added an extra item called NMR in the file bar together with file, edit view, analysis etc. It'd be great if anyone knows how I could add something like that into Origin, or an extra
under Analysis where FFT is under to create a custom FFT program.

I intend to copy across some of the FFT commands under FFTTOOLs and change some of the commands to adapt to our task. Unfortunately I couldn't find a file that is a strucure above it that calls the FFTTOOLS.OGS file.

thanks so much

Qiang
2   L A T E S T    R E P L I E S    (Newest First)
greg Posted - 08/22/2003 : 09:08:35 AM
You might want to look at:
http://www.originlab.com/www/support/resultstech.asp?ItemID=768
which outlines several ways to create a GUI for your routines.

In particular, look at:
http://www.originlab.com/www/support/resultstech.asp?ItemID=770
which explains how to connect a toolbar button to an OGS file that you create.



easwar Posted - 07/23/2003 : 1:21:01 PM
Hi Qiang,

Look up documentation on the menu command in the LabTalk language reference help file for information on how to change/add to menus. You can have your menu item then call your OGS (LabTalk Script) file, and your script file can load/call Origin C functions.

Easwar
OriginLab.



Edited by - easwar on 07/23/2003 1:25:50 PM

Edited by - easwar on 07/23/2003 1:27:04 PM

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