Re: Portable fonts and usage recommendations needed

2003-08-17 Thread Dar Scott
On Saturday, August 16, 2003, at 11:36 PM, Terry Vogelaar wrote:

I'm getting frustrated with fonts on multiple platforms.
Why don't you try OpenType fonts? They install fine on both OSX and 
newer Windows versions.
I recently read that OS X can use Windows TrueType fonts, too.  
However, since I'm seeing different behavior on Windows XP and OS X, 
something must be different.  Either fonts of the same name are really 
different depending on the target platform or they are interpreted 
differently.

Something seems hideous about this.  Is there some good reason for this 
or was this planned from the start to torture me?

However, something good might come of this.  Maybe I can get fonts 
exactly like those on my Windows system, rename them slightly, and then 
put them on my OS X.  Then I can see Courier New as those on OS X 
would see it and see Courier New as Windows users would see it.  
Maybe.

Dar Scott



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


Re: Help - my RunRev IDE has slowed to a crawl

2003-08-17 Thread Jim Lyons
Graham wrote:
 Today I was editing a set of stacks which I've been working on for a 
 very long time using both Mac and Windows environments. In this case 
 I was using a Mac running OS9.2.2 to power RR 2.0r2, and very soon 
 after opening my mainstack in the IDE, things slowed to a crawl to 
 the extent that it takes tens of seconds for RunRev to react to 
 clicks or even to give up control to another app.

When this sort of thing happened to me using Mac OS9.1, it was because I
didn't have enough memory on the system. It was totally unusable -- the
virtual memory swapping would frequently get into long bouts with the
disk drive without ever coming back. Maybe something has changed to
increase the memory requirements of your stacks, or other big apps are
loaded? Just a thought...

Jim Lyons
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Best way to set up an idle timer

2003-08-17 Thread Victor Eijkhout
	send logoutMessage to me in 300 seconds
If the machine goes to sleep before the 300 seconds are over this 
doesn't wake it up, right?

I once tried using this send trick for time critical stuff, but 
that doesn't work if the machine goes to sleep. What's more, I get 
the impression that after the machine wakes up, the sleep period is 
not counted in the specified interval.
--
Victor Eijkhout [EMAIL PROTECTED], 329 Claxton, Comp Sci, UT, 
Knoxville TN 37996.
tel: 865 974 9308 (W), 865 673 6998 (H), 865 974 8296 (F)
http://www.cs.utk.edu/~eijkhout/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Copy transparent images into the clipboard

2003-08-17 Thread mazzapaolo
When I copy  an image with a transparent background using  the 
selection tool and I paste it ,  the resulting  image is opaque.
Why?
It is not possible  copy  images into the clipboard with a transparent 
background (I guess using mask data)?
Best regards,  Paolo Mazza

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


MacOS X Stack Name Anomalies

2003-08-17 Thread Rob Cozens
Hi All,

Simple task turned mystery:

I had a stack named Contacts.rev, and I wanted the name to be 
Contacts.itw; so I opened the stack, changed the name to 
Contacts.itw and saved the stack as Contacts.itw.

Not only did Rev change the stack icon when saving (an issue for 
another day); but Rev says the file, Contacts.itw, is actually 
Contacts.itw.rev.  If I ask the Finder to search for itw.rev, it 
shows me Contacts.itw.

What gives?  Does OS 10.2 support invisible file name extensions? 
How can I fix this?

TIA,
--
Rob Cozens, CCW
Serendipity Software Company
http://www.oenolog.net/who.htm
And I, which was two fooles do so grow three.
 Who are a little wise, the best fooles bee.
From The Triple Foole
by John Donne 1573-1631
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Portable fonts and usage recommendations needed

2003-08-17 Thread J. Landman Gay
On 8/17/03 1:34 AM, Dar Scott wrote:

Something seems hideous about this.  Is there some good reason for this 
or was this planned from the start to torture me?
It's tempting to say it was designed just to torment you, but actually 
this has been the bane of desktop publishing and software design since 
day one. Apple first came out with TrueType fonts, later followed by 
Microsoft's version of scalable font metrics. Microsoft did it 
diferently, of course, and sharing desktop publishing documents across 
platforms became a nightmare. To make matters worse, Windows also uses a 
*third* set of metrics for its printer fonts. That means that even if 
you get something to look right on screen, it will print entirely 
differently on a PC (Macs thankfully remain consistent, since the same 
metrics are used on screen and for printing.) Windows definitely does 
not have WYSIWYG printing support by any means, and I still haven't 
figured out how commercial Windows software is able to fake it. The 
problem has bitten me more than once, and is the reason that Rev 
provides the formatForPrinting property to help stack authors get some 
idea of how the printout will vary from the screen display.

As others have suggested, the difficulty of assuring consistency of font 
display across platforms is rarely worth the trouble and isn't really 
reliable anyway. Most of us just get the best approximation we can, and 
let the text fall as it may. In general, if you lay out fields on 
Windows, there will be plenty of room for the same text on a Mac. If you 
lay out fields on a Mac, leave a lot of extra space for the Windows 
display. Sometimes you can adjust the field margins depending on the 
platform to give the extra pixels you need to create consistent word 
wrap, but don't count on it always being accurate. If a user doesn't 
have the fonts your stack expects, there's no telling how it will look 
and very little you can do about it.

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


Re: Portable fonts and usage recommendations needed

2003-08-17 Thread Dan Friedman
I had the same problems!  I got so tired of messing with it that I finally
hired an outside source to create matching Mac and Windows fonts (serif, and
san-serif).  They look and behave EXACTLY the same on both platforms.  It
wasn't cheep, but my cross-platform font problems have gone away!

-Dan

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


Re: MacOS X Stack Name Anomalies

2003-08-17 Thread Rob Cozens
Does OS 10.2 support invisible file name extensions? How can I fix this?
I see the answer to the first question is Yes

I also see that transferring the file to an O 9 box, removing the now 
visible .rev, and transferring the file back to the OS 10 box does 
NOT remove the extension.
--
Rob Cozens, CCW
Serendipity Software Company
http://www.oenolog.net/who.htm

And I, which was two fooles do so grow three.
 Who are a little wise, the best fooles bee.
From The Triple Foole
by John Donne 1573-1631
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Best way to set up an idle timer

2003-08-17 Thread Dar Scott
On Sunday, August 17, 2003, at 09:02 AM, Victor Eijkhout wrote:

I once tried using this send trick for time critical stuff, but that 
doesn't work if the machine goes to sleep.
I wonder what is a good way to make sure there is a wake up.  Or if 
there is one.  Or how to prevent sleep.

What's more, I get the impression that after the machine wakes up, the 
sleep period is not counted in the specified interval.
Since send is based (down inside) on date/time, I suspect this is not 
the case, but I have not run the tests.

I have been wonder what are the timing needs near sleep.

Dar Scott


Dar Scott Consulting
http://www.swcp.com/dsc/
Programming Services

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


Re: Portable fonts and usage recommendations needed

2003-08-17 Thread Dar Scott
On Sunday, August 17, 2003, at 10:20 AM, J. Landman Gay wrote:

Something seems hideous about this.  Is there some good reason for 
this or was this planned from the start to torture me?
It's tempting to say it was designed just to torment you, but actually 
this has been the bane of desktop publishing and software design since 
day one.
Yes.  The above is code for I made the silly assumption that fonts 
with the same name might be similar.  More similar than they are.  I 
think 25% size variations are a lot.

In general, if you lay out fields on Windows, there will be plenty of 
room for the same text on a Mac. If you lay out fields on a Mac, leave 
a lot of extra space for the Windows display. Sometimes you can adjust 
the field margins depending on the platform to give the extra pixels 
you need to create consistent word wrap, but don't count on it always 
being accurate.
It is strange that some Windows fonts are taller, yet have a smaller 
width and line spacing.  That means I need to adjust one direction in 
some cases and another in others.

I had gotten into the habit of making my labels fit to text, something 
I realize is not what I want; I need to leave a little room for 
variations.

If a user doesn't have the fonts your stack expects, there's no 
telling how it will look and very little you can do about it.
I'm thinking of adding a simple alternate-font script in openBackground 
and others.  In one case, I'm going to go to a fixed text height, but 
that will hurt my smaller-font displays.  I expect I will bump the size 
by two on Windows in some applications and some controls.  I need to 
learn about profiles.

Dar Scott

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


Re: Portable fonts and usage recommendations needed

2003-08-17 Thread Dar Scott
On Sunday, August 17, 2003, at 11:03 AM, Dan Friedman wrote:

I had the same problems!  I got so tired of messing with it that I 
finally
hired an outside source to create matching Mac and Windows fonts 
(serif, and
san-serif).  They look and behave EXACTLY the same on both platforms.  
It
wasn't cheep, but my cross-platform font problems have gone away!
This confirmation is good to hear.

Are these exactly the same design for each platform or do these have to 
be tweaked?  I don't mean file format, I mean variations in metrics to 
account for engine or other idiosyncrasies.

Dar Scott


Dar Scott Consulting
http://www.swcp.com/dsc/
Programming Services

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


Re: Portable fonts and usage recommendations needed

2003-08-17 Thread Bill Vlahos
Dan,

Does this mean that you own the fonts? Are they for sale to include in 
other programs?

Assuming they are, can the same font be attached to the 
application/stack and work on both Mac and Windows without the user 
having to install the font?

Bill Vlahos

On Sunday, August 17, 2003, at 10:03  AM, Dan Friedman wrote:

I had the same problems!  I got so tired of messing with it that I 
finally
hired an outside source to create matching Mac and Windows fonts 
(serif, and
san-serif).  They look and behave EXACTLY the same on both platforms.  
It
wasn't cheep, but my cross-platform font problems have gone away!

-Dan

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


iTunes song names

2003-08-17 Thread sims
I am trying to get the names of all the songs that are in iTunes,
using applescript seems a bit slow so I am trying a Rev solution.
If you feel like letting me know if the following works for you, make a btn
and place the following script into it, also make a fld named muse.
Feel free to email off-list  so we don't clutter the list.

This is for OS X ONLY!

**Please let me know what version iTunes you have!**

TIA

sims

on mouseUp
  set the cursor to watch
put the defaultFolder into tDefaultFolder
  put  tUser  into tXMLLocation
 put specialFolderPath(Desktop) into tUser
  set the itemDel to /
  delete last item of tUser
 put  file:tUser  into tXMLLocation
 puttXMLLocation/Music/iTunes/iTunes Music Library.xml   into tPlace
  put url tPlace  into theContainer
 put 
lineOffSet(keyName/keystringLibrary/string,theContainer) 
into tEnd
put line 1 to tEnd-1 of theContainer into theContainer
repeat for each line thisLine in theContainer
if keyName/key is in thisLine then put thisLine cr after tData
  end repeat
replace keyName/keystring with  in tData
replace tab with  in tData
replace /string with  in tData
put  The number of songs you have is:  the num of lines in tData
put tData into fld muse
set the defaultFolder to tDefaultFolder
end mouseUp

--
---
   http://EZPZapps.com [EMAIL PROTECTED]
  Software - Internet Development - Consulting
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: MacOS X Stack Name Anomalies

2003-08-17 Thread Toki
In Revolution, in the Preferences menu, Files  Memory tab, you can ask 
to add .rev extension to file on MacOs.

Hope it helps.

Thierry Arbellot.

On Sunday, August 17, 2003, at 06:59 PM, Rob Cozens wrote:

Does OS 10.2 support invisible file name extensions? How can I fix 
this?
I see the answer to the first question is Yes

I also see that transferring the file to an O 9 box, removing the now 
visible .rev, and transferring the file back to the OS 10 box does 
NOT remove the extension.
--
Rob Cozens, CCW
Serendipity Software Company
http://www.oenolog.net/who.htm

And I, which was two fooles do so grow three.
 Who are a little wise, the best fooles bee.
From The Triple Foole
by John Donne 1573-1631
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: iTunes song names

2003-08-17 Thread Yves COPPE
Le dimanche, 17 aoû 2003, à 21:18 Europe/Brussels, sims a écrit :

I am trying to get the names of all the songs that are in iTunes,
using applescript seems a bit slow so I am trying a Rev solution.
If you feel like letting me know if the following works for you, make 
a btn
and place the following script into it, also make a fld named muse.

Feel free to email off-list  so we don't clutter the list.

This is for OS X ONLY!


