Re: private scrollbar

2003-01-24 Thread Klaus Major
Bon soir Thierry


Hi Klauss,

Nice your Banana :-)


ARGH, they did it again...
How often will i have to post:
Please stop talking about my banana in public!
G.. :-D


in fact, the stack Fun with fields doesn't manage the enable/disable
property of the thumb banana
( i set the text shorter than the height of the field,
but still can move your banana all the path from top to bottom )


That's an extra not covered by the invisible contract ;-)

No, just kidding.

I created it really for fields that have lots of text in it.
I did not think of another case, that's all...
So sorry.


i did add these 2 lines into my card script :

  put the number of lines in field f * textheight of field f into n
  set the enabled of btn MyThumb to (  n   the height of field f  )

Is this way valid in any cases ? any comments ?


I'll check that out, but sounds logical.
(Famous last words: Not tested, but should work ;-)

Nope, but this works:
(Just tested :-)

 set the enabled of btn MyThumb to (the formattedheight of fld f = 
the height of fld f)

get the scroll of field f, doesn't help in this context.

  | Before that, i may encourage you to download my cute little palette
...
Sorry, i'm still with metacard 2.3 on windows ( only ) and it doesn't 
seem
to be compatible... probably i should need to move to 2.4 one of these 
days
?

Oooops, sorry, i think there was a change in the fileformat of MC from 
2.3 to 2.4.

Viele Dank, Klauss


De rien Thierry ;-)


Au revoir

Klaus Major
[EMAIL PROTECTED]

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



Re: private scrollbar

2003-01-24 Thread Klaus Major
Hi Jaqueline,


Klaus Major wrote:


ARGH, they did it again...
How often will i have to post:
Please stop talking about my banana in public!
G.. :-D


There once was a programmer Klaus
Whose fields could be scrolled with a mouse.
But the clincher hosana
Was his public banana
Which always brought down the house.


ROTLTD :-D


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


This is definitively a good one :-D

Have a nice weekend.


Regards

Klaus Major
[EMAIL PROTECTED]

P.S.
Eat more fruit ;-)

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



cute palette for win

2003-01-22 Thread Klaus Major
Hi all,


my cute little palette is now availlable for windows, too
(Will probably work on Linux/Unix, too.
I have no chance to check that...)

Works with all versions of MC.

Feel free to modify it to your needs...

Donwload it here:

www.revolutionboard.de/klaus/heim2WIN.zip


Please read the dox. Won't hurt ;-)

Feedback welcome.


Enjoy...


Regards

Klaus Major
[EMAIL PROTECTED]

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



Re: cute palette for OS X for all versions of MC

2003-01-22 Thread Klaus Major
Hi all,


my cute little palette is now availlable for OS X
and ALL versions of MC.

I just remove some 2.5 specific features like sheet dialogs
(Love that ;-)

Will of course work with OS 9xx, but does not look SO good
on OS 9.xx as in OS X... ;-)

Feel free to modify it to your needs...

Donwload it here:

www.revolutionboard.de/klaus/heim2osxall.sit


Please read the dox. Won't hurt ;-)

Feedback welcome.


Enjoy...


Regards

Klaus Major
[EMAIL PROTECTED]

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



cute little palette

2003-01-21 Thread Klaus Major
Hi all,

my cute little palette is now availlable for windows, too
(Will probably work on Linux/Unix, too.
I have no chance to check that...)

Works with all versions of MC.

Feel free to modify it to your needs...

Donwload it here:

www.revolutionboard.de/klaus/heim2WIN.zip


Please read the dox. Won't hurt ;-)

Feedback welcome.


Enjoy...


Regards

Klaus Major
[EMAIL PROTECTED]

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



Re: answer printer

2003-01-12 Thread Klaus Major
Hi NIcolas,


Am Sonntag, 12.01.03 um 15:29 Uhr schrieb kweto:



Hello,
 
For the answer printer command, is there a way of capturing the 
user's response? Before printing a card  users of my stack have the 
option of setting the paper-size via their particular printer's 
settings, and since the modal printer selection dialog includes a 
Cancel button (at least my printers do), I'd like to honour that 
option. But, as it is now, even when I click Cancel the stack still 
sends the job to the printer.
 
One work around I. tried was to attempt capturing the user's Cancel 
response in a way similar tothat of the answer command, i.e.,
 
  answer printer
  if it is Cancel  then exit doWhatever

try:

...
if the result is not empty then exit...

Should work in ANY language ;-)

(The result would be cancel :)
 

FWIW, I thought that, since I'm deploying on a Japanese OS 
(Win/Mac), the response word ought to be the Japanese equivalent for 
Cancel -- which I tried, but no go.
 
Thank you.
 
Nicolas Cueto


Regards


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



Re: [OT] invisible files on Windows

2003-01-10 Thread Klaus Major
Hi Richard,


Karl Becker wrote:


Right click on a file, select Properties, check the box Hidden.
However, Windows users can choose to have hidden files shown quite
easily, unlike the Mac where hidden files aren't even known to many
people.


1. How does a Win user show the file by right-clicking on it if it's
invisible?


Hardly ;-)

In an open window on windows :-) there is a menu:

View- Folder options- Tab View

There you can choose with radio-buttons (among other funny stuff) to
1. Show all files
2. Hide hidden files  (sic !!! )
(I am just translating the german version of VirtualPC, so it might not 
be THAT
funny in the original english version ;-)
3. Hide hidden and system files

2. Is there a way to set this visible bit on a Mac when burning an 
ISO-9660
CD?

Sorry, no idea.


 Richard Gaskin


Regards from icecold germany (-12 degree Celsius, brr...)

Klaus Major
[EMAIL PROTECTED]

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



Re: Visual Basic and video

2002-12-25 Thread Klaus Major
Hi Jack,


Klaus Major wrote:


revVideoGrabber videograbbercommand,optionalparameters  :-)

How do you like this line ;-)
All this and more in the next version of RR.
And crossplatform, of course...

 
Okay Klaus - I'll bite! 


Ouch ! ;-)


Do you really think that videoGrab is a part of Rev 2.0? 


I don't think so, i know !


Do you think it would be able to import both digital (Firewire)
and analog (some kind of USB deviee or PCI card?) 


I don't know about details (i do not have any video device yet,
although it is christmas :-(,   but on a Mac you can do it with 
Quicktime
and on windoze you have the choice of QT of Video for windoze

Man - this could be very cool.

Thanks - even if you are teasing -


No trick, no bluff, no fooling and no shit ;-)


and have a tremendous holiday season!


Thank you and to you , too :-)


Jack Rarick
Braintree Athletic Systems


Regards

Klaus Major
[EMAIL PROTECTED]

P.S.
This is the videograbbercommands.txt file from the last alpha-build 
of RR.

I don't think this is topsecret, so i will add it here in the PS...
(Please don't shoot me if it is...)

##

revVideoGrabber videograbbercommand,optionalparameters

Video grabber command:
a) Open - opens the video grabber using quicktime or video for windows.
Specify the name of the stack, and rect of the video grabber window.

examples 1 - open video grabber at rect of image 1 with video for 
windows
revvideograbber open,short name of this stack,qt,rect of field 2
example 2 - open video grabber at rect of field 2 with quicktime

Quicktime is supported on Mac and Windows

b) Show - starts previewing/displaying video (but does *not save the 
video
data to disk*). For quicktime you need to call revvideograbber idle to 
give
QT sufficient processing time..this is not needed when using video for
Windows. Stops recording if recording was in progress

example -
revvideograbber show
repeat while recordvideo is true
  revvideograbber idle # give qt processing time
  wait for 1 millisecond with messages # handles any events
  end repeat

c) Idle - Gives Quicktime processing time to display video input source
(required to update display when previewing and recording). Does nothing
when using VFW, as Windows internally opens a seperate thread to do 
this.

d) Hide - Stops previewing/displaying video

e) StartRecording - Starts recording and displaying the video and saves 
to
specified filename on disk.

example -
revvideograbber startrecording,filename

As stated above you need to give QT sufficent processing time while
recording using revvideograbber idle

f) StopRecording - stop recording video.

g) Dialog - displays the standard video recording dialogs for Quicktime 
or
Video for Windows.
The types of dialogs you can specify are compression, format, display, 
and
source. Neither QT or VFW supports all dialog types.

example - revvideograbber dialog,compression
revvideograbber dialog,format
revvideograbber dialog,display
revvideograbber dialog,source

h) Close - closes the video grabber. This stop recording..if recording 
was
in progress.  Should call on closestack to release memory used by video
grabber.

i) revvideograbber grabimage,width of image 1, height of image
1,videoimagedata
set the imagedata of image videoimage to videoimagedata

The grabimage command grabs the current frame, and copies it to the
specified variable (videoimagedata) as imagedata (rgb, rgb). You can 
then
set the imagedata of an image.to display the frame. Useful if you want 
to
take a photograph.

##

Sounds promising, doesn't it ?! :-)
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: Visual Basic and video

2002-12-25 Thread Klaus Major
Hi Jack,


I don't know about details (i do not have any video device yet,
although it is christmas :-(,   but on a Mac you can do it with
Quicktime
and on windoze you have the choice of QT of Video for windoze


Wow!  This sounds very cool!  Now - I hate to keep bugging here - but 
I am
actually a Metacard programmer - haven't dabbled much on the RR side.  
If
it is going to be a part of RR should I expect it to be a part of 
Metacard
too?

I hope you are not too disappointed, but these externals are of course
compatible with MC, but they are only sold with a copy of RR :-(
Just like the mysql and other database-connecting externals...

I think they will offer some crossgrade from MC.

That's marketing...


This is GREAT!

Thanks for everything!

Jack Rarick
Braintree Athletic Systems


Regards

Klaus Major
[EMAIL PROTECTED]

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



Re: Visual Basic and video

2002-12-24 Thread Klaus Major
Hi Jack,


I'm pretty comfortable using Applesxripts in Metacard.  How easy is it 
to
call Visual Basic program in Metacard?  I need to build specific 
Metacard
apps that will allow the user to import digital/analog video from 
cameras.
That is presently not possible in Metacard.  I can use iMovie and BTV 
on
MacOs - but I'm thinking I'm going to need to create my own on the 
windows
side.  Any ideas?

revVideoGrabber videograbbercommand,optionalparameters  :-)

How do you like this line ;-)

All this and more in the next version of RR.
And crossplatform, of course...


Thanks in advance!


Merry christmas :-)


Jack Rarick
Braintree Athletic Systems


Regards from germany

Klaus Major
[EMAIL PROTECTED]


P.S.
Do we all really hang around here
on the web on christmas evening ? ;-)

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



Re: ac/dc

2002-12-16 Thread Klaus Major
Hi Robert,


