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 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.
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 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.