|
From: Frieda R. <fri...@ma...> - 2014-05-17 12:13:22
|
Thanks, Otis and Angel.
Angel, you have hit the nail on the head with respect to my current needs, thanks. I will try it today. I had gotten confused by this, in the scripting doc:
ID “xxx” | … the optional ID keyword introduces an echo ID that is in quotes...
and somehow in my sleed-deprived brain I thought I needed the keyword and quotes in there.
Otis, that looks like some elegant code that will do some pretty nifty things...
Frieda
On May 17, 2014, at 5:07 AM, Angel Herráez <ang...@ua...> wrote:
> I think that Otis' script displays echos during animation but does not attach
> each echo to each frame, which I believe is what Frieda needs. Subsequent
> animations (forward or backward) will in this case keep the specific echos.
>
> I am not sure you can do a set of frames in one go, but you can assign one
> by one:
>
> set echo e1 50% 100%;
> set echo e1 center;
> set echo e1 model 1.1;
> echo "this is frame 1.1";
>
> So maybe in a loop:
>
> for (i=1; i<=10; i++) {
> name = 'e' + i;
> set echo @name 50% 100%;
> set echo @name center;
> set echo @name model @{'1.' + i};
> echo "first message";
> }
> for (i=15; i<=25; i++) {
> name = 'e' + i;
> set echo @name 50% 100%;
> set echo @name center;
> set echo @name model @{'1.' + i};
> echo "second message";
> }
> for (i=30; i<=35; i++) {
> name = 'e' + i;
> set echo @name 50% 100%;
> set echo @name center;
> set echo @name model @{'1.' + i};
> echo "third message";
> }
>
> This assumes you have a single multimodel file, so frames are 1.x.
> The echos need a unique ID, and I'm using e1, e2 etc
>
>
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.
> Get unparalleled scalability from the best Selenium testing platform available
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> Jmol-users mailing list
> Jmo...@li...
> https://lists.sourceforge.net/lists/listinfo/jmol-users
|