Just curious. Why can't I have a variable named ac? I get errors about 
double binary operators. It must be an abbreviation for something but 
nothing junps on me from the documentation.

ac is a reserved word which is the abbreviation of AudioClip (ac).


Robert


Regards


Klaus Major
[EMAIL PROTECTED]

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



b bit icon in standalones

2002-12-13 Thread Klaus Major
Hi all,

has anybody ever successfully installed a 8 bit icon into
a standalone after building it with MC ?

If yes, how did you do this ?
What windows icon-editing app can so so ?
(Not necessarily freeware ;-)

Thanks a lot in advance.


Regards from germany

Klaus Major
[EMAIL PROTECTED]

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



Re: b bit icon in standalones

2002-12-13 Thread Klaus Major
Hi all,


it's easier to import gifs or jpgs than icons...
on windows, theres' a few nice programs but I'd
recommend Iconbook. dont know the url of hand...

browse and export... that easy... windows only probably...
on the Mac, GifConverter (mac only, german program with a grey icon 
and a
house?) was great...
both do batch conversions i think...

Hi all,

has anybody ever successfully installed a 8 bit icon into
a standalone after building it with MC ?

If yes, how did you do this ?
What windows icon-editing app can so so ?
(Not necessarily freeware ;-)

Thanks a lot in advance.


Regards from germany

Klaus Major
[EMAIL PROTECTED]

sorry, it looks like i was not clear enough.

I meant: has someone succesfully replaced the 4 bit MC icon
of a standalone with another 8 bit icon.

If yes, how ? What icon-editor can do this ?

Thanks in advance...

Regards


Klaus Major
[EMAIL PROTECTED]

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



Re: b bit icon in standalones

2002-12-13 Thread Klaus Major
Hi MrX,



The easiest way (around this) is to make a shortcut and use a custom
icon on it...

I also asked this and it's also impossible...

Then again, you can re-write the desktop in MC, launch me in startup 
and
then use strictly any image as an icon ;))

...
launch MrX with new_desktop
...

gives this error (with or without quotes):

Developer not defined
error description: unknown developer

Too bad...


Au revoir ;-)

Klaus Major
[EMAIL PROTECTED]

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



Re: MC 2.5 Script editor

2002-12-12 Thread Klaus Major
Hi Shari, hi Glen,


...
I think auto-complete for commands etc. would be a very good idea. Just
include a preference to turn it on or off, then everyone can be happy. 
:-)

YO :-)


As it is, I frequently have to delete on mouseUp/end mouseUps that
get inserted into the middle of my handlers, presumably thru some key
sequence.


I don't think it is a key sequence that does this, I thought that 
everytime
you opened up a script editor window that didn't have any script a on
mouseup/end mouseup would get inserted.

This is still there.

But the sequence cmd+m also used to insert on mouseup...end mouseup
at the cursor in the scriptwindow, now it looks like Scott removed it 
in 2.5.


Have a nice weekend.

Regards from ICE-cold germany (-20 Celsius !)

Klaus Major
[EMAIL PROTECTED]

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


Re: ftp problems

2002-12-10 Thread Klaus Major
Hi LiangTyan,


Hi all,

is anybody there mirroring the downloadable MC files (betas)
on his/her server ?


http://groups.yahoo.com/group/metacard_download/links


Thanks a lot.
Works fine.

Regards


Klaus Major
[EMAIL PROTECTED]

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



Taking stacks from Windows to Mac: one solution

2002-11-20 Thread Klaus Major
Hi Kristen,


I am running mc 2.3 on Mac OS 9 and on a PC laptop. I have no problem
opening stacks on the PC that were saved on the Mac, but when I try to 
open
stacks saved on the Mac that were saved on the PC, mc does not 
recognize
them. I really need to be able to work both ways cross-platform. Is 
this not
possible?

Thanks for all the help!

Kristen Billings

the problem (not really ;-) is in the different kind of files
on mac and win.

The windows OS recognises file-types by their extension.
*.mc

The mac OS looks for some (invisible) resource-fork inside the file
to determine what to do with that file...

If this fork is missing, and it will be missing if transferred from 
windows,
where the OS cannot handle it so it just ignores it..., Mac-apps 
(including MC)
will not display these files in the open-dialog.

I solved this little inconvenience by adding a button to one of my
custom palettes with the following script.

It will try (sic! ;-) to open any file and beep, if it is not a valid
MC-file.

Here we go:

on mouseUp
  answer file What stack may i open for you, dear Kristen ?
  if it is not empty then
try
  toplevel it
catch errornum
  beep
end try
  end if
end mouseUp

Hope this helps...


Regards

Klaus Major
[EMAIL PROTECTED]

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


Re: metacard digest, Vol 1 #382 - 8 msgs

2002-11-02 Thread Klaus Major
Hi Eric,


Where can I download a copy of MetaCard 2.5fl ?


check this URL:

ftp://ftp.metacard.com/MetaCard/2.5/


Havbe a nice weekend.

Regards

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



MC 2.5a6

2002-10-22 Thread Klaus Major
Hi metacarders,

did anybody notice that version 2.5a6 is on
the MC ftp-server ?

Hurry up, download and enjoy yourselves ;-)
It's woth it !!!


Regards

Klaus Major
[EMAIL PROTECTED]

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



Re: saving styled text?

2002-09-26 Thread Klaus Major

Hi Eric,

 how do I save styled text from a field to a file so
 that the text formatting is retained in the saved
 file?

 I can save plain ascii just fine - I would like to
 save its format as well however.

 I have tried running through the help stacks and faq
 and have not found a solution. Hints pointers or ideas
 are appreciated!

hmmm, my first (and only) thought is the htmltext-property ;-)

Like:

on mouseup
   put the htmltext of fld fld with textstyle to be saved into 
urlfile:savedstyle.htm
end mouseup

and back again with:

on mouseup
   set the htmltext of fld fld with textstyle to be saved to 
urlfile:savedstyle.htm
end mouseup


Hope this helps...

Regards

Klaus Major
[EMAIL PROTECTED]

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



Re: Case problem

2002-09-26 Thread Klaus Major

Bonsoir Dominique,

looks like a job for a hidden button in the style of pop-up ;-)

Try it, create a button, set its contents to something like:

new/n
first/f
last/l
etc...

set its style to popup, group it, if necessary, to have it on all cards
(dont forget to set the background behaviour of the group to true !!!)
hide that button and htere you go.

Oh, it has to have this script, too ;-)

on menupick quoi
   switch quoi
case nouveaux
  create card
  break
...
   end switch
end menupick

works here in germany, should work in france, too ;-)

 I have a little notepad made with MC.
 I wanted to navigate with CMD-1... as in HC
 That works.
 I want now to create a new card with CMD-n: doesn't work!
 ...
 Seems odd, because CMD-a works (the text in the field is selected),
 but not CMD-n... !

Because the buttons in the menubar catch this key-combinations ;-)

 Regards,
 (-8 Dominique

Hope this helps.

Regards
8-)

Klaus Major
[EMAIL PROTECTED]

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



Re: Case problem

2002-09-26 Thread Klaus Major

Bonsoir Dominique,

 on menupick quoi
switch quoi
 case nouveaux
   create card
   break
 ...
end switch
 end menupick

 I know that I could build a menu -- but, for the sake of simplicity 
 (and
 elegance ;-)) I preferred not to build a menu, instaed I put some
 handlers at the stack level (or at the group level) in order to catch 
 my
 commands...

 -- 
 Regards,
 (-8 Dominique

ok, ok, another try...
For the sake of simplicity and elegance ;-)

on commandkeydown thekey
   switch thekey
   case n
 create card
 break
   case b
 beep
 break
   end switch
end commandkeydown

I put this in a stack-script and it worked.
Had new card (although i already got one...)
and it beeped :)

Try this at home ;-)


Au revoir


Klaus Major
[EMAIL PROTECTED]

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



Re: Import question from a new user

2002-09-25 Thread Klaus Major

Hi Kristen,

correction to my last mail.

There is no entry about player in the index.

Instead look for QuickTime, playing :-)


Best

Klaus Major
[EMAIL PROTECTED]

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



Re: Import question from a new user

2002-09-25 Thread Klaus Major

Hi Kristen,

 I am very new to Metacard and have a (hopefully) simple but frustrating
 problem. I have been importing images into my programs with no 
 problems on
 both Mac and PC using the import paint from file command in the 
 message
 box, and they appear with no problems on my page. However, when I try 
 to
 import quicktime videos using the import videoClip from file command 
 on
 the PC the program acts like it is importing the clip but the clip 
 doesn't
 show up on my page or anywhere,

this i a bit unususal ;-)

After importing a video-clip, only a copy of that clip is
saved inside your stack WITH NO VISUAL REPRESENTATION !

You can assure yourself by checking stack props - Components - 
Videoclips

To display the clip you have to do it with a script like:

on mouseup
   play vc yourclip.mov
end mouseup

This will play the clip at the center of the current card.
You can specify a location for the display by adding ... at x,y
to that script like:

on mouseup
   play vc yourclip.mov at 100,500
   ### or ... at the loc of img videodisplayarea etc...
end mouseup

However it is highly recommende to use players and set
their filenames to the path to that videoclip.

Search the index for:
player, play and Videoclips.

 and on the Mac when I do
 file-import-videoclip it says it can't open file, mask, or display and 
 when
 I use the message box command it gives me an error message. Help!

Works for me here.

Try quitting and restarting MC.
At least that helped me when i had the same troubles when
importing images...

Drop a line if you have further problems or questions.

Regards

Klaus Major
[EMAIL PROTECTED]

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



Re: EPSImport stack

2002-09-12 Thread Klaus Major

Hi Chipp,

 I don't think that Chipp really meant that you have to give
 credits to Scott Rossi, did you Chipp ?

 Nope, Alejandro just mentioned if anyone knew who created the code. 
 It's
 always nice to be remembered for ones contributions ;-)

Ooops, sorry for the misunderstanding.

Regards


Klaus Major
[EMAIL PROTECTED]

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



Re: EPSImport stack

2002-09-11 Thread Klaus Major

Buenos dias Alejandro,

 on Mon, 09 Sep 2002 23:28:00 -0700
 Chipp Walters wrote
 ...
 Worked well in RunRev. I look forward to the future
 enhancements you mentioned. I believe the drag
 window  code was created by Scott Rossi

 Then, thanks to Scott Rossi for sharing his code!
 I'll repost the file and credit him accordingly.

 I look for the name of the stack in the MetaCard
 Mail List archives on the web, but found nothing.
 Now, I'm sure that him post it in the Runrev Mail
 list, but for now, they don't have searchable
 archives on the web.

I don't think that Chipp really meant that you have to give
credits to Scott Rossi, did you Chipp ?

