Re: Title bar on the side

2005-03-31 Thread Varen Swaab
I also thought I'd seen this before but I could be wrong. I **could** 
fake it like Jacque's suggestion but dealing with the look and feel on 
both Mac & Win systems would be a real pain and perhaps not very 
convincing. I'd really prefer to have a programmed solution.

Thanks
Var
On Mar 31, 2005, at 11:17 PM, Scott Rossi wrote:
Recently, J. Landman Gay  wrote:
I'm trying to create a small palette window that has a title bar on 
the
left side (rather than the top) and I can't figure out how. I didn't 
see
any mention of this anywhere in the instructions. Does anyone have 
info
on whether this is possible?
It isn't built-in, but it would be pretty easy to fake, I think. Take 
a
screen shot of a system window that has the drag bar you want, and 
use a
graphics program to extract just the drag bar area. Import the image
into a Rev stack and place it at the left edge of the stack. Then 
script
the image with a mousedown handler that sets the location of the stack
to the location of the mouse, adjusted to global coordinates.
You know, I could swear I did the above at some point, and going back
through the archives, I found a reference to setting the decorations 
of a
stack to a numerical value.  Doing this in OSX works but there doesn't
appear to be a palette style with vertical drag strip, so this must 
have
worked only on pre-OSX systems.

Jacque's right, though, you could create your own drag strip image to
achieve the effect.
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
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


newbie database help

2005-03-31 Thread CogyFarm
I'm trying to create a database that has a form that is filled out from 
either a contained library of data or with new unknown data.  The 
hardest part is I want the user to be able to see a larger ( higher 
resolution ) image of the car if they do some action (hover?) over the 
image that the library has.  Also each car photo is preceded by the year 
then the identifier.  The problem comes in when there is more then one 
photo available.
2004-001.jpg
2004-001a.jpg
2004-001b.jpg
I need them to be able to "cycle" through each photo till they see the 
one they want and then associate that particular photo with the data in 
that record.  I want this to be as automated as possible.  Can anyone 
point me in the right general direction?  I just dl'd revolution and 
Dreamcard last night.  I have no idea what I'm doing yet or even which 
version I need.

Troy
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Title bar on the side

2005-03-31 Thread Scott Rossi
Recently, J. Landman Gay  wrote:

>> I'm trying to create a small palette window that has a title bar on the
>> left side (rather than the top) and I can't figure out how. I didn't see
>> any mention of this anywhere in the instructions. Does anyone have info
>> on whether this is possible?
> 
> It isn't built-in, but it would be pretty easy to fake, I think. Take a
> screen shot of a system window that has the drag bar you want, and use a
> graphics program to extract just the drag bar area. Import the image
> into a Rev stack and place it at the left edge of the stack. Then script
> the image with a mousedown handler that sets the location of the stack
> to the location of the mouse, adjusted to global coordinates.

You know, I could swear I did the above at some point, and going back
through the archives, I found a reference to setting the decorations of a
stack to a numerical value.  Doing this in OSX works but there doesn't
appear to be a palette style with vertical drag strip, so this must have
worked only on pre-OSX systems.

Jacque's right, though, you could create your own drag strip image to
achieve the effect.

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
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Title bar on the side

2005-03-31 Thread J. Landman Gay
On 3/31/05 8:50 PM, Varen Swaab wrote:
Hi
I'm trying to create a small palette window that has a title bar on the 
left side (rather than the top) and I can't figure out how. I didn't see 
any mention of this anywhere in the instructions. Does anyone have info 
on whether this is possible?
It isn't built-in, but it would be pretty easy to fake, I think. Take a 
screen shot of a system window that has the drag bar you want, and use a 
graphics program to extract just the drag bar area. Import the image 
into a Rev stack and place it at the left edge of the stack. Then script 
the image with a mousedown handler that sets the location of the stack 
to the location of the mouse, adjusted to global coordinates.

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


Re: UNICODE Update....fyi

2005-03-31 Thread Andrew Meit
Version 4.1 of the Unicode(R) Standard Released
MOUNTAIN VIEW, Calif., March 31 /PRNewswire/ -- The Unicode(R) 
Consortium announced today the release of the latest version of the 
Unicode Standard, Version 4.1.0. This version adds 1,273 new 
characters, including those necessary to complete roundtrip mapping of 
the HKSCS and GB 18030 standards, five new currency signs, some 
characters for Indic and Korean, and eight new scripts. In addition, 
there have been a number of significant additions and changes to the 
Unicode Character Database properties, which determine the behavior of 
characters in modern software.

Unicode 4.1 adds two new Unicode Standard Annexes: UAX #31: 
Identifier and Pattern Syntax and UAX #34: Unicode Named Character 
Sequences, and makes significant changes to other Unicode Standard 
Annexes. UAX #31 is of particular interest as a result of the broader 
incorporation of Unicode in protocols and programming languages. 
Applications from programming languages to international domain names 
require stable mechanisms for distinguishing both identifiers and 
syntax characters, even as characters for additional languages are 
added to the Unicode Standard.

The release of Unicode 4.1 will be soon followed by a new release 
of the Unicode Collation Algorithm, for language-sensitive sorting, 
searching, and matching; by Unicode Regular Expressions, setting the 
standard for handling Unicode character in regular expressions; and by 
a new draft of Unicode Security Considerations, for dealing with 
security issues posed by the large number of visually-similar 
characters in Unicode.

For complete details on Unicode 4.1, see 
http://www.unicode.org/versions/4.1.0/ . Those interested in the latest 
developments in software globalization can attend the next Unicode 
conference, April 6-8, 2005 in Berlin, Germany.

About the Unicode Standard
The Unicode Standard is a fundamental component of all modern 
software and information technology protocols. It provides a uniform, 
universal architecture and encoding for all languages of the world -- 
with over 96,000 characters currently encoded -- and is the basis for 
processing, storage, and seamless data interchange of text data 
worldwide. Unicode is required by modern standards such as XML, Java, 
C#, ECMAScript (JavaScript), LDAP, CORBA 3.0, WML, IDN, etc., and is 
the official way to implement ISO/IEC 10646.

About the Unicode Consortium
The Unicode Consortium is a non-profit organization founded to 
develop, extend and promote software globalization. The membership of 
the consortium represents a broad spectrum of corporations and 
organizations in the computer and information processing industry. Full 
members (the highest level) are: Adobe Systems, L'Agence 
intergouvernementale de la Francophonie, Apple Computer, Government of 
India -- Ministry of Information Technology, Government of Pakistan -- 
National Language Authority, HP, IBM, Justsystem, Microsoft, Monotype 
Imaging, Oracle, RLG, SAP, Sun Microsystems, and Sybase. In addition, 
there are about 100 Supporting, Associate, Liaison, and Individual 
members.

For more information, please contact the Unicode Consortium 
http://www.unicode.org .

SOURCE  Unicode Consortium
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Printing is driving me crazy

2005-03-31 Thread Chipp Walters
Also,
Don't forget:
Important!  If you have used the answer printer command during the 
current session, the paper size is set to the size selected in the 
dialog box, and it is not possible to change the printPaperSize 
property's value for the remainder of the current session. To use a 
different paper size after using the answer printer command, you must 
first quit and restart the application.

I know this doesn't pertain to printMargins, but it is something which 
sent me scratching my head until I noticed this.

-Chipp
Sarah Reichelt wrote:
I don't know how Rev handles you setting the margins in Page Setup.. but 
you can easily set them in your script:
set the printMargins to "50,50,50,50"
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Speech in standalone - help!

2005-03-31 Thread Sarah Reichelt
I need some advice on how to get speech working in a standalone app.  
I'm working on a (for me) big video script-writing utility that I want 
to feature a preview facility using text-to-speech.  (OS X only)

Now... speech works easily in development version running with Rev, 
but when I build a standalone, it fails.

Here is a simple rev stack with one button and one field:
www.chriscd.dsl.pipex.com/Speech_test.zip

The development stack works fine.
The OS X app doesn't work.  I *did* select speech as an option in 
standalone maker, but no external resources seem to be copied over.  I 
note that on the Windows side, "revspeech.dll" gets copied to 
destination.  Should there not be some kind of OS X equivalent 
(presumably, "revspeech.bundle" ?)  I tried manually copying this file 
to the application root, but still nothing.  What am I doing wrong?

Some versions of Rev had a problem copying OS X externals to the 
applications and then sometimes wouldn't even use them if you copied 
them manually.

You need to open the OS X application bundle after it is built - 
right-click or control-click on the application and choose "Show 
Package Contents". Burrow down through the folders: Contents -> MacOS 
-> externals
I would guess that the externals folder is empty - copy the 
revspeech.bundle manually to this folder and try it again. If this 
still doesn't work, alter your "enableLibraries" handler to point to 
the right place and see if that helps.

Upgrading to the latest version of Rev will also solve this :-)
Cheers,
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [off]altBrowser users

2005-03-31 Thread Sarah Reichelt
I'm not using it at the moment, but I plan to embed it in another app 
to provide strictly controlled access to selected web sites only. This 
is for use in a kiosk situation, where the customers would like access 
to certain information on the web, but cannot be allowed to use the 
kiosk for random surfing.

Sarah
On 01/04/2005, at 5:08 AM, Mikey wrote:
I got an email from RR today stating that with the purchase of Studio,
they're tossing in altBrowser.
What are all of you using altBrowser for?  I can think of several uses
off the top of my head, but I didn't know who is using it and what
they think of it.
--
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Printing is driving me crazy

2005-03-31 Thread Sarah Reichelt
1. I arranged for the initialisation routine in my app to read the 
paper size and the margins and to make my stack the same size as the 
printPaperSize and my print area the same size as the page minus the 
margins.
Make the card the same size as the print area i.e. the printPaperSize 
less the printMargins.
Have your printable objects fill the card so there is no excess space 
left at the margins of the card.
 I then attempted to construct something to print. The card to be 
printed looks perfectly OK, but the printer doubles the left margin 
from the absurdly large 72 points (more later) to a completely daft 
144 points - at least it looks that way. This shows up even on the OSX 
preview, and even when I propose to print on a different printer, 
which makes me think it must be me, except for the screen appearance 
and dimensions of the card to be printed, which look OK. For example, 
the left hand edge of the field to be printed is definitely 72 pixels 
from the edge of the card, and the card is definitely 594 pixels wide, 
which corresponds to the width of an A4 page. I just can't guess what 
I'm doing wrong.
For testing purposes, I make a rectangle that fills the card. When 
using Print preview or doing test prints, this makes it easier to work 
out exactly what margins are being applied.
2. I find that if I  run a 'Page Setup' routine by calling 'answer 
printer', I can alter the printPaperSize, even switching from portrait 
to landscape; but even if I change the margins in the OS dialog (there 
is a trick - Custom Paper Size - for doing this), they don't change 
within the RunRev environment. I suppose that I could introduce a 
dialog of my own to change the margins, but then I wouldn't know how 
near the edge I could take them (I've Bugzilla'd this one). How do 
other people cope with this?
I don't know how Rev handles you setting the margins in Page Setup.. 
but you can easily set them in your script:
set the printMargins to "50,50,50,50"

HTH,
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Title bar on the side

2005-03-31 Thread Varen Swaab
Hi
I'm trying to create a small palette window that has a title bar on the 
left side (rather than the top) and I can't figure out how. I didn't 
see any mention of this anywhere in the instructions. Does anyone have 
info on whether this is possible?

Thanks
Var
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Printing examples?

2005-03-31 Thread Chipp Walters
Hi Graham,
Recently, I bit the bullet and created my own print routines which print 
a field of htmlText of any size. It also has a nifty feature in that it 
creates preview imgs on the fly.

Basically, it's pretty simple. Here's how I did it.
I create two separate stacks: Print and OffScreenPrint
The Print stack has a substack called "Preview"
The reason for the 2 stacks, is that you need to be able to 'save' the 
offscreen stack after you set the "formatForPrinting" property (Windows 
only).

Forgetting for a moment the print preview mode, the guts look like this:
Call the PageSetup function (answer printer) and from this you get the 
printPaperSize (tPageHeight and tPageWidth). You can use these to setup 
your offscreen imaging stack. You also get the printMargins as well. Use 
these also to setup your offscreen print stack.

Before calling the print routine, you'll want to 'render' all your text 
to the offscreen stack. Basically, you copy it to the main field of the 
offscreen stack (or set the htmlText of the field) then check to see if 
the formattedheight is too great for the field. Remove words (or 
paragraphs, your choice) from the end until the field fits on the card 
w/out overflowing. Then create a new card and continue. Do this until 
all your text/htmltext is gone. Now you have a bunch of cards in your 
offscreen stack to print from.

You can easily use shared groups (backgrounds) for adding headers and 
footers.

Before printing, set the formatForPrinting prop to true and save (you 
don't want to copy/paste stuff while it's set to true because it may 
cause problems). Now close the stack (delete stack will remove it from 
memory, which is what you want to do) and open it back up offscreen.

Oh, btw, you want to set the margins of your fields on the offscreen 
stack to something high (I use 10) to keep it from 'cutting off letters.'

Now, the guts of the printing goes something like this:
open printing with dialog
put item 1 of printPaperSize into tW
put item 2 of printPaperSize into tH
--> DO PAGE CREATION STUFF HERE
--> COPY THE TEXT TO STACK "offscreenPrint"
--> CREATING A NEW CARD FOR OVERFLOW UNTIL NO MORE OVERFLOW
--> SET formatForPrinting to True AND SAVE STACK THEN CLOSE/OPEN
put the number of cds in stack "offscreenPrint" into tNumPages
set the defaultStack to "offscreenPrint"
repeat with x = 1 to tNumPages
go cd x
print card into 0,0,tW,tH
if x <> tNumPages then print break
end repeat
close printing
That's pretty much all there is to it. If you want, you can even create 
bitmaps from the offScreen stack which act as *very accurate* print 
previews. I dump them into the Preview stack and set the preview img to 
1/2 the size with resizeQuality set to best. Works beautifully, both on 
Mac and PC.

HTH,
Chipp
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Problem solving methods in software development

2005-03-31 Thread Alejandro Tejada
Hi Developers,

Long time ago, surfing the net i found a forum,
where the administrator supervised the threads
and when a question was responded correctly or a
problem was solved, he (or she) closed the
message thread and added a message after the
thread that identified the problem solving
approach used to solve the problem or
respond the question...

Did anyone remember which forums use this
approach?

Thanks in advance.

al

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



__ 
Do you Yahoo!? 
Yahoo! Personals - Better first dates. More second dates. 
http://personals.yahoo.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Printing examples?

