Re: Handy Handler #5: Pack / Unpack

2004-01-28 Thread Richard Gaskin
Chipp Walters wrote:

> Just a thank-you for a great, well-written article on GPGE (Gaskin's Pretty
> Good Encryption;-)
> 
> One of the great things about your articles, is there's always something of
> interest for every level of RR developer!

That's very kind of you Chipp and much appreciated, but I feel compelled to
remind folks that the algorithm presented there is not even close to the
level of security that more serious crypto-hobbyists like Dar Scott and Mark
"Transcript Blowfish" Brownell could (and in Mark's case has) come up with.

But if only lightweight encryption will suffice and speed is appreciated,
the "MDX" algorithm described in that article benchmarks at about
300k/second to pack and 200k/second to unpack on a slow 500MHz Mac (can't
wait until the new machine arrives).

Most of all, it's simple, easy to use, and fun. So maybe it's better
characterized as "Gaskin's Pretty Fun Encryption". :)

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com

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


Re: Control Rev App from web?

2004-01-28 Thread Trevor DeVore
On Jan 28, 2004, at 3:40 PM, michael wrote:

Hi, I just discovered Revolution and am in the midst of learning all 
about it. I have a project being planned out and I think Rev might be 
perfect for it.

I know you can display web or ftp contentm and I did see a web browser 
stack somewhere out there that would use the end-users default browser 
or a specified one...  I need to have an integrated web browser in my 
app.  So this leads me to my question.
Can controls be embedded in a web page to command  an apps 
stacks/cards to launch? I am assuming yes, and will continue to 
research..  An example would be,  prompting a media file linked on web 
to play in the apps own player.  Or would I need to pull the links to 
the media file located either on remote server or local using a 
card field or some other relevent approach?
Thanks!!
Hi michael.  AFAIK you can only embed a browser in a Windows Revolution 
stack using the DLL from 
.  I don't 
know all of the features of the DLL but if there isn't a direct method 
of communication between the DLL and Revolution you could try embedding 
links in the web pages that make requests to 
"127.0.0.1:YourFavoritePort?command=media&filename=blah.mov".  
Revolution can "listen" to ports on the computer and could process 
requests that way.  I haven't tried this but it may work.

Perhaps someone else has some other ideas.

--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [OY] PAD generators

2004-01-28 Thread Richard Gaskin
Andre Garzia wrote:

> I've done some little research on PAD files, there are two "standards",
> there's the one windows uses that is generated by for example,
> padmaker, and there's the one MacShareware.net and others are trying to
> push to the mac community. The mac one is based on plist files which
> are very easy to generate, you can use plist editor from XCode/devtools
> or they make available a nice cocoa plist editor customized for MacPAD
> files... so you got this scenario:
> 
> Windows PAD files  --- generated by padmaker and others, used by lots
> of download sites.
> MacPAD files - plist files not compatible with windows PAD generated by
> hand or by cocoa MacPAD utility. They also provide a nice "framework"
> for cocoa apps to read and check their own version based on those plist
> files, pretty cool.
> MacPAD --- FileMaked based utility that generate Windows PAD Files
> 
> uh!? yes... there are two things named MacPAD, and they are not the
> same. There is only one site (that I know) accepting MacPAD files,
> thats MacShareware.net, and they are talking about the plist one. There
> are lot of sites accepting Windows PAD Files, but I think they do not
> distribute mac programs...
> 
> guess what
> 
> URLS:
> 
> MacPAD that generate Windows PAD Files made by Chicken Girl.
> http://www.chickengirl.com
> 
> MacPAD plist sdk, assembled by MacShareware.net
> http://macshareware.net/sdk.html

I would hesitate to use anything othe than the original specification from
.

If a handful of Mac enthusiasts feel inclined to fragment the standard to
better conform to an unrelated spec (plist) my concern is that the result
will only further marginalize Mac software from mainstream download sites.

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com

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


Games and learning

2004-01-28 Thread Alejandro Tejada
Hi Developers,

I want to share with you this link about
learning and games:


I believe that Rev and MC have a clear edge when
you join both areas.

Enjoy the readings.

al

=
Visit my site:
http://www.geocities.com/capellan2000/
Search the mail list:
http://mindlube.com/cgi-bin/search-use-rev.cgi

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: self-destructing files

2004-01-28 Thread Richard Gaskin
michael wrote:

> Has anyone ever tried making an executable self-delete after x opens or
> x time or using any other parameters?
> 

Is that really the behavior you want?  If its part of a sales incentive
consider that having to re-download the app to buy is a disincentive.

To answer the question, while EXEs cannot modify themselves youcan
externalize critical script components and delete those to cripple it next
time it's run.

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge: Publish any database on any Web site
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com

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


non-blocking way to open word files?

2004-01-28 Thread Dave Beck


Hey,

I'm writing a Windows app with Rev and need a way to open .rtf files with MS
Word from a script in my app. I've been using the shell command and
specifiying the long path name of the file, which works well except that it
is blocking. My Rev stack does not respond to mouse clicks etc. until the
user quits the Word instance that was launched from my script!

Is there a way around this?? It seems like there must be a non-blocking way
to launch applications.

Any help would be greatly appreciated.

Thanks!
Dave

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