If yes, then we all would be very busy to give credits
to folks whose code-snippets we are using and our project
would never get ready ;-)

If no, everyone can use MY code-snippets without
giving credits to me.
(Transferring 50 US $ to the following bank-accout
would be sufficient in that case: Bank of ME, accout 0815 :-)

(That was just a joke !)

 Alejandro


Regards


Klaus Major
[EMAIL PROTECTED]

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



Re: Editable field

2002-09-07 Thread Klaus Major

Bon jour Domi,

 I made a small stack to teach the multiplication tables (a test)
 In fact, it is a porting of a HC stack.
 Translation was a breeze :-)

 A little problem, though: the child is given a multiplication, say 4 x 
 9; he must answer in a field. I can't focus on this field (nor type 
 tab) for the *first* test of a series.
 I have to resort on a rather inelegant way, i.e. click at loc of 
 field.
 Is there a better way?

try this, maybe on opencard...


   select after text of fld the result
## which, in this case, will be a bit less than 40
## but definitively more than 30... :-D


Works for me, should do it for you, too ;-)

Hope i understood your problem right...

 -- 
 Regards,
 Dominique

Have a nice weekend...


Au revoir


Klaus Major
[EMAIL PROTECTED]

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



Re: More CGI Stuff

2002-09-03 Thread Klaus Major

Hi Ruslan,

 on 9/1/02 17:54, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote:

 It exists, it just hasn't made it on the site yet.
 Ruslan?

 Yes, Brian, if Dave need it, please send to him YOUR copy of VXCMD 
 macho

 Ruslan

 Does this mean there is a Mach-o version available now? I don't see
 it on your site.
 Cheers
 Dave

 -- 
 Best regards,
 Ruslan Zasukhin  [ I feel the need...the need for speed ]

i have an even better idea.
Just post this macho VXCMD on your site.

This way even people with a license could get hold of it ;-)


Thanks in advance...


Regards

Klaus Major
[EMAIL PROTECTED]

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



Re: MC and openGL

2002-08-09 Thread Klaus Major

Hi JB (Jim Beam James Brown Jim Bo ? ;-)

 Hi list,

 [brag mode on]

 I'm really proud to announce that today we managed
 to link MC with openGL through an external.

 Actually, it's still very basic : it works on Win32 only,
 but realtime display of 3D driven by MC scripts is already
 possible.

 Unfortunately, as I'm finishing a CD-ROM for next week,
 I don't have much time to discuss this issue in details right
 now. However, I'll keep you posted in the future (if anyone
 is interested, of course).

 JB

 [brag mode off]

i think there will be definitively less posts if only the folks will 
reply
that are NOT interested in this extremely interesting news ;-)

Best from germany

Klaus Major
[EMAIL PROTECTED]

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



Re: Naming Conventions

2002-07-08 Thread Klaus Major

Hi Gregory,

 Hi Everyone,

   I have a  multi-stack project with a number of information stacks 
 that are very similar in structure, for example, a title field, text 
 body field, and card navigation buttons.  Is it a problem if these 
 controls have the same names in the different stacks?

   Regards,

   Greg

no. :-)


Regards


Klaus Major
[EMAIL PROTECTED]

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



Re: MetaCard 2.4.3 beta 2

2002-07-02 Thread Klaus Major

Hi there,

 Dave Cragg wrote:

 I was unable to unstuff the MacOSX archive. Anyone else having the
 same problem, or it just at my end?

 Yep, me too. :(

 --
  Richard Gaskin

same here in germany...

Scott, please post another version, please...


Regards


Klaus Major
[EMAIL PROTECTED]

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



Re: irregular windows

2002-07-02 Thread Klaus Major

Hi Richmond,

 How can I make irregular shaped windows / stacks/ cards in
 Metacard / RR ?

 Mathewson

see windowshape in the index.

I am afraid this is still MC only.


Regards


Klaus Major
[EMAIL PROTECTED]

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



243b2 OS X

2002-07-02 Thread Klaus Major

Hi there,

Scott posted a new version and it works.

Thanks to Scott :-)


Regards

Klaus Major
[EMAIL PROTECTED]

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



Re: using variables in file names

2002-07-01 Thread Klaus Major

Hi Nicholas,

 Is there anyway to create a file using a variable?

 Suppose I have a variable called sub and I want to save text to a file 
 named sub.txt where sub is a number from 1 to 100.

 Normally, I would write

 open file sub.txt
 put results  cr into file sub.txt at eof
 close file sub.txt

 How can I change the filename based on the current value of sub?

 Thanks!

this is an easy one.

You just have to build a string like:

open file (sub  .txt)
put results  cr into file  (sub  .txt) at eof
close file (sub  .txt)


You can have it even shorter:

...
put results  cr into url(file:  sub  .txt)
...


That's all, have fun :-)


Regards

Klaus Major
[EMAIL PROTECTED]

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



Re: set directories with spaces

2002-06-26 Thread Klaus Major

Hi Simon,

no quotes will do the trick ;-)

...
set the directory to /Mac OS X
...

et voila...

MC is less restrictive than shell...

 How can we set the directory to a folder with spaces?  In the shell I 
 would do the following:

 cd Mac OS X

 Under MetaCard I have to do the following which I would assume should 
 work:

 set the directory to /quoteMac OS Xquote

 But that returns can't open directory, am I missing a step?  Anyone 
 see an error in that script?

 Sincerely,
 Simon


Regards

Klaus Major
[EMAIL PROTECTED]

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



Re: Editing an object script

2002-06-25 Thread Klaus Major

Hi Simon,

 LOL, I was hoping it was.  I got the contextual menu which is what I'm 
 trying to avoid. I currently use the right mouse key to select/get 
 menu, but I'd rather hit cmd+E.
 Anyway, it came up only because I did that key combo tonight.  Odd that 
 several years after using SC it would just spring up on me while I was 
 working!

 The most incredibly useful feature of SuperCard that I really
 miss is simply using the keyboard to to edit the script of a
 selected object.
 Select and object, hold cmd+ E and you were scripting.

 Scott, anyway we can do this for the next release?  Anyone here
 have time to create a keyboard mapper for MC so we can define
 keys in MC?

 Well, it's not exactly the same but control+click the object is pretty
 close(?)...

 Regards,

 Scott Rossi
 Creative Director

what about cmd-alt-click on the object ?

Does this satisfy you more ? ;-)

Regards


Klaus Major
[EMAIL PROTECTED]

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



new MC beta 1

2002-06-11 Thread Klaus Major

Hi all,

check out the new beta of MC.

The OS X version now uses quartz to display text.

Looks just beautiful :-D

Regards

Klaus Major
[EMAIL PROTECTED]

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



Re: the systemversion

2002-06-10 Thread Klaus Major

Hi Ken and all,

 From the Revolution documentation:

 Windows 94 = Windows 4.0
 Windows 98 = Windows 4.10
 Windows ME = Windows 4.90
 Windows NT4 = NT 4.0
 Windows 2000 = NT 5.0

 And one from me:

 Windows XP = NT 5.1

 I have posted this on my Tips and Tricks area of the MetaCard page my 
 site
 (www.sonsothunder.com/devres/metacard/metacard.htm) for reference later 
 if
 people are interested.

 Ken Ray
 Sons of Thunder Software
 Email: [EMAIL PROTECTED]
 Web Site: http://www.sonsothunder.com/

thanks for your help.

Regards

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



the systemversion

2002-06-09 Thread Klaus Major

Hi all,

can someone please supply what the systemversion returns on
Win95 and Win98 systems ?

Thanks in advance.


Klaus Major
[EMAIL PROTECTED]

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



Re: Absolute paths for Quicktime movies?

2002-05-17 Thread Klaus Major

Hi Wilhelm,

 Apparently, unlike to referencing images and sounds, you still cannot
 use relative paths with Quicktime movies.

I am using relative paths for QT movies for years.
(Or at least since MC supports QT on win ;-)

No problems so far, and i produced several CD-Rom applications
that can be launched directly from CD.

I even set the relative path while developing.

No idea what could be wrong with your paths.

Regards


Klaus Major
[EMAIL PROTECTED]

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



Re: script limits

2002-05-16 Thread Klaus Major

Hi all


 On Wednesday, May 15, 2002, at 02:08  PM, erik hansen wrote:

 according to the archives and the index there are
 no script limits. are there any special
 circumstances, or can i put 200,000 chars in a
 script without problems?

 I think the limit is 4 GB

 -Mark Talluto

I KNOW the script limit is 4 GB ;-)

Regards


Klaus Major
[EMAIL PROTECTED]

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



Re: Test, ignore.

2002-05-15 Thread Klaus Major

Hi Heather,

 Test, please ignore.
 --
 Heather Williams

OK, ignored ,-)


Regards


Klaus Major
[EMAIL PROTECTED]

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



Re: pdf files

2002-05-12 Thread Klaus Major

Hi Mike,

 How do you open a URL pdf file with Metacard?
 If you have a field url with several pdf file urls then...
 put the selectedText of fld url into ff
 if ff is empty then exit switch
 get char -4 to -1 of ff
put url ff into fld urlresult
 How do you get the result to be opened by Acrobat reader?
 mike
 [EMAIL PROTECTED]

there is a free external that you can download from Runtime.

http://www.runrev.com/revolution/developers/developerdownloads/externalscollection.
html

It might do what you want, but it is only for MAC.

Check it out.

It's free, so you cant go wrong ;-)


Regards


Klaus Major
[EMAIL PROTECTED]

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



Re: picture size

2002-05-05 Thread Klaus Major

Hi Robert,

 Robert Brenstein wrote:

 Is there a simple way to get the pixel sizes of images (jpeg and gif)
 in Metacard? In HyperCard, I use the picture command to open them
 invisibly (this is important), then fetch the size. The picture
 command does not seem to be part of MetaCard.

 picture (fPath  fName),,,false
 get pictureheight of window fName
 get picturewidth of window fName
 close window fName

 MetaCard's syntax is arguably more self-consistent with the priciples of
 HyperTalk on this one.  Rather than relying on an external MC has native
 image objects, with properties that can be querried and set like 
 buttons and
 fields.

 In this case, the property you're looking for is the fileName of the 
 image
 object:

   set the filename of image 1 to tMyPath
   get the rect of image 1

 If you don't already have an image object on the card, you can also 
 import
 image files into a new image object using the import command.

 --
  Richard Gaskin

Richard is right, as always ;-)

But maybe these props could be of any more help to you.

the formattedheight of image xxx
the formattedwidth of image xxx

This will return the original height and width of an image.


Regards

Klaus Major
[EMAIL PROTECTED]

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



new angle prop

2002-04-24 Thread Klaus Major

Hi lovely list,


there is this wonderful new property for images angle.

