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
 Origin Forum
 Importe button without OPK file

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
muensterphotonics Posted - 06/14/2005 : 1:10:22 PM
Origin Version (Select Help-->About Origin):7.5
Operating System:winxp

Hello,
Could you please help me with the following problem?

I exported a button without creating any OPK file, but just copying the files from the button folder. Is it possible to import this button on another origin 7.5?

thank you very much
5   L A T E S T    R E P L I E S    (Newest First)
Mike Posted - 06/15/2005 : 10:35:37 AM
Mike Buess is saying that you need to associate the script contained in your OGS file with one of the user-definable toolbar buttons that ship with Origin. Probably the easiest thing to do is to look in your Origin program directory for a file called Custom.ogs and open it in Notepad.

This file -- Custom.OGS -- is associated with the Custom Routine button on the Standard toolbar. In order to call your script (the relevant section in your OGS file) using the Custom Routine button, you have to paste your script under the [Main] section of Custom.OGS (just replace "type -b $General.Userbutton;" with your script). Resave Custom.OGS. Now clicking the Custom Routine button should run your script.

Also, I'm assuming that your script calls the two template files that you mentioned -- the OTP and the OTW -- so you will want to make sure that they are copied to the correct folder before running your routine.

Let us know if you still have problems.

Mike
OriginLab
muensterphotonics Posted - 06/15/2005 : 10:14:57 AM
Thanks again.

But I don't know how to do that. Could you please give me some starting points? i would really appreciate it.

Thanks a lot
Mike Buess Posted - 06/15/2005 : 09:20:50 AM
If the OGS file contains the scripts for your buttons you can assign them to buttons on the User Defined toolbar that ships with Origin. Once you're sure they are working you can try to recreate the old toolbar if necessary.

I think that's the best you can do without the original ini and bmp files.

Mike Buess
Origin WebRing Member
muensterphotonics Posted - 06/15/2005 : 03:51:32 AM
hi mike,

thank u for your help, but the problem is that I don't have any .INI file, bitmap or labtalk script file. I only have .OGS (one text and one file) .OTP and .OTW

Do you think it's possible to import it anyway? The computer from which I took these files is completely dead so this is my last hope.

Thank u very much again
Mike Posted - 06/14/2005 : 1:19:30 PM
Hi muensterphotonics,

This is covered in the Help file (Help:Origin):

Setting Your Preferences > Customizing Toolbars> Copying a Custom Button Group from Another Location

Mike
OriginLab

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