Re: OK to store images in a group?

2006-01-03 Thread Eric Chatonet

Hi Erik,

Yes. all is possible but some ways of doing are more convenient than  
others.
Storing images in a group (or multiple groups according to the kind  
of images: tool bar icons, cursors,etc.) allows you to find them  
again more easily in the application browser (view by layer) but  
don't make it easy to see them, insert new images into a specific  
group, etc. In addition, often you will move these groups out of the  
card window :-)


As you can *call* any image using its ID (to make it a button icon  
for instance) wherever it is located (it's the reason why many posts  
here and tools (by Xavier and others) have been dedicated to talk  
about/solve conflict issues), one easy way is to use a dedicated  
substack: no additional card in your main stack that might involve  
special navigation handling...


Finally, see http://groups.yahoo.com/group/revInterop/database where  
programmers can reserve IDs ranges for IDE projects released for the  
community in order to avoid the above conflicts :-)


Best Regards from Paris,
Eric Chatonet

Le 4 janv. 06 à 01:18, Erik Hansen a écrit :



OK to store images in a group?
--- Eric Chatonet
<[EMAIL PROTECTED]> wrote:


In order to be meticulous, you can store all
images in a stack or a
substack, or put them onto a specific card
dedicated to them.


OK to store images in a group?

group behavior has been described as
different from cards or stacks,
at times.


 
--

http://www.sosmartsoftware.com/[EMAIL PROTECTED]/


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [OT] .ds_store Messing Up ZIP

2006-01-03 Thread Ken Ray
On 1/3/06 6:14 PM, "Scott Rossi" <[EMAIL PROTECTED]> wrote:

> Is there any Mac utility out there that allows one to poke around inside a
> ZIP archive to delete these extraneous .ds_store files?  Or even better,
> some way to tell Stuffit to ignore/delete these files in the first place?

I ran into the same problem and bought Stuffit so I could use DropZip...
this creates a "clean" zip file, which I use whenever I know the other user
may or may not have OS X. It's served me well...


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

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Linux CGI

2006-01-03 Thread Sean Michael Carrick
Does anyone out there no how to make the widgets in Rev use the KDE
theme(s) that users of the application may have in place?  Any ideas on
this are most welcome.  Thanks in advance.

Sean

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Standalone deployment

2006-01-03 Thread Sean Michael Carrick
I don't know what kind of business you are in, but have you ever thought
of releasing your program under the GNU Public License?  If you were to
release it under Open Source, you could then sell support of the
software instead of the software itself.  Also, other programmers around
the Internet would be able to look at your code and maybe help you take
your application in directions that you didn't think of on your own.
Just a thought.

Sean

On Tue, 2006-01-03 at 20:17 -0800, Marty Knapp wrote:
> I'm getting ready to deploy my first serious Rev application and I'm 
> trying to decide on how to deploy/sell it. Should I have a purchase-only 
> scenario, using a service such as Kagi (I've also set up a number of 
> Miva stores) or, should I have some kind of crippled version that 
> requires the presence of some kind of license stack for full 
> functionality? Or??? Anyone had any experiece with trying different 
> methods and found one that seemed to improve sales? I want something 
> streamlined and reasonably fraud-resistant. It won't be a real expensive 
> program - probably $40-50 range.
> 
> Any thoughs are appreciated,
> 
> 
> Marty Knapp
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Standalone deployment

2006-01-03 Thread Marty Knapp
I'm getting ready to deploy my first serious Rev application and I'm 
trying to decide on how to deploy/sell it. Should I have a purchase-only 
scenario, using a service such as Kagi (I've also set up a number of 
Miva stores) or, should I have some kind of crippled version that 
requires the presence of some kind of license stack for full 
functionality? Or??? Anyone had any experiece with trying different 
methods and found one that seemed to improve sales? I want something 
streamlined and reasonably fraud-resistant. It won't be a real expensive 
program - probably $40-50 range.


Any thoughs are appreciated,


Marty Knapp
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [OT] .ds_store Messing Up ZIP

2006-01-03 Thread Chipp Walters

Scott,

I have a plugin for MacOSX users which will display all invisible files 
in a folder and you can also choose to make them visible. From there 
it's an easy step to remove them.


Plugin named: altFileMgr

Type in the MSG box:

go URL "http://www.gadgetplugins.com/altplugins/revAltFileMgr.rev";

best,

Chipp

Scott Rossi wrote:

I've been plagued by this enough that I thought I would ask...

For me, creating simple ZIP archives on Mac systems that contain a few files
is usually straightforward.  However, I often find that when the ZIP
archives starts to contain nested subfolders, I often wind up with invisible
.ds_store files that corrupt the archive when it comes time to decompress on
Windows systems.  The only recourse seems to be to move folders over to
Windows, delete any .ds_store files, and compress there.

Is there any Mac utility out there that allows one to poke around inside a
ZIP archive to delete these extraneous .ds_store files?  Or even better,
some way to tell Stuffit to ignore/delete these files in the first place?


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [OT] .ds_store Messing Up ZIP

2006-01-03 Thread wouter
Or use CleanArchiver, which is freeware and can compress to the  
following formats:


gzip
bzip2
zip
DiskImage
Stuffit
StuffitX

Greetings,
Wouter

On 04 Jan 2006, at 02:21, Ton Kuypers wrote:

I use Stuffit to create SIT files for distribution to Macs and ZIP  
files for distribution to Windows users... And Stuffit has got an  
option NOT to copy these pesky hidden files...

Works perfect, can advice it to anyone!


Warm regards,


Ton Kuypers
Digital Media Partners bvba
Tel. +32 (0)477 / 739 530
Fax +32 (0)14 / 71 03 04
http://www.dmp-int.com



On 4-jan-06, at 01:14, Scott Rossi wrote:


I've been plagued by this enough that I thought I would ask...

For me, creating simple ZIP archives on Mac systems that contain a  
few files

is usually straightforward.  However, I often find that when the ZIP
archives starts to contain nested subfolders, I often wind up with  
invisible
.ds_store files that corrupt the archive when it comes time to  
decompress on
Windows systems.  The only recourse seems to be to move folders  
over to

Windows, delete any .ds_store files, and compress there.

Is there any Mac utility out there that allows one to poke around  
inside a
ZIP archive to delete these extraneous .ds_store files?  Or even  
better,
some way to tell Stuffit to ignore/delete these files in the first  
place?



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: a revJournal article on splash screens?

2006-01-03 Thread Sarah Reichelt
 > > consider using the splashscreen approach