Can someone eventually supply a smart script to do the following ?

Supposed i have an image of an arrow (i actually do :-).

What should i script in a mousemove-handler to make that arrow
always point to the cursor ?

I know that i have to calculate the appropriate angle from the images loc
and the mouseloc. But how ?

No, i wont use mouseloc but x,y that are supplied with the mousemove 
function ;-)

A code-snippet would be heavily appreciated.

Thanks in advance.


Regards

Klaus Major
[EMAIL PROTECTED]

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



Re: new angle prop

2002-04-24 Thread Klaus Major

Hi Phil,

 Try this - it works:
 -- card script
 on mouseMove
   -- an aim checkbox turns it on/off
   if the hilite of btn aim = false then exit mouseMove

   put (the mouseH - (item 1 of the loc of img 1)) into x
   put (the mouseV - (item 2 of the loc of img 1)) into y
   set the angle of img 1 to ((atan2(x,y) *180) / pi) - 90
 end mouseMove
 (I forgot to use the 'mouseMove' params - if you do, that'll make it 
 yours!)

 My angle test stack is at 
 http://home.attbi.com/~phildavis/mc/angle.mc .

 Phil

wonderful, thanks a lot, works like a charm.

Exactly what i was looking for :-D

That makes you definitively my dream-something of the day ;-)
(Hi Shari :-)


Regards

Klaus Major
[EMAIL PROTECTED]

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



Re: Transparent Images

2002-04-23 Thread Klaus Major

Hi Shari,

 I often need the same thing than you, in the image properties I select
 Extras, Colors and then I choose Transparent. It works pretty 
 good.
 I'm on MacOS 9.1 and MC 2.4
 J.J.Bayle


 I wish I wish

 But I am attempting to develop cross platform, which means any option 
 that is specific to only one platform will fail me.

 The transparent option, as far as I understand it, only works on 
 Mac.  (Every option below the line is Mac only, as I understand it.)

 I wonder why it isn't available on Windows?  'Course all the best 
 things aren't :-)

 Shari C
 -- --Shareware Games for the Mac--
 http://www.gypsyware.com

Mark Talluto was right, PNG is the file-format for you.

It supports (semi-)transparency and is crossplatform.

The JPG-format is not supposed to have transparency at all...

Has never and will never !!! ;-)


Regards


Klaus Major
[EMAIL PROTECTED]

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



Re: Saving stacks

2002-04-05 Thread Klaus Major

Hi Shari,

 Working out the final bug in my program... saving.

 I know that the main stack cannot save to itself.  I'm under the 
 impression that the other stacks can.

 I have a main stack, and several embedded stacks, saved into a 
 standalone.  The embedded stack that needs to save to itself, isn't.

 Can an embedded stack in a standalone save to itself?  Or does the 
 stack need to be OUTSIDE of the main stack... ie, not embedded?

 Shari C

you cannot save stacks that are inside a standalone, not a mainstack and 
no substacks, sorry :-(

So you must not embed the stack that you want to be saved.

Just put that stack (separately) into the folder of the standalone and 
MC will find it anyway and you can save it :-)

Hope this helps.

If not, just drop another mail :-)


Regards


Klaus Major
[EMAIL PROTECTED]

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



Re: File listing

2002-04-04 Thread Klaus Major

Hi David,

 Getting a list of the files in the same directory as the running 
 standalone, via a script, is a snap (get the files). How could I get 
 a listing of the files in a different directory? I've tried the obvious 
 (get the files of directoryPath, get the files of directory xxx, etc.)

 Thanks,
 Dave

you have to set the directory to the appropriate directory to get the 
files.

Try this workaround:

on xxx
   put the directory into olddir ## store the original dir
   set the directory to s:/ome/far/away/directory
   put the files into remote_files
   ## do your file-stuff here...
   set the directory to olddir
end xxx

Hope this helps...


Regards

Klaus Major
[EMAIL PROTECTED]

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



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: Multiple Platform Release info

2002-03-26 Thread Klaus Major

Hi Shari and all,

 You can get the path to these folders using the  specialfolderpath 
 function. Tuv Snyder revealed on the list some time back how this 
 function can be extended beyond the default special folders by 
 passing an integer that corresponds to the Windows API 
 SHGetFolderPath  value/constant. The values for the Applications 
 Data folders are:

 get specialFolderPath(35) -- common Application Data folder

 get specialFolderpath(26) -- user's Application Data folder

 What about the folder Program Files?

 There is a folder Program Files.  The path to the folder Program 
 Files, what would be the code number for this?

 Shari C

why don't you store all available folders for later use ? ;-)

on mouseup
   repeat with i = 1 to 100  ## should be enough
 put specialfolderpath(i)  cr after fld your special folders
   end repeat
end mouseup

You can then frame that field and put it on the wall,
right over your computer :-)


Regards


Klaus Major
[EMAIL PROTECTED]

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



Re: bad token: theID, iconNum, theVis, etc.

2002-03-17 Thread Klaus Major

Hi Eric,


 bad token: theID, iconNum, theVis, etc. is what
 comes up alot esp. when ExplicitVariables() is
 true.

 these are close to taken words in MC, but not
 exactly the same.

 is this just something you have to deal with by
 naming your variables in German?

not if you are really using german names for the variables ;-)


 =
 [EMAIL PROTECTED] http://www.erikhansen.org



Best from germanski


Klaus Major
[EMAIL PROTECTED]

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



MC betas

2002-03-13 Thread Klaus Major

Hi Scott,

if you read this:

any chance to mirror the new betas somewhere, too ?

As long as your ISP is doesn't support anonymous ftp ?

I would love to check these new versions...
(Maybe i am not alone... ;-)


Regards

Klaus Major
[EMAIL PROTECTED]

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



Re: Alias on desktop

2002-03-12 Thread Klaus Major

Hi JB, (Jim Beam ? ;-)

 andu :

 create alias x to file y


 Well, I tried that already, but sadly it doesn't work...
 Actually, it does create a file on the desktop, but the
 target of the alias / shortcut is missing, and when
 I doubleclick on it nothing happens (at least on Win98).
 What am I doing wrong ?

 Thanks
 JB

Be sure to have the suffix .lnk (link) on windows for the alias,
or a doubleclick will not be too satisfying... :-)

Hope this helps...

Regards


Klaus Major
[EMAIL PROTECTED]

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



Re: Audio chopped off with player filename change

2002-03-10 Thread Klaus Major

Hi Scott,

 Finally changing to 2.4 and 2.4.1, but am regretting it a bit.  Audio 
 and
 animation is an integral of my project.  Here's the problem.

 I make use of alot of short sound clips by changing the filename, eg.

 set the filename of player sndeffect to sound1

 But every other sound that is played the beginning of the sound clip is
 chopped off.  This only happens with changes to the filename of the 
 sound
 clip.  If the Filename of the player was never changed the sound will 
 be find
 each time the Play or Start command is used.  ONly with changes to 
 filename
 will this phenonemon occur.  Buffering didn't help.  Setting the 
 filename to
 empty didn't help.  This has to be a bug.
 I'm using a mac.

 scott

I had big success on a mac after putting a tiny wait command into my 
handler.

...
   set the filename of player 1 to empty
wait 5
   set the filename of player 1 to ...
...

give it t try, it worked for me.


Regards


Klaus Major
[EMAIL PROTECTED]

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



Re: Imported image

2002-03-08 Thread Klaus Major

Hi Marie,

 Klaus Major said:
 ...
  Isn't computing fun...? ;-)

 I've found that for best results (i.e., display what you want), I 
 first set the
 fileName of the object to empty, then set the fileName of the object, 
 then go
 this card in order to force an update.

 Computing is fun; quirks are even more hilarious  ... ;-)

 I have tested the same image both on MacOS 8.5.1 and on Win2000 in the 
 way you have suggested:

 set the filename of img bilde to empty
 put img banner of cd ekstra into img bilde
 go this cd

 Still no success.

Hmmm... ?

My last idea:

put empty into img ekstra  ## try this first before putting new 
content into that image

If it won't work, forget it and be happy with buttons :-)

 However, on both platforms the image is nicely displayed when I use a 
 button and set its icon to the id of img banner (set the icon of btn 
 bildeny to 1469).

That's what counts.

 --
 1. amanuensis Signe Marie Sanne  e-mail: [EMAIL PROTECTED]


Regards


Klaus Major
[EMAIL PROTECTED]

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



Re: Imported image

2002-03-07 Thread Klaus Major

Hi Marie,

 Hello,
 Instead of 'set the filename of image 1 to tfilepath', I need to know 
 how to set it to an existing (imported) jpg in the stack. I seem to 
 vaguely recall there was something about id. Any suggestions?

1. you can put the complete image into another image

...
put image which is already in this stack into image 1
...

this will work, but you end with redundant data...

The id-thing only works with buttons.

You can display an image inside a button just by setting the buttons 
icon-property
to the id of the desired image.

Thus, no redundant data.

But only works with buttons...

 Regards Signe Marie Sanne

Hope this helps


Regards

Klaus Major
[EMAIL PROTECTED]

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



Re: Imported image

2002-03-07 Thread Klaus Major

Hi Marie,

 Hi Marie,

 Hello,
 Instead of 'set the filename of image 1 to tfilepath', I need to know 
 how to set it to an existing (imported) jpg in the stack. I seem to 
 vaguely recall there was something about id. Any suggestions?

 1. you can put the complete image into another image

 ...
 put image which is already in this stack into image 1
 ...

 this will work, but you end with redundant data...

 No, it did not work. The filename shows the id of the imported jpg, but 
 no sign of the image. (This is on Mac 8.5.1)

??? I never had problems with this...
The filename should be empty...???

on mouseup
   put img 2 into img 1
end mouseup

just tested works on win and mac...

Isn't computing fun...? ;-)


 The id-thing only works with buttons.

 You can display an image inside a button just by setting the buttons 
 icon-property
 to the id of the desired image.

 Thus, no redundant data.

 Fabulous, why have I not tried this out before...

Yes, why oh why ;-)

  Thanks a lot.

You are welcome :-)

 Regards

 Signe Marie Sanne


Regards


Klaus Major
[EMAIL PROTECTED]

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



Re: Externals in Carbon

2002-02-25 Thread Klaus Major

Hi Jack,

 Hello all!

 I've had great success using drag and drop on the Mac using MC 2.4 and 
 the
 external collection from Tuviah.  Excellent stuff.  However, when 
 carbonizing
 it just won't work.  Any ideas?

 Thanks in advance!

 Jack Rarick
 Braintree Athletic Systems

you know, that there are 2 externals ?

One for PPC and one for OS X.

If you know that fact, we could need a bit more info about what
you mean by carbonizing :-)

