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
 finding the graph
 New Topic  Reply to Topic
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2 Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Piasecki

Poland
Posts

Posted - 07/30/2004 :  12:15:27 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
The main gain is in time of entering the string (and now it is less error prone).

Thanks, grazie, dziekuje!
Eryk


Go to Top of Page

Piasecki

Poland
Posts

Posted - 04/17/2007 :  3:06:43 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Revisiting after 3 years: the trick worked some time but one day it stopped. Since then clicking the button "Custom" makes NOTHING.
The proper custom.ogs is in the Origin directory, but somehow it doesn't work. Perhaps it should be recompiled but I am not sure whether I do it properly: I double click the custom.ogs, but what then?

Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 04/17/2007 :  4:26:06 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
LabTalk scripts do not need to be compiled. You must have overwritten your Find... script with something else. Open Custom.ogs in Notepad and enter the correct script again.

Mike Buess
Origin WebRing Member
Go to Top of Page

Piasecki

Poland
Posts

Posted - 04/17/2007 :  4:39:06 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I started from this, of course.
It looks exactly as it should be...


Go to Top of Page

Piasecki

Poland
Posts

Posted - 04/17/2007 :  4:46:28 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I also reinstalled Origin, but this changed nothing...

Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 04/17/2007 :  8:57:40 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Sorry, but I can think of no reason for the Custom Routine button to fail other than a syntax error or if custom.ogs is in the wrong place. Please hold down the Ctrl and Shift keys and click the Custom Routine button. This will open custom.ogs in LabTalk editor. If you're using the last script in this topic then the lines below the slashes "//" should look like this...

[Main]
getstring (Enter time search string...) "00:00:00" (Find);
if(%B=="") return;
%W="";
doc -e P {
if(timestamp.show!=0/0) {
%T=timestamp.text$;
if("%[%T,#2]"=="%B") {%W=%H; break};
};
};
if(%W!="") win -a %W;

If that is your script and clicking the Custom Routine button still does not open a Find dialog then I can't explain what's happening. In that case you can try assigning the script to a custom toolbar as explained here...

http://www.originlab.com/index.aspx?s=9&pid=366

...Or run it from the script window by entering the command run.section(Custom,Main)

Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 04/17/2007 9:03:51 PM
Go to Top of Page

Piasecki

Poland
Posts

Posted - 04/18/2007 :  07:08:01 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
There is one positive result: I did according your advice
run it from the script window by entering the command run.section(Custom,Main)
and it worked!
However: this works only once, after running this command (or if I do "cancel") I have to open again the script window and write again the command, or to open the saved script.
Second, the toolbar/button Custom still doesn't work, even if I believe that I did all in agreement with instructions contained in: http://www.originlab.com/index.aspx?s=9&pid=366

...


Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic   Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
Previous Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000