> > (It's all I ever use now).
>
> would anyone like to do
> a revJournal article on splash screens?
>

Hi Erik,

I wrote one a while ago about saving data in standalones. It included
discussion about the splash screen method.



Cheers,
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: A Custom Property Sets 'Database"

2006-01-03 Thread Dan Shafer
Michael.

There are two basic approaches to storing data *internally* in your
Rev applications. You can use custom property sets (I have an eBook
tutorial on how to design and use custom properties and sets for $5 at
http://www.shafermediastore.com/tech_main.html) or you can use fields
(and other Rev controls) in the stack itself. One thing you need to be
aware of is that if you expect to distribute your application as a
compiled stand-alone, you'll need to use at least two stacks: a
mainstack that acts as a splasher or some other non-data-saving role,
and a substack where the custom properties or fields are defined and
where the data is stored.

I'm generally inclined when faced with this decision to use Rev as a
database (you should know that there is a LOT of disagreement with
this preference, so don't be surprised to get contradictory advice
from other Rev coders here). You create a splasher or control stack or
whatever as your mainstack (whose data is static) and then create one
or more substacks to hold the data. In the data substack, create
fields (and perhaps other objects, e.g., checkboxes or radio button
sets to store binary or mulitple-choice data), group those controls
into a group, then give that group background behavior.

Using Rev this way works quite well for databases that don't involve
complex relationality and don't expect to contain more than perhaps
10,000 records. (The number of records you can handle with efficiency
is a function of how much of what kind of data is in each
record/card.) My book on Revolution (also available in PDF from the
above URL) has a chapter on this subject.

There's nothing wrong with custom property sets. In fat, in some ways
they work similarly to the card-datastack approach I just outlined.
But programming them is a *tad* more complex. Particiularly if you're
storing binary data (images, PDFs, etc.), you'll probably find the
datastack design approach more effective and easier to understand. (If
you want to get a good view of how using custom props for this kind of
task would look and work, you can download a free stack from
RevOnline. Activate it from the toolbar, click on "User Spaces" in the
left scrolling field, and then scroll down to sms in the user name
list.



On 1/3/06, Michael Mandaville <[EMAIL PROTECTED]> wrote:
> Rather than dive into mySQL or altSQLite, (I am a Newbie), I was directed to
> look at Custom Property Sets in order to use the 'internal databse' of
> Revolution to store information.
>
> 1.  Would I use a Table Field as the object to store at least 500 records?
>
> 2.  What is the language in the Custom Property tab that I should use to
> 'create this internal database' structure.
>
> 3.  Would I use a Table Field like a spreadsheet, creating a Table like in a
> traditional DB?
>
> Any direction or even an example, would be much appreciated.
>
> Thank you,
>
> Michael


--
~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"
>From http://www.shafermediastore.com/tech_main.html
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Asking about Rev and the Web-PHP?

2006-01-03 Thread Dan Shafer
Michael.

Yep, it sure can. You can code PHP Web pages and then use the usual
Rev techniques for retrieving those pages through the PHP templates
and gather results into Rev variables.

The resident guru on this topic (as with so many others) is Chipp
Walters, who will undoubtedly chime in here with more specifics.

On 1/3/06, Michael Mandaville <[EMAIL PROTECTED]> wrote:
> Can Rev work with PhP programming to serve up web pages?
>
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>


--
~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"
>From http://www.shafermediastore.com/tech_main.html
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Linux CGI

2006-01-03 Thread Thomas McCarthy

I've learned that my hosting service is using Linux 1.1.3
I've asked about the libC (as per Andre's suggestion), no word yet.

I downloaded the Linux distro (linux.tgz), unstuffed and uploaded the engine 
(revolution.x86) to my cgi-bin. Renamed it "revolution" and changed the 
permissions to 755 (and later, 555). Still no good.

any thoughts?
tm

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [OT] .ds_store Messing Up ZIP

2006-01-03 Thread Ton Kuypers

Sorry... forgot to mention I'm using Stuffit Deluxe 9...
In the preferences I can set "Ignore Finder desktop files", THAT  
prevents copying all invisible files into the ZIP.



Warm regards,


Ton Kuypers
Digital Media Partners bvba
Tel. +32 (0)477 / 739 530
Fax +32 (0)14 / 71 03 04
http://www.dmp-int.com

On 4-jan-06, at 01:14, Scott Rossi wrote:


I've been plagued by this enough that I thought I would ask...

For me, creating simple ZIP archives on Mac systems that contain a  
few files

is usually straightforward.  However, I often find that when the ZIP
archives starts to contain nested subfolders, I often wind up with  
invisible
.ds_store files that corrupt the archive when it comes time to  
decompress on
Windows systems.  The only recourse seems to be to move folders  
over to

Windows, delete any .ds_store files, and compress there.

Is there any Mac utility out there that allows one to poke around  
inside a
ZIP archive to delete these extraneous .ds_store files?  Or even  
better,
some way to tell Stuffit to ignore/delete these files in the first  
place?



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [OT] .ds_store Messing Up ZIP

2006-01-03 Thread Ton Kuypers
I use Stuffit to create SIT files for distribution to Macs and ZIP  
files for distribution to Windows users... And Stuffit has got an  
option NOT to copy these pesky hidden files...

Works perfect, can advice it to anyone!


Warm regards,


Ton Kuypers
Digital Media Partners bvba
Tel. +32 (0)477 / 739 530
Fax +32 (0)14 / 71 03 04
http://www.dmp-int.com



On 4-jan-06, at 01:14, Scott Rossi wrote:


I've been plagued by this enough that I thought I would ask...

For me, creating simple ZIP archives on Mac systems that contain a  
few files

is usually straightforward.  However, I often find that when the ZIP
archives starts to contain nested subfolders, I often wind up with  
invisible
.ds_store files that corrupt the archive when it comes time to  
decompress on
Windows systems.  The only recourse seems to be to move folders  
over to

Windows, delete any .ds_store files, and compress there.

Is there any Mac utility out there that allows one to poke around  
inside a
ZIP archive to delete these extraneous .ds_store files?  Or even  
better,
some way to tell Stuffit to ignore/delete these files in the first  
place?



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: One cute hack for MacOS X (... or nice internet protocol helper hacks...)

2006-01-03 Thread Mark Wieder
Ken-

Tuesday, January 3, 2006, 4:14:20 PM, you wrote:

> Oh, no... it wouldn't go away... I was only wondering whether there should
> be two apps (SR[local] and WebRev [web]) or one (SR/WebRev [local/web]).
> SR's local capabilities aren't going anywhere...

As much as I dislike secureMode, I would think the easiest way out of
this for now would be to enable security when the app is coming
directly from the web and not mess with it otherwise. This does,
however, have the sticky side effect of leaving secureMode on until
the next launch of the engine.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [OT] .ds_store Messing Up ZIP

2006-01-03 Thread Charles Hartman


On Jan 3, 2006, at 7:29 PM, Phil Davis wrote:

dot-file removal is one of my standard steps when creating a cross- 
platform CD. From what little I can tell, I assume those files are  
probably Mac resource forks that only show up on a platform that  
doesn't understand them (Windows). Is that the way you guys  
understand them?


Not (as I understand it) resource forks (which have to do with files;  
do we even still have them in OSX??), but artifacts of the Darwin  
filesystem.


Charles

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


a revJournal article on splash screens?

2006-01-03 Thread Erik Hansen


--- Chipp Walters <[EMAIL PROTECTED]> wrote:

> consider using the splashscreen approach
> (It's all I ever use now).

would anyone like to do
a revJournal article on splash screens?

thanks,

Erik Hansen

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



__ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [OT] .ds_store Messing Up ZIP

2006-01-03 Thread J. Landman Gay

I wrote:
Actually, it stores Finder folder info such as icon sizes, display 
options, background color or picture, window size and location, etc. 
This is only useful for OS X. Many (if not most) .dmg images contain one 
of these files so that when the image mounts, the author's custom 
background will display.




Never mind, I see you guys already know this and I'd misread the 
question. Forget me. I'm still groggy from the holidays.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [OT] .ds_store Messing Up ZIP

2006-01-03 Thread Peter Reid

Scott

Try the free program "FinderCleaner" which is able to clean (remove!) 
the following:


- .DS_Store files
- Resource forks
- FBC files
- .Trashes

Here's the description from the ReadMe:

What is it?
FinderCleaner is a small application that helps you when you share 
volumes or folders with Windows users (or any other OS for that 
matter), for example USB memory sticks. FinderCleaner deletes some 
files and folders invisible to Mac users but visible to Windows users 
so Windows users don't get stuck with annoying files that have no use 
to them. Mac users need not to worry about deleting these files 
because the volume will still work as usual. Note that you cannot 
move files to the trash on the selected volume after running this app 
until you eject and mount it again. You can still delete files but 
you will be warned that they will be deleted immediately. This app 
may also be of use when you have trouble with devices like mp3 
players or mobile phones that have trouble with Mac OS specific files.


What does it exactly do?
FinderCleaner removes the following files and folders:
.DS_Store
.Trashes
Resource forks.
FBC files.

Optionally FinderCleaner can eject the volume in a way where the 
above mentioned files will not be created on eject. Ejecting in the 
Finder will at least recreate some of the mess you just cleaned.



You can download it from the usual places including:

http://www.macupdate.com/info.php/id/16996

Cheers

Peter


I've been plagued by this enough that I thought I would ask...

For me, creating simple ZIP archives on Mac systems that contain a few files
is usually straightforward.  However, I often find that when the ZIP
archives starts to contain nested subfolders, I often wind up with invisible
.ds_store files that corrupt the archive when it comes time to decompress on
Windows systems.  The only recourse seems to be to move folders over to
Windows, delete any .ds_store files, and compress there.

Is there any Mac utility out there that allows one to poke around inside a
ZIP archive to delete these extraneous .ds_store files?  Or even better,
some way to tell Stuffit to ignore/delete these files in the first place?

Other suggestions welcome.

Thanks & Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design


--
Peter Reid
Reid-IT Limited, Loughborough, Leics., UK
E-mail: [EMAIL PROTECTED]
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [OT] .ds_store Messing Up ZIP

2006-01-03 Thread J. Landman Gay

Richard Gaskin wrote:

Phil Davis wrote:

dot-file removal is one of my standard steps when creating a 
cross-platform CD. From what little I can tell, I assume those files 
are probably Mac resource forks that only show up on a platform that 
doesn't understand them (Windows). Is that the way you guys understand 
them?



Yes, that appears to be the case.  But it writes them for most files 
whether or not they have a resource fork, and of course directories have 
the Finder info stored in .DS_Store.


Actually, it stores Finder folder info such as icon sizes, display 
options, background color or picture, window size and location, etc. 
This is only useful for OS X. Many (if not most) .dmg images contain one 
of these files so that when the image mounts, the author's custom 
background will display.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [OT] .ds_store Messing Up ZIP

2006-01-03 Thread Jim Ault
> > Is there any Mac utility out there (details & full quote blow)
Scott, this is definitely an annoyance that Apple has created with OSX.
try this approach

 answer folder ""
set the defaultfolder to it
answer there is a file ".ds_store"
delete file ".ds_store"
answer there is a file ".ds_store"

--now make a new folder there, and bingo.. another .ds_store file :-(


Or you can go to Apple
http://www.apple.com/downloads/macosx/system_disk_utilities/findercleaner.ht
ml

FinderCleaner
FinderCleaner cleans hidden files the Finder creates. These files can be
annoying in mixed OS environments or they might even cause some deveices
like MP3 player not to function correctly.

Useful for USB sticks or MP3 players, for example.

FinderCleaner cleans the following items:
.DS_Store files 
Resource forks 
FBC files 
.Trashes 

FinderCleaner can also eject a volume in a clean way so no new mess is
created by the Finder.

What¹s New in this Version
- Added version check option
- You can no longer enter an empty password and continue
- General code optimization

Apple is providing links to these applications as a courtesy, and makes no
representations regarding the applications or any information related
thereto. Any questions, complaints or claims regarding the applications must
be directed to the appropriate software vendor.


On 1/3/06 4:14 PM, "Scott Rossi" <[EMAIL PROTECTED]> wrote:

> I've been plagued by this enough that I thought I would ask...
> 
> For me, creating simple ZIP archives on Mac systems that contain a few files
> is usually straightforward.  However, I often find that when the ZIP
> archives starts to contain nested subfolders, I often wind up with invisible
> .ds_store files that corrupt the archive when it comes time to decompress on
> Windows systems.  The only recourse seems to be to move folders over to
> Windows, delete any .ds_store files, and compress there.
> 
> Is there any Mac utility out there that allows one to poke around inside a
> ZIP archive to delete these extraneous .ds_store files?  Or even better,
> some way to tell Stuffit to ignore/delete these files in the first place?
> 
> Other suggestions welcome.
> 
> Thanks & Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, Multimedia & Design
> -
> E: [EMAIL PROTECTED]
> W: http://www.tactilemedia.com
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [OT] .ds_store Messing Up ZIP

2006-01-03 Thread Richard Gaskin

Phil Davis wrote:
dot-file removal is one of my standard steps when creating a 
cross-platform CD. From what little I can tell, I assume those files are 
probably Mac resource forks that only show up on a platform that doesn't 
understand them (Windows). Is that the way you guys understand them?


Yes, that appears to be the case.  But it writes them for most files 
whether or not they have a resource fork, and of course directories have 
the Finder info stored in .DS_Store.


I've written a utility to clean my MP3 player after I copy files, but it 
seems silly to have to do that just to accomodate Apple's insistence 
that the world be Mac-compatible.


--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [OT] .ds_store Messing Up ZIP

2006-01-03 Thread Richard Gaskin

Trevor DeVore wrote:

On Jan 3, 2006, at 4:14 PM, Scott Rossi wrote:



Is there any Mac utility out there that allows one to poke around  
inside a

ZIP archive to delete these extraneous .ds_store files?



The terminal can help you here.  Open terminal and change to the  
directory you want to delete all .ds_store files from (including  
subdirectories).  One way to do this is to type "cd " and then drag  the 
folder from the finder.  Type "return" and that will change the  active 
directory of the terminal.


Type this:

find ./ -name ".DS_Store" -exec rm -f {} \;

This should get rid of all the files.  I use it all of the time.


Is there a way to tell the OS to never copy any files starting with "." 
when copying to removable devices?


Or is the lack of such a critical feature part of Apple's "buy our 
hardware or suffer" strategy?


--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [OT] .ds_store Messing Up ZIP

2006-01-03 Thread Phil Davis
dot-file removal is one of my standard steps when creating a 
cross-platform CD. From what little I can tell, I assume those files are 
probably Mac resource forks that only show up on a platform that doesn't 
understand them (Windows). Is that the way you guys understand them?


Phil Davis



Richard Gaskin wrote:

Scott Rossi wrote:


I've been plagued by this enough that I thought I would ask...

For me, creating simple ZIP archives on Mac systems that contain a few 
files

is usually straightforward.  However, I often find that when the ZIP
archives starts to contain nested subfolders, I often wind up with 
invisible
.ds_store files that corrupt the archive when it comes time to 
decompress on

Windows systems.  The only recourse seems to be to move folders over to
Windows, delete any .ds_store files, and compress there.

Is there any Mac utility out there that allows one to poke around 
inside a

ZIP archive to delete these extraneous .ds_store files?  Or even better,
some way to tell Stuffit to ignore/delete these files in the first place?



Or one step better, a way to tell the OS not to pollute transferred 
directories with that OS-specific crap?


It wreaks havoc with all but a few MP3 players, and really should be 
something the user can control.



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [OT] .ds_store Messing Up ZIP

2006-01-03 Thread Trevor DeVore

On Jan 3, 2006, at 4:14 PM, Scott Rossi wrote:


Is there any Mac utility out there that allows one to poke around  
inside a

ZIP archive to delete these extraneous .ds_store files?


The terminal can help you here.  Open terminal and change to the  
directory you want to delete all .ds_store files from (including  
subdirectories).  One way to do this is to type "cd " and then drag  
the folder from the finder.  Type "return" and that will change the  
active directory of the terminal.


Type this:

find ./ -name ".DS_Store" -exec rm -f {} \;

This should get rid of all the files.  I use it all of the time.


--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [OT] .ds_store Messing Up ZIP

2006-01-03 Thread Richard Gaskin

Scott Rossi wrote:

I've been plagued by this enough that I thought I would ask...

For me, creating simple ZIP archives on Mac systems that contain a few files
is usually straightforward.  However, I often find that when the ZIP
archives starts to contain nested subfolders, I often wind up with invisible
.ds_store files that corrupt the archive when it comes time to decompress on
Windows systems.  The only recourse seems to be to move folders over to
Windows, delete any .ds_store files, and compress there.

Is there any Mac utility out there that allows one to poke around inside a
ZIP archive to delete these extraneous .ds_store files?  Or even better,
some way to tell Stuffit to ignore/delete these files in the first place?


Or one step better, a way to tell the OS not to pollute transferred 
directories with that OS-specific crap?


It wreaks havoc with all but a few MP3 players, and really should be 
something the user can control.


--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


OK to store images in a group?

2006-01-03 Thread Erik Hansen

OK to store images in a group?
--- Eric Chatonet
<[EMAIL PROTECTED]> wrote:

> In order to be meticulous, you can store all
> images in a stack or a  
> substack, or put them onto a specific card
> dedicated to them.

OK to store images in a group?

group behavior has been described as
different from cards or stacks,
at times.

thanks,

Erik Hansen

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



__ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


[OT] .ds_store Messing Up ZIP

2006-01-03 Thread Scott Rossi
I've been plagued by this enough that I thought I would ask...

For me, creating simple ZIP archives on Mac systems that contain a few files
is usually straightforward.  However, I often find that when the ZIP
archives starts to contain nested subfolders, I often wind up with invisible
.ds_store files that corrupt the archive when it comes time to decompress on
Windows systems.  The only recourse seems to be to move folders over to
Windows, delete any .ds_store files, and compress there.

Is there any Mac utility out there that allows one to poke around inside a
ZIP archive to delete these extraneous .ds_store files?  Or even better,
some way to tell Stuffit to ignore/delete these files in the first place?

Other suggestions welcome.

Thanks & Regards,

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

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: One cute hack for MacOS X (... or nice internet protocol helper hacks...)

2006-01-03 Thread Ken Ray
On 1/3/06 4:37 PM, "Charles Hartman" <[EMAIL PROTECTED]> wrote:

> 
> On Jan 3, 2006, at 3:53 PM, Ken Ray wrote:
> 
>> That's a great idea, Chipp! That's definitely something cool to run
>> with...
>> do you see StackRunner *only* running web-validated stacks, or also
>> able to
>> run locally executed stacks? The reason I ask is that currently
>> StackRunner
>> is designed in a way where a configuration file can tell it to
>> automatically
>> run a stack; there's nothing saying this couldn't be extended to
>> support
> 
> For pity's sake don't take away SR's local-stack capability -- it's
> vital for us Dreamcard users.

Oh, no... it wouldn't go away... I was only wondering whether there should
be two apps (SR[local] and WebRev [web]) or one (SR/WebRev [local/web]).
SR's local capabilities aren't going anywhere...

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

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: data files for Rev Online?

2006-01-03 Thread Jerry Muelver

From: "Thomas McGrath III"

Ok, well when I  got to "menus and controls" I hit the text and nothing 
happened. The  text turned red but the line under it stayed blue and it 
stayed on  the previous content. So I hit others and most switched to 
content.  But some did not. I captured a screen shot if you need to see 
it.



If I click again or maybe double click then it would go to that pages

content just fine.

I think I've got it, Tom. Several links in authoring.wik had extraneous 
... surrounding the ... for the link designation. The first 
click activated the U, the second triggered the A, I think. I rashly used 
ctrl-u for "Unlink", and the Rev environment apparently pasted an 
"underline" property in the HTML code when I was building that file. I don't 
see it happening with StackRunner on Linux, Win, or Mac, but I could see it 
pssibly happening with the Rev IDE on Win or Mac. I'll clean the demo files 
in a text editor, and repost them.


Thanks, again!

 Jerry 


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: data files for Rev Online?

2006-01-03 Thread Jerry Muelver


- Original Message - 
From: "Thomas McGrath III"



Ok, well when I
got to "menus and controls" I hit the text and nothing happened. The
text turned red but the line under it stayed blue and it stayed on
the previous content. So I hit others and most switched to content.
But some did not. I captured a screen shot if you need to see it.

If I click again or maybe double click then it would go to that pages
content just fine.

Is this a bug? Does anyone else see this?
---

Thanks, Tom. Someone mentioned that to me before, but I couldn't replicate 
it. The double-click thing is weird, and might have to do with my 
"first-time effort" at scripting. I hope it's just that demo file. I'll run 
it on all platforms, and track the problem down.


I appreciate your trying the program out!

 Jerry Muelver 


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


A Custom Property Sets 'Database"

2006-01-03 Thread Michael Mandaville
Rather than dive into mySQL or altSQLite, (I am a Newbie), I was directed to
look at Custom Property Sets in order to use the 'internal databse' of
Revolution to store information.

1.  Would I use a Table Field as the object to store at least 500 records?

2.  What is the language in the Custom Property tab that I should use to
'create this internal database' structure.

3.  Would I use a Table Field like a spreadsheet, creating a Table like in a
traditional DB?

Any direction or even an example, would be much appreciated.

Thank you,

Michael


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: data files for Rev Online?

2006-01-03 Thread Thomas McGrath III

Jerry,

I don't know if I found a bug or 'feature' but see if it is.
I downloaded the creator and viewer and loaded the sample stacks.  
They went into my revolution folder but I found them.
I hit file in the viewer and opened the authoring wiki and saw the  
underlined text and started clicking on each link. Ok, well when I  
got to "menus and controls" I hit the text and nothing happened. The  
text turned red but the line under it stayed blue and it stayed on  
the previous content. So I hit others and most switched to content.  
But some did not. I captured a screen shot if you need to see it.


If I click again or maybe double click then it would go to that pages  
content just fine.


Is this a bug? Does anyone else see this?

Tom


On Jan 3, 2006, at 5:26 PM, Jerry Muelver wrote:


- Original Message - From: "Eric Chatonet"



Jerry,



I was reading again my post.
I hope you understood that my LOL was only about "Gee, and it  
started  out so simple"

---

Oh! I thought you had already downloaded and played with the  
programs. I wondered how you could do that at the same time I was  
uploading, but I've seen some of your programming, so I wouldn't be  
surprised to learn that you could simply grab files off my hard  
drive if you really wanted to!


Okay, the deed is done. My Revolution "Hello World" program suite  
is uploaded. Off-list email comments would be welcome!


 Jerry Muelver
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


Thomas J McGrath III
[EMAIL PROTECTED]

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com

Lazy River Software™ - http://www.lazyriversoftware.com

Lazy River Metal Art™ - http://www.lazyrivermetalart.com

Meeting Wear™ - http://www.cafepress.com/meetingwear





___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Asking about Rev and the Web-PHP?

2006-01-03 Thread Michael Mandaville
Can Rev work with PhP programming to serve up web pages?


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


please embed your code within ... surprise Thursday

2006-01-03 Thread Marielle Lange

Dear all,

May I ask all the regular contributors on this list to start to embed  
any piece of code within these tags :



  ... your xtalk/transcript/runrev code here


As sometimes some shell, applescript or javascript get listed as  
well, you can generalize. Here are some of the recognized types:

type="applescript"
type="javascript"
type="vbs"   (visual basic script, in windows)
type="shell"

You will get what I hope to be an excellent surprise on Thursday.  
What immediately comes to mind is code colorization of your posts.  
Humm, I would say it's a lot better than that and this doesn't even  
doesn't require a move to forums for the persons set in their ways.  
In fact, it's even better than a forum solution. The persons who  
kindly volunteered to help out with the wiki can contact me,  
privately, for more details.


Note that this has been discussed with the runrev team and they had  
time to get a view of the solution I propose and make objections or  
recommendations.


Marielle

PS. I take advantage of this to wish you all an happy New Year. 
___

use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: One cute hack for MacOS X (... or nice internet protocol helper hacks...)

2006-01-03 Thread Charles Hartman


On Jan 3, 2006, at 3:53 PM, Ken Ray wrote:

That's a great idea, Chipp! That's definitely something cool to run  
with...
do you see StackRunner *only* running web-validated stacks, or also  
able to
run locally executed stacks? The reason I ask is that currently  
StackRunner
is designed in a way where a configuration file can tell it to  
automatically
run a stack; there's nothing saying this couldn't be extended to  
support


For pity's sake don't take away SR's local-stack capability -- it's  
vital for us Dreamcard users.


Charles

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: data files for Rev Online?

2006-01-03 Thread Jerry Muelver
- Original Message - 
From: "Eric Chatonet"




Jerry,



I was reading again my post.
I hope you understood that my LOL was only about "Gee, and it started  out 
so simple"

---

Oh! I thought you had already downloaded and played with the programs. I 
wondered how you could do that at the same time I was uploading, but I've 
seen some of your programming, so I wouldn't be surprised to learn that you 
could simply grab files off my hard drive if you really wanted to!


Okay, the deed is done. My Revolution "Hello World" program suite is 
uploaded. Off-list email comments would be welcome!


 Jerry Muelver 


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: data files for Rev Online?

2006-01-03 Thread Ken Ray
On 1/3/06 3:59 PM, "Jerry Muelver" <[EMAIL PROTECTED]> wrote:

> Gee, and it started out so simple
> 
> Well, I built the stack, and will shortly be uploading them. My assumption
> is that anyone with access to RevOnline knows all about saving, where to
> save, and what to do with mystery (beta) *.rev files. I reckon I'll find out
> pretty quick if I got it right, or what to change if I got it wrong!

You could always "fake it"... change the extensions of your other files to
.rev, and then tell the user to change 'em back once they're downloaded...

;-)

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

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Thread problem

2006-01-03 Thread James Z



On 1/3/06 6:33 AM, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:

> From: Paul Claude <[EMAIL PROTECTED]>
> Subject: Thread problem
> To: 
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="US-ASCII"
> 
> I have a little problem posting messages to this list. I've asked several
> times for a solution to heather at runrev.com, but without any answer, so I
> ask directly to you.
> 
> I've made many posts to this list, but everytime my posts open a new thread,
> I cannot continue an existing one. How can I post in a existing thread (I
> use Microsoft Entourage X on a Mac)?
> 
> Greetings
> 
> PaulClaude

I'm not sure I understand your problem, but if you highlight the text  of
the current thread it will place it in your response (as above), then you
need to change the Subject text to match the thread subject.

If this doesn't answer your question, try restating the question.

James Z.


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: data files for Rev Online?

2006-01-03 Thread Eric Chatonet

Jerry,

I was reading again my post.
I hope you understood that my LOL was only about "Gee, and it started  
out so simple"


Le 3 janv. 06 à 23:06, Eric Chatonet a écrit :


Hi Jerry,

LOL
If you want to be kind enough to trust my little experience, think  
of newbies: if it's clear for them, it's clear for all :-)

So :-(

Le 3 janv. 06 à 22:59, Jerry Muelver a écrit :


From: "Eric Chatonet" You are perfectly right Mark.
The only problem is that a stack downloaded from Rev Online lives in
RAM until the user chooses to save it...
Then you have to handle if the user saves the stack, where, delete or
keep the files, rely dynamically the files to the stack, etc.
Of course, it's easily doable but it means a lot of additional  
work...

-

Gee, and it started out so simple

Well, I built the stack, and will shortly be uploading them. My  
assumption is that anyone with access to RevOnline knows all about  
saving, where to save, and what to do with mystery (beta) *.rev  
files. I reckon I'll find out pretty quick if I got it right, or  
what to change if I got it wrong!


Best Regards from Paris,
Eric Chatonet
-- 


http://www.sosmartsoftware.com/[EMAIL PROTECTED]/


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



Best Regards from Paris,
Eric Chatonet
 
--

http://www.sosmartsoftware.com/[EMAIL PROTECTED]/


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: data files for Rev Online?

2006-01-03 Thread Eric Chatonet

Hi Jerry,

LOL
If you want to be kind enough to trust my little experience, think of  
newbies: if it's clear for them, it's clear for all :-)

So :-(

Le 3 janv. 06 à 22:59, Jerry Muelver a écrit :


From: "Eric Chatonet" You are perfectly right Mark.
The only problem is that a stack downloaded from Rev Online lives in
RAM until the user chooses to save it...
Then you have to handle if the user saves the stack, where, delete or
keep the files, rely dynamically the files to the stack, etc.
Of course, it's easily doable but it means a lot of additional work...
-

Gee, and it started out so simple

Well, I built the stack, and will shortly be uploading them. My  
assumption is that anyone with access to RevOnline knows all about  
saving, where to save, and what to do with mystery (beta) *.rev  
files. I reckon I'll find out pretty quick if I got it right, or  
what to change if I got it wrong!


Best Regards from Paris,
Eric Chatonet
 
--

http://www.sosmartsoftware.com/[EMAIL PROTECTED]/


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: data files for Rev Online?

2006-01-03 Thread Jerry Muelver

From: "Eric Chatonet" You are perfectly right Mark.
The only problem is that a stack downloaded from Rev Online lives in
RAM until the user chooses to save it...
Then you have to handle if the user saves the stack, where, delete or
keep the files, rely dynamically the files to the stack, etc.
Of course, it's easily doable but it means a lot of additional work...
-

Gee, and it started out so simple

Well, I built the stack, and will shortly be uploading them. My assumption 
is that anyone with access to RevOnline knows all about saving, where to 
save, and what to do with mystery (beta) *.rev files. I reckon I'll find out 
pretty quick if I got it right, or what to change if I got it wrong!


 Jerry Muelver 


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: SQL Statement on Multiple Lines

2006-01-03 Thread Jim Ault
ooops, correction below [ it does NOT detect special structures] :
> On 1/3/06 7:18 AM, "Bill" <[EMAIL PROTECTED]> wrote:
>> the "\"  (...) Can't be
>> used to split a string.
> 
> There is a very good reason for this convention:
> This allows you to use any words you want in a text string and they will not
> be confused with commands.  Imagine wanting to use the word "repeat" in a
> paragraph that the user will read, but the compiler said 'too, bad, it is a
> reserved word'.  And all the others = "it, for, when, put, end, while,
> format, folder, file, into, "
> 
> Basically, the compiler is digesting variables, assignments, repeat loops,
> reserved words, etc, but *suspends* this while scanning a text string,
> therefore, it does NOT detect special structures like end-of-command-line.
> 
> HTH
> Jim Ault
> Las Vegas
> 
> 
> On 1/3/06 7:18 AM, "Bill" <[EMAIL PROTECTED]> wrote:
> 
>> I always wondered why sometimes the "\" character didn't work. I thought it
>> was me and I just started making extremely long lines in my code. Can't be
>> used to split a string. Geez. I guess there is a complex reason for that
>> related to hexadecimal inputs through the hyperspatial tuning of the
>> dilithium crystal memory stacks or some such.
>> 
>> 
>> On 1/2/06 4:41 PM, "Jim Ault" <[EMAIL PROTECTED]> wrote:
>> 
 two lines it dies.  I've tried using the / with no luck.
>>> The correct character is "\"
>>> 
>>> Not sure what you are doing specifically, but remember, the "\" cannot be
>>> used to split a string:
>>> NO:
>>> put "the lazy brown dog jumped \
>>> and bit the mailman" into neverHappened
>>> 
>>> Yes, even in the multi-line message box:
>>> put " the lazy mailman bit " & \
>>> "the brown dog" into newsAtSix
>>> 
>>> 
>>> Jim Ault
>>> Las Vegas
>>> 
>>> On 1/2/06 12:34 PM, "Jeff Honken" <[EMAIL PROTECTED]> wrote:
>>> 
 Is there any way to have a SQL statement on multiple lines.  My code
 works great if the statement is all on one line but once I try to go to
 two lines it dies.  I've tried using the / with no luck.  Here's a very
 cut down version of what I'm trying:
 
 --> CONSTRUCT SQL
   put "CREATE TABLE Provider
 (ProvAutoNo INTEGER PRIMARY KEY, ProvActive text)" into tSQL
   --> EXECUTE SQL
   put revdb_execute(gConID,tSQL) into tList
 
 The Provider table is actually very large.
 
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution
>>> 
>>> 
>>> ___
>>> use-revolution mailing list
>>> use-revolution@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your subscription
>>> preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>> 
>> |||
>>)_)  )_)  )_)
>>   )___))___))___)\
>>  )))_)\\
>>_|||\\\__
>> ---\   /- http://www.bluewatermaritime.com
>>  ^ ^
>>      ^^^^^
>>  ^^^
>> 
>> 24 hour cell: (787) 378-6190
>> fax: (787) 809-8426
>> 
>> Blue Water Maritime
>> P.O. Box 91
>> Puerto Real, PR 00740
>> 
>> 
>> 
>> ___
>> use-revolution mailing list
>> use-revolution@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: One cute hack for MacOS X (... or nice internet protocol helper hacks...)