At least it does not sound illegal, immoral or fattening... ;-)


Regards


Klaus Major
[EMAIL PROTECTED]

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



Re: Externals in carbon on a Mac question

2002-02-25 Thread Klaus Major

Hi there,

 Hi again!

 I have successfully used the MAC externals in a ppc stack.  After 
 launching
 Metacard in Carbon on a Mac running OS 10 - we have an error that is 
 being
 thrown by the external init.  Any ideas?

not more than 15 minutes ago...

See... :

 Von: Klaus Major [EMAIL PROTECTED]
 Datum: Mon, 25. Feb. 2002  16:01:30 Europe/Berlin
 An: [EMAIL PROTECTED]
 Betreff: Re: Externals in Carbon

 Hi Jack,

 Hello all!

 I've had great success using drag and drop on the Mac using MC 2.4 and 
 the
 external collection from Tuviah.  Excellent stuff.  However, when 
 carbonizing
 it just won't work.  Any ideas?

 Thanks in advance!

 Jack Rarick
 Braintree Athletic Systems

 you know, that there are 2 externals ?

 One for PPC and one for OS X.

 If you know that fact, we could need a bit more info about what
 you mean by carbonizing :-)

 At least it does not sound illegal, immoral or fattening... ;-)


 Regards


 Klaus Major
 [EMAIL PROTECTED]

Regards


Klaus Major (who might repeat himself ;-)
[EMAIL PROTECTED]

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



Re: OS X and tool selection

2002-02-22 Thread Klaus Major

Hi Jacqueline,

 Jacqueline Landman Gay wrote:

 My brain is hard-wired to use Cmd-tab to switch tools. In Mac OS 9 I 
 had
 changed the application switcher long ago to another keyboard 
 combination
 so I could continue to use Cmd-tab in HC and MC. In OS X I can't find a
 way to change the application switching combination. How have others
 worked around this? I wouldn't mind turning app switching off 
 entirely, if
 that's what it takes.

Andu wrote:

 I changed the key combination to control - ~ in metacard.

 ___
 Regards, Andu Novac


same for me.

I changed the shortcut to ctrl-Tab on the mac in MetaCard.

Since i do real cross-platform development (i have 2 computers with
4 monitors in front of me. Don't worry, i got 4 eyes...  8-)
it is now the same shortcut on both platforms for me (location-wise ;-)


Regards

Klaus Major
[EMAIL PROTECTED]



PS. Any translations left ? :-)

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



Re: Programs on CD

2002-02-15 Thread Klaus Major

Hi all,

important correction !

 Example:

 You want to store some highscore.
 In this example it is stored into a text file in the
 prefenrences folder on a mac.
 See specialfolderpath in the index for more info.

 on xxx
get fld highscore ##or wherever you keep it
put it into url(file:  specialfolderpath(preferences)  
 yourhighscore.prf)

this line should be:
put it into url(file:  specialfolderpath(preferences)  /  
yourhighscore.prf)

 end xxx

 That's it...

 Now if you want to retrieve the highscore file, try this:

 on xxx
   if there is not a file (specialfolderpath(preferences)  
 yourhighscore.prf) then exit xxx

this line should be:
  if there is not a file (specialfolderpath(preferences)  /   
yourhighscore.prf) then exit xxx

Regards

Klaus Major
[EMAIL PROTECTED]

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



Re: MC2.4.2 beta 1 truncated text

2002-02-14 Thread Klaus Major

Hi Eugen,

 Hi all

 When the a field has a vertical grid, text is now truncated within a
 cell rather than being pushed off to the next tab stop location.

 just tried to setup a textfield to check this new behavior but do not 
 see
 any changes to the last version.
 Which properties do I have to set?

none :-)

Just check the vertical grid, define one or two tabs and start to write
over the first grid line and then put a tab in there...

Et voila, it's magic ;-)

At least it was here...

Regards and gruessen ;-)

Klaus Major
[EMAIL PROTECTED]

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



Re: Programs on CD

2002-02-14 Thread Klaus Major

Hi Shari,

 With my nifty new CD burner I can now put software on CD, not just 
 online downloads.  Which leads to a problemo...

Congrats to your new toy. I gave one to me as a christmas present ;-)
(Noone else did, so i had to :-D

 As CD's cannot write to themselves, and all of my programs write to 
 themselves, saving user info in fields etc., I am assuming the only way 
 to put a program on CD is to have it write all data to an external file 
 on the user's hard disk.  So if a user is playing a game with high 
 scores, the high score data is stored in a file on the HD, even if the 
 program itself is on a CD.

 But assuming anything is always a bad idea, so I'd like to know how 
 others are handling this, if differently.

 Perhaps the CD would just have an installer to install the program onto 
 their hard drive?  Hmm

 Thoughts, anyone?

Yes, me...

You can manage pref-files very easily with MC/RR :-)

All you need is already built-in. (Love that...)

Example:

You want to store some highscore.
In this example it is stored into a text file in the
prefenrences folder on a mac.
See specialfolderpath in the index for more info.

on xxx
get fld highscore ##or wherever you keep it
put it into url(file:  specialfolderpath(preferences)  
yourhighscore.prf)
end xxx

That's it...

Now if you want to retrieve the highscore file, try this:

on xxx
   if there is not a file (specialfolderpath(preferences)  
yourhighscore.prf) then exit xxx
   ## Do not forget to ALWAYS check the existence of something
   ## Users really do not like to see errors or, even worse, that nothing
   ## is happening...
   ##now the file exists and we can proceed...

  put url(file:  specialfolderpath(preferences)  yourhighscore.prf) 
into myhscore
  ## now do what ever you want with it. put it into a filed or cover it 
with cream
  ## or whatever you like :-D
end xxx

You see, the apps dont have to be on the harddisk...


On the other hand, you could create an (easy) installer
with MC/RR, too. Also rather easy ;-)

But it sure is a little more complex than a pref-file ;-)

Hope this helps...

Regards

Klaus Major
[EMAIL PROTECTED]

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



Re: How to get striped OS X background

2002-01-02 Thread Klaus Major

Hi Scott,

 ...
  How do I get the OS X striped background for my windows?

 You need to make sure that the backColor and backPixmap for the card,
 stack, and all other stacks in the hierarchy (i.e., a mainstack and/or
 the Home stack) are set to empty.  The same rule applies if you want
 to use the system background color on Win32 systems.
   Regards,
 Scott

Is it true, that this does only apply to all window-styles but toplevel ?

Looks like...

Thanks in advance.


Regards

Klaus Major

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



Re: Timer

2001-12-14 Thread Klaus Major

Hi  Domi,

 I want to rewrite a little timer I had in HC -- without resorting to 
 wait or idle which are not recommended in MC...
 ...
 put 10 into field temps
 repeat 10 times
   send mouseup to field temps in 1 second
 end repeat
 The field script:
 on mouseup
   subtract 1 from me
 end mouseup
 The problem: it seems that the loop send all the commands at once, and 
 doesn't wait for the 1 second delay...

That is true and the way computers work...

Try this:
Note that you just need this script in the starting button.
No script required for the field !

on mouseup
   put 10 into fld temps
   send diminuendo to me in 1 secs
end mouseup

on diminuendo # ;-)
  if fld temps is not 0 then  ## timer is not yet finished !
 subtract 1 from fld temps
 send diminuendo to me in 1 secs
  end if
end diminuendo


This sends the message every 1 second until the content of fld temps
is 0, which means the timer did his work :-)

Hope this helps...

Au revoir


Klaus Major
[EMAIL PROTECTED]

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



Re: wait for moves

2001-10-31 Thread Klaus Major

Hi Michael,

 I have a script with a repeat loop that causes objects to move around the
 screen.  Depending
 on user choices, sometimes there are simultaneous moving objects ( because
 without waiting
 was used for the objects move).
 
 This is the problem.. I want all the objects to finish their moves before the
 rest of the
 script executes.  I need a line after the repeat loop like wait until the
 moves are done but
 that doesn't exist.  Anyone have any ideas?

check out
the movingcontrols or movingcontrols()
function.

Regards

Klaus Major


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: tree field redux

2001-09-17 Thread Klaus Major

Hi Tereza,

 Hello all,
 
 I'm sure many of you were as interested as I was in José Luis Rodríguez'
 tree field. As it happens, I had an immediate use for it. In adapting it
 for my needs, I ended up modifying it extensively, although my version is
 for MetaCard 2.4 only. If anyone would like a copy, please email me.
 
 new features:
 
 - optional images for handles
 - can return full path to selected line
 - can uniformly expand outline to any level
 - can return full expansion of outline without handles
 - can limit clicks for expansion to handles only
 
 In addition the scripts demonstrate the use of recursion and setprop/getprop
 handlers. 
 
 + Tereza Snyder 
 + Senior Software Developer
 + Attainment Company, Inc.
 + www.attainmentcompany.com
 + 800.327.4269


sounds delicious and so i am sure EVERYONE will want it :-D

So could you please post it somewhere so all can download it.


If you don't know where to post it, contact me off-list and i will find a
nice and warm place for that little sucker ;-)


Regards

Klaus Major [EMAIL PROTECTED]
MetaScape GmbH


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: Export Card

2001-09-14 Thread Klaus Major

Hi Larry,

 Is it possible, to export to a file, an image of a card.  I have a
 printcard setup, with multiple fields and buttons
 formatted the way I want
 it to print.  I need to take an image of the card as
 formatted, and be
 able to save it as an image into a file that can be
 imported into another
 application.
 
 this is of course possible in MC.
 
 (There are only very few things that are not possible in MC :-D)
 
 I have tried several ways that I could figure out, but
 have had no luck.
 
 Any help would be greatly appreciated.
 
 1. You could use the (now free) External Collection from RunRev
 
 http://www.xworlds.com/metacard/external.htm
 
 or 
 
 snip
 
 Is the Externals Collection truly free or were you referring to the demo
 version?  I went to the site and it still says that the demo version pops up
 reminder notices.  If it is free why doesn't the page say so?  How do you
 get the free non-demo version?

yes, its free, free, free ;-)

You only have to write a short mail to RunttimeRevolution
and they will kindly supply a valid serial number for free, free, free ;-)

Isn't life sweet with MetaCard?!!!

Regards

Klaus Major [EMAIL PROTECTED]
MetaScape GmbH


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: Export Card

2001-09-13 Thread Klaus Major

Hi Alvin,

 Is it possible, to export to a file, an image of a card.  I have a
 printcard setup, with multiple fields and buttons formatted the way I want
 it to print.  I need to take an image of the card as formatted, and be
 able to save it as an image into a file that can be imported into another
 application.

this is of course possible in MC.

(There are only very few things that are not possible in MC :-D)

 I have tried several ways that I could figure out, but have had no luck.
 
 Any help would be greatly appreciated.

1. You could use the (now free) External Collection from RunRev

http://www.xworlds.com/metacard/external.htm

or 

2. Take a snapshot of the desired card and export it to a jpg-file.

Do this:

Snapshot:
(The card must be visible and NOT covered by other windows !!!)

on xxx  ### or type the follwing line into the msg-box
   import snapshot from rect (the rect of this cd)
end xxx

##takes a snapshot and puts it on the actual card in the topmost layer

Export that image:

on xxx
   lock screen   ##may be not necessary
   select last image  ## the snapshot is on the topmost layer!!
## and therefore the last image ;-)
export jpeg to file your_hd/your_folder/MY_image.jpg
select empty
   unlock screen
end xxx

With the new MC 2.4 you can even define the jpg-quality
of the exported image. Until 2.3.2 it looks like the JPGs are
exported with the highest quality.

Hope that helps


Regards

Klaus Major [EMAIL PROTECTED]
MetaScape GmbH


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: Rollovers,URLs, and a Wish

2001-09-11 Thread Klaus Major

Hi Christopher,

 Metacard is great at putting together easy elements fast but the one thing
 that I miss from Director 8 and others is the ability to make a reliable
 roll-over. 

Roll-overs in Director (Ooops the D-word ;-) HAVE to be scripted, too.
(If you do not want to use these UGLY pre-made behaviours ;-)

And it is very easy to do that in MC !!!

The hilite icon feature really does not hit the spot.

The hilite icon is supposed to be displayed when the mouse
is down inside the button.

EXAMPLE:
(Images can be displayed INSIDE a button with its icon-property !!!
Far more flexible than showing/hiding images !!!)

Take 3 images and import them into MC:

image 1 for the normal btn-state
image 2 for the roll-over
image 3 for the hilite

Write down the IDs of these images
Properties - Name

Then you can even hide these images.

In this example i will use these IDs:

ID 1003  for image 1
ID 1004 for image 2
ID 1005 for image 3

In the Porperties-palette - Extras
set the icons for the buttons:

Icon  1003
HiliteIcon 1005


Now you need these 2 handlers in the button script

on mouseenter
  set the icon of me to 1004  ##the rollover
end mouseenter

on mouseleave
  set the icon of me to 1003 ##to restore the normal icon
end mouseleave

That's it...

I hope that helps and you get the picture.

If not, feel free to mail me offlist and i will send you a tiny demo-stack
or will try to explain this even more precise :-D


Regards

Klaus Major [EMAIL PROTECTED]
MetaScape GmbH


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: designers nightmare, and how to avoid it...

2001-08-22 Thread Klaus Major

Dag Sjoerd,

 Klaus Major wrote/ schreef:
 
 Do i miss something, or do you really have to set it manually in the
 control panel Display ???
 What is the value after you set it in Display?

Well, that's the mistery.

The value is 1, exactly as i set it in MC.



Groetjes

Klaus Major


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: A little troublesome script

2001-08-22 Thread Klaus Major

Hi Geoff,

 At 8:04 AM +0200 8/22/01, MisterX wrote:
 on mouseUp
  put fld HistoryChanges into HC -- ;)
  put  the short date  into todaysdate
  put line 3 of HC into lastDateEntry
  if lastDateEntry is not todaysdate then
type todaysdate  return  return before line 3 of fld HistoryChanges
  else
type return before line 4 of fld HistoryChanges
  end if
 end mouseUp
 
 try put instead of type -- type doesn't support the targeted syntax you're
 using, but put does.

Sorry, but type also does...

See my last post...
I tested the script and it works.


Regards

Klaus Major


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.




designers nightmare, and how to avoid it...

2001-08-21 Thread Klaus Major

Hi folks,


can someone give me a clue, what i might do wrong?

I am trying to set the FontSmoothing  on Win with setregistry.

The key is hkey_current_user\control panel\desktop\Fontsmoothing

I set tit to 1, if it is something else.

The result is empty, so it looks like no error occured.

But even after restarting Win, the screen fonts are still jaggy as hell.
(See the subject...)

Do i miss something, or do you really have to set it manually in the
control panel Display ???

Any enlightenments are extremely appreciated.

Thanks in advance.


Regards

Klaus Major [EMAIL PROTECTED]
MetaScape GmbH


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: gefingerpoken

2001-08-04 Thread Klaus Major

Hi Jacqueline,

 Klaus Major wrote:
 
 But could you please explain the word gefingerpoken?
 
 Sounds german, but isn't ;-)
 (This is one of the cases where EVERY dictionary will fail...)
 
 I might guess what it means from its sound and context,
 but an explanation would be very appreciated ;-)
 
 i am still waiting for an answer...
 
 In the meantime i will keep hands in das Pockets,
 relax und watch das Blinkenlights.
 
 LOL! It's just a made-up word that he used as a joke. It means what you
 thought, from context and sound. In our American arrogance, it is
 sometimes common to string together various words and syllables to make
 a foreign-sounding word. The result is mildly amusing, though probably
 only to non-native speakers of the language being mimicked.
 Unfortunately, German lends itself well to this form of humor because it
 is so common to have long words that are constructed from a string of
 shorter ones.

thanks for your selfcritical answer.
(The german language is a hard one ;-)

To cite Groucho Marx: I knew it all the time... :-D


Merry regards from deutschenland

Klaus Major
metakarten programmierener ;-)


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: Scrolling Fields in Windows

2001-08-04 Thread Klaus Major

Bonjour Mr. X,

thanks for that great tip. Good to know if you are working
crossplatform. Since there are many mac-mice on the
market with a scrollwheel, this might be of interest
for mac-users, too.
 
 Here's a great tip for windows users.
 
 As you know there is in Windows systems the mousewheel.
 Normally when you make a scrooling table with multiple fields, you hide the
 scrolling bar from the left most fields behind the right most fields. Only
 the right most field has its control bar visible.

Sounds like you show the scrollbar of these left fields, but hide them
behind the right fields?

If so, this might cause a bit of screenflickering, because the scrollbars
(the hiden ones) are also updated to show the actual scroll of the fields.

Set the style of these flds to rectangle and
they shall be scrolled nevertheless.

Praise the Scott ! Amen ;-)

I hope you got a sense of humour...

 If you add a script like this into the right most field, you will get a
 multiple scrolling table of fields.
 
 on scrollbarDrag
 put the scroll of me into x
 set the scroll of fld Leftmost to x
 set the scroll of fld Middle to x
 end scrollbarDrag
 
 With windows mousewheel, you can also scroll the left fields without using
 the scroll bar controls. So the tip is to add the corresponding scripts ALSO
 into the left most fields. This way, if you scroll any of the left fields
 with the wheel, the right most field will also scroll like it's supposed to.
 
 Cheers!
 Xavier

Again, thanks for the hint.


Regards

Klaus Major


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.




windowboundingrect and stacks partly cut-off, AGAIN

2001-08-03 Thread Klaus Major

Hi folks,


remember my script to avoid partly cut-off stacks?

on preOpenStack
if Development is not in the environment then
  set the decorations of me to empty
  set the backdrop to black
  hide menubar

  if the screenrect is 0,0,1024,768 then
set the windowboundingrect to 0,0,1024,768
set the loc of me to 512,384
set the rect of me to 0,0,1024,768

### ! This does the trick, at least for me.
### It forces the stack to HAVE its original dimensions 1024*768
###AND to use the whole available monitor-area
### AND centers it if the monitor is also set to 1024*768

   else
  set the loc of me to the screenloc

### If the screen is bigger, it will look good anyway...

end if
  end if
  set the navigationarrows to false
end preOpenStack


Now i noticed some other oddity in this context.

The windowboundingrect is supposed to be a global property.
At least the MC-help says so !!!

That means (should mean) once set, it remains until it is set to
some other value or MC quits. Right ?! I think so.

Now my stack, the one with that script, loads another
stack from the internet.

You guessed it, that downloaded stack is cut off on the top
AND on the bottom...

This only happens on a Mac !!!
On Windoze that stack is not cut-off in any way...

Big fun...
The close-button was not visible (and therefore not accesible)
and force-quitting MC ends with a  restart of the Mac in
almost every case :-(

I personally am no friend of the windowboundingrect ;-)
Life was a bit easier before that property...

Can someone give a hint or two ???


Regards

Klaus Major [EMAIL PROTECTED]
MetaScape GmbH


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.




gefingerpoken

2001-08-03 Thread Klaus Major

Hi Robin-David,

 
 ..
 result had to kill the app after 3 minutes of gefingerpoken got me nowhere.
 
 what is the nice way to scan a socket stream for new data?
 
 rdh
 
 i am sorry not being able to help you with this problem.
 
 But could you please explain the word gefingerpoken?
 
 Sounds german, but isn't ;-)
 (This is one of the cases where EVERY dictionary will fail...)
 
 I might guess what it means from its sound and context,
 but an explanation would be very appreciated ;-)
 
 
 Regards
 
 Klaus Major [EMAIL PROTECTED]
 MetaScape GmbH

i am still waiting for an answer...

In the meantime i will keep hands in das Pockets,
relax und watch das Blinkenlights.

;-)


Regards from many ger, ehm... germany


Klaus Major [EMAIL PROTECTED]
MetaScape GmbH


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: group problem

2001-08-01 Thread Klaus Major

Hi Richard,

 Scott Rossi wrote:
...
 I have also encountered problems with scrolling and have found that
 initializing the scroll and sometimes the locations of the nested controls
 is a must upon opening a card or stack that has a scrolling group.

 Richard Gaskin answered:
 I found that setting the locklocation of both the controls and the groups
 takes care of these issues.

sounds interesting.

I will try to set the lockloc of the controls, too.

Thanks


Regards

Klaus Major [EMAIL PROTECTED]
MetaScape GmbH


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: group problem

2001-08-01 Thread Klaus Major

Hi Scott,

 Scott Rossi wrote:
...
 I have also encountered problems with scrolling and have found that
 initializing the scroll and sometimes the locations of the nested controls
 is a must upon opening a card or stack that has a scrolling group.

 just to be sure. Do you mean something like:

on opencard
   set the scroll of grp xxx to 0
end ...

when you speak of initializing ?

I will try this.

I will also try what Richard Gaskin suggested, to lockloc the grp
AND the controls in it.


Thank you.


Regards

Klaus Major [EMAIL PROTECTED]
MetaScape GmbH


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: marked cd number

2001-08-01 Thread Klaus Major

Hi Nelson,

 How do I get the (marked) number of a current marked cd?
 
 the number of this marked cd  --doesn't work, it just give the cd number.
 
 Nelson Zink

looks like you cannot get that info directly .

Take this li'l function to help you out.
Performance should be OK.
I only tested it with 10 cds.
Was quite fast ;-)

