Re: QT Effects

2002-04-03 Thread Klaus Major

Hi Jaqueline,


 Mark Talluto wrote:
 ...
 Use the answer effect command to bring up the dialog.  Create the
 transition you want in this window.  When you hit the OK button, the
 effect will be stored in the it variable.  The string will be quite 
 long
 so do not be surprised.

 That was the first thing I tried, but when I copied the string into the
 script editor and ran the script, MC crashed (well, I'm using the latest
 beta, so maybe that was the problem.) Then I tried to put the string
 into a custom property instead and whenever I accessed it, the property
 returned empty. So instead of the string that is returned in it I was
 thinking to try the 4-character code that is mentioned in the docs. But
 the docs say to find the codes at Apple's web site, and I couldn't. I'd
 like to see a list of these codes somewhere, or else find out how others
 are using the it string in scripts. I don't want any user interaction,
 I just want to permanently store and use the effect.

 --
 Jacqueline Landman Gay   |[EMAIL PROTECTED]
 HyperActive Software |http://www.hyperactivesw.com

I also looked at the Apple-website and did not find any hint to the 
famous 4-char code :-(

One has to check all the available effects, choose one or more, store 
it/them (see below)
and use it later in a script...

So one can store the long string returned in it into a customprop.


The long way goes here (thank you Scott ;-)

1. check
answer effect

2. store
set the nice_trans_coming_from_left of this stack to it
## that's the trick
## and one has to give a descriptive name to that prop !!!
## at least that helps later... ;-)

3. use
visual the nice_trans_coming_from_left of this stack
go next cd ##or whatever

That is the long way, but it works ;-)

Hope this helps.


Regards


Klaus Major
[EMAIL PROTECTED]


P.S.
Anything to translate, Jaque ? :-)

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: QT Effects

2002-04-03 Thread J. Landman Gay

Klaus Major wrote:

 One has to check all the available effects, choose one or more, store
 it/them (see below)
 and use it later in a script...

Hm. That's what I did yesterday and it didn't work. I did it again today
and it does work. So I must have done something stupid late at night.
Wouldn't be the first time.

 P.S.
 Anything to translate, Jaque ? :-)

Translate? Besides my fuzzy thinking, you mean?

-- 
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: QT Effects

2002-04-03 Thread Yennie

This one is a lot less fun, but I found this as well:
(If you dig in the Quicktime docs, you can probably even find the parameters 
for all of these- parameters each have their own 4-char code, for example 
wpID for the type of wipe. Just base64Encode() the 4-char code and look for 
it in the description you get back from the dialog- its actually rather easy 
in the realm of reverse-engineering =))

// Two-source effects
kAlphaCompositorTransitionType = 'blnd'
kCrossFadeTransitionType = 'dslv'
kChromaKeyTransitionType = 'ckey'
kImplodeTransitionType = 'mplo'
kExplodeTransitionType = 'xplo'
kGradientTransitionType = 'matt'
kPushTransitionType = 'push'
kSlideTransitionType = 'slid'
kWipeTransitionType = 'smpt'
kIrisTransitionType = 'smp2'
kRadialTransitionType = 'smp3'
kMatrixTransitionType = 'smp4'
kZoomTransitionType = 'zoom'
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: QT Effects

2002-04-03 Thread J. Landman Gay

[EMAIL PROTECTED] wrote:
 
 Try this (which knowledge of one or two already helped me find):
 
 answer effect
 answer (base64Decode(char 82 to 89 of it))

You 'bout one smart cookie. :) I can see a couple of hundred people
pasting this into their script libraries -- it works great.

In the two examples I tried, I get 5 characters returned, and the last
character is something odd -- a bullet in one case, a percent sign in
another. I had to delete those to make it work. What is that?

-- 
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: QT Effects

2002-04-03 Thread J. Landman Gay

[EMAIL PROTECTED] wrote:

 This one will find the difference areas between two effect descriptions- this
 nails down about where you can find the actual parameter values. This is
 useful if you choose the same effect twice with the same parameters, but
 choose two different values. Presumably you could swap the changing values
 into this area of the description.
 
 on mouseUp
   answer effect
   put it into effect1
   answer effect
   put it into effect2
   put 0 into startChar
   repeat with i=1 to max(length(effect1), length(effect2))
 if (char i of effect1  char i of effect2) then
   if (startChar = 0) then
 put i into startChar
   end if
 else
   if (startChar  0) then
 answer (charstartCharto(i-1))
 put 0 into startChar
   end if
 end if
   end repeat
   answer effect1crcreffect2
 end mouseUp

I put this into the last line of the above script:

  answer base64decode(effect1) crcr  base64decode(effect2)

which makes it a little easier to see where the differences are. But I'm
not sure how to use the info in MetaCard as a 4-character code. So far,
saving the full description as a property seems like the only option.
It's interesting though; I wonder why the descriptions are in base64
instead of plain text?

-- 
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: QT Effects again

2001-04-17 Thread diskot123

I tried to have a look at the "effects" substack, because there were no
responses to the above message so far, but apparently there is no
substack for the QT effects. 
What QT effects substack are you referring to?

For a stack with scripted QT effects, it takes several seconds for the
first effect to show, after the first effect the others display
normally. This indicates that after opening a stack, a part of Quicktime
has to be loaded when an effect shall take place.
MetaCard is loading and intializing QT (just like it has to do before
using player objects).

To get around this
initial delay, you could put a QT effect in the openstack handler,
because here the delay will be more tolerable.
Or do:
get qteffects()

Here is a list of more option numbers for "matrix wipe" extracted from
the qtx-file:
Or you can go to :
http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refEffects.3e
.htm#pgfId=12627

MetaCard supports the wipeid enum in each of those effects. 

Anyone have a design for passing an unlimited number of parameters, each
of different type to the visual effect command?

 Saving such effects with changed parameters - under a different name -
 and then using the name of the saved effect in the visual command
 results in *no* effect. Maybe this is not yet implemented? Isn't this
 what the "Save" and "load" buttons of the "answer effect dialog" are
 for?.-
The file format used by Save and Load is undocumented, so you would have
to instruct the user to load the file using the dialog if it was
supported..

Tuviah

Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.




Re: QT effects

2001-04-10 Thread Sjoerd Op 't Land

Monte Goulding wrote/ schreef:

 Are all the QT effects meant to work? any variation or just the base thing?
 Implode and Explade only do it one way. There are some cool effects but they
 don't work. Are they going to?
There is another problem, too. If I ask for  the qtEffects, I get a Dutch
list of effects (e.g. "Implodeer" instead of "Implode"). I didn't try, but
can I use "Implode" on a Dutch system too? Or is the effect fixed to the
line number in qtEffects? So would this word for Implode:

  visual effect (line 2 of qtEffects)

 Regards

 Monte
Regards,
Sjoerd

BTW Why I didn't try this: On my Performa 5400/160 it quits at startup, and
I had a short time to use it on an iMac, where it worked.


Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to [EMAIL PROTECTED], not this list.