2006-01-03 Thread Dave Cragg


On 3 Jan 2006, at 20:38, Chipp Walters wrote:



I'm just not a fan of securemode, especially if one is trying to  
create a real application which runs from the web.


I agree with you there. It's limitations are pretty crushing.

Your idea is interesting. But I'm not comfortable with the idea of  
registering "safe" stacks. And I'm also not sure how stacks can be  
determined as "safe". I see there being two types of "unsafe" stack:   
those with malicious intent and those which are just badly  
programmed. Both are capable of damage.  So I'm still hoping for a  
way to prevent stacks from doing damage, but without the current  
secureMode limitations.


One idea I've toyed with is to always run the "stackRunner/player"  
app in secureMode, but have a "helper app"  which runs in parallel,  
and which is not in secure mode. The main app would communicate with  
the helper app over a socket using a private protocol. The helper app  
would perform a limited number of actions that secureMode prohibits.  
For example, write to a "cache" folder, launch a limited number of  
applications, run some predefined shell commands, etc. (I'm thinking  
of a variety of "stack runner" type apps that seve different  
purposes, so the "allowed" actions might vary among implemetations.)  
The main app would have an API which is open to other stacks and  
which would allow them to take advantage of the helper app.


I believe the Dreamcard Player uses a helper app like this to store  
preferences, even when in secureMode. But I haven't looked into it in  
great detail.