2005-03-31 Thread Mark Wieder
Dwayne-

Thursday, March 31, 2005, 4:49:07 PM, you wrote:

DR> Type res://C:\WINDOWS\System32\shdoclc.dll/preview.dlg into the address bar
DR> of your webbrowser to

I get:
Alert: "res is not a registered protocol"

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: lazy newbie

2005-03-31 Thread Timothy Miller
On 3/31/05 2:35 PM, Timothy Miller wrote:
 I might add -- I'm getting too old for this, and it isn't my hobby, and
 I have too many other things I must do. It is my sincere wish that I
 will never explore the possibilities of Rev. I just want my stacks and
 reports to work, and not to become dangerously obsolete. I'll add a 
 to indicate the absence of malice, but I am not being ironic.
I bet you'll get caught up like the rest of us -- it is hard to 
avoid once you see the power at your fingertips. You will be 
assimilated. Resistance is futile.


Okay, you've learned my secret. I'm a sucker for thinking up new 
features for my stacks. After all, I use them all day, every day. I 
know just enough to get theoretically ideas... And I know so little 
that it takes me forever to get them to work right. And then it takes 
another eternity to fix all the stuff I accidentally broke when I 
added the new feature. Thank God it's object oriented, or it would 
never work at all!

The really embarrassing part -- often I never use the clever new 
features I write. I sometimes find them by accident, years later, 
when I'm solving some other problem. Sometimes they still work!

Does this make me a geek, a nerd, obsessive-compulsive, or all of the above?
Cheers,
Tim
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Printing examples?

2005-03-31 Thread Dwayne Rothe
Hi Graham,
I think RunRev is definately limited in it's print functions especially when
using win os.
I  have been trying to find a way to have the default Windows print preview
window appear from runrev.
Type res://C:\WINDOWS\System32\shdoclc.dll/preview.dlg into the address bar
of your webbrowser to
see the BLANK example. If we could some how find a way to load our projects
pages to it we would have
all the functions it offers like multiple page view, zoom-, zoom+, page
setup e.t.c

For now I am using a clumsy but effective way of giving the user a multiple
page preview(divides document into correct amount of pages for printing as
per papersize). This is acheived using XMLNS routine and a small HTA script.
Paste the code below into a text file and rename it print.hta copy it to
your windows TEMP folder.
You can find the exact path by using put specialFolderPath("Temporary") into
fld "field"





.contentstyle
{
  width:6.3in;"sets preview width .75 scale"
  height:8.25in;"sets preview height .75 scale"
  margin:54pt;
  background:white;
  border:1 dashed gray;
}
.masterstyle
{
  width:8.5in;"sets printed page width"
  height:11in;"sets printed page height"
  background:#99;
  border-left:1 solid black;
  border-top:1 solid black;
  border-right:4 solid black;
  border-bottom:4 solid black;
  margin:10px;
}





 



 





When using a preview page in your application, generate the projects page as
HTML and save it as temp.html to your windows temp folder in the same folder
as print.hta, now run print.hta using the following code:

put specialFolderPath("Temporary") into appTempFolder
if "NT" is in the systemVersion then set shellCommand to "cmd.exe"
else set shellCommand to "command.exe"
set hideConsoleWindows to true
get shell("start" && appTempFolder & "/print.hta")

Print.hta will look for and load temp.html into itself, temp.html will be
overwritten each time you preview, this way you won't overtime be adding
tons of pages to the temp folder!

Hope this helps Cheers Dwayne Rothe.

> --
>
> Message: 10
> Date: Thu, 31 Mar 2005 15:15:19 +0200
> From: graham samuel <[EMAIL PROTECTED]>
> Subject: Printing examples?
>
> Folks, it's a long time since I've tried to develop a printing routine
> in RunRev and I find I want to do quite simple stuff that I would
> imagine other people have done dozens or even hundreds of times, which
> is to print a field of indefinite length on however many pages it takes
> to print it on, respecting the preset paper size and print margins and
> adding in stuff like page numbers and maybe running headers. I see that
> it is all possible (apart from my long-standing gripe that a RunRev
> script can't know the actual size of the available printable area on
> any specific printer) but I am surprised to say the least that I have
> to reinvent the wheel in this way.
>
> Would anyone be kind enough to point me at a reasonably simple
> multi-page print routine? I couldn't find one in the published
> examples, apart from Hugh Senior's PrintA4 from his Scripter's
> Scrapbook, which I'm looking at now (thanks Hugh) but it doesn't do
> exactly what I was expecting.
>
> While I'm asking for help with printing, can anyone explain what I do
> to get a print dialog (not the page setup dialog) to come up on a PC?
> According to the RunRev documentation:
>
> > The open printing with dialog form opens the print dialog box on Mac
> > OS systems. On Unix or Windows systems, this form acts like the open
> > printing form, and no dialog box appears. If the as sheet form is
> > used, the dialog box appears as a sheet on OS X systems.
>
> Well, I would like a dialog box to appear, as it does on all mainstream
> PC apps including Microsoft's own, so how is it done (I should say I'm
> developing on a Mac at the moment, and a quick trip to my XP machine
> does confirm this; but if anyone has the answer it would save further
> experimentation)?
>
> TIA
>
> Graham
===

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: lazy newbie

2005-03-31 Thread Byron Turner

On 3/31/05 2:35 PM, Timothy Miller wrote:
> I might add -- I'm getting too old for this, and it isn't my hobby, 
and
> I have too many other things I must do. It is my sincere wish that I
> will never explore the possibilities of Rev. I just want my stacks 
and
> reports to work, and not to become dangerously obsolete. I'll add a 

> to indicate the absence of malice, but I am not being ironic.

I bet you'll get caught up like the rest of us -- it is hard to avoid 
once you see the power at your fingertips. You will be assimilated. 
Resistance is futile.
Just to put my own stamp on this . . I have a company to run and 2 year 
old twins, but I started a little side project . . something I'd whip 
out in a few weeks because previous apps in this area are so bad.  Now 
several months later as I near completion of something that already 
blows away the competition, I want to start over because I know Rev 
better and can speed it up 5 fold and add features and . . and . . .

Assimilated . . and proud of it.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re:

2005-03-31 Thread J. Landman Gay
On 3/31/05 3:11 PM, graham samuel wrote:
Well, I did that - I was already using the printMargins settings (72 all 
round) to calculate where on the card to put the field that contains the 
print content, but at your suggestion at the last minute, just before 
the actual print statement, I set them to all 0s without going back and 
altering the position of the field. The result was (to me) extremely 
strange: the printing worked properly, in that each margin was now 1 
inch (72 pixels). This also included the top and bottom margins. In 
reality my particular printer won't print on the whole paper surface, so 
margins of zero are meaningless. Thus I'm at a loss to understand why it 
worked.
The printmargins always begin at the spot on the page where the printer 
can start printing. If your printer imposes a 1" limitation on all 
edges, then setting a printmargin of another inch will get you two 
inches of white space.

In other words, margin "0" is where your printer can lay down the first ink.
--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: More Image problems

2005-03-31 Thread Cubist
sez [EMAIL PROTECTED]:
>On Mar 31, 2005, at 11:04 AM, Lynch, Jonathan wrote:
>> Couldn't you just have an invisible cursor, and an image that kept
>> itself at the exact location of the cursor at all times? That way, the
>> "cursor" could be anything you want.
>The problem with this approach is that the image won't appear outside 
>of Revolution windows.
   Stupid question: What the image is shown as part of a one-card substack 
with no decorations and transparent background?
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: lazy newbie

2005-03-31 Thread J. Landman Gay
On 3/31/05 2:35 PM, Timothy Miller wrote:
> I might add -- I'm getting too old for this, and it isn't my hobby, and
> I have too many other things I must do. It is my sincere wish that I
> will never explore the possibilities of Rev. I just want my stacks and
> reports to work, and not to become dangerously obsolete. I'll add a 
> to indicate the absence of malice, but I am not being ironic.
I bet you'll get caught up like the rest of us -- it is hard to avoid 
once you see the power at your fingertips. You will be assimilated. 
Resistance is futile.

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


Re: Quicktime with Rev

2005-03-31 Thread Trevor DeVore
On Mar 31, 2005, at 1:29 PM, Scott Rossi wrote:

It isn't necessarily a bug.  Revolution uses the old method of opening
files with the QuickTime API which uses the FSSpec.  This has file 
name
as well as path name length limitations (255 for the full path).  As 
of
QT 6.4 (I think) QuickTime added new calls that open movies that can
have unicode names, etc.  Eventually Rev needs to add support for 
using
the newer calls when QuickTime supports it.
I'm not sure the problem lies in the length of the overall file path 
-- it
may be somehow related to the length of the name of the file itself.  
More
testing needs to be done.
Yes, the limit of a file name using FSSpec is something like 32 
characters.