on mouseUp
  if the mark of this cd then
get lineoffset(the num of this cd, mk_cd_num())
   ###your code here
put this is marked cd number  it
  else
put not marked
  end if
end mouseUp

function mk_cd_num
   put the num of cds into anz
   put empty into wie
   repeat with i = 1 to anz
if the mark of cd i then put i  CR after wie
   end repeat
   delete last char of wie
   return wie
end mk_cd_num


Hope this helps


Regards

Klaus Major


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: Mousestilldown palette

2001-08-01 Thread Klaus Major

Bonjour JB,

 Hi,
 
 I have a problem with preventing Mousestilldown message
 to be passed from a palette to the stack.
 Whatever I do (like putting on Mousestilldown / end
 Mousestilldown handlers in the buttons, cards  stack scripts
 of the palette) the message is always passed to the stack (the one
 calling the palette).The strange thing is that message blocking
 works for other messages (mousedown, mouseup, etc.)...
 
 Any idea ?

No :-(

 And BTW, when saving a stack as a standalone, how should
 palettes be saved : as substacks of the main stack within the same
 standalone, or as standalones of their own ?

I am sure you mean to save the palettes as single main-stacks
and not standalones.

In that case: It doesn't matter.
Maybe access-time is a tick (or two) faster when saved as substacks.

Remember that MC will load the whole stack into memory, including
substacks, so this might be something to consider...

 Thanks, as usual.

You're welcome, as usual ;-)


Au revoir

Klaus Major


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.




group problem

2001-07-31 Thread Klaus Major

Hi all,

maybe this has been discussed some time earlier, but i didn't find
it in my archives.

Anyway...

Has someone noticed, just like me, a strange behaviour of nested groups?

What's happening here is, that nested groups tend to lose their scroll...
(Besides the fact that working with nested groups could be a bit easier...)

Means even a btn with a script ... set the scroll of grp xxx to 0
does NOT work. In that case you have to select that group, set the
scrollbar to true, scroll back to 0 (where it should be anyway...),
hide the scrollbar again and then save the stack...

That way is very unhandy, but if the script does not work...

Even the messagebox doesn't tell the truth in that case...
put the scroll of grp xxx  returns 0, even if it OBVIOUSLY not 0.
Dirty liar ;-)

This mainly happens after copying a stack from a to b
EVEN ON THE SAME PLATFORM !!!

Makes absolutely no sense, but happens.

This is extremely tricky, if you want to distribute that stack on a CD.

Means you have to edit the stack, save and burn that CD immediately
after that on that same machine to be sure.

I know there is a curse on me and my Wintel-machines (ask Kevin ;-)
but maybe someone had similar problems...

If so, please drop a line.

I'd like to be sure before i send a bug-report.

Another thing that is happening here:

If i create btns with the ink noop (no name, no border, no everything)
on Windoze and open that stack on a Mac the btns ALWAYS show their
names. Big fun...

Did someone have the same experience?


Regards aus Deutschland
(van duitsland/d'allemagne/d'allemania/from germany)

Klaus Major [EMAIL PROTECTED]
MetaScape GmbH




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.




group problem

2001-07-31 Thread Klaus Major

Hi all,

maybe this has been discussed some time earlier, but i didn't find
it in my archives.

Anyway...

Has someone noticed, just like me, a strange behaviour of nested groups?

What's happening here is, that nested groups tend to lose their scroll...
(Besides the fact that working with nested groups could be a bit easier...)

Means even a btn with a script ... set the scroll of grp xxx to 0
does NOT work. In that case you have to select that group, set the
scrollbar to true, scroll back to 0 (where it should be anyway...),
hide the scrollbar again and then save the stack...

That way is very unhandy, but if the script does not work...

Even the messagebox doesn't tell the truth in that case...
put the scroll of grp xxx  returns 0, even if it OBVIOUSLY not 0.
Dirty liar ;-)

This mainly happens after copying a stack from a to b
EVEN ON THE SAME PLATFORM !!!

Makes absolutely no sense, but happens.

This is extremely tricky, if you want to distribute that stack on a CD.

Means you have to edit the stack, save and burn that CD immediately
after that on that same machine to be sure.

I know there is a curse on me and my Wintel-machines (ask Kevin ;-)
but maybe someone had similar problems...

If so, please drop a line.

I'd like to be sure before i send a bug-report.

Another thing that is happening here:

If i create btns with the ink noop (no name, no border, no everything)
on Windoze and open that stack on a Mac the btns ALWAYS show their
names. Big fun...

Did someone have the same experience?


Regards aus Deutschland
(van duitsland/d'allemagne/d'allemania/from germany)

Klaus Major [EMAIL PROTECTED]
MetaScape GmbH




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: MatchText creates variables?

2001-07-27 Thread Klaus Major

Hi Geoff,

actually the MC-help says that variabels have to be declared before
using them in matchtext(...)

 In the docs, it says to be sure to initialize variables before using them to
 store matches found with MatchText. Yet the following works:
 

local tNeverInitialized ###!!! this is what the help means !!!
on mouseUp
   get matchText(test this,(.*) ,tNeverInitialized)
   put tNeverInitialized -- puts test , not reliable, see below
end mouseUp

 Any ideas?

Sometimes some things work like not expected ;-), even in MC...
(in a good or bad manner...)

Fact is: NEVER rely on these anomalies 
I did once and the shit done hit the fan...


Hope this helps.



Regards

Klaus Major [EMAIL PROTECTED]
MetaScape GmbH


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: About movies (long), even longer ;-)

2001-07-26 Thread Klaus Major

Bonjour Herve,

...
 datas has subfolders audios and anims
 playing the audios (.aif) works on the pc cd
 but files.mov in the anims folder don't launch on the pc cd...
 
 Take a deeper look into the index - QuickTime, playing.
 There you will find more informations about using and controlling QT-movies.
 
 ok, I'll take a look...
 
 Drop a line if you still do not get the picture.
 I will supply some examples in that case :-)
 
 a code example for a button :
 
 on MouseUp
 play down.aif -- the sound of the mouse click (audioClip imported)
 play videoClip player movie -- where 'movie' is the short name
 end MouseUp
 
 file name in the player movie is :
 datas/anims/file.mov

Looks like a syntax-problem.

Try the following:
on mouseup
   start player movie   ###!!
... ###that should do the trick
end mouseup

You can play imported (internal) videoclips with:

on xxx
   play videoclip name of clip
end xxx

See the index - play command (number 3)
for detailed info...

Hint:
I never got the following working on windows:
Playing a sound with the play audioclip xxx together
with a player-object.
I never heard the sound of the play audioclip xxx.
Looks like QuickTime overrides the play audioclip xxx handler.

You should use players for the sound, too.
Works very fine, even with lots of sounds simultaniously...

Make a new player, set the filename to your aif-file
and start that player with :

on xxx
   start player your player's name with the aif-file here
   ...
end xxx

You can (should) hide that player, because it has no visual
representation. MC will find it anyway, even if it's dark ;-)

 Code in the player :
 
 on MouseUp
 play down.aif

See above...

 play stop videoClip player movie
 go to next cd
 end mouseUp
 
 on playStopped
 go to next cd
 end playStopped

That should work...

 
 ok, that's enough for now, I have to test it
 and read more carefully the doc ;-)
 Sorry for all those 'newbie' problems.

Pas de problem ;-)

Feel free to ask even more questions :-)

 Thanks ! 
 
 HMB


Au revoir...

Klaus Major [EMAIL PROTECTED]
MetaScape GmbH


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: socket streams

2001-07-25 Thread Klaus Major

Hi Robin-David,

 ..
 result had to kill the app after 3 minutes of gefingerpoken got me nowhere.
 
 what is the nice way to scan a socket stream for new data?
 
 rdh

i am sorry not being able to help you with this problem.

But could you please explain the word gefingerpoken?

Sounds german, but isn't ;-)
(This is one of the cases where EVERY dictionary will fail...)

I might guess what it means from its sound and context,
but an explanation would be very appreciated ;-)


Regards

Klaus Major [EMAIL PROTECTED]
MetaScape GmbH


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: registry, removing a key from the

2001-07-23 Thread Klaus Major

Hi Klaus,

 Hi all,
 
 i succesfully set a key and a value in the windoze-registry.
 (A really exiting adventure for a long time Mac-user ;-)
 
 I will also manage to remove the value of that key.
 set to ...
 
 But how could i possybly delete the whole key again?
 
 Any hints will be very appreciated.
 
 
 Thanks in advance from germany.
 
 
 Regards
 
 Klaus Major [EMAIL PROTECTED]
 MetaScape GmbH

setting the value to empty for that key also removes
that key from the registry.

Hope that helps ;-)



Regards

Klaus Major [EMAIL PROTECTED]
MetaScape GmbH


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: eine Seite aus dem Internet holen

2001-07-15 Thread Klaus Major

Hi Monte, hi all,

 Monte Goulding wrote:
 
 I've been relaxing at the beach for a few days and have only just realised I
 was accused of being harsh. One thing about emails is that it is very
 difficult to work out what tone they were written in.

i just took a look into my Oxford-dictionary (i am not a native
english speaker :-) and really don't know what is so offending
about the word harsh, especially in the context harsh words !!??

It means: hard, severe, stern (i hope i translated these synonyms
correctly...)

And that's what these words are:

 and wastes everyone else's bandwidth with unreadable messages.

These words are not really polite...
And my statement was neither polite nor not polite !

C'mon folks...
I remember a thread about CHEESE... Oh my god...:-)
THAT was a waste of bandwidth and not the fact, that there are
other languages than english and people who can speak and
understand them...

So, please let' stop this, calm down and go back to work.
There's a lot of beta3-testing to do ;-)
(...or beta4, if we hesitate 10 minutes longer ;-)

I am sure noone ever wanted to offend anyone...
At least i did not.


---BIG snip--

I, too, would like to have an option to turn OFF focuscolor
of fields in 2.4. There are (already described) situations, where
this new feature? is unbearable.

Means, one has to consider using 2.3.2 for these kind of projects,
which would be a real pity, considering all these lovely new features
of 2.4. QT-transitions, full PNG-support etc...


Regards from germany

Klaus Major


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.




windowboundingrect and stacks partly cut-off

2001-07-12 Thread Klaus Major

Hi all,

there have been some questions about stacks, that were cut off
when beeing displayed. The troublemaker was/is the new property
windowboundingrect, which is in fact the screenrect minus 20 pixel
for the menubar/start-bar.

I tested a lot and found a (quite) reliable solution, which works fine for
me, especially on iMacs and Powerbooks with the monitor set to 1024*768.

This works for stacks with a size of 1024*768 without decorations!!!
Can be modified to fit other screen-resolutions, of course.