I'd be interested to hear from anyone that has tried to implement  
something like this. Right now it's only an idea in my head, and  
before having a go I'd appreciate any advice/warnings of possible  
pitfalls.


Cheers
Dave




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Game Source Information for Rev

2006-01-03 Thread Alejandro Tejada
on Tue, 3 Jan 2006 
ACR wrote:

> I recently bought my Revolution software. I am in
> the process of making a small adventure game. It is
> a point and click game, usually called a Myst clone.
> I had to choose between Revolution and Director for
> my game software. As I understand it, the first Myst
> game was make with Hypercard (Revolution). 

Actually, Revolution is a superset of HyperCard,
with more commands, functions and properties
than HyperCard. You choose wisely.

Welcome to the RunRev mail list! :-)

by the way, Did you work in 3D graphics?

> Since I am new to Revolution, I am lost in a sea of
> Commands. I probably don't need to learn all of
> them, probably only a few dozen Commands for my
> game. Commands such as go to the next images,
> start/stop background sound, start/stop music, start
> a sprite, start/stop an animation, and so on and so
> on. And I will need to make some puzzles which will
> require Functions probably.

You need to practice mainly with the following 
messages produced by user interaction:

on mouseup
on mouseenter
on mousemove
on mousedown

For example, i suppose that you are
going to create an image of a room,
where the user clicks on diverse parts
of the image to visit other rooms,
move objects, play music, etc...

in all these cases, you will be using
the messages that i named before.

> All I have found in user stacks so far are
> applications. Are there an adventure game stacks I
> could take apart and learn from? Are there any books
> on the subject? 

Adventure game stacks, like Myst, are a type
of "Click and Go" application.
Click and go to a location or show an image, etc...
These are easy to create in RunRev, but after 
you found how easy and fast it is, then you'll 
start to add complexity and it's then when 
"Click and Go" adventures becomes real interesting 
(like the production of all the animations, sound
effects
and music that interactive content requires).

> I am starting from the beginning, so any information
> source will help. 

First, Kori, define exactly how takes place the
interaction
in your game.

The more detailed are these explanations, easier will
be
to post your questions and get useful answers:

For example:

How could i click in an image of a Door and animate it
to show the door opening and showing the room inside?

answers:
1- create an animated gif of the door,
and control it by script.

2- create a series of png graphics and animate
it with the method proposed by Malte Brill.

3- create a grid of images png or gif or jpg
and animate it with the method enhanced by
Abraham Wouter.

Look for example this message thread in this page:
slight delay in animated gif loop


You can look for messages of this mail list
from this page:


Good luck and keep making questions!

al

Visit my site:
http://www.geocities.com/capellan2000/



__ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: One cute hack for MacOS X (... or nice internet protocol helper hacks...)

2006-01-03 Thread Ken Ray
On 1/3/06 2:38 PM, "Chipp Walters" <[EMAIL PROTECTED]> wrote:

> I've thought about this for sometime now.
> 
> The way to do this is take a basic player, (like Ken Ray's StackRunner)
> let's call it WebRev and tie it to a server database which validates
> "good stacks" using a checksum. Then anyone who clicks a link on a
> webpage and downloads the .rev file (or other extension?) would get a
> notice (after comparing the stack name and checksum):
> 
> This stack IS/IS NOT registered with the WebRev database. Continue at
> your own risk! Basically a poor man's certificate system. IMO, without
> such a system, either 1) products built using secureMode would be of
> little use; or 2) there would be too great a security danger.

That's a great idea, Chipp! That's definitely something cool to run with...
do you see StackRunner *only* running web-validated stacks, or also able to
run locally executed stacks? The reason I ask is that currently StackRunner
is designed in a way where a configuration file can tell it to automatically
run a stack; there's nothing saying this couldn't be extended to support
stacks at web URLs, with an additional feature being that it would check the
WebRev database for a certificate. This way, SR could validate web-based
stacks either accessed automatically when SR is 2x-clicked manually, as well
as when it is launched due to a webrev: protocol. In general, do you see any
problem with a dual/multi-purpose player app?

> I'm just not a fan of securemode, especially if one is trying to create
> a real application which runs from the web. I believe certification is
> the best way to go, and I've stated that since the early days of Java
> and ActiveX. That's one thing MS got right.

Agreed - I'm not thrilled with secure mode either.
 
> Then by adding auto-update capabilites to WebRev, one could keep it
> auto-updtaed easily. Then AJAX like apps could easily be run by just
> clicking a link on a webpage. Key point: WebRev should not be any kind
> of adware/spyware type of product. That would KILL it.

Amen, brother!


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

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: One cute hack for MacOS X (... or nice internet protocol helper hacks...)

2006-01-03 Thread Chipp Walters

I've thought about this for sometime now.

The way to do this is take a basic player, (like Ken Ray's StackRunner) 
let's call it WebRev and tie it to a server database which validates 
"good stacks" using a checksum. Then anyone who clicks a link on a 
webpage and downloads the .rev file (or other extension?) would get a 
notice (after comparing the stack name and checksum):


This stack IS/IS NOT registered with the WebRev database. Continue at 
your own risk! Basically a poor man's certificate system. IMO, without 
such a system, either 1) products built using secureMode would be of 
little use; or 2) there would be too great a security danger.


I'm just not a fan of securemode, especially if one is trying to create 
a real application which runs from the web. I believe certification is 
the best way to go, and I've stated that since the early days of Java 
and ActiveX. That's one thing MS got right.


Then by adding auto-update capabilites to WebRev, one could keep it 
auto-updtaed easily. Then AJAX like apps could easily be run by just 
clicking a link on a webpage. Key point: WebRev should not be any kind 
of adware/spyware type of product. That would KILL it.


-Chipp

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: data files for Rev Online?

2006-01-03 Thread Jerry Muelver

From: "Mark Wieder" >

You might try putting the data files into custom properties, then
unpacking them on stack initialization.


Thanks, Mark. I'll do that. I'll want a separate stack though, for just that 
single purpose, that won't be needed for my zipped package. It'll be a good 
excuse to learn about customer properties... maybe some Base64 to blend 
graphics... a little XML a new career


 Jerry Muelver 


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: data files for Rev Online?

2006-01-03 Thread Eric Chatonet

Hello,

Le 3 janv. 06 à 20:48, Mark Wieder a écrit :

Can I upload data files to my space on RevOnline? The *.rev files  
will go, I
know, but my little app has a couple of demo data files to go  
along with it.

I'd like to upload a package like the WikiRev zip file on
http://hytext.com/rev/


Maybe I should write a stack that harbors the data files, and  
unpacks them

to the user's disk when run. Then I'd be uploading *.rev files only.


You might try putting the data files into custom properties, then
unpacking them on stack initialization.


You are perfectly right Mark.
The only problem is that a stack downloaded from Rev Online lives in  
RAM until the user chooses to save it...
Then you have to handle if the user saves the stack, where, delete or  
keep the files, rely dynamically the files to the stack, etc.

Of course, it's easily doable but it means a lot of additional work...

Best Regards from Paris,
Eric Chatonet
 
--

http://www.sosmartsoftware.com/[EMAIL PROTECTED]/


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: One cute hack for MacOS X (... or nice internet protocol helper hacks...)

2006-01-03 Thread Andre Garzia


On Jan 3, 2006, at 6:08 PM, Mark Wieder wrote:


Dave-

Tuesday, January 3, 2006, 1:02:42 AM, you wrote:


Unfortunately, I think someone could also add links in web pages to
stacks  that read/delete your hard drive contents, install and launch
other apps, etc.


Yes, that was my first thought as well. I'm quite uncomfortable with
the idea of having web pages that launch executable programs. Does the
mime type possibly launch DreamCard in secureMode? That would offer at
least some protection.



Well, yes... you can format the hard drive with some shell(). Since  
we code the AppleEvent handler we can set the secureMode on there and  
also, you can se the URL and not trust it. For example, if someone is  
setting this up for some local school educational resources, then the  
handler could only trust some given domain...


And as Richard asked, I discovered a way to set everything  
programaticaly from inside a Revolution Stack. I found which plists  
to change, what to add and how to refresh LaunchServices after that,  
so anyone running a stack actually add such holes. It's easier than  
you think... I am not putting those scripts in the list, although I  
made some nice stack demoing the stuff.


If someone with a usefull idea for this kind of solution needs this  
kind of scripts, just contact me off list and I will assist. This is  
the same way that apple lauchs applescript://  URLs (yes, one can  
launch applescripts... I do think they open in the editor instead of  
execute...)


I was thinking more along the lines of easying the user experience,  
but it's a big security hole... not a hole because it's not a bug,  
this behaviour is akin to malware/trojan behaviour if used in a bad  
manner. The idea came to me after playing the Second Life Online  
Game... it's a very nice game and it register a secondlife://  
protocol so that people can make pages and link to things inside the  
game... I thought how wonderfull


cheers
andre



--
-Mark Wieder
 [EMAIL PROTECTED]


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: One cute hack for MacOS X (... or nice internet protocol helper hacks...)

2006-01-03 Thread Chipp Walters
I do it for Windows on ButtonGadget through the registry, but there is a 
serious caveat:


When you setup a MIME type for a document of any kind to download and 
autorun, it is up to the programmer to insure it is safe. In the case of 
ButtonGadget, I test each download with lock messages ON until I know 
it's one of my files. If I didn't, then someone could create a simple BG 
stack and wipe out someone's hard drive instantly. A very big security 
issue!


-Chipp

Ken Ray wrote:

On 1/2/06 11:21 PM, "Andre Garzia" <[EMAIL PROTECTED]> wrote:



Hi Folks,

this email is about a little nice hack I made today. Here I present
the steps for making URLs like:

x-dreamcard://www.mysweetserver/mySweetStack.rev



That's so cool, Andre! Nicely done... any idea on how to do it on Windows?


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: One cute hack for MacOS X (... or nice internet protocol helper hacks...)

2006-01-03 Thread Mark Wieder
Dave-

Tuesday, January 3, 2006, 1:02:42 AM, you wrote:

> Unfortunately, I think someone could also add links in web pages to
> stacks  that read/delete your hard drive contents, install and launch
> other apps, etc.

Yes, that was my first thought as well. I'm quite uncomfortable with
the idea of having web pages that launch executable programs. Does the
mime type possibly launch DreamCard in secureMode? That would offer at
least some protection.

-- 
-Mark Wieder
 [EMAIL PROTECTED]


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: data files for Rev Online?

2006-01-03 Thread Mark Wieder
Jerry-

Tuesday, January 3, 2006, 5:33:58 AM, you wrote:

> Can I upload data files to my space on RevOnline? The *.rev files will go, I
> know, but my little app has a couple of demo data files to go along with it.
> I'd like to upload a package like the WikiRev zip file on 
> http://hytext.com/rev/

> Maybe I should write a stack that harbors the data files, and unpacks them
> to the user's disk when run. Then I'd be uploading *.rev files only.

You might try putting the data files into custom properties, then
unpacking them on stack initialization.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Game Source Information for Rev

2006-01-03 Thread ACR
Thanks Malte. I will have a look.

Kori

- Original Message - 
From: "Malte Brill" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, January 03, 2006 12:04 PM
Subject: Re: Game Source Information for Rev


> Hi,
>
> thanks for mentioning arcadeEngine Jim.
>
> Kori, if you are getting started with Rev you might considder taking a
> look at the free eBook I wrote, that deals mostly with multimedia.
> Besides arcadeEngine tutorials you also find many Basics there and it
> is free.
>
> http://www.derbrill.de/tutorials_e.html
>
> Hope that helps,
>
> Malte
>
> -- 
> ArcadeEngine - prepare to WOW your audience within minutes
> http://www.runrev.com/section/revselect/arcadeengine
> http://www.derbrill.com/arcadeengine/forum
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Game Source Information for Rev

2006-01-03 Thread Malte Brill

Hi,

thanks for mentioning arcadeEngine Jim.

Kori, if you are getting started with Rev you might considder taking a 
look at the free eBook I wrote, that deals mostly with multimedia. 
Besides arcadeEngine tutorials you also find many Basics there and it 
is free.


http://www.derbrill.de/tutorials_e.html

Hope that helps,

Malte

--
ArcadeEngine - prepare to WOW your audience within minutes
http://www.runrev.com/section/revselect/arcadeengine
http://www.derbrill.com/arcadeengine/forum 


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Game Source Information for Rev

2006-01-03 Thread Jim Ault
try this link to a previous annoucement post on this list
http://www.mail-archive.com/use-revolution@lists.runrev.com/msg65061.html

ArcadeEngine 1.5 released Malte Brill Tue, 01 Nov 2005 02:13:31 -0800
Hi all, We're delighted to bring you an update to the popular and easy to
use Arcade Engine, by DerBrill Software. Arcade Engine incorporates
sophisticated, scripted path management graphics and effects handling to
meet the needs ...


On 1/3/06 10:41 AM, "ACR" <[EMAIL PROTECTED]> wrote:

> Thanks for the suggestion. I already have bought a copy, but have not read
> it yet. I am still going though tutorials from Revolution site.
> 
> Thanks
> Kori
> 
> - Original Message -
> From: "Jeff Honken" <[EMAIL PROTECTED]>
> To: "'How to use Revolution'" 
> Sent: Tuesday, January 03, 2006 10:38 AM
> Subject: RE: Game Source Information for Rev
> 
> 
>> Kori,
>> 
>> I've just recently joined the ranks of a Revolution user.  I found Dan
>> Shafe's book "Software at the Speed of Thought" very helpful.  I'm not
>> developing games but I found his book a great asset when learing
>> scripting.
>> 
>> Jeff


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Resize stack, OSX= OK , Windows KO

2006-01-03 Thread Pierre Bernaert


Many thanks to Ken and Sarah for their good guess
It works OK

Thanks again

Pierre

Le 2 janv. 06 à 21:27, Ken Ray a écrit :


On 1/2/06 11:54 AM, "Pierre Bernaert" <[EMAIL PROTECTED]> wrote:


• On "Windows" :  • I can resize the Stack

• I Can't resize the sub-stacks (Arrows are not appearing).

I didn't find anything on documentation neither on "How to use
Revolution"

What do I miss ?


A bug that prevents this from happening if the decorations of the  
stack are
not "default". If you set the decorations of your substacks to  
"default", it

should work again. (See Bugs #2178 and #2340)


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

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Game Source Information for Rev

2006-01-03 Thread Janus Jakaterina
Kori

You also might want to take a look at
http://pipmak.sourceforge.net/. Pipmak is
cross-platform, open-source, and designed for making
Myst-clones. It uses Lua scripting, which was also
used in the later Lucas Arts games (e.g., Grim
Fandango). 



__ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: More Scope Problems

2006-01-03 Thread Mark Smith

Also, if there is any scope ambiguity, it helps to be explicit:

send "stackInitialize" to stack "stackA" or send "stackInitialize" to  
me (if the card doesn't handle it, it'll go to the stack)


or even

set the defaultStack to "stackA"

Mark


On 3 Jan 2006, at 16:34, Rob Cozens wrote:


Morning Dave,


I have number of stacks:

StackA
StackB
StackC

In the preOpenStack hander of Card 1 of StackA, I load some other  
stacks using the:


go invisible stack "StackB"
close stack "StackB"

(The above it just to get the stack loaded and to setup some  
values that are needed by StackA)


Then I do the following:

send "StackInitialize" to this stack

Which should (unless I am wrong) call the "StackInitialize"  
handler in StackA.


I cannot tell you positively what is going wrong; but offer the  
following comments and suggestions:


* Unless the destroyStack property of Stack B is true, it is still  
in RAM after you close it.  Apparently it is (at least sometimes)  
still in the message path despite being closed.


* You _might_ solve the problem by adding to the StackInitialize  
handlers:


if the name of the target is not the name of me then pass  
StackInitialize


* You can initialize variables and such from Stack B without  
opening it:


Instead of 'go invisible stack "Stack B"', try 'start using stack  
"Stack B"'.  In Stack B's stack script add--


on libraryStack
-- initialization
end libraryStack

* You can get & set values for Stack B without going to it:

get field x of card y of stack "Stack B"
set the icon of button q of card r of stack "Stack B" to  
myIcon


Rob Cozens CCW
Serendipity Software Company

"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 (1572-1631)
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: SQL Statement on Multiple Lines

2006-01-03 Thread Jim Ault
On 1/3/06 7:18 AM, "Bill" <[EMAIL PROTECTED]> wrote:
>the "\"  (...) Can't be
> used to split a string.

There is a very good reason for this convention:
This allows you to use any words you want in a text string and they will not
be confused with commands.  Imagine wanting to use the word "repeat" in a
paragraph that the user will read, but the compiler said 'too, bad, it is a
reserved word'.  And all the others = "it, for, when, put, end, while,
format, folder, file, into, "

Basically, the compiler is digesting variables, assignments, repeat loops,
reserved words, etc, but *suspends* this while scanning a text string,
therefore, it does detect special structures like end-of-command-line.

HTH
Jim Ault
Las Vegas


On 1/3/06 7:18 AM, "Bill" <[EMAIL PROTECTED]> wrote:

> I always wondered why sometimes the "\" character didn't work. I thought it
> was me and I just started making extremely long lines in my code. Can't be
> used to split a string. Geez. I guess there is a complex reason for that
> related to hexadecimal inputs through the hyperspatial tuning of the
> dilithium crystal memory stacks or some such.
> 
> 
> On 1/2/06 4:41 PM, "Jim Ault" <[EMAIL PROTECTED]> wrote:
> 
>>> two lines it dies.  I've tried using the / with no luck.
>> The correct character is "\"
>> 
>> Not sure what you are doing specifically, but remember, the "\" cannot be
>> used to split a string:
>> NO:
>> put "the lazy brown dog jumped \
>> and bit the mailman" into neverHappened
>> 
>> Yes, even in the multi-line message box:
>> put " the lazy mailman bit " & \
>> "the brown dog" into newsAtSix
>> 
>> 
>> Jim Ault
>> Las Vegas
>> 
>> On 1/2/06 12:34 PM, "Jeff Honken" <[EMAIL PROTECTED]> wrote:
>> 
>>> Is there any way to have a SQL statement on multiple lines.  My code
>>> works great if the statement is all on one line but once I try to go to
>>> two lines it dies.  I've tried using the / with no luck.  Here's a very
>>> cut down version of what I'm trying:
>>> 
>>> --> CONSTRUCT SQL
>>>   put "CREATE TABLE Provider
>>> (ProvAutoNo INTEGER PRIMARY KEY, ProvActive text)" into tSQL
>>>   --> EXECUTE SQL
>>>   put revdb_execute(gConID,tSQL) into tList
>>> 
>>> The Provider table is actually very large.
>>> 
>>> 
>>> ___
>>> use-revolution mailing list
>>> use-revolution@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your subscription
>>> preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>> 
>> 
>> ___
>> use-revolution mailing list
>> use-revolution@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> |||
>)_)  )_)  )_)
>   )___))___))___)\
>  )))_)\\
>_|||\\\__
> ---\   /- http://www.bluewatermaritime.com
>  ^ ^
>      ^^^^^
>  ^^^
> 
> 24 hour cell: (787) 378-6190
> fax: (787) 809-8426
> 
> Blue Water Maritime
> P.O. Box 91
> Puerto Real, PR 00740
> 
> 
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Game Source Information for Rev

2006-01-03 Thread ACR
Thanks for the suggestion. I already have bought a copy, but have not read
it yet. I am still going though tutorials from Revolution site.

Thanks
Kori

- Original Message - 
From: "Jeff Honken" <[EMAIL PROTECTED]>
To: "'How to use Revolution'" 
Sent: Tuesday, January 03, 2006 10:38 AM
Subject: RE: Game Source Information for Rev


> Kori,
>
> I've just recently joined the ranks of a Revolution user.  I found Dan
> Shafe's book "Software at the Speed of Thought" very helpful.  I'm not
> developing games but I found his book a great asset when learing
> scripting.
>
> Jeff
>
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of ACR
> Sent: Tuesday, January 03, 2006 10:10 AM
> To: Revolution
> Subject: Game Source Information for Rev
>
> I recently bought my Revolution software. I am in the process of making
> a small adventure game. It is a point and click game, usually called a
> Myst clone. I had to choose between Revolution and Director for my game
> software. As I understand it, the first Myst game was make with
> Hypercard (Revolution).
>
> Since I am new to Revolution, I am lost in a sea of Commands. I probably
> don't need to learn all of them, probably only a few dozen Commands for
> my game. Commands such as go to the next images, start/stop background
> sound, start/stop music, start a sprite, start/stop an animation, and so
> on and so on. And I will need to make some puzzles which will require
> Functions probably.
>
> All I have found in user stacks so far are applications. Are there an
> adventure game stacks I could take apart and learn from? Are there any
> books on the subject?
>
> I am starting from the beginning, so any information source will help.
>
> Thanks
>
> Kori
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Game Source Information for Rev

2006-01-03 Thread Jeff Honken
Kori,  

I've just recently joined the ranks of a Revolution user.  I found Dan
Shafe's book "Software at the Speed of Thought" very helpful.  I'm not
developing games but I found his book a great asset when learing
scripting.

Jeff



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of ACR
Sent: Tuesday, January 03, 2006 10:10 AM
To: Revolution
Subject: Game Source Information for Rev

I recently bought my Revolution software. I am in the process of making
a small adventure game. It is a point and click game, usually called a
Myst clone. I had to choose between Revolution and Director for my game
software. As I understand it, the first Myst game was make with
Hypercard (Revolution). 

Since I am new to Revolution, I am lost in a sea of Commands. I probably
don't need to learn all of them, probably only a few dozen Commands for
my game. Commands such as go to the next images, start/stop background
sound, start/stop music, start a sprite, start/stop an animation, and so
on and so on. And I will need to make some puzzles which will require
Functions probably. 

All I have found in user stacks so far are applications. Are there an
adventure game stacks I could take apart and learn from? Are there any
books on the subject? 

I am starting from the beginning, so any information source will help. 

Thanks

Kori
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: More Scope Problems

2006-01-03 Thread Rob Cozens

Morning Dave,


I have number of stacks:

StackA
StackB
StackC

In the preOpenStack hander of Card 1 of StackA, I load some other 
stacks using the:


go invisible stack "StackB"
close stack "StackB"

(The above it just to get the stack loaded and to setup some values 
that are needed by StackA)


Then I do the following:

send "StackInitialize" to this stack

Which should (unless I am wrong) call the "StackInitialize" handler 
in StackA.


I cannot tell you positively what is going wrong; but offer the 
following comments and suggestions:


* Unless the destroyStack property of Stack B is true, it is still in 
RAM after you close it.  Apparently it is (at least sometimes) still 
in the message path despite being closed.


* You _might_ solve the problem by adding to the StackInitialize handlers:

if the name of the target is not the name of me then pass 
StackInitialize


* You can initialize variables and such from Stack B without opening it:

Instead of 'go invisible stack "Stack B"', try 'start using stack 
"Stack B"'.  In Stack B's stack script add--


on libraryStack
-- initialization
end libraryStack

* You can get & set values for Stack B without going to it:

get field x of card y of stack "Stack B"
set the icon of button q of card r of stack "Stack B" to myIcon

Rob Cozens CCW
Serendipity Software Company

"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 (1572-1631) 


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Set the icon to (icon of another stack)

2006-01-03 Thread Rob Cozens

Hi Paul,


3) 'Start using' or 'set defaultStack' does'nt change the things.


Try:

start using stack "x3"
lock screen
repeat with x = 1 to the number of buttons
set the icon of button x to (the icon of button x)
end repeat
unlock screen

or going to another card in stack "x1".

Basically, you need to redraw the screen to see the new icons.

If this doesn't work, let me know and I'll help you search for a 
better answer.  Since HyperCard days I have mused about changing the 
look and feel of a stack by doing exactly what you are trying to do; 
but I've yet to have a need for that in the applications I'm programming.


Rob Cozens CCW
Serendipity Software Company

"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 (1572-1631) 


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Detecting Design Time Status

2006-01-03 Thread Rob Cozens

Hi Graham,


Sometimes it seems to me that there's a ghost in the machine.


send someMessage to someObject in someFutureTime [seconds,ticks]

will ensconce a "ghost" that will come back to "haunt" you in 
someFutureTime when in the IDE.


BTW, this also holds true when a stack is not the topStack [or even 
the top application?], whether it's running from the IDE or a standalone.


Rob Cozens, CCW
Serendipity Software Company

Vive R Revolution! 


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Game Source Information for Rev

