Feature Requests item #955762, was opened at 2004-05-18 04:50
Message generated for change (Comment added) made by hansonr
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379136&aid=955762&group_id=23629

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: None
Group: None
>Status: Closed
Priority: 5
Submitted By: Miguel (michaelthoward)
>Assigned to: Bob Hanson (hansonr)
Summary: script queuing

Initial Comment:


---------------------------- Original Message
---------------------------- Subject: Re:
[Jmol-developers] Jmol goes Strap
From:    "Miguel" <[EMAIL PROTECTED]>
Date:    Tue, May 18, 2004 0:18
To:      [EMAIL PROTECTED]
Cc:      [EMAIL PROTECTED]
--------------------------------------------------------------------------

[snip]

> However, I can not send two commands directly  one
after the other. I have to sleep after each command.

The best way to send multiple commands is to just send
a longer script. Commands are separated by newlines (or
semicolons);

longScript = stript1 + "\n" + script2;

> Is this intended ? How long should I sleep ?

Hmmm ... I am sure that the current behavior is
probably buggy if you send one script immediately after
another.

Currently, scripts do not queue.
I am not sure exactly what to do about this.
It has been a while since I thought about it ... it
needs some work.

Q: Why do you want to send two scripts, one immediately
after the other?

Q: To solve your immediate problem, can you accomplish
what you need to by concatenating your scripts?


----------------------------------------------------------------------

>Comment By: Bob Hanson (hansonr)
Date: 2006-08-22 17:36

Message:
Logged In: YES 
user_id=1082841

jmolScriptWait() implemented in Jmol-11.js 

----------------------------------------------------------------------

Comment By: Miguel (migueljmol)
Date: 2006-03-18 07:53

Message:
Logged In: YES 
user_id=1050060

The scriptWait mechanism will work as a solution in many cases. 

However, I think that a queue of pending scripts is a good
idea. But that is not going to happen soon. 

The submitteer of the bug sent me a patch to apply in order
to provide a queue. Unfortunately, the patch was flawed and
had several race conditions ... so I did not apply it. 

I would like to keep this bug open, because we should
implement it. 

----------------------------------------------------------------------

Comment By: Nicolas (nicove)
Date: 2006-03-18 00:16

Message:
Logged In: YES 
user_id=1096197

Is the implementation of scriptWait() enough for this need ?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379136&aid=955762&group_id=23629

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to