Find screen pixel color without screenMouseLoc

2004-01-28 Thread Ops
I've searched, and cannot find an answer to this question.  Can I find 
the color of a particular pixel of a (windows) screen without having to 
change the screenMouseLoc (and then using mouseColor).  Doing it that 
way is annoying and confusing to my users when the pointer moves "for no 
reason" (according to their perception)..

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


Re: Using Valentina databases

2004-01-28 Thread Mark Brownell
On Wednesday, January 28, 2004, at 03:57  PM, duane poncy wrote:

I want to explore using a Valentina database for a dictionary project,
but I can find no documentation on using Valentina with Revolution.
Does anyone know where I can find some resource materials?  Thanks.
Duane Poncy
Have you tried the docs that come with the Valentina download. Check 
their web site for more.

Mark

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


Using Valentina databases

2004-01-28 Thread duane poncy
I want to explore using a Valentina database for a dictionary project, 
but I can find no documentation on using Valentina with Revolution. 
Does anyone know where I can find some resource materials?  Thanks.

Duane Poncy


visit elohi gadugi: poetry, software, 
Cherokee culture and Native American rights.
http://elohigadugi.org/


Another world is not only possible, she is on her way. 
On a quiet day, I can hear her breathing.  - Arundhati Roy
-

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


server load with Rev "net" apps

2004-01-28 Thread Richard K. Herz
I have Rev apps on clients communicating with Rev/MC (last MC engine) CGI
scripts on a Linux/Apache server at an ISP.  The ISP is complaining that the
scripts are causing high CPU usage.  Question:  does a separate instance of
the Rev/MC engine open whenever a new post comes in?  If so, is there an
alternative CGI option that can handle high hit rates?

Thanks
Rich Herz


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


Re: Filtering with more than 4 types (OSX) - AppleScript Question

2004-01-28 Thread Sarah Reichelt
On 29 Jan 2004, at 6:51 am, Barry Levine wrote:

Jan,

Would you mind providing the exact line(s) of Transcript one would use 
to accomplish that AppleScript task?

TIA,
Barry
Try this: (watch out for line wraps)

on mouseUp
  put "MooV,JPEG,PNGf,GIFf,TIFF,BMP" into tFilters
  put "Select a Quicktime file:" into tPrompt
  put getFilePath(tFilters, tPrompt) into tFile
  answer tFile
end mouseUp
function getFilePath pFilters, pPrompt
  -- change comma-delimited list of filters to AppleScript list
  -- force each file type to 4 characters
  put "{" into tASfilters
  repeat for each item i in pFilters
put quote & char 1 to 4 of (i & "") & quote & comma after 
tASfilters
  end repeat
  put "}" into last char of tASfilters

  -- do the AppleScript which calls the file selector
  put "choose file with prompt " & quote & pPrompt & quote & \
 " of type " & tASfilters into tScript
  do tScript as AppleScript
  put the result into tFile
  if tFile is empty then return empty-- no file chosen
  -- format from Mac file path to Rev file path
  delete word 1 of tFile-- get rid of the word alias
  replace quote with "" in tFile-- get rid of the quotes
  put revUnixFromMacPath(tFile) into tFile
  return tFile
end getFilePath
Cheers,
Sarah
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Control Rev App from web?

2004-01-28 Thread michael
Hi, I just discovered Revolution and am in the midst of learning all 
about it. 
I have a project being planned out and I think Rev might be perfect for it.

I know you can display web or ftp contentm and I did see a web browser 
stack somewhere out there that would use the end-users default browser 
or a specified one...  I need to have an integrated web browser in my 
app.  So this leads me to my question. 

Can controls be embedded in a web page to command  an apps stacks/cards 
to launch? I am assuming yes, and will continue to research..  An 
example would be,  prompting a media file linked on web to play in the 
apps own player.  Or would I need to pull the links to the media file 
located either on remote server or local using a card field or some 
other relevent approach? 

Thanks!! 

Babble_Out-  I am a php/perl/javascript/html guy and this is my first 
venture into making apps other than stuff in Flash and Director.  My 
apps must work on all possible platforms, which led me to find 
Revolution.  Not only does it do this, which I think is incredible since 
there are a plethora of authoring/programming software out there that 
cannot do this.   I was going to dive into C++ but dont necessarily have 
the time or patience to do that right now.  Rev, I am hoping, is my 
solution. 

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


Re: there is a window

2004-01-28 Thread Sarah Reichelt
I use:
if the openStacks contains "history"
Cheers,
Sarah
[EMAIL PROTECTED]
http://www.troz.net/Rev/
On 29 Jan 2004, at 8:28 am, Rodney Tamblyn wrote:

If I open a sub-stack "history",  then type:

there is a window "history" -> true

If I close window "history", then type:

there is a window "history" -> true

But - windows() does not contain "history"
eg, (destroystack on close set to true)
put windows() contains "history"
I had assumed that "there is a window" would be the same as checking 
the window existed in windows(), but apparently not...

~ Rodney

--
Rodney Tamblyn
44 Melville Street
Dunedin
New Zealand
+64 3 4778606
http://rodney.weblogs.com/
___
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


there is a window

2004-01-28 Thread Rodney Tamblyn
If I open a sub-stack "history",  then type:

there is a window "history" -> true

If I close window "history", then type:

there is a window "history" -> true

But - windows() does not contain "history"
eg, (destroystack on close set to true)
put windows() contains "history"
I had assumed that "there is a window" would be the same as checking 
the window existed in windows(), but apparently not...

~ Rodney

--
Rodney Tamblyn
44 Melville Street
Dunedin
New Zealand
+64 3 4778606
http://rodney.weblogs.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


set BottomLeft coords do not coincide with property inspector's coords

2004-01-28 Thread Erik Lips
Hi Richard.

Something strange is going on just ran the very same code again to see 
if it had to do with the geometry manager. and guess what, my field is 
placed at the correct location now! Just to be sure I checked if I really 
used the very same code and I did. I do not have any explanation for it.
But as long as set rect works for my purposes I will be careful using the 
set bottomleft.
Thanks for your help.

Erik.

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


Re: Windowscript

2004-01-28 Thread Stephen Quinn Barncard
I'd be happier if he'd bring Printreport to the OSX world, otherwise 
I'd still be using his XCMDs... actually for some stacks to difficult 
to convert right now, I do and use it every day in Classic.

Even better would be to develop a library for Rev, then everybody 
would be happy.

It got to the point that Hypercard was an ideal interface and glue; 
but the XCMDs did most of the work.  I would often have over 50 in a 
project and still have thousands of them on a CD. Too bad they can't 
run in X. It's still PPC code resource - but calls the old APIs... 
damn..

But Compilit! - Whoa, Tom Pittman, what a genius...maybe he could 
make a cross platform XCMD generator that runs Transcript...

My confusion... I used Windowscript, Compilit, and PrintReport as a 
"unit" with HC. Users never saw the HyperCard itself.
PrintReport was written by John A. Nairn. I talked with John a 
number of times about expanding PrintReport to the PC world. He 
would, he said, if there was a "usuable" HC there to receive it.

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


Re: MacWorld article on Revolution

2004-01-28 Thread Ken Norris
Hi Richard,

> Date: Wed, 28 Jan 2004 10:51:19 -0800
> From: Richard Gaskin <[EMAIL PROTECTED]>
> Subject: Re: MacWorld article on Revolution

> Challenge for the community:  get your professional products listed in the
> Rev gallery at: 
> .
> 
> Better than words are real-world examples of quality applications built with
> Rev.

I'd second that. Indeed, show us your professional-wares. Seems like we
hardly ever get to see what Rev can really do, probably because so much is
custom in-house stuff.

Still, I think CGIScripter and Vocabulary Builder might be good examples. I
wonder if those were reviewed.

Ken N.

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


Re: Windowscript

2004-01-28 Thread Ray G. Miller
From: Stephen Quinn Barncard <[EMAIL PROTECTED]>

Stephen said:
With all due respect, Ray, I think you must be thinking of something 
else. I used Windowscript for years but it had no report generator.

Windowscript was a GUI layer that ran on top of 
Hypercard...brilliantly I might add. Using Windowscript, Compilit, 
Printreport and a few others, one could make a real double clickable 
app completely in Hypercardyes I used Hyperbasic as well...


My confusion... I used Windowscript, Compilit, and PrintReport as a "unit" with HC. Users never saw the HyperCard itself. 

PrintReport was written by John A. Nairn. I talked with John a number of times about expanding PrintReport to the PC world. He would, he said, if there was a "usuable" HC there to receive it. 

Ray G. Miller
__
Turtlelips Productions
4009 Everett Ave.
Oakland, CA 94602
MailTo:[EMAIL PROTECTED]
(V) 510.530.1971
(F) 510.482.3491


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


Re: OT the spirit of Spirit

2004-01-28 Thread Ray G. Miller
Revers,
One final word on the MER Rovers:
Rand Simberg <[EMAIL PROTECTED]> sez:

I'm pretty sure that "flash" in this context is the same as the "flash" 
memory that stores your computer's BIOS (Basic Input-Output System--the 
hard-wired program that allows the computer to boot when you turn on the 
power), or like that used in digital cameras.  Most of the time, flash 
memory is read-only (hence, ROM-BIOS).  But when the appropriate voltages 
are applied to the appropriate pins, the "ROM" (read-only memory) becomes 
writeable, and a new version of the "ROM" code can be installed without 
having to swap chips.  Most Intel-compatible motherboards these days have 
"flashable" ROM BIOSes, and the manufacturers will provide BIOS flash 
utilities and updated BIOS programs on their web sites, just like 
manufacturers of various peripheral devices will provide updated driver 
programs.  It makes a great deal of sense to have most, if not all, of the 
rover's software in non-volatile memory of some sort (provided, of course, 
there isn't a critical bug buried somewhere in the code...).


Yes, the Spirit was willing, but the flash was weak... 
 



Ray G. Miller
__
Turtlelips Productions
4009 Everett Ave.
Oakland, CA 94602
MailTo:[EMAIL PROTECTED]
(V) 510.530.1971
(F) 510.482.3491
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: MacWorld article on Revolution

2004-01-28 Thread Richard Gaskin
Klaus Major wrote:

>> Naturally, there are drawbacks. The stand-alone apps you build in
>> Revolution run more slowly than comparable RealBASIC or AppleScript
>> Studio projects, and they take up a lot more space.
> 
> RR slower than VB???
> More space???
> Outer space???

The latter. :)

Actual performance benchmarks show otherwise for many common tasks, and
productivity measurements favor Rev nearly across the board.

>> Also, Transcript is a proprietary language, so, unlike BASIC or
>> AppleScript, you can't use it to program in another environment.
> 
> This one is extremely funny :-D
> Basic is an "allround" language?

It's especially odd that a writer in a Mac magazine considers something an
open standard by virtue of Microsoft's illegal ubiquity.

All popular implementations of BASIC today depart radically from the
original standard, and all are proprietary, as is Apple's AppleScript.

And if not for Microsoft's pushing it (often with arm-twisting of a sort
that would get me sued in a heartbeat if I shared what I've heard from
insiders), BASIC would be no more popular than Cobal today.

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com

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


Re: MacWorld article on Revolution

2004-01-28 Thread Trevor DeVore
On Jan 28, 2004, at 11:32 AM, Jan Schenkel wrote:

--- Dom <[EMAIL PROTECTED]> wrote:
and a superb TROLL:


Just don't imagine that you'll be able to build the
ambitious programs
you can turn out with RealBasic and Xcode.

I have to say, that was the one remark I didn't like ;
granted, there are a few things that are harder to
accomplish (such as MacDraw-style applications) ; but
the apps produced using Revolutuion are in no way
inferior to other applications, and were probably
built far more quickly.
That's the one downside of the HyperCard inheritance :
that people think you can't make _real_ apps. But I'm
preaching to the choir here ;-)
After reading the article I wondered if the author had even used all of 
the programs.  I have a few projects that I might categorize as 
"ambitious" and Rev seems to handle them without much problem :-)

--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: MacWorld article on Revolution

2004-01-28 Thread Richard Gaskin
Dom wrote:

> Trevor DeVore <[EMAIL PROTECTED]> wrote:
> 
>> 
> 
> and a superb TROLL:
> 
> 
> Just don't imagine that you'll be able to build the ambitious programs
> you can turn out with RealBASIC and Xcode.
> 

Andy's generally a very good reviewer, but he's been working with
lower-level tools for so long he may have lost sight of how costly they can
be to his productivity.

Writing usually doesn't pay very well, certainly not enough to do the sort
of detailed analysis and benchmarking that would have given him a better
understanding of what Transcript's highly-optimized C-based engine can do.

With four stars and limited exposure to the product, his review's not bad.

Challenge for the community:  get your professional products listed in the
Rev gallery at: 
.

Better than words are real-world examples of quality applications built with
Rev.

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com

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


Re: MacWorld article on Revolution

2004-01-28 Thread Klaus Major
Hi Jan,

Trevor DeVore <[EMAIL PROTECTED]> wrote:

and a superb TROLL:
Yo :-)


Just don't imagine that you'll be able to build the
ambitious programs you can turn out with RealBasic and Xcode.

I have to say, that was the one remark I didn't like ;
...AND especially his "drawbacks":

Naturally, there are drawbacks. The stand-alone apps you build in 
Revolution
run more slowly than comparable RealBasic or AppleScript Studio 
projects,
and they take up a lot more space.
RR slower than VB???
More space???
Outer space???
Also, Transcript is a proprietary language, so, unlike BASIC or 
AppleScript,
 you can't use it to program in another environment.
This one is extremely funny :-D
Basic is an "allround" language?
Gz...
And what really shoots me:

And while Revolution is considerably more powerful than HyperCard,
it lacks the flexibility of a conventional software-development 
environment.
No comment...

...But I'm preaching to the choir here ;-)
Amen, brother, amen!

Jan Schenkel.
Regards

Klaus Major
[EMAIL PROTECTED]
www.major-k.de
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [off-list] PAD generators

2004-01-28 Thread Mark Brownell
On Wednesday, January 28, 2004, at 10:19  AM, Mark Brownell wrote:

Subject: Re: [off-list] PAD generators
Oops! I meant: "Subject: Re: [OY] PAD generators."

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


Re: MacWorld article on Revolution

2004-01-28 Thread Jan Schenkel
--- Dom <[EMAIL PROTECTED]> wrote:
> Trevor DeVore <[EMAIL PROTECTED]> wrote:
> 
> >
>

> 
> and a superb TROLL: 
> 
> 
> Just don't imagine that you'll be able to build the
> ambitious programs
> you can turn out with RealBasic and Xcode. 
> 
> 

I have to say, that was the one remark I didn't like ;
granted, there are a few things that are harder to
accomplish (such as MacDraw-style applications) ; but
the apps produced using Revolutuion are in no way
inferior to other applications, and were probably
built far more quickly.
That's the one downside of the HyperCard inheritance :
that people think you can't make _real_ apps. But I'm
preaching to the choir here ;-)

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 web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: MacWorld article on Revolution

2004-01-28 Thread Dom
Trevor DeVore <[EMAIL PROTECTED]> wrote:

> 

and a superb TROLL: 


Just don't imagine that you'll be able to build the ambitious programs
you can turn out with RealBasic and Xcode. 


-- 
Digital photos (nature, garden) : http://cooldomi.free.fr/
Scripting : http://domiscript.free.fr/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [off-list] PAD generators

2004-01-28 Thread Mark Brownell
On Tuesday, January 27, 2004, at 10:46  PM, Richard Gaskin wrote:

I'm having trouble with my PAD files reported by some sites as being  
in an
invalid format.   Hand-editing something that changes so often doesn't  
seem
an efficient solution, and clearly my current PAD generator (PADMaker)  
isn't
up to snuff.

Any of you have a favorite PAD generator?
Hi Richard,

I've spent all morning looking into this. I have a few questions after  
looking at this:

http://cvs.sourceforge.net/viewcvs.py/macpad/documents/
  and
http://cvs.sourceforge.net/viewcvs.py/macpad/
I don't have Word for Mac X (and never will I hope) so the original  
download was worthless to me. Luckily I found these HTML versions  
(above).

My big question is on the kind of document type is expected by  
MacShareware.net? Is this a text doc?
 ---
Ref:
http://www.techtv.com/screensavers/macintosh/story/ 
0,24330,3392248,00.html

You can edit or examine a .plist with any text editor (BBEdit Lite is a  
good choice), but be careful how you change it. Any mistakes can render  
the associated program, or even the operating system, unusable.
 ---

I know I will probably find this soon after reading the full docs but  
if it is a .plist file located at my web site then I would love to blow  
out a pull-parser version of a proper file creation tool for Rev  
developers.

This looks like what it might need at the top:


http://www.apple.com/DTDs/PropertyList-1.0.dtd";>


I guess the file type should be "TEXT"

Is that correct?

Thanks for turning us all on to this. I think I've seen PAD mentioned  
before on this list but I've learned quite al lot in the past six  
months, so this looks easy to do now (I hope... ).

Mark Brownell

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


Re: about embeding images in fields...

2004-01-28 Thread Richard Gaskin
Andre Garzia wrote:

> Is there a way to put images inside fields? I want the user to be able
> to drag & drop images to a text field inside the app, is this
> difficult, or possible?

You can set it up to receive drops and then add a character in the current
selection, setting the imageSource of that character to the path provided in
the dragData.

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge: Publish any database on any Web site
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com

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


about embeding images in fields...

2004-01-28 Thread Andre Garzia
Hi folks,

Is there a way to put images inside fields? I want the user to be able 
to drag & drop images to a text field inside the app, is this 
difficult, or possible?

Cheers
--
Andre Alves Garzia  2004  BRAZIL
http://studio.soapdog.org
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Filtering with more than 4 types (OSX) - AppleScript Question

2004-01-28 Thread Barry Levine
Jan,

Would you mind providing the exact line(s) of Transcript one would use 
to accomplish that AppleScript task?

TIA,
Barry
On Jan 28, 2004, at 10:00 AM, Jan wrote:

Date: Wed, 28 Jan 2004 16:54:49 +0100
From: "Jan Decroos" <[EMAIL PROTECTED]>
Subject: Re: Filtering with more than 4 types (OSX)
Smart workaround, but what if the user want to navigate to another
directory within the file selector ?
Thierry.


and by using Applescript ?

(do ... as AppleScript)

choose file with prompt "Give file:" of type {"MooV", "JPEG", "PNGf", 
"GIFf",
"TIFF", "BMP "}

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


Re: What graphic rotations are available?

2004-01-28 Thread Alejandro Tejada
on Mon, 26 Jan 2004 23:44:44 +
Graham Samuel wrote:

> The TD says that you can set the angle of a regular
> polygon in order to rotate it
> 
> Regular polygons are geometric shapes whose sides
> are all the same length, such as squares, 
> equilateral triangles, hexagons, and so on. 
> >(You set the number of sides with the polySides
> property.)
> 
> If your regular poly is a graphic rather than a
> paint (bitmap) 
> object, you can distort it until the sides are
> definitely NOT the 
> same length and it still rotates. Can anyone explain
> what is magic 
> about a regular polygon and if there is a way of
> rotating other 
> 'draw' (vector graphics) objects at all efficiently?
> Can't find 
> anything in the docs.

Hi Graham,

Different programmers has posted to this list (and
Metacard list) handlers to rotate poligon graphics.

In my website (look the direction at the the foot
of this post) you could find a stack named
graphic transformations, that shows the use of
matrices to scale, rotate and skew poligon graphics.

al

=
Visit my site:
http://www.geocities.com/capellan2000/
Search the mail list:
http://mindlube.com/cgi-bin/search-use-rev.cgi

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Can't hilite buttons on Mac?

2004-01-28 Thread J. Landman Gay
On 1/28/04 5:25 AM, Ian Wood wrote:

On further investigation, it is the focusin & focusout handlers that are 
not getting triggered when using Mac OS Appearance Manager or Mac OS 
Emulated views.  Nothing in bugzilla, so it's time to sit down & write 
out some bug reports. : (
I believe this is correct behavior for a Mac. Macs do not have focus 
behavior on buttons, only on fields.

--
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: Filtering with more than 4 types (OSX)

2004-01-28 Thread Jan Decroos
>Smart workaround, but what if the user want to navigate to another 
>directory within the file selector ?
>
>Thierry.


and by using Applescript ?

(do ... as AppleScript)

choose file with prompt "Give file:" of type {"MooV", "JPEG", "PNGf", "GIFf",
"TIFF", "BMP "}


Regards,
Jan

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


Re: [OY] PAD generators

2004-01-28 Thread Andre Garzia
On Jan 28, 2004, at 6:15 AM, Brian Yennie wrote:

Richard,

Is there a Mac PAD generator floating around?
I've been keeping an eye out for (relatively) easy projects that I 
could cook up and would get Rev noticed at least a few times, and PAD 
seems pretty easy.
With that said, I've never seen a PAD generator and the only link I 
saw was a Windoze generator.


Folks,

I've done some little research on PAD files, there are two "standards", 
there's the one windows uses that is generated by for example, 
padmaker, and there's the one MacShareware.net and others are trying to 
push to the mac community. The mac one is based on plist files which 
are very easy to generate, you can use plist editor from XCode/devtools 
or they make available a nice cocoa plist editor customized for MacPAD 
files... so you got this scenario:

Windows PAD files  --- generated by padmaker and others, used by lots 
of download sites.
MacPAD files - plist files not compatible with windows PAD generated by 
hand or by cocoa MacPAD utility. They also provide a nice "framework" 
for cocoa apps to read and check their own version based on those plist 
files, pretty cool.
MacPAD --- FileMaked based utility that generate Windows PAD Files

uh!? yes... there are two things named MacPAD, and they are not the 
same. There is only one site (that I know) accepting MacPAD files, 
thats MacShareware.net, and they are talking about the plist one. There 
are lot of sites accepting Windows PAD Files, but I think they do not 
distribute mac programs...

guess what

URLS:

MacPAD that generate Windows PAD Files made by Chicken Girl.
http://www.chickengirl.com
MacPAD plist sdk, assembled by MacShareware.net
http://macshareware.net/sdk.html
Cheers, hope it helps

--
Andre Alves Garzia - Soap Dog Studios - BRAZIL
http://studios.soapdog.org
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev fails to recognize Chinese

2004-01-28 Thread Friedrich F. Grohmann
My gratitude for all contributions dealing with the problem I mentioned.

Tom hinted to "pasting differences with plain english text files". Well, 
the text I pasted was copied from a Nisus file which is basically a text 
file, as far as I understand. I checked with English text copied from 
Nisus and Rev has no difficulty in finding things therein.

Andre suggested "reading from file". Unfortunately, the text thus read 
still cannot be searched.

Ron wondered whether I had set the text of the fld to unicode and/or set 
the textfont of the field before pasting. Regarding the font, I did 
specify it by way of object inspector > text formatting. However, I had 
failed to pay attention to explicitly stating "Chinese" and tried now to 
remedy the situation. The result is quite unexpected: 

I created two fields, "oldText" with "Apple LiSung Light" and "newText" 
with "Apple LiSung Light,Chinese". Chinese text pasted from Nisus into 
"oldText" displays properly. But when I executed 

 put fld "oldText" into fld "newText"

via the message box, the transferred text displayed as *Korean* garbage! 
How the specification "Chinese" leads to this mixup is beyond me. (Out of 
curiosity I tested this command with text directly typed into field 
"oldText". It displays properly in field "newText" and both fields are 
searchable. Very nice, but doesn't solve my problem.)

So finally the suggestion to take care of uniEncode. Dealing with the 
just described test scenario, the command

 put uniEncode(fld "oldText","Chinese") into fld "newText"

works wonders! The Chinese is not only retained but can also be searched. 
In principle, this marvelous trick seems to solve my problem and once 
more I would like to thank everyone who shared his suggestions.

The thing is that a new problem raises its head -the original text 
contains one actually quite common character (yang3, "to rear") which not 
only disappears in fld "newText" but leads to a line break. What is 
happening here? 

Fritz






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


Re: Bug votation

2004-01-28 Thread Robert Brenstein
Robert Brenstein <[EMAIL PROTECTED]> wrote:

 You need to have a login account (any rev developer can add it).
You mean that I can't since I am only a "Express Edition" user?
As far as I know, it does not matter which version you have.

 > You need to be logged in to see those extra options and display the bug
 you want to vote for.
Is this another 'login'?
No.

I already have to log in, in order to make a "bug proposal"...

(i think I made two proposals in the past)
Oh, so you already have an account. Then after you connect to 
bugzilla and log in, you should be able to vote. If you want to see 
your current votes, there is a link in your private area on the 
bottom.

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


XMLlib does not parse

2004-01-28 Thread Björnke von Gierke
I am new to XML and try to use rev to read a PAD file. I have a problem 
where the revCreateXMLTree function does generate this error:
xmlerr, can't parse xml
Unsupported encoding windows-1252

however every xml I looked at had that encoding, so it seems to be 
quite often used, why then does rev not know it?

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


"directory" ("defaultFolder") question...

2004-01-28 Thread Dom
A came across an odd problem with "the directory" global...

I am writing an utility to gather the scripts of a stack under text
files, parsed in folders according to cards, groups...

I am using extensively the "set the directory to thePath" command in
order to achieve this.

With "card 1", all is OK.
Directory set to the folder containing the text files.

Another folder within the first one, for card 1 scripts.
Directory set for this folder.

Another folder within card 1 scripts folder, to accommodate group 1
scripts. Directory set for this folder.

Back to the first folder, set the directory.

Go card 2.

Set the directory for the folder with card 2 scripts: doesn't work!
After peeking the doc, the reason seems to be 'error on setting the
directory, folder doesn't exist!'

After verifyind ad re-verifying, I moved the "set the directory" command
AFTER the "go card 2" command... and that works!

Question: how, going from card 1 to card 2, this can interfere with 
"the directory" ???

In fact, the directory seems to be reset to the folder containing the
stack being parsed... 
(the default stack being placed on this stack, not the utility)

-- 
Digital photos (nature, garden) : http://cooldomi.free.fr/
Scripting : http://domiscript.free.fr/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Bug votation

2004-01-28 Thread Dom
Robert Brenstein <[EMAIL PROTECTED]> wrote:

> You need to have a login account (any rev developer can add it).

You mean that I can't since I am only a "Express Edition" user?

> You need to be logged in to see those extra options and display the bug
> you want to vote for.

Is this another 'login'?
I already have to log in, in order to make a "bug proposal"...

(i think I made two proposals in the past)

-- 
Digital photos (nature, garden) : http://cooldomi.free.fr/
Scripting : http://domiscript.free.fr/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Filtering with more than 4 types (OSX)

2004-01-28 Thread Thierry Arbellot
Smart workaround, but what if the user want to navigate to another 
directory within the file selector ?

Thierry.

Le Wednesday, 28 Jan 2004, à 14:18 Europe/Paris, Jan Decroos a écrit :

From: Thierry Arbellot <[EMAIL PROTECTED]>
Subject: Re: Filtering with more than 4 types (OSX)
To: How to use Revolution <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi dreamer,

Just for information, if I remember well, MacOS limits the filtering 
up
to 4 types.
A custom proc filter is needed to filter more than 4 types.

But sorry, I don't know how to do simply in Rev.
The only idea I have is to write an external that will call the MacOS
file selector with a custom file proc according to your need.
Regards.
Thierry.
Couldn't you solve this by :
- create (before the answer file ...) a temporary invisible directory 
(starting
with a '.', like ".myTmpDir"),
- move all files you don't want to see to that directory,
- show the answer,
- restore the files from that hidden directory back and
- remove the hidden directory ?

It's not nice, but this should work.

Regards,
Jan
___
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: Filtering with more than 4 types (OSX)

2004-01-28 Thread Jan Decroos
>From: Thierry Arbellot <[EMAIL PROTECTED]>
>Subject: Re: Filtering with more than 4 types (OSX)
>To: How to use Revolution <[EMAIL PROTECTED]>
>Message-ID: <[EMAIL PROTECTED]>
>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>Hi dreamer,
>
>Just for information, if I remember well, MacOS limits the filtering up 
>to 4 types.
>A custom proc filter is needed to filter more than 4 types.
>
>But sorry, I don't know how to do simply in Rev.
>The only idea I have is to write an external that will call the MacOS 
>file selector with a custom file proc according to your need.
>
>Regards.
>Thierry.

Couldn't you solve this by :
- create (before the answer file ...) a temporary invisible directory (starting
with a '.', like ".myTmpDir"),
- move all files you don't want to see to that directory,
- show the answer,
- restore the files from that hidden directory back and
- remove the hidden directory ?

It's not nice, but this should work.

Regards,
Jan

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


Re: Can't hilite buttons on Mac?

2004-01-28 Thread Jan Schenkel
--- Ian Wood <[EMAIL PROTECTED]> wrote:
> On further investigation, it is the focusin &
> focusout handlers that 
> are not getting triggered when using Mac OS
> Appearance Manager or Mac 
> OS Emulated views.  Nothing in bugzilla, so it's
> time to sit down & 
> write out some bug reports. : (
> 
> Ian
> 

Hi Ian,

The Macintosh Interface Guidelines do not mention
focusing on buttons without mouse action. Revolution
is kind enough to emulate that behaviour while you're
in the Windows or Unix themes.
So you shouldn't bugreport it as such ; what you _can_
report as a bug, is that Revolution on MacOS X doesn't
respect the setting in the System Preferences \
Keyboard panel \ Keyboard Access tab.

Best regards,

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 web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Can't hilite buttons on Mac?

2004-01-28 Thread Ian Wood
On further investigation, it is the focusin & focusout handlers that 
are not getting triggered when using Mac OS Appearance Manager or Mac 
OS Emulated views.  Nothing in bugzilla, so it's time to sit down & 
write out some bug reports. : (

Ian

On 28 Jan 2004, at 11:00, Ian Wood wrote:

Another sort-of-newbie question.

Once upon a time on a series of buttons...

on mouseUp
focus on me
answer -- add feedback text in here
end mouseUp
on focusIn
set hilite of me to true
end focusIn
on focusOut
set hilite of me to false
end focusOut
on tabKey
focus on button --wherever you want to move to in here
end tabKey
on returnKey
send "mouseUp" to me
end returnKey
It all works, and with Look & Feel set to Windows or Linux it's fine, 
but set to Mac Appearance Manager or Mac Emulated none of the buttons 
show a hilite, which makes it useless as you have no feedback which 
button you are about to activate with the Return key.

OS X 10.3.0, Rev 2.1.2

This is a brand new test stack with nothing but three buttons tabbing 
in a loop, none of the Basic Properties seems to make a difference.  
I've found Bug#: 918 which seems to be the opposite, showing a hilite 
even when it is set to false.  Is this likely to be the same bug, and 
does anyone have a workaround?

Ian

___
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


Can't hilite buttons on Mac?

2004-01-28 Thread Ian Wood
Another sort-of-newbie question.

Once upon a time on a series of buttons...

on mouseUp
focus on me
answer -- add feedback text in here
end mouseUp
on focusIn
set hilite of me to true
end focusIn
on focusOut
set hilite of me to false
end focusOut
on tabKey
focus on button --wherever you want to move to in here
end tabKey
on returnKey
send "mouseUp" to me
end returnKey
It all works, and with Look & Feel set to Windows or Linux it's fine, 
but set to Mac Appearance Manager or Mac Emulated none of the buttons 
show a hilite, which makes it useless as you have no feedback which 
button you are about to activate with the Return key.

OS X 10.3.0, Rev 2.1.2

This is a brand new test stack with nothing but three buttons tabbing 
in a loop, none of the Basic Properties seems to make a difference.  
I've found Bug#: 918 which seems to be the opposite, showing a hilite 
even when it is set to false.  Is this likely to be the same bug, and 
does anyone have a workaround?

Ian

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


Re: Filtering with more than 4 types (OSX)

2004-01-28 Thread Thierry Arbellot
Hi dreamer,

Just for information, if I remember well, MacOS limits the filtering up 
to 4 types.
A custom proc filter is needed to filter more than 4 types.

But sorry, I don't know how to do simply in Rev.
The only idea I have is to write an external that will call the MacOS 
file selector with a custom file proc according to your need.

Regards.
Thierry.
Le Wednesday, 28 Jan 2004, à 10:22 Europe/Paris, Éric Chatonet a écrit :

Bonjour à tous les Reveurs,

OSX 10.3
Rev 2.1.2
I want to display a dialog allowing the user to choose only pictures 
i.e BMP,MooV, JPEG, PNG, GIF and TIFF (cross platform app).
Only the four first types are considered:

answer file tPrompt with filter "MooVJPEGPNGfGIFfTIFFBMP " -- filters 
correctly MooV,JPEG,PNG and GIF while TIFF and BMP files are disabled
answer file tPrompt with filter "PNGfGIFfTIFFBMP MooVJPEG" -- filters 
correctly PNG, GIF, TIF and BMP while MooV and JPEG files are disabled

Any idea to by-pass this apparent limitation?

Mille mercis par avance !

Eric Chatonet

___
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: Windowscript

2004-01-28 Thread Stephen Quinn Barncard
With all due respect, Ray, I think you must be thinking of something 
else. I used Windowscript for years but it had no report generator.

Windowscript was a GUI layer that ran on top of 
Hypercard...brilliantly I might add. Using Windowscript, Compilit, 
Printreport and a few others, one could make a real double clickable 
app completely in Hypercardyes I used Hyperbasic as well...

sqb




Remember WindowScript?  It was *almost* MetaCard, but a lot slower.

It had an excellent report generator, altho the "script" was rather 
arcane. The creator of WS had two to four ways of doing the same 
task. He's (or was) the prof of a computer dept at Utah State, I 
think.

The report generator was quasi-postscript: Very fast and reliable.

Meebee he would be interested.

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


Filtering with more than 4 types (OSX)

2004-01-28 Thread Éric Chatonet
Bonjour à tous les Reveurs,

OSX 10.3
Rev 2.1.2
I want to display a dialog allowing the user to choose only pictures 
i.e BMP,MooV, JPEG, PNG, GIF and TIFF (cross platform app).
Only the four first types are considered:

answer file tPrompt with filter "MooVJPEGPNGfGIFfTIFFBMP " -- filters 
correctly MooV,JPEG,PNG and GIF while TIFF and BMP files are disabled
answer file tPrompt with filter "PNGfGIFfTIFFBMP MooVJPEG" -- filters 
correctly PNG, GIF, TIF and BMP while MooV and JPEG files are disabled

Any idea to by-pass this apparent limitation?

Mille mercis par avance !

Eric Chatonet

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


Re: [OY] PAD generators

2004-01-28 Thread Brian Yennie
Richard,

Is there a Mac PAD generator floating around?
I've been keeping an eye out for (relatively) easy projects that I 
could cook up and would get Rev noticed at least a few times, and PAD 
seems pretty easy.
With that said, I've never seen a PAD generator and the only link I saw 
was a Windoze generator.

- Brian

I'm having trouble with my PAD files reported by some sites as being 
in an
invalid format.   Hand-editing something that changes so often doesn't 
seem
an efficient solution, and clearly my current PAD generator (PADMaker) 
isn't
up to snuff.

Any of you have a favorite PAD generator?

Someone write one in Rev yet?

For details on PAD:
http://www.asp-shareware.org/pad/
--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
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