2006-01-03 Thread ACR
I recently bought my Revolution software. I am in the process of making a small 
adventure game. It is a point and click game, usually called a Myst clone. I 
had to choose between Revolution and Director for my game software. As I 
understand it, the first Myst game was make with Hypercard (Revolution). 

Since I am new to Revolution, I am lost in a sea of Commands. I probably don't 
need to learn all of them, probably only a few dozen Commands for my game. 
Commands such as go to the next images, start/stop background sound, start/stop 
music, start a sprite, start/stop an animation, and so on and so on. And I will 
need to make some puzzles which will require Functions probably. 

All I have found in user stacks so far are applications. Are there an adventure 
game stacks I could take apart and learn from? Are there any books on the 
subject? 

I am starting from the beginning, so any information source will help. 

Thanks

Kori
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


More Scope Problems

2006-01-03 Thread David Burgun

Hi,

I have a problem that is baffling me. I have number of stacks:

StackA
StackB
StackC

In the preOpenStack hander of Card 1 of StackA, I load some other 
stacks using the:


go invisible stack "StackB"
close stack "StackB"

(The above it just to get the stack loaded and to setup some values 
that are needed by StackA)


Then I do the following:

send "StackInitialize" to this stack

Which should (unless I am wrong) call the "StackInitialize" handler 
in StackA. This happens some of the time, but about 50% of the time 
control is passed to the "StackInitialize" handler in StackB (Both 
stacks have a handler of this name), so I don't get an error. I have 
added a breakpoint statement (since the debugger is flakey and won't 
stop on a normal breakpoint) just before the send "StackInitialize" 
to this stack statement and if I step into the "StackInitialize" 
handler, about 50% of the time control is passed to StackB, not 
StackA. If, before I step into the handler I do:


put the name of this stack

from the Message Box, it says "StackA", yet when I step, it goes to "StackB".

Can anyone shed some light on this and tell me what I am doing wrong?

Thanks a lot, and Happy New Year
Dave

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Transporting icons to Windows

2006-01-03 Thread Stgoldberg
Thanks Xavier. Works beautifully and much simpler than I thought.   Wierdly, 
I think you anwered my question before I even posted it.   I love this group.
Steve Goldberg

In a message dated 1/3/06 10:19:25 AM, 
[EMAIL PROTECTED] writes:


> From: [EMAIL PROTECTED]
> Subject: Re:Transporting icons to Windows
> To: How to use Revolution 
> Message-ID:
>     <
> [EMAIL PROTECTED]>
>    
> Content-Type: text/plain;    charset="US-ASCII"
> 
> Hi Steve,
> 
> in the application building options you'll find the windows icon path
> field... just insert the path to the icons
> there...
> 
> cheers
> Xavier
> 
> [EMAIL PROTECTED] wrote on 03/01/2006 14:14:39:
> 
> > I have iconographer, but a simple question: After transferring the
> ".ico"
> > graphic to the Windows hard drive, how do you actually incorporate the
> ".ico"
> > graphic into the Revolution built application?   If I create a
> > "Shortcut" to the
> > Rev application in Windows, the "Properties" window of the shortcut
> > does allow
> > for changing the shortcut icon, but I don't see how to add the icon to
> the
> > main Rev application. Any suggestion? Thanks.
> > Steve Goldberg
> 

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: SQL Statement on Multiple Lines

2006-01-03 Thread Bill
I always wondered why sometimes the "\" character didn't work. I thought it
was me and I just started making extremely long lines in my code. Can't be
used to split a string. Geez. I guess there is a complex reason for that
related to hexadecimal inputs through the hyperspatial tuning of the
dilithium crystal memory stacks or some such.


On 1/2/06 4:41 PM, "Jim Ault" <[EMAIL PROTECTED]> wrote:

>> two lines it dies.  I've tried using the / with no luck.
> The correct character is "\"
> 
> Not sure what you are doing specifically, but remember, the "\" cannot be
> used to split a string:
> NO:
> put "the lazy brown dog jumped \
> and bit the mailman" into neverHappened
> 
> Yes, even in the multi-line message box:
> put " the lazy mailman bit " & \
> "the brown dog" into newsAtSix
> 
> 
> Jim Ault
> Las Vegas
> 
> On 1/2/06 12:34 PM, "Jeff Honken" <[EMAIL PROTECTED]> wrote:
> 
>> Is there any way to have a SQL statement on multiple lines.  My code
>> works great if the statement is all on one line but once I try to go to
>> two lines it dies.  I've tried using the / with no luck.  Here's a very
>> cut down version of what I'm trying:
>> 
>> --> CONSTRUCT SQL
>>   put "CREATE TABLE Provider
>> (ProvAutoNo INTEGER PRIMARY KEY, ProvActive text)" into tSQL
>>   --> EXECUTE SQL
>>   put revdb_execute(gConID,tSQL) into tList
>> 
>> The Provider table is actually very large.
>> 
>> 
>> ___
>> use-revolution mailing list
>> use-revolution@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

|||
   )_)  )_)  )_)
  )___))___))___)\
 )))_)\\
   _|||\\\__
---\   /- http://www.bluewatermaritime.com
 ^ ^
     ^^^^^
     ^^^

24 hour cell: (787) 378-6190
fax: (787) 809-8426

Blue Water Maritime
P.O. Box 91
Puerto Real, PR 00740



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Set the icon to (icon of another stack)

2006-01-03 Thread Eric Chatonet

Hi Paul,

Images are the only objects the IDs of which can be changed:
Just change the IDs of some images to avoid any conflict :-)
And keep on hand the IDs list :-)

In order to be meticulous, you can store all images in a stack or a  
substack, or put them onto a specific card dedicated to them.


Le 3 janv. 06 à 14:09, Paul Claude a écrit :

Think to have 3 open stacks, named x1, x2 and x3, and opened in  
this order.

Stack X2 and Stack X3 have two images with the same ID (i.e. 1008).

How you set the icon of a button in stack x1 with the image id 1008  
of stack

x3?

1) Using: set the icon of btn y to 1008 shows the icon of stack x2
2) Using:
set the icon of btn y to (image ID 1008 of stack thelongfilepath)  
shows

nothing
3) 'Start using' or 'set defaultStack' does'nt change the things.


Best Regards from Paris,
Eric Chatonet
 
--

http://www.sosmartsoftware.com/[EMAIL PROTECTED]/


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


data files for Rev Online?

2006-01-03 Thread Jerry Muelver
Can I upload data files to my space on RevOnline? The *.rev files will go, I 
know, but my little app has a couple of demo data files to go along with it. 
I'd like to upload a package like the WikiRev zip file on 
http://hytext.com/rev/


Maybe I should write a stack that harbors the data files, and unpacks them 
to the user's disk when run. Then I'd be uploading *.rev files only.


Hmmm I guess I just answered my own question. However, that source has 
proven, in the past, to have variable reliability


 Jerry Muelver 


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re:Transporting icons to Windows

2006-01-03 Thread xavier . bury
Hi Steve,

in the application building options you'll find the windows icon path 
field... just insert the path to the icons
there...

cheers
Xavier

[EMAIL PROTECTED] wrote on 03/01/2006 14:14:39:

> I have iconographer, but a simple question: After transferring the 
".ico" 
> graphic to the Windows hard drive, how do you actually incorporate the 
".ico" 
> graphic into the Revolution built application?   If I create a 
> "Shortcut" to the 
> Rev application in Windows, the "Properties" window of the shortcut 
> does allow 
> for changing the shortcut icon, but I don't see how to add the icon to 
the 
> main Rev application. Any suggestion? Thanks.
> Steve Goldberg
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution



-
To make communications with Clearstream easier, Clearstream has
recently changed the email address format to conform with industry
standards. The new format is '[EMAIL PROTECTED]'.

Visit us at http://www.clearstream.com

IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents of
this message.

The information contained in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee. If you are
not the intended recipient, any disclosure, copying, distribution or
any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically
states them to be the views of Clearstream International or of any of
its affiliates or subsidiaries.

END OF DISCLAIMER
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Transporting icons to Windows

2006-01-03 Thread Stgoldberg
I have iconographer, but a simple question: After transferring the ".ico" 
graphic to the Windows hard drive, how do you actually incorporate the ".ico" 
graphic into the Revolution built application?   If I create a "Shortcut" to 
the 
Rev application in Windows, the "Properties" window of the shortcut does allow 
for changing the shortcut icon, but I don't see how to add the icon to the 
main Rev application. Any suggestion? Thanks.
Steve Goldberg
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Set the icon to (icon of another stack)

2006-01-03 Thread Paul Claude
> Hi, Paul,
> 
> Don't confuse the "script of an object in the hierarchy" with the order of
> stack windows you ³see².
> 
> Invoking 'start using' places the *stack script* of that stack in the
> *message* hierarchy, not the stack itself.
> 
> Construct a reference to a stack by name and that will be the location
> eg "image 1 of card id 1265 of stack "Image Lib People"
> 
> Also
>  if stored in a different folder use
> ³/Users/MyLogin/Documents/RevLibStacks/ImageLib.rev² for example.
> In Rev, the filePath is the location and name of the file or folder whose
> long equivalent you want.
> put the longfilepath of the filename of this stack
> If you specify a name but not a location, Revolution assumes the stack is in
> the defaultFolder.

Hi Jim,

My problem is a little different.

Think to have 3 open stacks, named x1, x2 and x3, and opened in this order.
Stack X2 and Stack X3 have two images with the same ID (i.e. 1008).

How you set the icon of a button in stack x1 with the image id 1008 of stack
x3?

1) Using: set the icon of btn y to 1008 shows the icon of stack x2
2) Using: 
set the icon of btn y to (image ID 1008 of stack thelongfilepath) shows
nothing
3) 'Start using' or 'set defaultStack' does'nt change the things.


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Thread problem

2006-01-03 Thread Paul Claude
I have a little problem posting messages to this list. I've asked several
times for a solution to heather at runrev.com, but without any answer, so I
ask directly to you.

I've made many posts to this list, but everytime my posts open a new thread,
I cannot continue an existing one. How can I post in a existing thread (I
use Microsoft Entourage X on a Mac)?

Greetings

PaulClaude


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


players duration differs from actual total time

2006-01-03 Thread Ferdinand

Hello,

I want to manage mp3-files within Revolution.
Everything works fine, but  the duration of the player (divided by the 
timeScale) gives a longer total time compared to the total time of the 
same mp3-file if I open it with iTunes or Quicktime player.
It is 1 second more in about 6 minutes. For my program it is important 
to have the exact position of the player, which should be the same as 
if the mp3 file was opened with iTunes, or Quicktime player.

How could I solve this, or what could be the problem here?
I am using 2.0 on Mac OS X 10.3.9
In the trial version 2.6 I have the same problems.

Thanks in advance for any help.

Ferdinand.


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to check the HTTP web server respond speed

2006-01-03 Thread alex wu
Hello all,

Thanks for your assistance!

I modified the function according to your information.
 The Server_Speed of some top websites range from
0.013 to 0.025 seconds.  This seems to be more
reasonable.

function haveIPconnect
  put fld "domain" into theHostName
  if colon is not in theHostName then