Regardless, this is absolutely a bug and needs to be dealt with, or 
needs a
workaround developed for it.  When a file that plays as expected using 
any
other player (including Apple's own QT player) doesn't play in Rev 
purely
because of the filename, this is a bug.  As Rev developers, we can't 
release
media playing apps and expect to tell users to rename their media 
files.
I agree that this definitely needs to be updated.  Really all file name 
handling needs to be.  I don't think Rev supports Unicode path names 
even though there is Unicode support for fields, etc.  This creates a 
real problem when creating multi-lingual apps that support Japanese, 
Chinese, etc. filenames.

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


Re: final, final word on weird checkbox behavior

2005-03-31 Thread Ken Ray
>> It's the same in Rev... I do this all the time: click at loc of btn "OK" to
>> get it to highlight as well as get a mouseUp.
> 
> If I may clarify --
> 
> In Rev, if a script sends a mouseUp to a checkbox, the hilite of the
> checkbox is unaffected? Is that what you mean to say?

Yes, that's exactly what I mean to say. The reason is that all you're doing
in that instance is sending a message; the actual "click" isn't being
simulated.

> Is this a feature? If so, what's the advantage?

I don't know if I'd look at it as a feature... it's just the way things go.
Messages are just messages; they don't set properties.


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


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: About variable.

2005-03-31 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I generally use the stack for that sort of thing...
Saves me the trouble of creating an extra object, and it's readily 
visible from every control on card.

On Mar 31, 2005, at 4:25 PM, Marty Billingsley wrote:
Frank D. Engel, Jr. wrote:
When would you have to use a global variable, in so far as something
cannot be accomplished with a custom property?
When you don't want to create an object simply to hold a custom
property.  For example, if I'm making a quiz to use with students,
I keep their score in a global variable.  If I wanted to use a
custom property I'd have to create an object just for that purpose.
Seems counter-intuitive to me.
Plus, as has been pointed out, it's so easy just to say:
  global gScore
  add 1 to gScore
Custom properties are a little more convoluted.
  - marty
--
Marty Billingsley ([EMAIL PROTECTED])
The University of Chicago Laboratory Schools
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

- ---
Frank D. Engel, Jr.  <[EMAIL PROTECTED]>
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCTGyJ7aqtWrR9cZoRAhyeAJwMsLdNjNGSeVTcV+d5Xu85h9zeEgCfQDeE
1HcykgJVoQWJQ2J8mCQjpdY=
=A9Z0
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re:

2005-03-31 Thread Ken Ray
On 3/31/05 3:11 PM, "graham samuel" <[EMAIL PROTECTED]> wrote:

> On Thu, 31 Mar 2005 13:16:10 -0600, Ken Ray <[EMAIL PROTECTED]>
> wrote:
> 
>> On 3/31/05 1:05 PM, "graham samuel" <[EMAIL PROTECTED]> wrote:
>> 
>>> I'm developing some simple printing routines using RR 2.5.1 and OSX
>>> 10.3.8. I have a little Epson inkjet printer that works very happily
>>> with all my purchased apps such as word processors, graphic programs
>>> etc. But with Rev I'm having a bad time.
>>> 
>>> 1. I arranged for the initialisation routine in my app to read the
>>> paper size and the margins and to make my stack the same size as the
>>> printPaperSize and my print area the same size as the page minus the
>>> margins. I then attempted to construct something to print. The card to
>>> be printed looks perfectly OK, but the printer doubles the left margin
>>> from the absurdly large 72 points (more later) to a completely daft
>>> 144
>>> points - at least it looks that way. This shows up even on the OSX
>>> preview, and even when I propose to print on a different printer,
>>> which
>>> makes me think it must be me, except for the screen appearance and
>>> dimensions of the card to be printed, which look OK. For example, the
>>> left hand edge of the field to be printed is definitely 72 pixels from
>>> the edge of the card, and the card is definitely 594 pixels wide,
>>> which
>>> corresponds to the width of an A4 page. I just can't guess what I'm
>>> doing wrong.
>> 
>> Check out the printMargins property (among other "print-" properties).
>> Perhaps if you set the printMargins to 0,0,0,0 you'd get closer to what
>> you're looking for? The default is 72,72,72,72 (1 inch on all sides).
> 
> Well, I did that - I was already using the printMargins settings (72
> all round) to calculate where on the card to put the field that
> contains the print content, but at your suggestion at the last minute,
> just before the actual print statement, I set them to all 0s without
> going back and altering the position of the field. The result was (to
> me) extremely strange: the printing worked properly, in that each
> margin was now 1 inch (72 pixels). This also included the top and
> bottom margins. In reality my particular printer won't print on the
> whole paper surface, so margins of zero are meaningless. Thus I'm at a
> loss to understand why it worked. Eventually I'll try it on the PC and
> see if the thing behaves differently.
> 
> Thanks very much for the advice - I just wish I understood why it
> worked. It seems to me pretty much like a bug in RR.

I think it's because for some reason your printer driver was imposing its
own margin of 1 inch that was then being *added to* by Rev, so it became a 2
inch (144 pixel!) margin. Now why your printer driver would do that I don't
know...


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


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Quicktime with Rev

2005-03-31 Thread Scott Rossi
>>> Shortening the name of the file and removing spaces
>>> worked.
>>> 
>>> I had shortened the file name once already, but I shortened it further
>>> and removed all spaces and voilá, it shows and plays as it should.  I
>>> guess I should go back and find the criminal element in the original
>>> file name: "You Really Got a Hold On Me.mp3". (I had just grabbed that
>>> file as a test.)  At any rate, "HoldOnMe.mp3" works.
>>> 
>>> Thanks to all who responded with ideas.
>>> 
>>> Mark
>>>  (PS The Beatles sort of had a way with music, didn't they? :)

>> Now the big question: Bug or feature?
>> If bug: Rev or OS X bug?

> It isn't necessarily a bug.  Revolution uses the old method of opening
> files with the QuickTime API which uses the FSSpec.  This has file name
> as well as path name length limitations (255 for the full path).  As of
> QT 6.4 (I think) QuickTime added new calls that open movies that can
> have unicode names, etc.  Eventually Rev needs to add support for using
> the newer calls when QuickTime supports it.

I'm not sure the problem lies in the length of the overall file path -- it
may be somehow related to the length of the name of the file itself.  More
testing needs to be done.

Regardless, this is absolutely a bug and needs to be dealt with, or needs a
workaround developed for it.  When a file that plays as expected using any
other player (including Apple's own QT player) doesn't play in Rev purely
because of the filename, this is a bug.  As Rev developers, we can't release
media playing apps and expect to tell users to rename their media files.

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
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: About variable.

2005-03-31 Thread Marty Billingsley
Frank D. Engel, Jr. wrote:

> When would you have to use a global variable, in so far as something
> cannot be accomplished with a custom property?

When you don't want to create an object simply to hold a custom
property.  For example, if I'm making a quiz to use with students,
I keep their score in a global variable.  If I wanted to use a
custom property I'd have to create an object just for that purpose.
Seems counter-intuitive to me.

Plus, as has been pointed out, it's so easy just to say:
  global gScore
  add 1 to gScore

Custom properties are a little more convoluted.

  - marty

--
Marty Billingsley ([EMAIL PROTECTED])
The University of Chicago Laboratory Schools
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


[no subject]

2005-03-31 Thread graham samuel
On Thu, 31 Mar 2005 13:16:10 -0600, Ken Ray <[EMAIL PROTECTED]> 
wrote:

On 3/31/05 1:05 PM, "graham samuel" <[EMAIL PROTECTED]> wrote:
I'm developing some simple printing routines using RR 2.5.1 and OSX
10.3.8. I have a little Epson inkjet printer that works very happily
with all my purchased apps such as word processors, graphic programs
etc. But with Rev I'm having a bad time.
1. I arranged for the initialisation routine in my app to read the
paper size and the margins and to make my stack the same size as the
printPaperSize and my print area the same size as the page minus the
margins. I then attempted to construct something to print. The card to
be printed looks perfectly OK, but the printer doubles the left margin
from the absurdly large 72 points (more later) to a completely daft 
144
points - at least it looks that way. This shows up even on the OSX
preview, and even when I propose to print on a different printer, 
which
makes me think it must be me, except for the screen appearance and
dimensions of the card to be printed, which look OK. For example, the
left hand edge of the field to be printed is definitely 72 pixels from
the edge of the card, and the card is definitely 594 pixels wide, 
which
corresponds to the width of an A4 page. I just can't guess what I'm
doing wrong.
Check out the printMargins property (among other "print-" properties).
Perhaps if you set the printMargins to 0,0,0,0 you'd get closer to what
you're looking for? The default is 72,72,72,72 (1 inch on all sides).
Well, I did that - I was already using the printMargins settings (72 
all round) to calculate where on the card to put the field that 
contains the print content, but at your suggestion at the last minute, 
just before the actual print statement, I set them to all 0s without 
going back and altering the position of the field. The result was (to 
me) extremely strange: the printing worked properly, in that each 
margin was now 1 inch (72 pixels). This also included the top and 
bottom margins. In reality my particular printer won't print on the 
whole paper surface, so margins of zero are meaningless. Thus I'm at a 
loss to understand why it worked. Eventually I'll try it on the PC and 
see if the thing behaves differently.

Thanks very much for the advice - I just wish I understood why it 
worked. It seems to me pretty much like a bug in RR.

Graham

Graham Samuel / The Living Fossil Co. / UK and France
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: About variable.

2005-03-31 Thread Martin Baxter
>
>When would you have to use a global variable, in so far as something
>cannot be accomplished with a custom property?
>
>On Mar 31, 2005, at 12:41 PM, Mark Wieder wrote:
>

Well, I don't find custom properties are very convenient for storing
arrays. Is everyone else using custom property sets for this ? I tried that
but I got confused even with quite small arrays. When I re-read my own
scripts I couldn't understand them anymore (and I have enough trouble with
that as it is;-).

Also, if I remember correctly, you sometimes have to put a custom property
into a variable in order to modify a chunk successfully (and then put it
back), since it can't be done directly, is that right? I seem to recall
some issue of that sort.

Martin Baxter

>> Mikey-
>>
>> Thursday, March 31, 2005, 6:00:06 AM, you wrote:
>>
>> M> The thing about "globals" in rev is that they're not really
>> "globals"
>> M> but, in old basic parlance "commons".  If it was "global" you would
>> M> define it as global and it would be everywhere in Rev without
>> further
>> M> "global" statements inside objects.
>>
>> That's exactly right. There's been quite a bit of discussion of
>> globals here over the last couple of years. Basically declaring a
>> variable as "global" flags it as a candidate for being used in other
>> scripts. Then declaring the variable a global in a second script
>> references the first instance of the variable. The whole thing is a
>> bit error-prone, if you ask me. I avoid globals whenever I can, but
>> sometimes you gotta use them.
>>
>> --
>> -Mark Wieder
>>  [EMAIL PROTECTED]
>>
>> ___
>> use-revolution mailing list
>> use-revolution@lists.runrev.com
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>>
>- ---
>Frank D. Engel, Jr.  <[EMAIL PROTECTED]>
>
>$ ln -s /usr/share/kjvbible /usr/manual
>$ true | cat /usr/manual | grep "John 3:16"
>John 3:16 For God so loved the world, that he gave his only begotten
>Son, that whosoever believeth in him should not perish, but have
>everlasting life.
>$
>-BEGIN PGP SIGNATURE-
>Version: GnuPG v1.2.4 (Darwin)
>
>iD8DBQFCTD8H7aqtWrR9cZoRAtzlAJ4jzf5Uv+kTNtO1+ozUXMNam218RgCfR4J5
>s8N+B1W0Il5Pgny1YqWpc2s=
>=lBo/
>-END PGP SIGNATURE-
>
>
>
>___
>$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
>10 Personalized POP and Web E-mail Accounts, and much more.
>Signup at www.doteasy.com
>
>___
>use-revolution mailing list
>use-revolution@lists.runrev.com
>http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: About variable.

2005-03-31 Thread Mark Wieder
Thomas-

Thursday, March 31, 2005, 12:16:35 PM, you wrote:

TMI> This is my experience too. I use globals when I am passing info from
TMI> one action to another but I use CPs when an object is involved in the
TMI> action.

Wherever possible I pass parameters as arguments to functions in order
to eliminate having to use global variables. I tend to use custom
properties only for persistent data (you'd want to use a global var
rather than a custom property for a password, for example). I use
globals sparingly for things that get unwieldly as parameters or can't
be managed otherwise, or at least without a lot of extra work.

There's no particularly right way to do this, mostly it's just a
matter of style.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Best way to ask the user to wait?

2005-03-31 Thread Trevor DeVore
On Mar 31, 2005, at 1:14 AM, graham samuel wrote:
I'd like to put up a kind of advisory note to the user saying 
something like

"Please wait while we process your request"
I don't want any reaction from the user, such as clicking on "OK" or 
"Cancel" - I just want to warn her/him that it may take some time to 
complete the next task. During this period, I have a nice animation 
for the person to look at, but I don't really want to add my note to 
the animated display. I suppose the usual thing is to put the cursor 
into 'hourglass' or 'pizza' mode (according to platform) and of course 
I can do this, but I just want to show my message first.

What's the best way to implement this, do you think?
Graham,
Do you want to keep the user from clicking on other areas of your app 
while this happens?  For some tasks I have a "progress" stack that I 
display as modal (but doesn't block current script execution).  This 
displays a progress bar (or animation) and keeps the user from clicking 
on anything else until the process has completed.

If this would work in your case you can do the following:
1) Create a stack.  For this example I will name it "myProgress".
2) Attach the script I've included below.
3) To give a name to the progress stack:  set the uTitle of stack 
"myProgress" to "I'm doing something.  Hold on."
3) To show the stack:  set the uShow of stack "myProgress" to true
4) To hide the stack:  set the uShow of stack "myProgress" to false

In my script I have additional properties such as uProgress (updates a 
progress bar) and uFeedback (updates text displayed to the user).  This 
script just has the basics included.

Note that if you make a mistake during development and forget to close 
the progress dialog you can hold down the command/control key and click 
on the window to make it disappear (see the mousedown handler).

--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]

=
== BEGIN SCRIPT
=
local sCenterOnScreen   = "true"
setProp uTitle pValue
set title of me to pValue
end uTitle
setProp uCenter pValue
if pValue <> false then put true into pValue
put pValue into sCenterOnScreen
end uCenter
setProp uShow pValue
local tTarget   = ""

if pValue = true then
put line 1 of openStacks() into tTarget
if sCenterOnScreen = false AND tTarget <> empty then
put loc of stack tTarget into tLoc
else
put screenLoc() into tLoc
end if
go invisible stack (short name of me) as modal
set loc of me to tLoc
set visible of me to true

--> GIVE IT TIME TO DISPLAY
wait 100 milliseconds
else
put true into sCenterOnScreen
put 100 into sEndValue
close me
wait 0 milliseconds
end if
end uShow
getProp uShow
if short name of me is among lines of openStacks() then
return true
else
return false
end if
end uShow
--> FOR TESTING
on mousedown
	if environment() = "development" AND commandKey() is down then close 
stack (short name of me)
end mousedown

=
== END SCRIPT
=
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: About variable.

2005-03-31 Thread Trevor DeVore
On Mar 31, 2005, at 11:29 AM, Ken Ray wrote:
However with that said, I use a mixture of globals and custom 
properties and
I'm migrating more of my "global use" to custom properties as time goes
on...
Another method that you can use rather than globals or custom props is 
a "state" library stack.  I used custom properties to store the current 
state of the app when I first started using Rev (I don't care for 
globals personally).  What I didn't like about this approach was the 
long syntax to refer to the custom prop, especially when referring to a 
prop in another stack.  I never save the application stack (I used 
separate data stacks stored in the user space) so the ability to save 
custom props with the stack didn't add any value.

What I do mpw is create a stack called "datainterface" which I put into 
use when the app starts up.  This has calls similar to this:

getID()
setID
getDataFolder()
setDataFolder
etc..
The stack has local variables declared where the values are stored -
local sIDsA --> ARRAY OF IDS
local sDataFolder   --> FOLDER WHERE APP STORES DATA FILES
I just initialize these values when the app starts up and they are 
available until the app quits.  I can now get the app state variables 
with a simple call from any script in the app.  I like this more than 
globals since I can validate data and don't have to declare them in 
every script.  I like it more than custom props since the syntax is 
shorter.  It works well for me.

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


Re: More Image problems

2005-03-31 Thread Scott Rossi
Recently, Lynch, Jonathan  wrote:

> you mean you know how to make transparent 8 bit-color cursors?
> Been searching for 18 months! :)
>>> 
 No i mean a correct looking and WORKING 1 bit cursor!
 Only 1bit cursors are currently supported by Rev.
>>> 
>>> Couldn't you just have an invisible cursor, and an image that kept
>>> itself at the exact location of the cursor at all times? That way, the
>>> "cursor" could be anything you want.
>> 
>> If you move the cursor outside of the rect of a window, your cursor
>> image
>> will disappear.  This type of thing needs to be handled by the engine.

> I agree it should be handled by the engine.
> 
> However - if you want your cursor stay the same, then you can have a
> stack shaped to a particular image, and have that stack move around with
> the cursor. 
> 
> Or, the script can reset the cursor to normal when it moves out of the
> window - whichever behavior is preferred.

You're correct, in some specific cases, it's definitely possible script
workarounds, such as the window solution you suggest (run the following in
the message box for an example):

 go url "http://www.tactilemedia.com/download/custom_cursor.rev";

(The fun part is clicking the pointer tool and then adjusting the controls.)

But there are still situations where a scripted solution breaks or causes
headaches.  If you use mouseMove in a front script to handle cursor
movement, the script will stop as soon as the mouse leaves a Rev window
region.  If you use a looping script, you can get better cursor behavior,
but you may eat up a bunch of processor usage and the script will not
execute during certain mousedown events like dragging windows.

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
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: lazy newbie

2005-03-31 Thread Timothy Miller

On 3/30/05 6:28 PM, Timothy Miller wrote:
When I'm done with all this stuff, do I need to convert my 
backgrounds to sub-stacks?
No, substacks are a different thing. Backgrounds are backgrounds, 
just like in HC, only they have additional behaviors in Rev, so they 
are also called "groups". The distinction is subtle, and use of the 
terms "group" and "background" need to vary depending on the 
placement of the groups. But for your imported stacks, continue to 
refer to them as backgrounds, and use them as you always have. Your 
stacks should act just as they do in HC and your scripts should work 
the same. You don't need to do anything different for now (but 
later, when you discover the power of groups, you will use them more 
fully and change your terminology.)

--snip--
You never cease to amaze me, Jacque. Generous, patient and 
knowledgeable beyond all expectation.

Needless to say, your comments are very helpful. Thanks.
I might add -- I'm getting too old for this, and it isn't my hobby, 
and I have too many other things I must do. It is my sincere wish 
that I will never explore the possibilities of Rev. I just want my 
stacks and reports to work, and not to become dangerously obsolete. 
I'll add a  to indicate the absence of malice, but I am not being 
ironic.

Cheers,
Tim
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Question: anyone here for a vObject lib?

2005-03-31 Thread Jerry Daniels
Yes, Andre...I'm interested. Where do we go to see it, etc.?
-Jerry
On Mar 30, 2005, at 9:25 AM, Andre Garzia wrote:
Hi Folks,
I finished a library which I think is pretty usefull, I did it to use 
on a groupware contract of mine but I think it has more uses. It's a 
vObject library that supports generation of vObjects and 
parsing/inspecting such objects. The most well known vObject objects 
are vCards and iCalendar files, vCard is the standard way of sharing 
contact data and can carry more than CSV files. Almost all the 
state-of-the-art apps dealing with contacts understand vCards, Apple 
AddressBook is based on vCard, Microsoft Outlook also understands it, 
enterprize apps like the Lotus suite does it too. You can start 
sharing and querying data from and for this apps with vObject/vCard 
lib.

The other famous one is iCalendar which is a standard way to store and 
share calendar data, this is more wide spread than vCard, I think 
almost all calendar apps are iCalendar based (iCalendar = vCalendar 
2.0), Apple iCal is iCalendar based and so is lot's of other groupware 
based clients and servers (all linux ones are, like Kalendar). My 
implementation of iCalendar spec is complete for generation of 
iCalendar data and parsing is a little Raw but it works fine.

With this lib you can also create your own object files based on the 
vObject standard, I for one, am creating a vChart file standard to 
store data and metadata about charts, I think this is needed by our 
community. Let me show you some examples of the vCard routines by 
creating a simple vCard:

vCardBegind  vCard
vCardAddCommonName vCard, "Andre", "Alves", "Garzia"
vCardAddNickName vCard, "soapdog"
vCardAddEMail vCard, "[EMAIL PROTECTED]"
vObjectAddParameter vCard, "email", "type", "pref"   -- Set the email 
as prefered eMail.
vCardEnd vCard
vCardSerialize vCard

good, now you have the variable vCard with content that you can 
upload, save to file or whatever you want to do...
An iCalendar Example.

iCalendarBegin iCal
icEventBegin iCal
put the short date into tDate
icAddDateTimeStart iCal, icConvertDate(tDate)
icAddDateTimeEnd iCal, icDateOffset(tDate, "+30 minutes")  -- Set the 
end date to half an hour later
icAddSumary iCal, "a simple test event."
icAddDescription iCal, "the event description."
iCalendarAddOrganizer iCal, "[EMAIL PROTECTED]"
iCalendarAddAtendee iCal, "use-revolution@www.runrev.com"
vObjectAddParameter iCal, "atendee", "type", "group"
icEventEnd iCal
iCalendarEnd iCal
iCalendarSerialize iCal

You could import this in Apple iCal with no problem, even pipe it thru 
applescript...

The library has dozens (hundred?) functions and handlers dealing with 
everything and I am finishing documenting it and creating examples. I 
planned to release it on a shareware manner for USD 30, all funds 
would go to pay my stay in RevConWest.

Anyone here interested?
Andre
--
Andre Alves Garzia  2004  BRAZIL
http://studio.soapdog.org
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: final, final word on weird checkbox behavior

2005-03-31 Thread Timothy Miller
On 3/30/05 6:42 PM, "Timothy Miller" <[EMAIL PROTECTED]>
wrote:
 A minitago, I wrote:
 When another script sends a mouseup to a radio button or checkbox in
 HC, the script works in every way, except the hilite of the button
 is not affected. To get the hilite to change, you have to set hilite
 to true or false in the script of each button, or use "click at the
 loc of..." instead of "send mouseup to..."
It's the same in Rev... I do this all the time: click at loc of btn "OK" to
get it to highlight as well as get a mouseUp.

If I may clarify --
In Rev, if a script sends a mouseUp to a checkbox, the hilite of the 
checkbox is unaffected? Is that what you mean to say?

If so, huh! I would have expected otherwise.
Is this a feature? If so, what's the advantage?
Cheers,
Tim Miller
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Quicktime with Rev... vertical controller

2005-03-31 Thread Trevor DeVore
On Mar 31, 2005, at 12:09 PM, Mark Swindell wrote:
On Mar 31, 2005, at 8:08 AM, Trevor DeVore wrote:
Do you want the actual image to flip or just the movie controller?  
If you want the image then you can use the EnhnacedQT external.  If 
you want to position the controller along the side rather than the 
bottom of the movie then it is possible using the QT API but I 
haven't put it in the external.
Trevor,
How hard would this be to accomplish? (Placing the controller 
vertically... there is no image)
Now that I think about it I'm not sure it will work.  Theoretically it 
is pretty easy.  There is a call in the QT API which attaches/detaches 
a movie controller from the actual movie it is playing.  This allows 
you to place the movie controller elsewhere on the screen (above the 
movie, off to the side, etc.)  Two things I don't know though:

1) Will QT make a vertical controller if the width is set to 16 and the 
height is larger?

2) Will modifying the mc controller interfere with how Revolution deals 
with the movie controller?

You can create a custom controller that works vertically if you need 
this type of functionality right away.

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


Re: About variable.

2005-03-31 Thread Alex Tweedly
Frank D. Engel, Jr. wrote:
When would you have to use a global variable, in so far as something 
cannot be accomplished with a custom property?

You wouldn't have to use a global, but you may choose to for performance.
Simple operation on a global : 20 ms
Same thing on a custom prop : 3324 ms
Also, you can do
   add 1 to gVariable
which is not only (I think) easier to read and understand as being an 
increment operation, but is also even faster.

Simple operation on a global : 20 ms
Same thing on a custom prop : 3324 ms
Same thing as an increment on a global : 13 ms
--
Alex Tweedly   http://www.tweedly.net

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.8.6 - Release Date: 30/03/2005
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: About variable.

2005-03-31 Thread Thomas McGrath III
This is my experience too. I use globals when I am passing info from 
one action to another but I use CPs when an object is involved in the 
action.

On Mar 31, 2005, at 2:29 PM, Ken Ray wrote:
However with that said, I use a mixture of globals and custom 
properties and
I'm migrating more of my "global use" to custom properties as time goes
on...

Thomas J McGrath III
<*)) >=<
"Life should NOT be a journey to the grave with the intention of 
arriving safely in an attractive and well preserved body, but rather to 
skid in sideways - a Cigar in one hand - a large steak in the other - 
your body thoroughly used up, totally worn out, and screaming - WOO 
HOO! What a Ride!"
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: drag n drop

2005-03-31 Thread Thomas McGrath III
Thanks Ken,
I can now compare some approaches and get to the actual work part.
Thanks again,
Tom
On Mar 31, 2005, at 2:24 PM, Ken Ray wrote:
On 3/31/05 12:44 PM, "Thomas McGrath III" <[EMAIL PROTECTED]> 
wrote:

much appreciated.
How can I open a folder on the users desktop???
Here's a way I use:
Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Quicktime with Rev... vertical controller

2005-03-31 Thread Mark Swindell
On Mar 31, 2005, at 8:08 AM, Trevor DeVore wrote:
Do you want the actual image to flip or just the movie controller?  If 
you want the image then you can use the EnhnacedQT external.  If you 
want to position the controller along the side rather than the bottom 
of the movie then it is possible using the QT API but I haven't put it 
in the external.
Trevor,
How hard would this be to accomplish? (Placing the controller 
vertically... there is no image)
Thanks,
Mark

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: clones and scripts

2005-03-31 Thread Thomas McGrath III
Ok, 1 and 2 makes sense to me.
Now 3 is an actual stack file and not a part of a standalone - i.e. it 
can be saved with changes etc.

Then can the separate file on disk be opened with the main stack - 
right? etc.

Then the main stack will keep a list of these cloned project files. to 
be opened when needed.

Thank you Jeanne for understanding what I am trying to do.
Tom
On Mar 31, 2005, at 2:24 PM, Jeanne A. E. DeVoto wrote:
I'd do it this way:
1. All substantive code routines are stored in the standalone's main 
stack script (which might as well be the splash screen). Because the 
splash screen is the main stack of the standalone, it is always in the 
message path whenever the standalone is running.

(Depending on the complexity of your code, you might want to put some 
of the code into other objects and use the insert command to make 
those objects into backscripts or frontscripts. But for a relatively 
simple project, putting it all in the main stack script will work 
without the need for backscripts, frontscripts, or start using.)

2. The standalone includes this main stack, plus one substack. The 
substack is a project window blank template. This template is never 
actually seen by the user; instead, it is cloned every time you need a 
project window.

3. When the user creates a new project, you clone the template 
substack. This clone can be saved as a separate file on disk.
--
jeanne a. e. devoto ~ [EMAIL PROTECTED]
Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: drag n drop

2005-03-31 Thread Thomas McGrath III
Klaus,
That was more than I expected and now I must go play awhile with it.
Thank you so much.
Tom
On Mar 31, 2005, at 2:17 PM, Klaus Major wrote:
Hi Thomas,
much appreciated.
How can I open a folder on the users desktop???
On a mac use Applescript:
on apfelschreib pPath
Hope that helps...
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
Thomas J McGrath III
[EMAIL PROTECTED]
412-831-3094
220 Drake Road
Bethel Park, PA 15102
<*)) >=<
"Life should NOT be a journey to the grave with the intention of 
arriving safely in an attractive and well preserved body, but rather to 
skid in sideways - a Cigar in one hand - a large steak in the other - 
your body thoroughly used up, totally worn out, and screaming - WOO 
HOO! What a Ride!"
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [off]altBrowser users

2005-03-31 Thread Derek Bump
> I got an email from RR today stating that with the purchase of Studio,
> they're tossing in altBrowser.
Makes me feel like I purchased both of them at the wrong time.
> What are all of you using altBrowser for?  I can think of several uses
> off the top of my head, but I didn't know who is using it and what
> they think of it.
Well, I can't say what I'm using it for (Client Confidentiality), but I 
use it all the time.  It has it's limitations, but it is still quite 
good and works very well.  All in all, I'm impressed with it.

I guess though that if it's coming with the Studio package then it's a 
good deal all around.

Derek Bump
Dreamscape Software
___
Compress Images Easily with JPEGCompress 2.5
http://www.dreamscapesoftware.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: drag n drop

2005-03-31 Thread Thomas McGrath III
Thanks I believe I can figure out what it is I want now using your 
examples.

Do you know how to open a folder on a users desktop? An alias?
thanks
tom
On Mar 31, 2005, at 2:07 PM, Éric Chatonet wrote:
HowTo stack #010
Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: More Image problems

2005-03-31 Thread MisterX
I was going to say elegant solution ;)

The engine would be the easy way to handle this.

Vintage Mac and hyperCard users will externals and inits devoted to that
subject. It's not without merit, it makes RR loose a bit of appeal - but
it's not as important as other things I guess...

cheers
Xavier

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Lynch, Jonathan
> Sent: Thursday, March 31, 2005 21:43
> To: How to use Revolution
> Subject: RE: More Image problems
> 
> Now that I think about it, however...
> 
> Even if this works, it would create a big headache. 
> Mouseclicks would always be intercepted by the mouse image - 
> meaning one would have to go through great amounts of trouble 
> to script around that.
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Lynch, Jonathan
> Sent: Thursday, March 31, 2005 2:33 PM
> To: How to use Revolution
> Subject: RE: More Image problems
> 
> I agree it should be handled by the engine.
> 
> However - if you want your cursor stay the same, then you can 
> have a stack shaped to a particular image, and have that 
> stack move around with the cursor. 
> 
> Or, the script can reset the cursor to normal when it moves 
> out of the window - whichever behavior is preferred.
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Scott Rossi
> Sent: Thursday, March 31, 2005 2:15 PM
> To: How to use Revolution
> Subject: Re: More Image problems
> 
> Recently, Lynch, Jonathan  wrote:
> 
> >>> you mean you know how to make transparent 8 bit-color cursors?
> >>> Been searching for 18 months! :)
> > 
> >> No i mean a correct looking and WORKING 1 bit cursor!
> >> Only 1bit cursors are currently supported by Rev.
> > 
> > Couldn't you just have an invisible cursor, and an image that kept 
> > itself at the exact location of the cursor at all times? 
> That way, the 
> > "cursor" could be anything you want.
> 
> If you move the cursor outside of the rect of a window, your 
> cursor image will disappear.  This type of thing needs to be 
> handled by the engine.
> 
> 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
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: More Image problems

2005-03-31 Thread Trevor DeVore
On Mar 31, 2005, at 11:32 AM, Lynch, Jonathan wrote:
I agree it should be handled by the engine.
However - if you want your cursor stay the same, then you can have a
stack shaped to a particular image, and have that stack move around 
with
the cursor.
This method works pretty well for most things but one instance where it 
won't is when using drag/drop.  The stack will not follow the cursor 
outside of a rev window if a drag/drop is happening.

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


RE: More Image problems

2005-03-31 Thread Lynch, Jonathan
Now that I think about it, however...

Even if this works, it would create a big headache. Mouseclicks would
always be intercepted by the mouse image - meaning one would have to go
through great amounts of trouble to script around that.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lynch,
Jonathan
Sent: Thursday, March 31, 2005 2:33 PM
To: How to use Revolution
Subject: RE: More Image problems

I agree it should be handled by the engine.

However - if you want your cursor stay the same, then you can have a
stack shaped to a particular image, and have that stack move around with
the cursor. 

Or, the script can reset the cursor to normal when it moves out of the
window - whichever behavior is preferred.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott
Rossi
Sent: Thursday, March 31, 2005 2:15 PM
To: How to use Revolution
Subject: Re: More Image problems

Recently, Lynch, Jonathan  wrote:

>>> you mean you know how to make transparent 8 bit-color cursors?
>>> Been searching for 18 months! :)
> 
>> No i mean a correct looking and WORKING 1 bit cursor!
>> Only 1bit cursors are currently supported by Rev.
> 
> Couldn't you just have an invisible cursor, and an image that kept
> itself at the exact location of the cursor at all times? That way, the
> "cursor" could be anything you want.

If you move the cursor outside of the rect of a window, your cursor
image
will disappear.  This type of thing needs to be handled by the engine.

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
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: More Image problems

2005-03-31 Thread Lynch, Jonathan
I agree it should be handled by the engine.

However - if you want your cursor stay the same, then you can have a
stack shaped to a particular image, and have that stack move around with
the cursor. 

Or, the script can reset the cursor to normal when it moves out of the
window - whichever behavior is preferred.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott
Rossi
Sent: Thursday, March 31, 2005 2:15 PM
To: How to use Revolution
Subject: Re: More Image problems

Recently, Lynch, Jonathan  wrote:

>>> you mean you know how to make transparent 8 bit-color cursors?
>>> Been searching for 18 months! :)
> 
>> No i mean a correct looking and WORKING 1 bit cursor!
>> Only 1bit cursors are currently supported by Rev.
> 
> Couldn't you just have an invisible cursor, and an image that kept
> itself at the exact location of the cursor at all times? That way, the
> "cursor" could be anything you want.

If you move the cursor outside of the rect of a window, your cursor
image
will disappear.  This type of thing needs to be handled by the engine.

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
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: About variable.

2005-03-31 Thread Ken Ray
On 3/31/05 1:12 PM, "Dan Shafer" <[EMAIL PROTECTED]> wrote:

> Other than that, I can't think of any reason not to use custom
> properties exclusively.

Well, one is that custom properties can be saved with stacks, and therfore
hold persistent data, whereas globals disappear as soon as the application
is disposed of.

Another is that you can get the list of active globals in one command,
whereas trying to get the list of all the custom properties that you've used
instead of globals would require identifying them by name.

However with that said, I use a mixture of globals and custom properties and
I'm migrating more of my "global use" to custom properties as time goes
on...


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


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: About variable.

2005-03-31 Thread Ken Ray
On 3/31/05 12:55 PM, "Thomas McGrath III" <[EMAIL PROTECTED]> wrote:

> The variable watcher works with globals and locals but not with custom
> props. 

And not with contstants either, I'm afraid...

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


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: drag n drop

2005-03-31 Thread Ken Ray
On 3/31/05 12:44 PM, "Thomas McGrath III" <[EMAIL PROTECTED]> wrote:

> much appreciated.
> 
> How can I open a folder on the users desktop???

Here's a way I use:

on stsOpenFolder pPath
  switch (the platform)
  case "Win32"
set the hideConsoleWindows to true
if the shellCommand is "cmd.exe" then
  create alias "C:/Temp.lnk" to file pPath
  get shell("C:\Temp.lnk")
  delete file "C:/Temp.lnk"
else
  get shell("start" && quote & pPath & quote)
end if
break
  case "MacOS"
if isOSX() then
  get shell("open " & pPath)
else
  put "tell application " & quote & "Finder" & quote & cr & \
  "activate" & cr & \
  "open folder " & quote & revMacFromUnixPath(pPath) & quote & \
  cr & "end tell" into tScript
  do tScript as AppleScript
end if
break
  end switch
end stsOpenFolder 

function isOSX
  set the itemDel to "."
  return (item 1 of the systemVersion >=10)
end isOSX


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: clones and scripts

2005-03-31 Thread Jeanne A. E. DeVoto
At 12:01 PM -0500 3/31/05, Thomas McGrath III wrote:
I have a standalone that will offer a window based upon a project. 
In other words if the user wants to have two projects open then the 
standalone will offer a second window for the second project.

What I want to decide is the best way to share the scripts. I am 
thinking that a splash screen stores the code and substacks can be 
used as the project windows. But I was thinking it might be better 
to have a separate stack for each project so they can be deleted 
from the users desktop. If I do this what is the best way to share 
the scripts then.

I am aware of the start using and was thinking that might be the way 
to go. But then I would need a library stack, and then each project 
would have a splash screen and a project screen. But it seems this 
could be over kill. Any help/advice is appreciated.
I'd do it this way:
1. All substantive code routines are stored in the standalone's main 
stack script (which might as well be the splash screen). Because the 
splash screen is the main stack of the standalone, it is always in 
the message path whenever the standalone is running.

(Depending on the complexity of your code, you might want to put some 
of the code into other objects and use the insert command to make 
those objects into backscripts or frontscripts. But for a relatively 
simple project, putting it all in the main stack script will work 
without the need for backscripts, frontscripts, or start using.)

2. The standalone includes this main stack, plus one substack. The 
substack is a project window blank template. This template is never 
actually seen by the user; instead, it is cloned every time you need 
a project window.

3. When the user creates a new project, you clone the template 
substack. This clone can be saved as a separate file on disk.
--
jeanne a. e. devoto ~ [EMAIL PROTECTED]
http://www.jaedworks.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Greek text in Rev fields under Linux

2005-03-31 Thread Dar Scott
On Mar 31, 2005, at 11:55 AM, Richard K. Herz wrote:
For scientific notation, I need to display Greek text characters in 
Rev fields in Linux using a font in a standard Linux distribution. On 
Win and Mac, one simply uses Symbol font in a Rev field. This doesn't 
display properly in Rev under Linux (Redhat Core distribution). The 
Rev docs suggest this involves using UTF-16 unicode font. The standard 
fonts on Linux appear to be UTF-8 and my experiments have been 
unsuccessful.
I have only a couple off-the-cuff remarks from a non-linux guy that 
might tide you over until you get some linux answer.

UTF16 and UTF8 are different representations of the same encoding.  
That shouldn't affect font use.

I would guess there is a font called Caslon or similar.  It should have 
unicode greek characters.

Try a simple test like this (with or without setting the font):
on mouseUp
  set the useUnicode to true
  set the unicodeText of field "field" to numToChar(0x222A)
end mouseUp
You should get a union symbol.
Dar
--
**
DSC (Dar Scott Consulting & Dar's Lab)
http://www.swcp.com/dsc/
Programming Services and Software
**
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: drag n drop

2005-03-31 Thread Klaus Major
Hi Thomas,
much appreciated.
How can I open a folder on the users desktop???
On a mac use Applescript:
on apfelschreib pPath
## apfelschreib = applescript literally translated into german :-)
## WIll open any file or folder (pPath) in the finder...
  put pPath into pfad
  set the itemdel to "/"
  put item -1 of pPath into datei
  delete item -1 of pPath
  replace "/" with ":" in pfad
  put "tell application " & quote & "Finder" & quote & cr &  "activate" 
& cr & "open" && quote & (pfad) & quote & cr & "end tell" into tScript
  do tScript as AppleScript
end apfelschreib

If you want to SELECT the file or folder in the finder, simply replace 
"open" with "reveal" in
the applescript:
...
 put "tell application " & quote & "Finder" & quote & cr &  "activate" 
& cr & "reveal" && quote & (pfad) & quote & cr & "end tell" into 
tScript
...

Windows:
To open a file/folder:
on winselect pPath
  replace "/" with "\" in pPath
  set the hideConsoleWindows to true
  get shell("explorer.exe /root,"& quote & pPath & quote)
end winselect
To select a file/folder in its parent window:
on winopen pPath
  replace "/" with "\" in pPath
  set the hideConsoleWindows to true
  get shell("explorer.exe /select,"& quote & pPath & quote)
end winopen
Hope that helps...
thanks
tom
Regards
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Printing is driving me crazy

2005-03-31 Thread Ken Ray
On 3/31/05 1:05 PM, "graham samuel" <[EMAIL PROTECTED]> wrote:

> I'm developing some simple printing routines using RR 2.5.1 and OSX
> 10.3.8. I have a little Epson inkjet printer that works very happily
> with all my purchased apps such as word processors, graphic programs
> etc. But with Rev I'm having a bad time.
> 
> 1. I arranged for the initialisation routine in my app to read the
> paper size and the margins and to make my stack the same size as the
> printPaperSize and my print area the same size as the page minus the
> margins. I then attempted to construct something to print. The card to
> be printed looks perfectly OK, but the printer doubles the left margin
> from the absurdly large 72 points (more later) to a completely daft 144
> points - at least it looks that way. This shows up even on the OSX
> preview, and even when I propose to print on a different printer, which
> makes me think it must be me, except for the screen appearance and
> dimensions of the card to be printed, which look OK. For example, the
> left hand edge of the field to be printed is definitely 72 pixels from
> the edge of the card, and the card is definitely 594 pixels wide, which
> corresponds to the width of an A4 page. I just can't guess what I'm
> doing wrong.

Check out the printMargins property (among other "print-" properties).
Perhaps if you set the printMargins to 0,0,0,0 you'd get closer to what
you're looking for? The default is 72,72,72,72 (1 inch on all sides).


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


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: About variable.

2005-03-31 Thread Dan Shafer
I don't think one ever *has to* use a global. Custom properties will, 
as far as I can tell, always do the job just fine.

But:
(a) custom properties take a bit more work to set up (longer syntax 
and/or through the inspector)
(b) put "hello" into gVariableName is shorter and therefore less 
error-prone and more efficient than set the cPropName of this stack to 
"hello"

Other than that, I can't think of any reason not to use custom 
properties exclusively.

Custom properties have some nice attributes, too. They can store 
arbitrary data and their contents can be directly edited in the 
inspector. I use custom properties to store long text strings used in 
help dialogs and other such places so I can edit them easily in place.

On Mar 31, 2005, at 10:18 AM, Frank D. Engel, Jr. wrote:
When would you have to use a global variable, in so far as something 
cannot be accomplished with a custom property?

~~
Dan Shafer, Co-Chair
RevConWest '05
June 17-18, 2005, Monterey, California
http://www.altuit.com/webs/altuit/RevConWest
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: More Image problems

2005-03-31 Thread Trevor DeVore
On Mar 31, 2005, at 11:04 AM, Lynch, Jonathan wrote:
Couldn't you just have an invisible cursor, and an image that kept
itself at the exact location of the cursor at all times? That way, the
"cursor" could be anything you want.
The image dragging scripts that I have used (adapted from scripts 
posted
on this list) seem to work quite well.
The problem with this approach is that the image won't appear outside 
of Revolution windows.

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


Re: About variable.

2005-03-31 Thread Dan Shafer
Good point, Thomas. I hadn't considered that.
On Mar 31, 2005, at 10:55 AM, Thomas McGrath III wrote:
The variable watcher works with globals and locals but not with custom 
props.
~~
Dan Shafer, Co-Chair
RevConWest '05
June 17-18, 2005, Monterey, California
http://www.altuit.com/webs/altuit/RevConWest
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: More Image problems

2005-03-31 Thread MisterX
Hi Jonathan,

The image is fine (if it doesn't flicker or drag around some things). It's
just too unatural when the mouse exits the window so it's only ok for stacks
covering the full screen to look ok...

cheers
Xav 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Lynch, Jonathan
> Sent: Thursday, March 31, 2005 21:05
> To: How to use Revolution
> Subject: RE: More Image problems
> 
> >> you mean you know how to make transparent 8 bit-color cursors?
> >> Been searching for 18 months! :)
> 
> >No i mean a correct looking and WORKING 1 bit cursor!
> >Only 1bit cursors are currently supported by Rev.
> 
> Couldn't you just have an invisible cursor, and an image that 
> kept itself at the exact location of the cursor at all times? 
> That way, the "cursor" could be anything you want.
> 
> The image dragging scripts that I have used (adapted from 
> scripts posted on this list) seem to work quite well.
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: More Image problems

2005-03-31 Thread Scott Rossi
Recently, Lynch, Jonathan  wrote:

>>> you mean you know how to make transparent 8 bit-color cursors?
>>> Been searching for 18 months! :)
> 
>> No i mean a correct looking and WORKING 1 bit cursor!
>> Only 1bit cursors are currently supported by Rev.
> 
> Couldn't you just have an invisible cursor, and an image that kept
> itself at the exact location of the cursor at all times? That way, the
> "cursor" could be anything you want.

If you move the cursor outside of the rect of a window, your cursor image
will disappear.  This type of thing needs to be handled by the engine.

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
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: 3 questions from a newbie

2005-03-31 Thread Rob Meijer
Bedankt Klaus,
1. gelukt.
2.
Robert zegt :
Create a listfield (scrollabel or not) and CHECK "autohilite" in the inspector,
maar beide adviezen kloppen niet,
want kennerlijk zit fillfield in de weg. (zie de email aan Robert)
3.
Jouw script krijg ik niet aan de praat. Dat van Robert wekt.
Nu nog een permanente hilited line en alles is klaar!
Groeten
Rob
--
At 16:26 31/3/2005, Klaus Major wrote:
Dag Rob,
I am in my second trial period, still trying to
complete a application.
For this time I cannot find a solution for:
1.
how to import an icon from elswhere?
I cannot find the good one in the build-in iconlist
An icon is NOTHING else than a "simple" image displayed INSIDE a button!
Do this:
1. Import an image (jpg, gif, png)...
2. Note its ID in the inspector "Basic Poperties"...
3. Create a button and make it as big as the image, set its "show name" to 
false...
4. Set its icon to the ID of the image -> "Icons and Borders" -> icon...

Et voila, you created your first own "icon" :-)
2.
In a listbox-field I want the selectedt line be hilited permanently
until a next line is clicked. Now the the line is hilited for the
tihe mouse is pressed down.
Create a listfield (scrollabel or not) and UNCHECK "autohilite" in the 
inspector

Then put this into the script of that field:
on mouseup
  set the hilitedlines of me to word 2 of the mouseline
end mouseup
Done :-)
But please remember that the current behaviour IS the way listfields are 
supposed to work!

3.
In the same listboxfield I want to choose a line just by pressing down
a key: f.i. the R to get the first line beginning with a R.
Put this into the script of the card where your field is on:
I refger to "fld 1" in my script!
on keyUp lekey
  if lekey = "a" then
set the scroll of fld 1 to 0
set the hilitedlines of fld 1 to 1
exit keyup
  end if
  put lineOffset(return & lekey, field 1) into lo
  set the scroll of field 1 to lo * the effective textHeight of field 1
  if lo = 0 then
beep
  else
set the hilitedlines of fld 1 to (lo + 1)
##send "mouseup" to fld 1
   ## Just in case you would like to "auto click" that line
  end if
end keyUp
Not tested! :-)
The only way to choose now is with mouse or arrow-keys.
Please reply to my own emailaddress too 
Thanks a lot
Rob
[EMAIL PROTECTED]
www.japrosoft.com
Tot dan & groetjes
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
[EMAIL PROTECTED]
www.japrosoft.com
no more spam: Mailwasher Pro
http://www.firetrust.com/products/pro/
and please mention my emailaddress...  
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: 3 questions from a newbie

2005-03-31 Thread Rob Meijer
Robert,
Thanks. If now you can find the cause why the line is not hilited
permanently...
I don't see it
Rob
At 17:03 31/3/2005, Robert Brenstein wrote:
At 17:07 +0200 31.03.2005, Rob Meijer wrote:
I am in my second trial period, still trying to
complete a application.
For this time I cannot find a solution for:
1.
how to import an icon from elswhere?
I cannot find the good one in the build-in iconlist
Import image or copy-paste should do. An icon is just an image of certain 
size.
OK

2.
In a listbox-field I want the selectedt line be hilited permanently
until a next line is clicked. Now the the line is hilited for the
tihe mouse is pressed down.
Make it a list field (lock it and set the autohilite to true).
However, I suspect that you aleady have that and the hilite disappears on 
mouseUp because of something in the script.
RIGHT,
THIS IS THE SCRIPT THAT INTERVENES
LIKE YOU THOUGHT, BUT I DON'T SEE IT:
on fillfield
  set the lockscreen to true
  get cardnames of this stack
  put (number of lines of it) into Lastline
  repeat with i = 1 to Lastline
put quote&char 1 to 32 of line i of it"e &","after list
  end repeat
  ---LIST TO ALPHABETIC TEXTLINES
  set the foregroundcolor of field "content" to black
  if last char of list="," then
clear last char of list komma weg
  end if
  sort items of list -alphabetisch
  repeat with  i = 1 to Lastline
put item i of list &linefeed after tempfield
  end repeat
  --CLEAR QUOTES
  replace quote with "" in tempfield
  set text of field "content" to tempfield
  set the listbehavior of fld "content" to true
end fillfield
You may set the hilitedLines to restore the selection at the end of the 
handler (cf script below).
DON"T SEE WHAT YOU MEAN;

3.
In the same listboxfield I want to choose a line just by pressing down
a key: f.i. the R to get the first line beginning with a R.
The only way to choose now is with mouse or arrow-keys.
place the following handler on the card (untested but fully commented):
THIS WORKS FOR ME
on keyDown theKey
  set the cursor to watch
  -- transfer fld "content" to var
  get fld "content"
  -- preserve current selection
  put the hilitedlines of field  "content" into h
  -- preset line counter
  put 1 into s
  -- loop through lines
  repeat for each line t in it
-- increase counter (we are purposefully 1 off)
add 1 to s
-- escape if condition met
if char 1 of t is theKey then exit repeat
  end repeat
  -- check if we found a match
  if s > the number of lines of it then
-- no match so restore earlier selection
put h into s
-- tell user that no match found
beep
  else
-- correct line reference
subtract 1 from s
  end if
  -- update display if a line is selected
  if s is not empty then
-- set the hilite
set the hilitedLines of fld "content" to s
-- scroll the field accordingly (12 is line height)
set the scroll of fld "content" to (s-1)*12
  end if
end keyDown
Robert Brenstein
[EMAIL PROTECTED]
www.japrosoft.com
no more spam: Mailwasher Pro
http://www.firetrust.com/products/pro/
and please mention my emailaddress...  
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Printing is driving me crazy

2005-03-31 Thread graham samuel
I'm developing some simple printing routines using RR 2.5.1 and OSX 
10.3.8. I have a little Epson inkjet printer that works very happily 
with all my purchased apps such as word processors, graphic programs 
etc. But with Rev I'm having a bad time.

1. I arranged for the initialisation routine in my app to read the 
paper size and the margins and to make my stack the same size as the 
printPaperSize and my print area the same size as the page minus the 
margins. I then attempted to construct something to print. The card to 
be printed looks perfectly OK, but the printer doubles the left margin 
from the absurdly large 72 points (more later) to a completely daft 144 
points - at least it looks that way. This shows up even on the OSX 
preview, and even when I propose to print on a different printer, which 
makes me think it must be me, except for the screen appearance and 
dimensions of the card to be printed, which look OK. For example, the 
left hand edge of the field to be printed is definitely 72 pixels from 
the edge of the card, and the card is definitely 594 pixels wide, which 
corresponds to the width of an A4 page. I just can't guess what I'm 
doing wrong.

2. I find that if I  run a 'Page Setup' routine by calling 'answer 
printer', I can alter the printPaperSize, even switching from portrait 
to landscape; but even if I change the margins in the OS dialog (there 
is a trick - Custom Paper Size - for doing this), they don't change 
within the RunRev environment. I suppose that I could introduce a 
dialog of my own to change the margins, but then I wouldn't know how 
near the edge I could take them (I've Bugzilla'd this one). How do 
other people cope with this?

TIA for any help at all. Deadlines loom and I'm in difficulty here. 
Maybe the PC version will work better...

Graham

Graham Samuel / The Living Fossil Co. / UK and France
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: set a prop after get url a stackfile

2005-03-31 Thread Dan Shafer
This is a bit confusing to me, but perhaps only to me.
If you've done a "get url" you either know the file name because you 
explicitly supplied it or it is stored in a variable that you set or 
the user chose it from some dialog or something, right? Grab the name 
at the time that you know it and stick it into a variable. Let's call 
that variable tStackIGot. Then you can:

set the customPropName of stack tStackIGot to customPropValue
No?
On Mar 31, 2005, at 10:39 AM, thierry wrote:
Hi all,
 after doing: get url http://aStackFile
 i want to  to set a customProp  of this stack
 and save it on my disk... So, how can i get the Id of
 the stack or the name just after the get url ?
 i know i can do an OPEN IT,
 but i want to do this on the background, silently.
 any clue ?
Regards, thierry
~~
Dan Shafer, Co-Chair
RevConWest '05
June 17-18, 2005, Monterey, California
http://www.altuit.com/webs/altuit/RevConWest
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: drag n drop

2005-03-31 Thread Éric Chatonet
Hi Thomas,
You might be interested by my HowTo stack #010 "How to drag and drop  
files and folders" which shows how to manage multiple files and/or  
folders drag and drop, how to know the right kind of data for each file  
and how to display the corresponding data into a field, an image or a  
player.
There is no specific cross-platform problem...
Have fun as says our friend Klaus :-)

On RevOnLine:
User name: So Smart Software
Category: Programming
On RevNet:
Tutorials section
Directly by pasting into the message box:
go url  
"http://www.sosmartsoftware.com/downloads/ 
Managing%20Drag%20and%20Drop.rev"

Le 31 mars 05, à 20:53, Thomas McGrath III <[EMAIL PROTECTED]> a  
écrit :

I want to make a standalone that will except drag n drop. I need to
know how to tell the difference between a folder, file, and application
on both Macintosh and Windows based computers.
I want the user to be able to drag anything to a standalone window and
then interpret what it is and create a short cut to it. I also want to
treat the different types differently, so I need to know what was
dropped.
Any help on both the Mac and Win approach is appreciated.
Best regards,
Eric Chatonet.

So Smart Software
For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Web sitehttp://www.sosmartsoftware.com/
Email   eric.chatonet AT sosmartsoftware.com/
Phone   33 (0)1 43 31 77 62
Mobile  33 (0)6 20 74 50 86

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: More Image problems

2005-03-31 Thread Lynch, Jonathan
>> you mean you know how to make transparent 8 bit-color cursors?
>> Been searching for 18 months! :)

>No i mean a correct looking and WORKING 1 bit cursor!
>Only 1bit cursors are currently supported by Rev.

Couldn't you just have an invisible cursor, and an image that kept
itself at the exact location of the cursor at all times? That way, the
"cursor" could be anything you want.

The image dragging scripts that I have used (adapted from scripts posted
on this list) seem to work quite well.

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


[off]altBrowser users

2005-03-31 Thread Mikey
I got an email from RR today stating that with the purchase of Studio,
they're tossing in altBrowser.

What are all of you using altBrowser for?  I can think of several uses
off the top of my head, but I didn't know who is using it and what
they think of it.
-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: The Campain Trail

2005-03-31 Thread MisterX

If you want to see a full working demo and want to help me finish it, let me
know...

cheers
Xavier

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Derek Bump
> Sent: Thursday, March 31, 2005 19:08
> To: How to use Revolution
> Subject: The Campain Trail
> 
> Imagine if you could create your own "lookAndFeel" types 
> (otherwise known as Skins).  This would be a HUGE advantage.  
> You could make your own buttons, fields, menus, whatever.  
> All in all, giving you the ability to make a user experience 
> that much more interesting.
> 
> And since many programs are now offering skins as a way of 
> personalization (remember the iMac craze) I think this 
> enhancement would give Revolution the extra help it needs to 
> compete against the likes of RealBasic and other IDE's.
> 
> So what do you think?  If you like the idea, vote for it...
> 
> http://support.runrev.com/bugdatabase/show_bug.cgi?id=2383
> 
> 
> Derek Bump
> Dreamscape Software
> ___
> Compress Images Easily with JPEGCompress 2.5 
> http://www.dreamscapesoftware.com/
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: About variable.

2005-03-31 Thread Thomas McGrath III
The variable watcher works with globals and locals but not with custom 
props. Now if I had a multi custom prop viewer (not the inspector 
single view upon selection type) that also worked with globals and 
variables.

Tom
On Mar 31, 2005, at 1:18 PM, Frank D. Engel, Jr. wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
When would you have to use a global variable, in so far as something 
cannot be accomplished with a custom property?

On Mar 31, 2005, at 12:41 PM, Mark Wieder wrote:
Mikey-
Thursday, March 31, 2005, 6:00:06 AM, you wrote:
M> The thing about "globals" in rev is that they're not really 
"globals"
M> but, in old basic parlance "commons".  If it was "global" you would
M> define it as global and it would be everywhere in Rev without 
further
M> "global" statements inside objects.

That's exactly right. There's been quite a bit of discussion of
globals here over the last couple of years. Basically declaring a
variable as "global" flags it as a candidate for being used in other
scripts. Then declaring the variable a global in a second script
references the first instance of the variable. The whole thing is a
bit error-prone, if you ask me. I avoid globals whenever I can, but
sometimes you gotta use them.
--
-Mark Wieder
 [EMAIL PROTECTED]
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

- ---
Frank D. Engel, Jr.  <[EMAIL PROTECTED]>
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCTD8H7aqtWrR9cZoRAtzlAJ4jzf5Uv+kTNtO1+ozUXMNam218RgCfR4J5
s8N+B1W0Il5Pgny1YqWpc2s=
=lBo/
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Greek text in Rev fields under Linux

2005-03-31 Thread Richard K. Herz
For scientific notation, I need to display Greek text characters in Rev 
fields in Linux using a font in a standard Linux distribution. On Win and 
Mac, one simply uses Symbol font in a Rev field. This doesn't display 
properly in Rev under Linux (Redhat Core distribution). The Rev docs suggest 
this involves using UTF-16 unicode font. The standard fonts on Linux appear 
to be UTF-8 and my experiments have been unsuccessful.

Does anyone have a stack with a field which displays Greek text on Linux 
they can share?

Thanks
Rich 

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: drag n drop

2005-03-31 Thread Thomas McGrath III
much appreciated.
How can I open a folder on the users desktop???
thanks
tom
On Mar 31, 2005, at 1:23 PM, Frank D. Engel, Jr. wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Older apps which run under Mac OS 9 (Classic apps), and possibly some 
Carbon apps (which are not always bundles), do not have the .app 
extension.

Under Windows, Windows apps should all be .exe, but some older DOS 
programs may have an extension of .com, and of course batch files may 
end in .bat or .cmd.

Shell scripts under OS X may end in .sh, .csh, etc
But the vast majority of "modern" applications will be .exe under 
Windows, .app under OS X.

On Mar 31, 2005, at 12:59 PM, Thomas McGrath III wrote:
Klaus,
Thank you and for the sample stack.
Is this always the case with .exe and .app ??? Can I rely on it?
Thanks again,
Tom
On Mar 31, 2005, at 12:07 PM, Klaus Major wrote:
Apps do have an "*.exe" suffix on windows and an "*.app" suffix on 
the mac (OS X)...

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

- ---
Frank D. Engel, Jr.  <[EMAIL PROTECTED]>
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCTEAp7aqtWrR9cZoRAlVkAJ9W6lXiJHfW5lJmhv3mhv6O6UythACfbp52
ta46Ezss2ptzMrCQ92LnrHc=
=9pi/
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: set a prop after get url a stackfile

2005-03-31 Thread Klaus Major
Bon sour Thierry,
Hi all,
 after doing: get url http://aStackFile
 i want to  to set a customProp  of this stack
 and save it on my disk... So, how can i get the Id of
 the stack or the name just after the get url ?
 i know i can do an OPEN IT,
 but i want to do this on the background, silently.
 any clue ?
Sure :-)
Simply do this AFTER it has been downloaded:
...
get url "http://aStackFile";
put the short name of stack it into myTargetstack
save stack myTargetstack as "xyz"
...
Hope that helps...
Regards, thierry
Best
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: About variable.

2005-03-31 Thread Mikey
> When would you have to use a global variable, in so far as something
> cannot be accomplished with a custom property?

Obviously you don't have to since you can use custom properties, but
you also don't really need to use custom properties because there are
globals...err...commons (I know, I know, commons in basic were more
restricted, blah, blah, blah).

Anyway, globals are useful in that they only have scope where they are
referenced as global, which is useful in and of itself.  If you
disagree with that assessment then you shouldn't ever be using local
variables, right?  No.  Local variables are nice precisely because of
their scope.  Globals are useful because of their scope.  Custom
properties are useful because of their scope (and because of a lot of
other reasons as well).

Since we can't instantiate our own classes as yet, globals serve a
useful purpose of being able to carry system-wide values that are not
tied to any particular value, and perhaps to any particular stack.

I'm particularly interested in trying to recreate my mail server in RR
just for the heck of it.  In such a system globals are extensively
used since there are properties that will have to span multiple
stacks.
-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: More Image problems

2005-03-31 Thread Klaus Major
Bon soir Xavier,
Grusse Klaus ;))
I didn't think I could answer this today or in 2 weeks time - I tried
upgrading my PC's cpu from 1.8 to 3GHz and 99% compatible Mobo wouldn't
compute or start!
PCs are horrible right?
BIOS tests a gogo to make the 400/533MHZ FSB eat the 800MHz FSB of the 
new
cpu + web searches = all OK but mobo says nono! So Bought a new 
modobordo
(+ram (150$) but the power supply I had in my space PC case didn't 
have the
12V cable!!! ARGH! So I had to strip my main PC down!!! When my pc 
works,
all the drives start acting up (the dual IDE master/slave/cable select
juggling!!) Even my suspension on the Z3 wouldn't adjust today!!! My 
21"
screen went down (2nd in 3 months!), bought a new LCD to claim my desk 
space
back but now it has problems displaying "black" only! What a day! Im 
staying
away from RunRev ;)

But after I got the drives (all 3 for a total of 450GBS!) in, the old 
OS
booted and self updated (against my wishes ;)! Amazed, cause it's been 
such
a bad luck day even with the Z3! So I can actually reply this mail 
today and
im flabergasted by the OS in MS - for once!!! I thought only old MacOS 
CPUs
could boot on any harddisk!!! If you didn't get your scsi ids or 
cables or
termination wrong! ;)
OH MY GAWD! :-)
Is it really worth it???
But back to the image problems...
...
This will happen only if you edit (or fake to do so like:
click with any paint tool and UNDO immediately) the imported image.
HINT: This is especially useful when working with custom cursors!!!
you mean you know how to make transparent 8 bit-color cursors?
Been searching for 18 months! :)
No i mean a correct looking and WORKING 1 bit cursor!
Only 1bit cursors are currently supported by Rev.
That format supports 32-bit images (24 + 8 alpha) and so
exporting is
...
And we can always:
export img xyz to file "xyz.jpg" AS JPEG ## Or PNG or GIF
(yes, even GIF, but looks AWFUL :-D
Writing it without "as something" resulted in something that wasn't
something to a standard gif displayer! I didn't try back in Rev...
When using without "AS format" you end with an image in PBM, PGM or PPM
format, a VERY common image fileformat on UNIX, so they say ;-)
Wish as
 it worked... but not as I wanted >;)
??? Always worked for me...
MisterX wrote:
Hum... Working with images is not innocent work!
Innocent?
I know what that means but in this context...?
It wasn't intuitive again! ;) lots of possible errors without any 
warning,
result or error (im so surprised actually! No file and no error!). 
When I
tried to script "save as it" (where it = the paintcompression) it 
wouldn't
work! But the ugly dynamic script worked of course!

I would like to export an image. Simple...
Sure, very simple, if you know how ;-)
That's my point! it's not innocently easy while it could really be!!! 
save
img x as thisfile shoult be enough of a default!!!
That's the way it works currently...
But the default format is the oh so beloved PBM, PGM or PPM format!
And IF it was that easy, then this list wouldn't be THAT fun anymore ;-)
 IMOHO naturally... It's been improved since MC days but not a lot...
Im going to send you a nice little stack for your review and you'll 
see what
I mean!!! !

But image names do not always have the .gif or .png or
.jpg in their
names.
Your problem ;-)
Actually, no.
Well, actually i meant that the fact that images may not have a suffix
in their names IS your problem, since if it is your stack it IS your 
fault
anyway and if it is not your stack, well, then you shouldn't mess around
with other peoples images ;-)

Everyone who doesn't know the handy paintcompression property
which I didn't see in the doc or see also (upcoming web note ;) -
imagecompression or imageformat would have been more, eh, intuitive 
maybe,
no?
Sorry, cannot agree, imges/file formats/computer stuff per se IS a very
complex thing...
I know how hard it gets to find names for functions after a few 
hundreds
but that one baffles me - while we do paint in a painting, we are 
talking
about an image control or object... so imagecompression would be cool 
as in
"i'll try any word that sounds common sense in my script, and it works
Please don't lets start discussing the sense of Rev's 
handlers/functions names!
It is like it is! :-)

But if you know the format you can simply:
...
put img xyz into url("binfile:filename.jpg") ##or whatever...
...
The gif displayer from the dark side agrees with you ;) (cynical grin)
:-)
If you use the command line export img id x to file
thisfile you get nothing!
That must have been a taoist script! Nothing in guise of something 
makes
something of anything! It created this mail thread in the least ;)
Well, in that case it is at least something :-)
To be honest, i hate this philosophical stuff!
Xav
Regards
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


set a prop after get url a stackfile

2005-03-31 Thread thierry
Hi all,

 after doing: get url http://aStackFile

 i want to  to set a customProp  of this stack
 and save it on my disk... So, how can i get the Id of
 the stack or the name just after the get url ?
 i know i can do an OPEN IT,
 but i want to do this on the background, silently.

 any clue ?
 
Regards, thierry
 


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: drag n drop

2005-03-31 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Older apps which run under Mac OS 9 (Classic apps), and possibly some 
Carbon apps (which are not always bundles), do not have the .app 
extension.

Under Windows, Windows apps should all be .exe, but some older DOS 
programs may have an extension of .com, and of course batch files may 
end in .bat or .cmd.

Shell scripts under OS X may end in .sh, .csh, etc
But the vast majority of "modern" applications will be .exe under 
Windows, .app under OS X.

On Mar 31, 2005, at 12:59 PM, Thomas McGrath III wrote:
Klaus,
Thank you and for the sample stack.
Is this always the case with .exe and .app ??? Can I rely on it?
Thanks again,
Tom
On Mar 31, 2005, at 12:07 PM, Klaus Major wrote:
Apps do have an "*.exe" suffix on windows and an "*.app" suffix on 
the mac (OS X)...

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

- ---
Frank D. Engel, Jr.  <[EMAIL PROTECTED]>
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCTEAp7aqtWrR9cZoRAlVkAJ9W6lXiJHfW5lJmhv3mhv6O6UythACfbp52
ta46Ezss2ptzMrCQ92LnrHc=
=9pi/
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: About variable.

2005-03-31 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
When would you have to use a global variable, in so far as something 
cannot be accomplished with a custom property?

On Mar 31, 2005, at 12:41 PM, Mark Wieder wrote:
Mikey-
Thursday, March 31, 2005, 6:00:06 AM, you wrote:
M> The thing about "globals" in rev is that they're not really 
"globals"
M> but, in old basic parlance "commons".  If it was "global" you would
M> define it as global and it would be everywhere in Rev without 
further
M> "global" statements inside objects.

That's exactly right. There's been quite a bit of discussion of
globals here over the last couple of years. Basically declaring a
variable as "global" flags it as a candidate for being used in other
scripts. Then declaring the variable a global in a second script
references the first instance of the variable. The whole thing is a
bit error-prone, if you ask me. I avoid globals whenever I can, but
sometimes you gotta use them.
--
-Mark Wieder
 [EMAIL PROTECTED]
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

- ---
Frank D. Engel, Jr.  <[EMAIL PROTECTED]>
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCTD8H7aqtWrR9cZoRAtzlAJ4jzf5Uv+kTNtO1+ozUXMNam218RgCfR4J5
s8N+B1W0Il5Pgny1YqWpc2s=
=lBo/
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: About variable.

2005-03-31 Thread Dan Shafer
I think the solution is always to define globals at the script level 
rather than the handler. There are good arguments for avoiding them 
altogether and I'm finding custom properties more flexible and useful 
in many cases where globals used to be my knee-jerk reaction, but one 
need not avoid them altogether.

On Mar 31, 2005, at 9:41 AM, Mark Wieder wrote:
The whole thing is a
bit error-prone, if you ask me. I avoid globals whenever I can, but
sometimes you gotta use them.
~~
Dan Shafer, Co-Chair
RevConWest '05
June 17-18, 2005, Monterey, California
http://www.altuit.com/webs/altuit/RevConWest
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


The Campain Trail

2005-03-31 Thread Derek Bump
Imagine if you could create your own "lookAndFeel" types (otherwise 
known as Skins).  This would be a HUGE advantage.  You could make your 
own buttons, fields, menus, whatever.  All in all, giving you the 
ability to make a user experience that much more interesting.

And since many programs are now offering skins as a way of 
personalization (remember the iMac craze) I think this enhancement would 
give Revolution the extra help it needs to compete against the likes of 
RealBasic and other IDE's.

So what do you think?  If you like the idea, vote for it...
http://support.runrev.com/bugdatabase/show_bug.cgi?id=2383
Derek Bump
Dreamscape Software
___
Compress Images Easily with JPEGCompress 2.5
http://www.dreamscapesoftware.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: More Image problems

2005-03-31 Thread MisterX
> Xavier Bury wrote:
> 
> > Has anyone got some references regarding the imagedata 
> format to find 
> > out how to parse it best?
> 
> Sure! visit Ken Ray's site. He has a very detailed 
> explanation of the imagedata format.

I'll check it out! Thanks!

> > Anyone interested in a hex viewer addon for the revVariableWatcher? 
> > ;))
> 
> Visit my site and download the stack
> "Analize Binary files 02". It contains handlers for 
> displaying binary data as hexadecimal.
> Note it's an accurate conversion. 
> I verified it with other Hexadecimal viewers. :-))

Al, thanks again but i already have one! I'll know who to ask advice for on
it next time ;)

cheers
Xavier

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Quicktime with Rev

2005-03-31 Thread Trevor DeVore
On Mar 31, 2005, at 8:18 AM, Klaus Major wrote:
BTW, are the problems with Umlauts and accents in filenames COMPLETELY 
gone now on OS X?
Any info is very appreciated.
I'm not sure what the Umlauts problem is.  I just tried inserting a ü 
(u) into a filename and it opened fine in Rev using the property 
inspector to select the file.  I know Rev doesn't support  unicode in 
the filename.  If I add a Japanese character then I can still open the 
file in QuickTime Player but not in Rev.

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


Re: drag n drop

2005-03-31 Thread Thomas McGrath III
Klaus,
Thank you and for the sample stack.
Is this always the case with .exe and .app ??? Can I rely on it?
Thanks again,
Tom
On Mar 31, 2005, at 12:07 PM, Klaus Major wrote:
Apps do have an "*.exe" suffix on windows and an "*.app" suffix on the 
mac (OS X)...

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: More Image problems

2005-03-31 Thread MisterX
Grusse Klaus ;))

I didn't think I could answer this today or in 2 weeks time - I tried
upgrading my PC's cpu from 1.8 to 3GHz and 99% compatible Mobo wouldn't
compute or start! 

PCs are horrible right?

BIOS tests a gogo to make the 400/533MHZ FSB eat the 800MHz FSB of the new
cpu + web searches = all OK but mobo says nono! So Bought a new modobordo
(+ram (150$) but the power supply I had in my space PC case didn't have the
12V cable!!! ARGH! So I had to strip my main PC down!!! When my pc works,
all the drives start acting up (the dual IDE master/slave/cable select
juggling!!) Even my suspension on the Z3 wouldn't adjust today!!! My 21"
screen went down (2nd in 3 months!), bought a new LCD to claim my desk space
back but now it has problems displaying "black" only! What a day! Im staying
away from RunRev ;)

But after I got the drives (all 3 for a total of 450GBS!) in, the old OS
booted and self updated (against my wishes ;)! Amazed, cause it's been such
a bad luck day even with the Z3! So I can actually reply this mail today and
im flabergasted by the OS in MS - for once!!! I thought only old MacOS CPUs
could boot on any harddisk!!! If you didn't get your scsi ids or cables or
termination wrong! ;)

But back to the image problems...

> Hi Chipp,
> 
> > Xavier,
> >
> > I could be wrong, but I would think as soon as Rev 
> 'imports' an image, 
> > it is converted to it's own internal format.
> 
> well, almost :-)

Almost intuitive right ? ;)

> This will happen only if you edit (or fake to do so like: 
> click with any paint tool and UNDO immediately) the imported image.
> 
> HINT: This is especially useful when working with custom cursors!!!

you mean you know how to make transparent 8 bit-color cursors?
Been searching for 18 months! :)

> > That format supports 32-bit images (24 + 8 alpha) and so 
> exporting is 
> > a simple matter of choosing what format you wish to save as (see 
> > export command).
> >
> > I always leave the .gif/.png/.bmp extension on my images, just so I 
> > know how they were originally created.
> 
> And we can always:
> export img xyz to file "xyz.jpg" AS JPEG ## Or PNG or GIF 
> (yes, even GIF, but looks AWFUL :-D

Writing it without "as something" resulted in something that wasn't
something to a standard gif displayer! I didn't try back in Rev... Wish as
 it worked... but not as I wanted >;)

> > MisterX wrote:
> >> Hum... Working with images is not innocent work!
> 
> Innocent?
> I know what that means but in this context...?

It wasn't intuitive again! ;) lots of possible errors without any warning,
result or error (im so surprised actually! No file and no error!). When I
tried to script "save as it" (where it = the paintcompression) it wouldn't
work! But the ugly dynamic script worked of course! 

> >> I would like to export an image. Simple...
> 
> Sure, very simple, if you know how ;-)

That's my point! it's not innocently easy while it could really be!!! save
img x as thisfile shoult be enough of a default!!! IMOHO naturally... It's
been improved since MC days but not a lot...

Im going to send you a nice little stack for your review and you'll see what
I mean!!! !

> >> But image names do not always have the .gif or .png or 
> .jpg in their 
> >> names.
> 
> Your problem ;-)

Actually, no. Everyone who doesn't know the handy paintcompression property
which I didn't see in the doc or see also (upcoming web note ;) -
imagecompression or imageformat would have been more, eh, intuitive maybe,
no? I know how hard it gets to find names for functions after a few hundreds
but that one baffles me - while we do paint in a painting, we are talking
about an image control or object... so imagecompression would be cool as in
"i'll try any word that sounds common sense in my script, and it works


> But if you know the format you can simply:
> ...
> put img xyz into url("binfile:filename.jpg") ##or whatever...
> ...

The gif displayer from the dark side agrees with you ;) (cynical grin)

> >> If you use the command line export img id x to file 
> thisfile you get nothing!

That must have been a taoist script! Nothing in guise of something makes
something of anything! It created this mail thread in the least ;)

Xav


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


[ANN] BezierLine 2L

2005-03-31 Thread Alejandro Tejada
Hi Developers,

Download the stack Bezier Line 2L from:



This is another small step in the direction of
creating and maintain fully editable bezier
curves in RR/MC.

Now , i understand why the code of bezier lines
use only 3 coordinates points... ;-)

Next in agenda (after porting a flash movie to
this platform) is to add this code to the stack
"curved drawing pen" (available too in my
website).

al




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



__ 
Do you Yahoo!? 
Make Yahoo! your home page 
http://www.yahoo.com/r/hs
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Speech in standalone - help!

2005-03-31 Thread Phil Davis
This is a long shot, but:
What version of Rev are you using? In 2.1.2 there was a bug that didn't 
allow speech commands anywhere in a StandAlone app except in the 
stackfile glued to the Rev engine - speech commands in the scripts of 
other stacks used by the SA wouldn't work.

Phil Davis

Thomas McGrath III wrote:
That's odd. It works here for me. Any help from the list???
I did run into a problem with standalones for CDs where filepaths was an 
issue. maybe.

On Mar 31, 2005, at 11:23 AM, Chris Carroll-Davis wrote:
I did.  On windows side it created "externals/revspeech.dll", in 
application root,  but for OS X, nothing.

On 31 Mar 2005, at 17:10, Thomas McGrath III wrote:
You must include the speech library in the standalone when building 
it. It is an option.

Tom
On Mar 31, 2005, at 10:53 AM, Chris Carroll-Davis wrote:
Now... speech works easily in development version running with Rev, 
but when I build a standalone, it fails.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: About variable.

2005-03-31 Thread Mark Wieder
Mikey-

Thursday, March 31, 2005, 6:00:06 AM, you wrote:

M> The thing about "globals" in rev is that they're not really "globals"
M> but, in old basic parlance "commons".  If it was "global" you would
M> define it as global and it would be everywhere in Rev without further
M> "global" statements inside objects.

That's exactly right. There's been quite a bit of discussion of
globals here over the last couple of years. Basically declaring a
variable as "global" flags it as a candidate for being used in other
scripts. Then declaring the variable a global in a second script
references the first instance of the variable. The whole thing is a
bit error-prone, if you ask me. I avoid globals whenever I can, but
sometimes you gotta use them.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: play player -- Never MInd!

2005-03-31 Thread Devin Asay
Okay, chalk it up to advancing years, memory leaks in my brain, or 
whatever. I just checked my lecture notes, and indeed I did teach the 
'start player' form, which is correct. The erroneous 'play player' form 
always gives the result indicated in my original post--the phantom 
"text track" thingy shows up in the middle of the screen. I guess the 
thing that threw me was my student used the incorrect 'play player' 
form in his script, and when I looked at it, the command looked fine to 
my eyes. Flashback to an old HyperCard trip?

So never mind, move along, nothing to see here. Go back to your 
snickering.

