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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Importe button without OPK file
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

muensterphotonics

Germany
Posts

Posted - 06/14/2005 :  1:10:22 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

Mike

USA
357 Posts

Posted - 06/14/2005 :  1:19:30 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

muensterphotonics

Germany
Posts

Posted - 06/15/2005 :  03:51:32 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 06/15/2005 :  09:20:50 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

muensterphotonics

Germany
Posts

Posted - 06/15/2005 :  10:14:57 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

Mike

USA
357 Posts

Posted - 06/15/2005 :  10:35:37 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000