put colon & "80|test" after theHostName
  end if
  
  ## Record the start time
  put the long seconds into startTime

  open socket theHostName
  if theHostName is among the lines of the openSockets
then

##Write to socket while it's open
write "h" to socket theHostName

## Calculate the response time
put the long seconds - startTime into Server_Speed

close socket theHostName
return true
  else
beep
answer warning "The site may be down"
return false
  end if
end haveIPconnect


Best regards

Alex

--- Alex Tweedly <[EMAIL PROTECTED]> wrote:

> alex wu wrote:
> 
> >Hello,
> >
> >I want to compare the speed of webservers.  I try
> to
> >use the following function.  However the respond
> time
> >(Server_Speed) of almost all servers I test is
> zero. 
> >I don't believe that the response speed of all
> >webservers are so fast - zero.  There must be some
> >problem with the way I calculate it.  Please help.
> >
> >  
> >
> Alex,
> 
> your problem is that "open socket" doesn't wait
> until the connection is 
> established. From the docs:
> 
> > When a connection is made, the open socket command
> creates a new 
> > socket that can be used to communicate with the
> other system. The 
> > handler continues executing while the connection
> is being established. 
> > If you use the write to socket command while the
> connection is 
> > opening, the data is buffered and is sent to the
> host as soon as the 
> > connection is made.
> 
> You should be able to write a single byte to the
> socket - write to 
> socket does pause until the write is completed so
> this should give you 
> valid timings.
> 
> ("valid timings" - this will give you approximately
> valid timings for 
> connection establishment - there's a lot more than
> that involved in the 
> overall speed of a web server, so I'd be very
> careful how much I read 
> into these results ...)
> 
> >function haveIPconnect
> >  put fld "domain" into theHostName
> >  if colon is not in theHostName then
> >put colon & "80|test" after theHostName
> >  end if
> >  
> >  ## Record the start time
> >  put the long seconds into startTime
> >
> >  open socket theHostName
> >  
> >
> >  if theHostName is among the lines of the
> openSockets
> >then
> >
> >## Calculate the response time
> >put the long seconds - startTime into
> Server_Speed
> >
> >close socket theHostName
> >return true
> >  else
> >beep
> >answer warning "The site may be down"
> >return false
> >  end if
> >end haveIPconnect
> >
> >  
> >
> 
> -- 
> Alex Tweedly   http://www.tweedly.net
> 
> 
> 
> -- 
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.371 / Virus Database: 267.14.9/217 -
> Release Date: 30/12/2005
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and
> manage your subscription preferences:
>
http://lists.runrev.com/mailman/listinfo/use-revolution
> 





__ 
Yahoo! for Good - Make a difference this year. 
http://brand.yahoo.com/cybergivingweek2005/
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to check the HTTP web server respond speed

2006-01-03 Thread Eric Chatonet

Hi Alex,

The following works here:

function haveIPconnect
  local theHostName,tstartTime
  -
  put fld "domain" into theHostName
  if colon is not in theHostName then
put colon & "80|test" after theHostName
  end if
  put the long seconds into tstartTime
  -
  open socket theHostName
  if theHostName is among the lines of openSockets() then
return (the long seconds - tstartTime)
  end if
  return "error"
end haveIPconnect

Returns 0.22 for my own website.

Best Regards from Paris,
Eric Chatonet

Le 3 janv. 06 à 11:03, alex wu a écrit :


Hello,

I want to compare the speed of webservers.  I try to
use the following function.  However the respond time
(Server_Speed) of almost all servers I test is zero.
I don't believe that the response speed of all
webservers are so fast - zero.  There must be some
problem with the way I calculate it.  Please help.

function haveIPconnect
  put fld "domain" into theHostName
  if colon is not in theHostName then
put colon & "80|test" after theHostName
  end if

  ## Record the start time
  put the long seconds into startTime

  open socket theHostName
  if theHostName is among the lines of the openSockets
then

## Calculate the response time
put the long seconds - startTime into Server_Speed

close socket theHostName
return true
  else
beep
answer warning "The site may be down"
return false
  end if
end haveIPconnect


Thanks and best regards

Alex


 
--

http://www.sosmartsoftware.com/[EMAIL PROTECTED]/


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to check the HTTP web server respond speed

2006-01-03 Thread Alex Tweedly

alex wu wrote:


Hello,

I want to compare the speed of webservers.  I try to
use the following function.  However the respond time
(Server_Speed) of almost all servers I test is zero. 
I don't believe that the response speed of all

webservers are so fast - zero.  There must be some
problem with the way I calculate it.  Please help.

 


Alex,

your problem is that "open socket" doesn't wait until the connection is 
established. From the docs:


When a connection is made, the open socket command creates a new 
socket that can be used to communicate with the other system. The 
handler continues executing while the connection is being established. 
If you use the write to socket command while the connection is 
opening, the data is buffered and is sent to the host as soon as the 
connection is made.


You should be able to write a single byte to the socket - write to 
socket does pause until the write is completed so this should give you 
valid timings.


("valid timings" - this will give you approximately valid timings for 
connection establishment - there's a lot more than that involved in the 
overall speed of a web server, so I'd be very careful how much I read 
into these results ...)



function haveIPconnect
 put fld "domain" into theHostName
 if colon is not in theHostName then
   put colon & "80|test" after theHostName
 end if
 
 ## Record the start time

 put the long seconds into startTime

 open socket theHostName
 


 if theHostName is among the lines of the openSockets
then

   ## Calculate the response time
   put the long seconds - startTime into Server_Speed

   close socket theHostName
   return true
 else
   beep
   answer warning "The site may be down"
   return false
 end if
end haveIPconnect

 



--
Alex Tweedly   http://www.tweedly.net



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.9/217 - Release Date: 30/12/2005

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


How to check the HTTP web server respond speed

2006-01-03 Thread alex wu
Hello,

I want to compare the speed of webservers.  I try to
use the following function.  However the respond time
(Server_Speed) of almost all servers I test is zero. 
I don't believe that the response speed of all
webservers are so fast - zero.  There must be some
problem with the way I calculate it.  Please help.

function haveIPconnect
  put fld "domain" into theHostName
  if colon is not in theHostName then
put colon & "80|test" after theHostName
  end if
  
  ## Record the start time
  put the long seconds into startTime

  open socket theHostName
  if theHostName is among the lines of the openSockets
then

## Calculate the response time
put the long seconds - startTime into Server_Speed

close socket theHostName
return true
  else
beep
answer warning "The site may be down"
return false
  end if
end haveIPconnect


Thanks and best regards

Alex



__ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Detecting Design Time Status

2006-01-03 Thread Scott Kane

> I understand this, but to me there is an underlying question in this  
> area, which is why when no special tool-detection code is inserted,  
> bits (scripts) of one's app continue to run under the IDE 
> while other  
> bits stop as soon as one switches away from the browse tool. I have  
> been vaguely aware of this for some time but have never tracked it  
> down. Maybe it's scripts running from palette-style stacks 
> that don't  
> stop? There must be rules governing this, but what are they?  
> Sometimes it seems to me that there's a ghost in the machine. In  
> general although not totally averse, I'm not keen to add IDE- 
> detection code to my stacks when it will never be of any use in the  
> final standalone.

It happens to me only when I play media files (sound)
using the Play function and when I have card script
that moves to the next card via a timer.

Scott


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Detecting Design Time Status

2006-01-03 Thread graham samuel

On Tue, 3 Jan 2006 03:44:52 -0200, Andre Garzia <[EMAIL PROTECTED]> wrote:


On Jan 3, 2006, at 2:39 AM, Scott Kane wrote:



Hi folks,

I've noticed that some stacks continue running
when the application is put back into design
time in the inspector.  Is it possible to detect
design time in script in order to stop the stack
in question from running?

Scott




Scott,

There is a function called tool that will return the current tool,
you use the "browse tool" to interact with your stacks and other
tools to modify it, so by checking for the "browse tool" you'll be
able to see if you should go on...

script:

if the tool is "browse tool" then bla bla bla


I understand this, but to me there is an underlying question in this  
area, which is why when no special tool-detection code is inserted,  
bits (scripts) of one's app continue to run under the IDE while other  
bits stop as soon as one switches away from the browse tool. I have  
been vaguely aware of this for some time but have never tracked it  
down. Maybe it's scripts running from palette-style stacks that don't  
stop? There must be rules governing this, but what are they?  
Sometimes it seems to me that there's a ghost in the machine. In  
general although not totally averse, I'm not keen to add IDE- 
detection code to my stacks when it will never be of any use in the  
final standalone.


Graham


Graham Samuel / The Living Fossil Co. / UK

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: One cute hack for MacOS X (... or nice internet protocol helper hacks...)

2006-01-03 Thread Garrett Hylltun


On Jan 2, 2006, at 9:43 PM, Ken Ray wrote:


On 1/2/06 11:21 PM, "Andre Garzia" <[EMAIL PROTECTED]> wrote:


Hi Folks,

this email is about a little nice hack I made today. Here I present
the steps for making URLs like:

x-dreamcard://www.mysweetserver/mySweetStack.rev


That's so cool, Andre! Nicely done... any idea on how to do it on  
Windows?




Try adding a mime type in the internet settings of the windows  
control panel.


-Garrett
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: One cute hack for MacOS X (... or nice internet protocol helper hacks...)

2006-01-03 Thread Dave Cragg


On 3 Jan 2006, at 06:57, Richard Gaskin wrote:


Andre Garzia wrote:

On Jan 3, 2006, at 3:43 AM, Ken Ray wrote:
That's so cool, Andre! Nicely done... any idea on how to do it  
on  Windows?


;-)
I bet it's a registry hack, might even be easier than Macs...  
I'll  find out and tell you! ;-)
the beauty of this solution is that the stacks never touch the  
disk,  it's all on memory, the GURLGURL event will tell rev a URL  
and Rev  will load it on the fly. It's not like Safari downloading  
the stack,  taging it as a safe file type and loading after the  
download. I don't  know if we have this kind of flexibility in  
windows, but I'll do some  research!


Is there a way to have a user set this up without having to do it  
manually themselves by downloading that specialized app?


It would be ideal if this could be set up via AppleScript, driven  
by the click of a button in our apps


Wouldn't this be opening up a huge security hole for users if it  
could be done this easily? If I understand this correctly, this would  
be similar to the "help" protocol security issue that was around with  
OS X 10.2.8 (or thereabouts). See the following URL.


  http://mamamusings.net/archives/2004/05/18/ 
serious_os_x_security_problem.php


Andre wrote:

What can you do with things such as this? Well, you can create  
educational resources as HTML and create little demo stacks, when  
the user clicks on the demo stack links inside the HTML, the app  
will load on demand inside Revolution (or Dreamcard player,  
whichever is available, you could even create your own loader using  
splash techniques), which would be a very easy student user  
experience.


Unfortunately, I think someone could also add links in web pages to  
stacks  that read/delete your hard drive contents, install and launch  
other apps, etc.


Sorry to be the doom merchant. :-)

Cheers
Dave
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution