Re: Windows icon SOLVED: congrats :-)

2003-03-20 Thread Shari
Actually, that's not entirely true:

You can create icons of any custom 16 colors and have them display properly
if the monitor is set to display greater than 256 colors.  If the monitor is
set to display 256 colors or less, the colors of the icon will get remapped
to the closest matching colors in the minimal Windows palette.
Regards,

Scott Rossi
Creative Director
That explains why the icon looks better than I expected it to :-)

I've ironed out a few very minor Windows differences.  I apparently 
did well with the code, as I knew I was going to release it for all 
three platforms, so coded accordingly during creation.  There were 
not many changes to be made.  I used a cross platform font, so most 
fields and buttons looked about the same.  A few (buttons) were off 
kilter, and I could not find a good cross platform solution, so I 
fixed those in a startup script (if the platform is "MacOS" set the 
textfont, size, and height, if the platform is "Win32", set the 
textfont... yada yada).

I want to give my kudos to Scott Raney, for creating such a usable 
cross-platform program.  Integration with Windows was almost 
painless.  But for that pesky icon difficulty.

Shari C
Gypsy King Software
--
--Shareware Games for the Mac--
http://www.gypsyware.com
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: OSX console mode

2003-03-20 Thread andu


--On Thursday, March 20, 2003 19:14:21 +0100 Pierre Sahores 
<[EMAIL PROTECTED]> wrote:

andu a écrit :
Does anyone know how to start OSX 10.2.x in console mode, that is,
without the finder and all that UI.
Regards, Andu Novac
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard
Allo Andu,

I'm not sure about that because i did'nt try this for yet on my new
IBook2.2 but the best is probably to install Darwin+XFREE86+the Fink
ressource (Debian packages port available for both Darwin and MacOSX).
Actually I found a how-to on that in the meantime. Also found out how to 
make all files and directories visible in OSX. My only need for the mac is 
Photoshop+scanning+printing and my upgrade to OSX is only for better memory 
management so that I can do all 3 of the above at the same time. The price, 
improved patience;-).

in beetwin : i'm searching for a good tutorial (aka a complete guide) in
how to install both linux (simple) and XFree86 (difficult) on my just
brought IBook 2.2. I was'nt for yet able to run XFREE because the
ATI-Raedon 7500 not supported by the regular Debian, YellowDog or Suse
distribs. After trying to compile the BenH 2.4.20-ben8 kernel (with
hangs up at the pcmcia-module install) and trying to install the
unstable issue of Debian (hanging again), i just got a Sony x86 Laptop
for the store and removed the IBook for my prefered Linux toys ;-(
Any idea ?
YellowDog 3 supposedly is out and I heard a mention about the iBook.
I use Debian on my cube and it's perfect. Try the vesa driver. Check out a 
utility read-edid for getting the correct card/monitor settings. With X one 
never knows.

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


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


Re: Windows icon SOLVED: congrats :-)

2003-03-20 Thread Scott Rossi
Recently, "Klaus Major"  wrote:

>> It was not enough to create a 32x32 pixel image.
>> It was not enough to limit it to 16 colors.
> 
> Please be aware that these 16 colors have to be specific colors!
> (Not just 16 different colors, that would be too easy...)
> 
> They are the first 16 entries in the win system palette...
> 
> Unfortunately these are the most ugly colors of that palette ;-)

Actually, that's not entirely true:

You can create icons of any custom 16 colors and have them display properly
if the monitor is set to display greater than 256 colors.  If the monitor is
set to display 256 colors or less, the colors of the icon will get remapped
to the closest matching colors in the minimal Windows palette.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

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


RE: Clipboard routines

2003-03-20 Thread Chipp Walters
Raymond,

try:

on copyToClip pImage
  choose select tool
  drag from topleft of image pImage to botright of image pImage
  copy
  choose browse tool
end copyToClip

-Chipp

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Raymond E. Griffith
> Sent: Wednesday, March 19, 2003 11:20 PM
> To: [EMAIL PROTECTED]
> Subject: Clipboard routines
>
>
> Here is a general problem which I have been dealing with. I have
> too little
> hair to keep pulling out over it.
>
> I am creating a graphic on a card. I can save that graphic with export.
> Nice.
>
> But how do I get the graphic on the clipboard to paste into other
> applications (like MS Word?).
>
> While I am using Mac OS 9.2, I would also appreciate solutions for OSX and
> for Windows.
>
> Thanks!
>
> Raymond
>
> ___
> metacard mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/metacard

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


Re: OSX console mode

2003-03-20 Thread Pierre Sahores
andu a écrit :
> 
> Does anyone know how to start OSX 10.2.x in console mode, that is, without
> the finder and all that UI.
> 
> Regards, Andu Novac
> ___
> metacard mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/metacard

Allo Andu,

I'm not sure about that because i did'nt try this for yet on my new
IBook2.2 but the best is probably to install Darwin+XFREE86+the Fink
ressource (Debian packages port available for both Darwin and MacOSX).

in beetwin : i'm searching for a good tutorial (aka a complete guide) in
how to install both linux (simple) and XFree86 (difficult) on my just
brought IBook 2.2. I was'nt for yet able to run XFREE because the
ATI-Raedon 7500 not supported by the regular Debian, YellowDog or Suse
distribs. After trying to compile the BenH 2.4.20-ben8 kernel (with
hangs up at the pcmcia-module install) and trying to install the
unstable issue of Debian (hanging again), i just got a Sony x86 Laptop
for the store and removed the IBook for my prefered Linux toys ;-(

Any idea ?

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


Re: Windows icon SOLVED: congrats :-)

2003-03-20 Thread Klaus Major
Hi Shari:

My fella wouldn't let me give up last night, and he on the Windows 
computer and me on the Mac,
spent hours trying to solve this.  He found an icon Metacard liked, I 
opened it with GraphicConvertor,
and did nothing except change the colors.  There were 6 colors, and I 
simply changed black to green
and grey to red, etc.  Even that failed.  The file size went from 766 
bytes to 1022 bytes.

...
It was not enough to create a 32x32 pixel image.
It was not enough to limit it to 16 colors.
Please be aware that these 16 colors have to be specific colors!
(Not just 16 different colors, that would be too easy...)
They are the first 16 entries in the win system palette...

Unfortunately these are the most ugly colors of that palette ;-)

Regards

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


Thank you, all!

2003-03-20 Thread Shari
To all who offered suggestions to fix the 766 byte icon problem, thank you!

It's delightful to see so many willing helpful folks out there.

This is a great list!

Shari C
Gypsy King Software
--
--Shareware Games for the Mac--
http://www.gypsyware.com
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Windows icon SOLVED

2003-03-20 Thread Shari
My fella wouldn't let me give up last night, and he on the Windows 
computer and me on the Mac, spent hours trying to solve this.  He 
found an icon Metacard liked, I opened it with GraphicConvertor, and 
did nothing except change the colors.  There were 6 colors, and I 
simply changed black to green and grey to red, etc.  Even that 
failed.  The file size went from 766 bytes to 1022 bytes.

In a last ditch attempt, I remembered Chipp Walter's suggestion, 
regarding the "Creating a custom icon for Windows" info at:
http://www.altuit.com/webs/altuit2/RunRev/Tutorials.htm

I had read it, and followed every step, during the day long exercise 
in frustration, but I had ignored the final step.

It was not enough to create a 32x32 pixel image.
It was not enough to limit it to 16 colors.
Where all the fancy programs failed to turn the image into an icon 
Metacard would accept, the simple little program QTam did it.

The most important piece of the puzzle, was to use QTam to convert 
the image to the Windows icon.  QTam does whatever internal voodoo is 
necessary, to make the image be 766 bytes.

Where all the fancy schmancy programs failed... Adobe PhotoDeluxe, 
GraphicConvertor, Iconographer, Axialis, and several other Mac and 
Windows programs... where they couldn't do it, QTam could.

My kudos to the creator!  This software developer has definitely 
earned a shareware fee from me!

Download QTam from:

http://shareit1.element5.com/programs.html?productid=134460&language=English

Shari C
Gypsy King Software
--

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


Re: metacard digest, Vol 1 #552 - 2 msgs

2003-03-20 Thread wouter
Sorry, small correction on previous message :

put dec2Bin(i) into i
 must be
put dec2Bin(i) into b
Still have a nice day
WA
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


Re: metacard digest, Vol 1 #552 - 2 msgs

2003-03-20 Thread wouter
Re: metacard digest, Vol 1 #552 - 2 msgs

* From: John Vokey
* Subject: Re: metacard digest, Vol 1 #552 - 2 msgs
* Date: Tue, 18 Mar 2003 09:54:55 -0800
- snip

I like it: nice use of the decimal to binary conversion to implement 
my algorithm (i.e., 1/0 flags to indicate presence/absence of a given 
letter). Unfortunately, as with my version, it is not recursive, as 
was originally asked for. Furthermore, it requires the baseConvert 
function, not available in most other XTalks, including hypertalk, and 
it was in the hypercard list that I first saw the request.

--
John R. Vokey, Ph.D.   |\  _,,,---,,_
Professor  /,`.-'`'-.  ;-;;,_
Department of Psychology and Neuroscience  |,4-  ) )-,_. ,\ (  `'-'
University of Lethbridge  '---''(_/--'  `-'\_)
Ok a recursive one  :^)))

on mouseUp
  put perm(fld "orig") into fld "result"
end mouseUp
function perm factors, i, theresult
  if i <> 0 then
   put baseConvert(i, 10, 2) into b  ### or put dec2Bin(i) into i   for 
the other xTalk users
put char 1 to (the length of factors) - the num of chars in b of 
(char 2 to -1 of (10 ^ (the length of factors))) & b into b
repeat with j = 1 to (the length of factors)
  if char j of b = 1 then put char j of factors after thecollector
end repeat
put thecollector & cr after theresult
get perm(factors, (i - 1) , theResult)
  else if i = "" then
put 2 ^ (the length of factors) - 1 into i
get perm(factors, i , theResult)
  else if i = "0" then
sort theresult
sort lines of theresult by number of chars in each
return theresult
  end if
end perm

function dec2Bin x
  repeat with i = 0 to x
if 2^i > x then exit repeat
  end repeat
  repeat with i = i - 1 down to 0
if x - 2^i >= 0 then
  put 1 after binNum
  put x - 2^i into x
else put 0 after binNum
  end repeat
  return binNum
end dec2Bin
Have a nice day
WA
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard


playselection

2003-03-20 Thread Signe Marie Sanne
Title: playselection


I'm completely stuck, hope someone can help me...

Mac 9.2.2 using MetaCard 2.5B5:

In an application I display video sequences with (the script is
somewhat simplified):
   
  set loc
of player "visp" to -160,-250
 set the
filename of player "visp" to
"/Signes/MetaCardMappe/IVANA-MC/xmf/alene5.mpg"

 set
currenttime of player "visp" to 2
  set the
starttime of player "visp" to  2
 
  set the
endtime of player "visp" to 9
  set the
playselection of player "visp" to true
 set loc of
player "visp" to 410,126 
  start
player visp

This works beatifully with QuickTime 5, but with QT 6 just a
little more than1 second of the video is displayed. I need to be able
to set the endtime at any point in the video. Any suggestions?
-- 


1. amanuensis Signe Marie Sanne  e-mail:
[EMAIL PROTECTED]
Romansk
Institutt    tel:  +47 55 58 21
27
Oysteins gt.
1   
5007
Bergen 
http://www.hf.uib.no/hfolk/mlab/hjem/default.html
Norway




Re: Windows icon 766 bytes

2003-03-20 Thread Klaus Major
Hi Shari,

GraphicConvertor failed as well.

The problem is Metacard.

It wants the icon to be exactly 766 bytes.

I create a 32x32 pixel icon, using 16 colors, and it is NOT 766 bytes. 
 It is 1024 bytes.  I've found ways to get it less than 766 bytes, but 
cannot get exactly 766.  And Metacard will not accept anything else.

I've used at least 10 different Mac programs, and 2 different Windows 
programs, in editing the icon.  None of them create an exact 766 byte 
icon.

I'm lost, clueless, and frustrated as all get out.
i use the Photoshop Plug-in "Icon Builder Pro", which makes icons that
MC does NOT refuse (Exact 766 bytes).
If you use Photoshop, this is definitively worth a try.

I think there is even a demo version.

Check it out at : www.iconfactory.com

Hope that helps...

Shari C
Regards

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


Clipboard routines

2003-03-20 Thread Raymond E. Griffith
Here is a general problem which I have been dealing with. I have too little
hair to keep pulling out over it.

I am creating a graphic on a card. I can save that graphic with export.
Nice.

But how do I get the graphic on the clipboard to paste into other
applications (like MS Word?).

While I am using Mac OS 9.2, I would also appreciate solutions for OSX and
for Windows. 

Thanks!

Raymond

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