Red faced,
Devin
On Mar 31, 2005, at 9:16 AM, I impetuously wrote:
Okay, yesterday was a reality check for me. Since time immemorial, I 
have believed that 'play player "myPlayer"' and 'start player 
"myPlayer"' were synonymous. It may be a relic of using the old HC 
QuickTime external, when you used 'play movie' to start playing an 
external movie file. Regardless of the source, I have happily been 
using play player, and teaching it to my students, since Rev 1.0 
***BECAUSE IT WORKED***. Until this week. One of my students showed me 
a weird problem where his movie would sort of start playing--it would 
show a still frame of the beginning of the movie, plus pop up a text 
track movie that contained the name of the player object in the center 
of the stack window, which then would disappear. I couldn't figure out 
what was causing this, and finally I resorted to the dictionary to 
reread the play command entry, which I had read dozens of times. This 
time it struck me: this command has nothing to do with player objects. 
It is only the start command that pertains to playing movies inside 
players.

I suppose this could all be considered a morality play on the dangers 
of depending on old habits. ;-)

But now the question remains: Why does the play player form even work 
at all? Does it somehow resolve the reference in the player object as 
a virtual imported video file?

Confused,
Devin Asay
Humanities Technology and Research Support Center
Brigham Young University
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: drag n drop

2005-03-31 Thread Klaus Major
Hi all,
i just uploaded a little example stack that demonstrates how to script 
drag'n'drop.
Including checking if the dropped item is a file, a folder and or an 
application (Mac OS X/Win)

Name: Drag and drop Lite
My Revonline username: klausimausi :-)
Check the script of the only card and have fun...
Regards
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: drag n drop

2005-03-31 Thread Klaus Major
Hi Thomas,
Hello to the list,
I need a little advice here.
I want to make a standalone that will except drag n drop. I need to 
know how to tell the difference between a folder, file, and 
application on both Macintosh and Windows based computers.
i use to check the dropped items:
on dragdrop
  put the dragdata into tFiles
  repeat for each line l in tFiles
if there is a file l then
  ## This is a file :-)
end if
if there is a folder l then
 ## And this is a folder :-)
end if
  end repeat
...
I want the user to be able to drag anything to a standalone window and 
then interpret what it is and create a short cut to it. I also want to 
treat the different types differently, so I need to know what was 
dropped.
set the itemdel to "."
switch item -1 of tFiles
  case "jpg"
  case "jpeg"
etc...
You get the picture :-)
Apps do have an "*.exe" suffix on windows and an "*.app" suffix on the 
mac (OS X)...

Any help on both the Mac and Win approach is appreciated.
It is almost identical on Win and Mac, except if you want to check the 
"FILETYPE"/"CREATORCODE"
on the mac, in case the files do NOT have a suffix...

Please also check my famous plug-in "2lz2", which also supplies drag 
and drop functionality
to new created stacks. Tweak the script to make it work for your needs!

Hope that helps...
Thanks
Tom
Thomas J McGrath III
[EMAIL PROTECTED]
412-831-3094
220 Drake Road
Bethel Park, PA 15102
Regards
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


clones and scripts

2005-03-31 Thread Thomas McGrath III
Hello to the list,
I need a little help in figuring out the best way to do something.
I have a standalone that will offer a window based upon a project. In 
other words if the user wants to have two projects open then the 
standalone will offer a second window for the second project.

What I want to decide is the best way to share the scripts. I am 
thinking that a splash screen stores the code and substacks can be used 
as the project windows. But I was thinking it might be better to have a 
separate stack for each project so they can be deleted from the users 
desktop. If I do this what is the best way to share the scripts then.

I am aware of the start using and was thinking that might be the way to 
go. But then I would need a library stack, and then each project would 
have a splash screen and a project screen. But it seems this could be 
over kill. Any help/advice is appreciated.

Library stack
Main stack - to create clones of a splash/project stack
Splash stack
Project substack -- savable preferences and info
Splash stack
Project substack -- savable preferences and info
Tom
Thomas J McGrath III
[EMAIL PROTECTED]
412-831-3094
220 Drake Road
Bethel Park, PA 15102
<*)) >=<
"Life should NOT be a journey to the grave with the intention of 
arriving safely in an attractive and well preserved body, but rather to 
skid in sideways - a Cigar in one hand - a large steak in the other - 
your body thoroughly used up, totally worn out, and screaming - WOO 
HOO! What a Ride!"
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Invisible files in OS 9

2005-03-31 Thread Robert Brenstein
On 3/30/05 9:05 PM, Robert Brenstein wrote:
 Is it possible to make a file in Mac OS 9 invisible without a special
 applescript addition?
 --
 Jacqueline Landman Gay | [EMAIL PROTECTED]
 HyperActive Software   | http://www.hyperactivesw.com
 Have you tried SetFileFlag xcmd from Rinaldi? Theoretically, it should
 work.
Thanks, now I have two options. I was hoping to do it using only 
native capabilities, but it doesn't look like there is any other way 
outside an external.

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

There is a request in bugzilla to support Mac Finder flags but I 
doubt that it will be ever implemented. Considering the slow but 
certain marginalization of OS9, I can live with that if I can use 
externals to handle that functionality.

Unfortunately, not all of these externals work. I have filed a bug 
report of one of those Finder-related externals (search bugzilla for 
xfcn if you care to see) crushing Rev. Rinaldi blames Rev, RR folks 
blame the external and won't investigate further. I am forced to 
continue using HyperCard for that project :(

Robert
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


drag n drop

2005-03-31 Thread Thomas McGrath III
Hello to the list,
I need a little advice here.
I want to make a standalone that will except drag n drop. I need to 
know how to tell the difference between a folder, file, and application 
on both Macintosh and Windows based computers.

I want the user to be able to drag anything to a standalone window and 
then interpret what it is and create a short cut to it. I also want to 
treat the different types differently, so I need to know what was 
dropped.

Any help on both the Mac and Win approach is appreciated.
Thanks
Tom
Thomas J McGrath III
[EMAIL PROTECTED]
412-831-3094
220 Drake Road
Bethel Park, PA 15102
<*)) >=<
"Life should NOT be a journey to the grave with the intention of 
arriving safely in an attractive and well preserved body, but rather to 
skid in sideways - a Cigar in one hand - a large steak in the other - 
your body thoroughly used up, totally worn out, and screaming - WOO 
HOO! What a Ride!"
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Speech in standalone - help!

2005-03-31 Thread Thomas McGrath III
That's odd. It works here for me. Any help from the list???
I did run into a problem with standalones for CDs where filepaths was 
an issue. maybe.

On Mar 31, 2005, at 11:23 AM, Chris Carroll-Davis wrote:
I did.  On windows side it created "externals/revspeech.dll", in 
application root,  but for OS X, nothing.

On 31 Mar 2005, at 17:10, Thomas McGrath III wrote:
You must include the speech library in the standalone when building 
it. It is an option.

Tom
On Mar 31, 2005, at 10:53 AM, Chris Carroll-Davis wrote:
Now... speech works easily in development version running with Rev, 
but when I build a standalone, it fails.

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: 3 questions from a newbie

2005-03-31 Thread Klaus Major
Hi Robert,
At 17:07 +0200 31.03.2005, Rob Meijer wrote:
I am in my second trial period, still trying to
complete a application.
For this time I cannot find a solution for:
1.
how to import an icon from elswhere?
I cannot find the good one in the build-in iconlist
Import image or copy-paste should do.
An icon is just an image of certain size.
and that is the culprit
We use to think of an "icon" as a SMALL image, but in terms of Rev we 
should
speak of just an "image in a button". (Imagine this sung by "Sting" :-D

The image does NOT have a sizelimit, but the current OS may ;-), 
although you won't
see it completely unless the button has the same size!

It is just an "unhappy" name, just like "Quicktime player" for player 
objects, which DO
work without Quicktime, too, although the name implies soemething 
else...

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


Re: Searchdocs XML 2.3 - final

2005-03-31 Thread Wilhelm Sanke
On Wed, 30 Mar 2005, Jerry Balzano <[EMAIL PROTECTED]> wrote
Wilhelm -
This is awesome!  FYI, however, on my Mac (OS 10.3), I am getting  
clipping of the text of the XML files in the right-hand pane.  It only  
happens for some of the queries (usually FAQ but I haven't tested  
thoroughly), and it's only the first three characters, usually only the  
first line.

- Jerry

Jerry,
this is a feature! The Rev people have mutilated the filenames of quite 
a number of XML files to shorten them. Have a look into your Faq folder.

By the way, I have added "enterinfield" to "returninfield" in the script 
of the searchstring field to better accommodate to the habits of  Mac 
users. Sarah Reichelt had pointed out off-list that this might be a 
useful addition.

Cheers,
Wilhelm
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Quicktime with Rev... New Question

2005-03-31 Thread Mark Swindell
Yes, I just want the controller flipped.  It is for audio only, where 
spoken text will accompany written text on screen.  I think 
manipulating the QT API is above my current ability level.  :(
Mark

On Mar 31, 2005, at 8:08 AM, Trevor DeVore wrote:
On Mar 31, 2005, at 7:28 AM, Mark Swindell wrote:
Is there a way to flip the QT player in Rev so that it is orientated 
vertically rather that horizontally?  I would like it to run 
alongside a page of text from top to bottom, not underneath from side 
to side.
Do you want the actual image to flip or just the movie controller?  If 
you want the image then you can use the EnhnacedQT external.  If you 
want to position the controller along the side rather than the bottom 
of the movie then it is possible using the QT API but I haven't put it 
in the external.


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


Re: Speech in standalone - help!

2005-03-31 Thread Chris Carroll-Davis
I did.  On windows side it created "externals/revspeech.dll", in 
application root,  but for OS X, nothing.

On 31 Mar 2005, at 17:10, Thomas McGrath III wrote:
You must include the speech library in the standalone when building 
it. It is an option.

Tom
On Mar 31, 2005, at 10:53 AM, Chris Carroll-Davis wrote:
Now... speech works easily in development version running with Rev, 
but when I build a standalone, it fails.

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Quicktime with Rev

2005-03-31 Thread Klaus Major
Hi Trevor,
On Mar 31, 2005, at 7:28 AM, Klaus Major wrote:
Aha!
Now the big question: Bug or feature?
If bug: Rev or OS X bug?
It isn't necessarily a bug.  Revolution uses the old method of opening 
files with the QuickTime API which uses the FSSpec.  This has file 
name as well as path name length limitations (255 for the full path).  
As of QT 6.4 (I think) QuickTime added new calls that open movies that 
can have unicode names, etc.
Thanks for this info!
Eventually Rev needs to add support for using the newer calls when 
QuickTime supports it.
Sounds like an EXCELLENT idea!
BTW, are the problems with Umlauts and accents in filenames COMPLETELY 
gone now on OS X?
Any info is very appreciated.

Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]
Regards
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
P.S.
## If you want to position the controller along the side rather than 
the bottom
## of the movie then it is possible using the QT API but I haven't put 
it in the external.

This one does sound very interesting, too :-)
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Invisible files in OS 9

2005-03-31 Thread J. Landman Gay
On 3/30/05 9:05 PM, Robert Brenstein wrote:
>> Is it possible to make a file in Mac OS 9 invisible without a special
>> applescript addition?
>>
>> --
>> Jacqueline Landman Gay | [EMAIL PROTECTED]
>> HyperActive Software   | http://www.hyperactivesw.com
>>
>
> Have you tried SetFileFlag xcmd from Rinaldi? Theoretically, it should
> work.
Thanks, now I have two options. I was hoping to do it using only native 
capabilities, but it doesn't look like there is any other way outside an 
external.

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


play player -- why does this work?

2005-03-31 Thread Devin Asay
Okay, yesterday was a reality check for me. Since time immemorial, I 
have believed that 'play player "myPlayer"' and 'start player 
"myPlayer"' were synonymous. It may be a relic of using the old HC 
QuickTime external, when you used 'play movie' to start playing an 
external movie file. Regardless of the source, I have happily been 
using play player, and teaching it to my students, since Rev 1.0 
***BECAUSE IT WORKED***. Until this week. One of my students showed me 
a weird problem where his movie would sort of start playing--it would 
show a still frame of the beginning of the movie, plus pop up a text 
track movie that contained the name of the player object in the center 
of the stack window, which then would disappear. I couldn't figure out 
what was causing this, and finally I resorted to the dictionary to 
reread the play command entry, which I had read dozens of times. This 
time it struck me: this command has nothing to do with player objects. 
It is only the start command that pertains to playing movies inside 
players.

I suppose this could all be considered a morality play on the dangers 
of depending on old habits. ;-)

But now the question remains: Why does the play player form even work 
at all? Does it somehow resolve the reference in the player object as a 
virtual imported video file?

Confused,
Devin Asay
Humanities Technology and Research Support Center
Brigham Young University
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: 3 questions from a newbie

2005-03-31 Thread Robert Brenstein
At 17:07 +0200 31.03.2005, Rob Meijer wrote:
I am in my second trial period, still trying to
complete a application.
For this time I cannot find a solution for:
1.
how to import an icon from elswhere?
I cannot find the good one in the build-in iconlist
Import image or copy-paste should do. An icon is just an image of certain 
size.
2.
In a listbox-field I want the selectedt line be hilited permanently
until a next line is clicked. Now the the line is hilited for the
tihe mouse is pressed down.
Make it a list field (lock it and set the autohilite to true).
However, I suspect that you aleady have that and the hilite 
disappears on mouseUp because of something in the script. You may set 
the hilitedLines to restore the selection at the end of the handler 
(cf script below).

3.
In the same listboxfield I want to choose a line just by pressing down
a key: f.i. the R to get the first line beginning with a R.
The only way to choose now is with mouse or arrow-keys.
place the following handler on the card (untested but fully commented):
on keyDown theKey
  set the cursor to watch
  -- transfer fld content to var
  get fld "listbox"
  -- preserve current selection
  put the hilited lines of fld "listbox" into h
  -- preset line counter
  put 1 into s
  -- loop through lines
  repeat for each line t in it
-- increase counter (we are purposefully 1 off)
add 1 to s
-- escape if condition met
if char 1 of t is theKey then exit repeat
  end repeat
  -- check if we found a match
  if s > the number of lines of it then
-- no match so restore earlier selection
put h into s
-- tell user that no match found
beep
  else
   -- correct line reference
   substract 1 from s
  end if
  -- update display if a line is selected
  if s is not empty then
-- set the hilite
set the hilitedLines of fld "listbox" to s
-- scroll the field accordingly (12 is line height)
set the scroll if fld "listbox" to (s-1)*12
  end if
end keyDown
Robert Brenstein
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


  1   2   >