Mac OS X 10.2.6 FR
rev 2.0.2
iTunes 4.0.1 FR
It works.

Greetings.
Yves COPPE
[EMAIL PROTECTED]
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Help - my RunRev IDE has slowed to a crawl

2003-08-17 Thread Graham Samuel
Thanks to those who replied. I followed Jim Lyons' suggestion of 
increasing the memory available to RR under MacOS 9, but it didn't 
seem to make a difference. I then noticed that I had saved my stacks 
while in Script Debug Mode, so that the IDE had the mode switched on 
when RR was started. I loaded RR and immediately switched this off. 
After that, everything went back to normal. I have not changed my 
memory allocation back to its previous rather small value, but it 
looks like the problem was Script Debug Mode, plus possibly a memory 
problem also.

I don't recall this coming up on the list before, so I'm still 
slightly confused by what happened, but anyway I'm working again.

Maybe this experience will help someone else - hope so.

Graham

--
---
 Graham Samuel / The Living Fossil Co. / UK  France
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Portable fonts and usage recommendations needed

2003-08-17 Thread FlexibleLearning
 I had the same problems! I got so tired of "messing" with it that I finally
 hired an outside source to create matching Mac and Windows fonts (serif, and
 san-serif). They look and behave EXACTLY the same on both platforms. It
 wasn't cheep, but my cross-platform font problems have gone away!

Ouch! Are you going to make these available to licence from you?

By extension: One option is to "start using" and "stop using" a font you supply by using Tuviah Snyder's most excellent external EXT (or TSX if you go back that far). It may not solve the "exact match" display problem, but at least you can guarantee the font will be available.

/H


Re: Best way to set up an idle timer

2003-08-17 Thread Victor Eijkhout

I once tried using this send trick for time critical stuff, but 
that doesn't work if the machine goes to sleep.
I wonder what is a good way to make sure there is a wake up.  Or if 
there is one.
There must be, though system dependent. I've seen an mp3 alarm clock 
which could wake up my Mac to wake me up.

And it was coded in Real Basic.

Oo them's fightin' words :-)
--
Victor Eijkhout [EMAIL PROTECTED], 329 Claxton, Comp Sci, UT, 
Knoxville TN 37996.
tel: 865 974 9308 (W), 865 673 6998 (H), 865 974 8296 (F)
http://www.cs.utk.edu/~eijkhout/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


(no subject)

2003-08-17 Thread [EMAIL PROTECTED]
I am trying to make a popup button but I can't seem to get the scripts for
the individual 
menu items in place. I assumed that once the button is made and the items
are listed, 
I would be able to access the items individually with the message box:

select menuItem X of button Y

and then open the script editor, but I don't get the script editors for the
menu items, just 
a single one for the whole button.  How can I select an individual menu
item and open 
its scrip editor?

Lars



mail2web - Check your email from the web at
http://mail2web.com/ .


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


RE: Determining if a player is showing an image or movie.

2003-08-17 Thread Monte Goulding


 Well,

 You could look at the fileName of the player and check the extension
 (assuming it has one - I try to always put one in). The other way is to
 check the duration of the player. It seems that images always have a
 duration of 40 (or so it looks like from my limited vantage point).


Thanks Ken

I have an image in a player here with a duration of 120 so I guess that's
out. It would be good if there was a read only property of a player called
fileType or something. I'm sure the info could be obtained via the QuickTime
API.

Cheers

Monte

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


RE: How can I make my mainstack stay invisible?

2003-08-17 Thread Monte Goulding
 
  I've got a mainstack that the user is never supposed to see, and
  which should not be at the front. It's just an anchor for all my
  substacks.

What do you mean by anchor? Why do you need to open the stack at all if it's
always invisible to the user?

Regards

Monte

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


Revolution and fonts

2003-08-17 Thread Charles Szasz
I am new to Revolution. I have tried REALbasic but it has been 
difficult to learn. After seeing the thread regarding using fonts for 
Mac and Windows, can you just code system font in your code or font so 
each platform uses the system font for that platform?  In REALbasic you 
can specify system font in your project.

Charles

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


RE: How can I make my mainstack stay invisible?