I am working with a backdrop in this case...

##

on preOpenStack
  scheckung1  #see below (Hi Monte, this (very bad ;-)
  scheckung2  #german for check ;-)
  scheckung3  # - check3 :-D

  if Development is not in the environment then

###VERY important if you tend to just open the stack
### for editing and you forgot to lock messages first,
### like i do (sometimes... :-)
### (backdrop and no menubar = annoying surprise...)
### Advantage:
### no need to delete these lines
### before you build a standalone from this stack !!!

set the decorations of me to empty
set the backdrop to black
hide menubar
if the screenrect is 0,0,1024,768 then
  set the windowboundingrect to 0,0,1024,768
  set the loc of me to 512,384
  set the rect of me to 0,0,1024,768

### ! This does the trick, at least for me.
### It forces the stack to HAVE its original dimensions 1024*768
###AND to use the whole available monitor-area
### AND centers it if the monitor is also set to 1024*768

else
  set the loc of me to the screenloc

### If the screen is bigger, it will look good anyway...

end if
  end if
  set the navigationarrows to false
  get the effective filename of this stack
  set the itemdel to /
  delete last item of it
  set the directory to it

### I will never forget that again...
### Important when using relative paths...

end preOpenStack

###You can make your own checking-handlers, of course...
###There are still folks out there who try to spell
###multimedia with 8 bit :-(

on  scheckung1
  if the screendepth  16 then
answer Not colorful enough... ;-) with Me???
quit
  end if
end scheckung1

on  scheckung2
  if item 3 of the screenrect  1024 and item 4 of the screenrect  768 then
answer Too small! with What the...
quit
  end if
end scheckung2

### MetaCard and Quicktime is a combination that can't be beat !
on  scheckung3
  if the qtversion  4 then
answer Too old with I am not!
quit
  end if
end scheckung3

###


Maybe this is helpful to you folks...

Please don't hesitate to drop a line, if you have some questions.


Regards from deutschland (this is german for germany ;-)


Klaus Major [EMAIL PROTECTED]
MetaScape GmbH


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: Transparency

2001-07-12 Thread Klaus Major

Bon soir JB,

 Hi again,
 
 I'm trying to find a graphic format to import in
 an image object in MC that doesn't mess up with
 transparency (in 8 bits on the alpha channel).
 
 I tried PNG and GIF, but it seems that those
 formats include transparency on 1 bit only.
 
 The ideal thing would be to import Photoshop
 files, like in Director...

Oops, bad word ;-)

 
 Any idea and / or experience on that topic ?
 
 Thanks.
 
 JB

up to version 2.3.2 only 1bit alpha-channels are supported
GIF and PNG. In 2.4 (download the beta and love it...) the PNG-format
is fully supported with 8bit alpha.

Save your PS-file as PNG and you have beautiful dropshadows
and everything in MC...


Regards

Klaus Major


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: Double click problem in Windows

2001-07-09 Thread Klaus Major

Hi John,

 Hello, all.
 
 I have a former student torture testing my MetaCard-based math puzzles
 package, and he has discovered a minor problem that I can't figure out how
 to fix.  The problem involves a Windows feature which allows one to quit a
 window by double clicking on the icon in the upper left corner of the
 window.
 
 My package has several stacks open at the same time.  My torture tester has
 discovered that if he does this Windows double click method to quit from
 one window, and if there is another of my stacks below this window with a
 button positioned below the upper left icon, of the top window, then a
 mouseUp message gets picked up by the button of the lower stack.
 
 Has anyone had experience with this problem?  If so, have you found a good
 way to avoid it?

I have similar experiences.

My mouseenter/leave-handler are executed
even if another application is in front!!

I am working in e.g. Photoshop with my stack in the background and
i hear my mouseenter-sounds all the time when i move the mouse...

Very annoying...

Sorry, i have no recipe to avoid that :-(



Regards

Klaus Major [EMAIL PROTECTED]
MetaScape GmbH


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: Sorting a subset of lines in a field

2001-07-05 Thread Klaus Major

Hi Greg,

 Hi everyone,
 
 How do I sort a subset of lines in a a field?  I've tried the
 handler below, but it gives an error.
 
 on mouseUp
  set the itemDelimiter to tab
  sort lines 2 to 5 of fld merged results by item 3 of each
 end mouseUp

I think that you cannot sort some lines of a field at all.

Spontaneous thought ;-) :
Try to put the desired lines into a variable, sort that variable
and replace these lines with the variable.

Noone will ever tell the difference :-)

 Regards,
 
 Greg
 
Hope that helps...

Regards

Klaus Major

P.S. Of course i couldn't let this mail go out unconfirmed ;-)

This works (just tested):

on mouseUp
put line 2 to 5 of fld 1 into things_to_sort
 sort lines of things_to_sort by word 2 of each
   put things_to_sort into line 2 to 5 of fld 1
end mouseUp

Luv' MC :-D


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

2001-06-23 Thread Klaus Major

HI Scott,

 On Fri, 22 Jun 2001 Klaus Major [EMAIL PROTECTED] wrote:
 this is something i found out today.
 
 I am sure you all knew this already, but maybe there is someone
 out there who doesn't.
 
 !!!
 You cannot paint on an image, if it is part of a group!!!
 !!!
 
 That's all, thanks for your interest... :-)
 
 This limitation has been removed in 2.4...
 Regards,
   Scott

great!!!

Will make life a bit easier ;-)


Regards

Klaus Major


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.




painting...

2001-06-22 Thread Klaus Major

Hi all,

this is something i found out today.

I am sure you all knew this already, but maybe there is someone
out there who doesn't.

!!!
You cannot paint on an image, if it is part of a group!!!
!!!

That's all, thanks for your interest... :-)


Regards

Klaus Major [EMAIL PROTECTED]
MetaScape GmbH




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: Can someone turn the light on? It ain't that dark...

2001-06-12 Thread Klaus Major

Hi folks,

remember the trouble of missing pixel of stacks
in a certain monitor resolution?

After a few hours of stress and getting grey hair too early,
i found, that the following handler will do the job for me.

I had trouble to display a 1024*768 stack
correctly on a 1024*768 monitor (iMac and Powerbook and MAC-only!!!)
without decorations and menubar but with backdrop.

Now this script works for me and my needs:

on preOpenStack
  set the windowboundingrect to 0,0,1024,768   # ugly hack, isn't it?
  set the decorations of me to empty
  set the backdrop to black
  hide menubar
  set the loc of me to 512,384 ## just to be sure
  set the rect of me to 0,0,1024,768  ##to see the whole stack
  get the effective filename of this stack
  set the itemdel to /
  delete last item of it
  set the directory to it  #routine to make trelative paths work
end preOpenStack

If you are having similar trouble, check this script, modify it
to your needs and be happy (hopefully...)!!!

Of course you have to check if it is a bigger monitor
than 1024*768, to display that stack properly...
(No big fun if the stack displays in the upperleft corner
of a bigger monitor ;-)


Regards

Klaus Major [EMAIL PROTECTED]
MetaScape GmbH



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: Can someone turn the light on?

2001-06-11 Thread Klaus Major

HI Richard,

 Richard MacLemale wrote:
 
 I'm trying to cram everything I can into this limited screen real estate,
 and I've got the stack size set to 621 by 427.  I crammed everything in, and
 all is cool, until I put my screen into 640 by 480 resolution to test it.
 Suddenly MetaCard decides that when I open the stack it's going to resize my
 stack and remove about 20 pixels from the bottom of it!
 
 I had exactly the same thing happen. I posted to the list a while back
 and no one had a solution. Then I discovered that if I set my screen
 resolution to 640x480, adjusted the stack so it looked right, and then
 saved the stack while in that resolution -- it would open okay after
 that in any resolution. I think it's a bug.

i had similar trouble when trying to open a 1024*768 stack on an iMac
with exactly that monitor-solution.
There were always about 20 px missing at the bottom.
Big fun, if you placed your buttons in that area...

I think it has something to do with the windowboundingrect !!!
Take a look in the index.

For me, it worked, when i forced the windowboundingrect to be
the screenrect (although i hate to be brute... ;-) e.g in an
preopenstack-handler:

on preopenstack
  set the windowboundingrect to the screenrect###!
  set the navigationarrows to false
  set the decorations of me to empty
  set the backdrop to black
  hide menubar
  get the effective filename of this stack
  set the itemdel to /
  delete last item of it
  set the directory to it
  set the loc of me to the screenloc !
end .


But that was a bit easier before Version 2.3.2 (where the
windowboundingrect was introduced...)...

Hope this helps...


Regards

Klaus Major [EMAIL PROTECTED]
MetaScape GmbH


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: Using URL to work with files

2001-06-06 Thread Klaus Major

Hi Greg,

 Hi Everyone,
 
 I discovered the URL method of file manipulation (yes, I'm a little
 slow).  If I put a file into a container as in
 
 put URL (file:  tPath) into tVariable
 
 do I need to close the file in a subsequent statement?

no :-)


Regards

Klaus Major [EMAIL PROTECTED]
MetaScape GmbH


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: visual effects speed

2001-05-31 Thread Klaus Major

Hi Geoff,

 At 10:26 AM +0200 5/30/01, Klaus Major wrote:
 you have to set the effectrate property.
 That is a global property and is NOT reset on idle like the itemdelimiter!!!
 
 .
 set the effectrate to 5000  #measured in millisecs
 visual wipe left very slow  #!!!
 
 
 That may be a bit difficult to understand, since the effectrate is the
 amout of time in millisecs that a very slow transition takes...
 
 Sounds like an oxymoron, but works extremely fine :-)
 
 Maybe effectDuration would be more descriptive?
 
 Regards,
 
 gc
 
maybe you are right.

But please don't start one of these ugly threads again ;-)


Regards

Klaus Major [EMAIL PROTECTED]
MetaScape GmbH


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: visual effects speed

2001-05-30 Thread Klaus Major

Hi Alex,

 hi all
 
 finally found some time to play with mc 2.4 b1
 
 nice.. :)
 
 questions..
 
 With the visual effect command, is it possible to have more control over
 the speed, besides the current fast/slow options?
 
 For example, can you fade in (dissolve) an image over a 5 second period?
 
 regards
 alex
 
you have to set the effectrate property.
That is a global property and is NOT reset on idle like the itemdelimiter!!!

.
set the effectrate to 5000  #measured in millisecs
visual wipe left very slow  #!!!


That may be a bit difficult to understand, since the effectrate is the
amout of time in millisecs that a very slow transition takes...

Sounds like an oxymoron, but works extremely fine :-)


Regards

Klaus Major [EMAIL PROTECTED]
MetaScape GmbH


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.




<    1   2   3   4   5   6   >