2003-08-17 Thread Ken Ray
I think what Graham was saying is that he has an invisible mainstack
that contains a bunch of substacks that he wants to open and display.
But he doesn't want to show the mainstack itself; only its substacks.

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

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Monte Goulding
 Sent: Sunday, August 17, 2003 9:54 PM
 To: [EMAIL PROTECTED]
 Subject: RE: How can I make my mainstack stay invisible?
 
 
  
   I've got a mainstack that the user is never supposed to see, and 
   which should not be at the front. It's just an anchor for all my 
   substacks.
 
 What do you mean by anchor? Why do you need to open the stack 
 at all if it's always invisible to the user?
 
 Regards
 
 Monte
 
 ___
 use-revolution mailing list
 [EMAIL PROTECTED] 
 http://lists.runrev.com/mailman/listinfo/use- revolution
 


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


Re: Revolution and fonts

2003-08-17 Thread Richard Gaskin
Charles Szasz wrote:

 I am new to Revolution. I have tried REALbasic but it has been
 difficult to learn. After seeing the thread regarding using fonts for
 Mac and Windows, can you just code system font in your code or font so
 each platform uses the system font for that platform?  In REALbasic you
 can specify system font in your project.

You can do this in Revolution as well:  just don't set a font for anu
objects other than your mainstack and all other objects will inherit it.

While the lively discussion here is valuable, these issues only affect a
relatively small subset of apps as most simply follow the HIG for each
platform.
 
-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge: Publish any database on any Web site
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
 Tel: 323-225-3717   AIM: FourthWorldInc

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


Fouled up my menubar

2003-08-17 Thread Barry Levine
I have a stack I'm developing in Windows. It has a menubar (menubar 
1). when I run it in the Rev IDE, everything works fine. However, when 
I build a distribution, the menubar is gone. It's not the main stack so 
I'm able to open it back up in Rev; the group menubar 1  is not 
there! What did I manage to do to cause the menubar group to vanish 
when I included the stack in my distribution build?

I'm confounded. TIA,
Barry
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


XML-RPC Support?

2003-08-17 Thread Dan Shafer
I thought I had read or heard somewhere that Revolution supports 
XML-RPC. But searching docs turns up no clues.

Anyone got a pointer?

~~
Dan Shafer, Revolutionary
Author of forthcoming 3-book set,
Revolution: Programming at the Speed of Thought
http://www.revolutionpros.com for More Info
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


re: Fouled up my menubar - found the problem but it's weird

2003-08-17 Thread Barry Levine
Turned out the menubar group was there but it had no font nor size 
set for it. I was able to open the distribution stack (it was not the 
main stack) under the Rev IDE and found that, until I set a textFont 
and textSize for it, the words did not appear!

I was under the impression that I did not have to specifically assign 
fonts/sizes to the various elements that had those properties (like 
fields, buttons, etc.). The docs say that setting the textFont property 
of the stack sets that particular font for everything else in that 
stack that is not already specifically configured otherwise. Am I 
misunderstanding this?

I've also seen (in Windows, anyway) that setting the stack's textFont 
to Arial and textSize to 12, but leaving the menubar group's 
textFont/textSize properties blank, results in the menubar only being a 
textSize of 10 (might be 9) in the distribution stack. I've also seen 
this kind of inconsistent behavior in other elements (fields, buttons) 
in both Mac and Windows; fonts and sizes - even under the same platform 
- being set by forces unknown. So I'm thinking that there's got to be 
something I'm doing wrong because Rev just couldn't be so capricious 
and inconsistent in font handling.

Someone care to whip a little knowledge about this topic in my 
direction? Let's assume that my Windows fonts should all be Arial 12 as 
a starting point.

Thanks,
Barry
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: XML-RPC Support?

2003-08-17 Thread Jan Schenkel
--- Dan Shafer [EMAIL PROTECTED] wrote:
 I thought I had read or heard somewhere that
 Revolution supports 
 XML-RPC. But searching docs turns up no clues.
 
 Anyone got a pointer?
 

Hi Dan,

Revolution supports SOAP, which one might say
supersedes XML-RPC.
Have a look at \Sample stacks\SOAP_Toolbox.rev

Hope this helped,

Jan Schenkel.

=
As we grow older, we grow both wiser and more foolish at the same time.  (La 
Rochefoucauld)

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution