Re: 2 colors for 2 line btn labels?

2003-06-10 Thread Jeanne A. E. DeVoto
At 3:35PM -0700 6/6/03, erik hansen wrote:
is there a way to set different colors for
different lines in the label on a btn?

No. (Sorry.) You can set only the entire button's colors at a time.

--
Jeanne A. E. DeVoto ~ [EMAIL PROTECTED]
Runtime Revolution Limited - Software at the Speed of Thought
http://www.runrev.com/


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


Re: Audio and Video Files Question

2003-06-10 Thread Jeanne A. E. DeVoto
At 8:14PM -0700 6/9/03, Roger Guay wrote:
Is there a way to check or query a stack to find what audio and video
files have been imported into it?

repeat with x = 1 to the number of audioclips
  answer the name of audioclip x
  -- or do anything else with the clip
end repeat

Or in the Preferences dialog, choose the Application Browser section and
check the boxes for audio clip and video clip, then open the Application
Browser and flip open the stack. The clips will be listed below the stack
name.

--
Jeanne A. E. DeVoto ~ [EMAIL PROTECTED]
Runtime Revolution Limited - Software at the Speed of Thought
http://www.runrev.com/


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


Re: Can't import an image in 2.0

2003-06-10 Thread Jeanne A. E. DeVoto
At 6:05PM -0700 6/5/03, Edwin Gore wrote:
I have worked with images before, but only as controls, and setting the
image of the control to a file.

Today, I decided to fool around with windowShape for somethign I am
working for. I selected the Image Library menu item, selected my stack
in the pull down on the library window, but nothing happens when I click
on import.

What am I doing wrong?

Nothing - you seem to have found a bug (which I've bug reported).

As a workaround for now, you can use the File menu  Import as Control 
Image File to import the file, instead of doing it in the Image Library
window.

--
Jeanne A. E. DeVoto ~ [EMAIL PROTECTED]
Runtime Revolution Limited - Software at the Speed of Thought
http://www.runrev.com/


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


Re: How to Inspect Rev Tools

2003-06-10 Thread Jeanne A. E. DeVoto
At 6:02PM -0700 6/8/03, Dan Shafer wrote:
The docs say (or strongly imply) that since the entire Rev UI is
written in Rev, you can examine how it does things and even, given
sufficient courage and backups, tweak the way the development
environment works.

Pray, how do I do that? I can't seem to get any of the Rev tool stacks
to open in an editable or viewable way.

I assume you've read the How to investigate code in the development
environment's windows (since that's where this is mentioned), so you know
how to look at and modify the scripts in a window.

Most of the development environment windows are either modeless dialogs or
palettes, which you can't use the Pointer tool in. To use the Pointer tool
(for example, to change the layout of controls or add a new control), use
the contextual menu shortcut Command-Control-Shift-click, and choose
Toplevel from the Stack Mode submenu. This turns the stack into an
editable window.

--
Jeanne A. E. DeVoto ~ [EMAIL PROTECTED]
Runtime Revolution Limited - Software at the Speed of Thought
http://www.runrev.com/


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


Re: Is beep zero-based?

2003-06-10 Thread Jeanne A. E. DeVoto
At 10:51 AM -0700 6/8/03, Stephen Quinn Barncard wrote:
Isn't there something like

wait until the sound is done

in Transcript?

There is, but it only applies to audioclips, not to beep sounds.

--
Jeanne A. E. DeVoto ~ [EMAIL PROTECTED]
Runtime Revolution Limited - Software at the Speed of Thought
http://www.runrev.com/


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


Re: Removing text styles

2003-06-10 Thread Jeanne A. E. DeVoto
At 8:31 AM -0700 6/5/03, Jim Hurley wrote:
When I run the following handler, the style of the text is not plain.
It retains the text shift.

The textShift isn't affected by the textStyle; they're independent properties.

To get rid of superscripting and subscripting, set the textShift of the
chunk to zero:

  set the textShift of char 3 of field 1 to zero

--
Jeanne A. E. DeVoto ~ [EMAIL PROTECTED]
Runtime Revolution Limited - Software at the Speed of Thought
http://www.runrev.com/


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


Fwd: stack will not save - very odd behavior

2003-06-10 Thread Michael Robinson


Begin forwarded message:

From: Michael Robinson [EMAIL PROTECTED]
Date: Wed Dec 31, 1969  4:54:09  PM America/Los_Angeles
To: [EMAIL PROTECTED]
Subject: Re: stack will not save - very odd behavior
Reply-To: [EMAIL PROTECTED]
Jan,
yes, the stack does receive a closeStackRequest message when it's 
closed. Everything seems to work fine, but only if first you click on 
the stack window an resize it (almost like you need to tell the app it 
is there). If you clone the data stack and then just quit the program 
the stack is in the data folder but if you open it is not there, 
hidden? - But clone the stack, resize the window and everything seems 
to work!

On Sunday, June 8, 2003, at 11:06  AM, Jan Schenkel wrote:

--- Michael Robinson [EMAIL PROTECTED] wrote:
Having a problem with 2.0
What happens is  the user clones a new stack and
then wants to quit,
when  you try to reopen it, the stack is not
visible. The kicker is if
you resize the window and  then quit, the right
sequence  starts,
asking if you want to save etc. It the same even if
you have entered
data on  some cards and you go to quit, if you don't
resize the window
the data you just entered is lost. Yes, it the top
stack, and I trapped
the quit with a shutDownRequest handler that seems
only want to work if
you resize the stack window. I do nor know if it me
or 2.0.1, but it
worked ok in 1.1.1, but I was not using a
shutDownRequest handler.
Help!
thanks
Mike
Hi Mike,

Doesn't the stack receive a 'closeStackRequest'
message when it's closed ? You should trap that in
your template stack script.
Hope this gets you closer to a solution.

Jan Schenkel.

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

__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: 1.1.1 Buttons in 2.0

2003-06-10 Thread Emmanuel Companys
Le mardi, 10 juin 2003, à 07:11 Europe/Paris, Jeanne A. E. DeVoto a 
écrit :

My guess is that the opaque property of the buttons is false. It looks 
like
something changed in the engine such that standard buttons whose 
opaque is
set to false look like rectangle buttons.
Looks like à bug, doesn't it? And it's not the only one concerning t he 
buttons, as I listed in my post.
Apparently 2.0.1 has not fixed them.

As for the name confusion and its consequences, this inconvenience has 
been reported also in other cases than buttons.

Manuel

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


So now we've got 2.0.1 out

2003-06-10 Thread Heather Williams
Would anyone care to go and express an opinion on it on Version tracker and
or Download.com? The Windows update, in particular is feeling rather
neglected. Plenty of people seem to have opinions on the OSX version, but
are Windows folk really so shy?

Regards,

Heather

-- 
Heather Williams [EMAIL PROTECTED] http://www.runrev.com/
Runtime Revolution Ltd.
Tel: +44 (0) 131 7184333 Fax: +44 (0)1639 830707
Revolution: Software at the Speed of Thought

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


Re: So now we've got 2.0.1 out

2003-06-10 Thread Jim Biancolo
I haven't used it extensively yet, but so far 2.0 hasn't given me any 
problems under Windows except for when it initially tried to find a CD that 
wasn't there (and that went away on reboot).  My lack of problems combined 
with not wanted to grab a new full install over my 56K dialup have kept me 
from upgrading.  If I'm a typical Windows developer, that might explain it 
the lack of response.  Or shyness.  That's also a viable theory.  :-)

Jim

At 03:21 PM 6/10/2003 +0100, Heather Williams wrote:
Would anyone care to go and express an opinion on it on Version tracker and
or Download.com? The Windows update, in particular is feeling rather
neglected. Plenty of people seem to have opinions on the OSX version, but
are Windows folk really so shy?


---
http://www.biancolo.com 

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


Re: Yikes! E-mail harvesting possibility?

2003-06-10 Thread Richard Gaskin
curry wrote:

 The best philosophy with this regard is yes, to enjoy lists, don't
 let spam take away any of your fun, but also take a very simple
 measure that stops most of the spam: keep the addresses off web pages.
 
 So, if this list can do that, either by using an archive service with
 protection, or by restricting access to the archives based on a
 password, we will be able to enjoy our discussions about Rev
 thoroughly but also know we won't be helping the spammers!

Anyone serious about fighting spam will also take a moment to write their
elected representatives on the issue.  In the States you can write any
member of the House or Senate at firstgov.com

After a barrage of emails on the issue over many years, the US federal
government is finally taking action at the federal level.  Many European
countries have already started.  While this won't stop the flood from Russia
or China, most spam sent from their servers is done so by US-based
companies, and precedent has been established to consider prosecuting US
companies regardless of the location of the server.

In due time I'm confident spam legislation will become international law.
As with the Berne agreement for copyrights, it won't guarantee an end to the
problem, but few spammers are based in third-world countries (the greatest
volume comes from the US), so it seems reasonable that spam can be contained
from its current 45% of all email traffic down to a manageable 10% or less.

If you live in a democratic country, take a moment to participate in the
process by advising your elected representatives.  They are your employees.

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge 2.2: Publish any database on any site
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
 Tel: 323-225-3717   AIM: FourthWorldInc

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


Textfield BorderColor bug..?

2003-06-10 Thread Wolfgang M. Bereuter
Hi list, RR team
There is still in the 2.0.1 my good old borderColor fellow...
We (I think Sara to..) have described it some times ago. But I will do 
it again...
FOA this happens only on OSX. There is no such an effect on WIN.X or 
OS9. (I did not check it on Linux)
It happens even if you open a 1.1.1 stack with text fields or a new 
stack and make a new textfield

open stack
make textfield
all 4 border are grey
the top border has a shadow (double line)
open tool palette
basic properties
checked: visible, share text, opaque, focusable, focus border, show 
border, auto hilite, fixed line height
(no matter what you change the problem remains)

tool palette
change to colors and patterns
select the textfield
click on btn borderColor
(here rev crashes if you try to drag the color from the OSX Color 
palette to the btn borderColor
hanging until you close the OSX palette, but thats another thing..)
select a color lets say green, click ok
Than: the border looks like double colored grey and yellow (border with 
2)
change that to border with 1 and the green color is gone...
But the line on the top looks only grey, because its double or shadowed
if you set the border with  than 2 than it becomes green to...

Once I got an effect where all 3 lines changed to the color green only 
(no grey shadow)
only the one on the top was grey
But I cant reproduce that...

RR Team,
I m waiting so long now for the fix of this bug.
Pls have a look at this. Its not only very ugly, the borderColor is 
really important...

If anybody on the list has any idea what this can be (a bug in the 
engine, or...?)
any info is welcome...
Thanks in advance...

regards
Wolfgang M. Bereuter
Learn easy with trainingsmaps©
INTERNETTRAINER Wolfgang M. Bereuter
Edelhofg. 17/11, A-1180 Wien, Austria
...
http://www.internettrainer.com, [EMAIL PROTECTED]
...
Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


fixed line height btn Bug

2003-06-10 Thread Wolfgang M. Bereuter
Hi RR team,

bug report:
open stack
make textfield
open tool palette
basic properties
fixed line height
all four buttons to set the text height and first intend are not 
working like they should...

regards
Wolfgang M. Bereuter
Learn easy with trainingsmaps©
INTERNETTRAINER Wolfgang M. Bereuter
Edelhofg. 17/11, A-1180 Wien, Austria
...
http://www.internettrainer.com, [EMAIL PROTECTED]
...
Tel: ++43/1/ 961 0418, Fax: ++43/1/ 479 2539
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: What about the bug in MenuBuilder on 2.0.1?

2003-06-10 Thread François Cuneo
 Francios,
 From the What's New.txt file included with the Revolution
 distribution:
 
 quote
 
 ISSUES ADDRESSED IN THIS VERSION
 
 --- Compatibility issues ---
 
 - OS X applications now automatically delete the last two lines in the
 first menu of a stack's menu bar. This is to prevent duplication of the
 Quit application menu item in the OS X Application menu. (Normally,
 the first menu is the File menu, and the last two menu items are a
 separator line and Quit.) This lets you use the same menu bar for all
 platforms without breaking user-interface guidelines for OS X, which
 call for the Quit menu item to be in the Applications menu and not
 the File menu.
 
 /quote
 
 This is the complete explanation for what you are seeing. If you have
 removed the separator and the Quit from your first menu, the last two
 items remaining will still be removed. leave the separator and the Quit
 there and everything will be fine. If you have to put another menu in
 that place, just add 2 dummy menu items at the end to get around this
 feature.
 
 Cheers,
 Sarah
 [EMAIL PROTECTED]
 http://www.troz.net/Rev/
 
Sarah, shame on me!
Thank you, and thank you very much.
Thank you too Monte!
Friendly
François

-- 
François Cuneo
Site Web dédié au Macintosh http://www.cuk.ch
E-mail: [EMAIL PROTECTED]

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


Cool, the new plugin to search the documentation in 2.0.1

2003-06-10 Thread François Cuneo
Really cool, the new plugin to search the documentation in 2.01,
Exactly what I need!
Thank you.
Friendly
François

-- 
François Cuneo
Site Web dédié au Macintosh http://www.cuk.ch
E-mail: [EMAIL PROTECTED]

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


template objects--and nothing else!

2003-06-10 Thread Howard Bornstein
This is a weird one.

I started editing a stack I've been working on. I go to draw out a new 
field. The cursor changes to cross hairs and I drag out the field. Only 
nothing shows up on the card. I look at the Property Inspector and it's 
labeled the templatefield.

When I click on a button in the tool palette, the property inspector 
changes to the templatebutton. If I click the graphics tool, the 
PropInspector changes to the templategraphic.

Strange! Since these are all virtual objects, I can no longer add any 
objects to my stack. If I click an existing object, the property 
inspector shows the appropriate info. I *can* duplicate an existing 
object to add something new to my stack, but if I don't already have this 
kind of object, I can't add anything new!

If I create a new stack, and click a new tool, the property inspector 
still says the template(object) but as soon as I go to draw the object, 
the propInspector changes to the right kind of object. Then if I click 
another tool, it goes back to the template(object).

Anybody have any idea what's going on here? (Rev 2.01, Mac OS 9.2.1)

Howard Bornstein

D E S I G N  E Q
www.designeq.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


HTTP headers for posting data

2003-06-10 Thread Andre Rombauts



I want to post data from a RunRev application to a 
web page that will manipulate them.Let's say data1, containing "Hello" and 
data 2 "World"...
How do I setup the httpHeaders property and the 
data argument in the post instruction?
Where can I find more info about setting up http 
headers for get/post procedures?
on 
mouseUp
 put "Hello" into 
data1
 put "World" into 
data2 set the httpHeaders to ??? post ??? to URL http://www.mysite.org/php/test.phpend 
mouseUp

Thanks in adavance to all!

André Rombauts


Windows scripting (was open MS Word files)

2003-06-10 Thread Dar Scott
On Monday, June 9, 2003, at 02:12 AM, Jan Schenkel wrote (quoting Alex 
Rice):


On Windows isn't there some kind of Scripting Engine
Architecture?
Oh, a Scripting Engine Architecture -- like Apple's
OSA, you mean ? Nah, that would be far too easy. You
know, developers like you and me might make software
that can do more than their stuff.
I think this is may have merit as a direction for Revolution to go.

The do command already has a scripting language option.  Perhaps 
there is a reasonable general way to expand that for Windows.

Hmm.  Despite the fact I have a couple Windows scripting references on 
the self and I have used them, I'm not sure this is actually handy, but 
I expect it would be.

In some sense it would create a sort of platform parity.

And I have no idea how this fits into the MS vision of the future.

Dar Scott

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


alpha

2003-06-10 Thread Peterson Trethewey
Is it possible to give an image an alpha channel? 
What's the best way to do it?  I've tried fooling with
the alphaData property but it doesn't seem to want to
change from its default state, and I've tried making
an image with an alpha channel and importing it.  Has
this worked for anybody?  I feel like I'm missing
something obvious.

Thanks,
Peterson

__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Custom Cursors

2003-06-10 Thread Dar Scott
On Monday, June 9, 2003, at 11:55 AM, Klaus Major wrote:

Now here's the final trick :-):

Open the paint tools.
Choose the brush or the eraser tool
Click on your image ONCE and IMMEDIATELY UNDO your action!
This way that image will be converted to RR internal image-format
This is a great tip!

Would the way to script this be to do just those things?  Or is there a 
better way to script it?

I wonder if there is a way to add this to my Revolution image 
right-click menu.

Dar Scott

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


How to use send

2003-06-10 Thread Barry Levine
I have a repeat loop I'd like to have execute one loop per second. 
However, I can't use the wait command because there are objects 
moving about on screen that I must not stop (and the wait command 
will stop them). Here's the loop; perhaps someone can advise me how to 
change it to the send structure?

repeat with i = 1 to 6
set the title of graphic coverMask to Releasing piece   i  ...
end repeat
Thanks in advance,
Barry
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to use send

2003-06-10 Thread Shao Sean
i know i was doing some heavy looping using the send
command and it would stop whenever the app would go into the
background, but sometimes the send command would be
skipped (it was doing every second send command).. i found
adding wait for 1 millisecond after the send command
made everything work fine (could background and all the
sends were issued)..

Win95, Win2000Pro
RunRev 1.1.1, RunRev 2.0

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


Re: How to use send

2003-06-10 Thread Dar Scott
On Tuesday, June 10, 2003, at 12:35 PM, Barry Levine wrote:

I have a repeat loop I'd like to have execute one loop per second. 
However, I can't use the wait command because there are objects 
moving about on screen that I must not stop (and the wait command 
will stop them). Here's the loop; perhaps someone can advise me how to 
change it to the send structure?

repeat with i = 1 to 6
set the title of graphic coverMask to Releasing piece   i  ...
end repeat
off the top of my head...

Method 1:

put coverMask into graphicName
repeat with i = 1 to 6
   put releasing piece   i  ... into newTitle
   send set the title of graphic graphicName to newTitle to me in i 
seconds
end repeat

Or this that don't work...

Method 2:

on updateTitle i
   if i is empty then
  put 1 into i
   end if
   set the title of graphic coverMask to Releasing piece   i  
...
   if i  6 then
  send updateTitle i-1 to me in 1 seconds
   end if
end updateTitle

Then in your code put this

updateTitle

If there are problems, let me know; I didn't even bother to check this.

Dar Scott

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


Re: How to use send

2003-06-10 Thread J. Landman Gay
On 6/10/03 1:35 PM, Barry Levine wrote:

I have a repeat loop I'd like to have execute one loop per second. 
However, I can't use the wait command because there are objects moving 
about on screen that I must not stop (and the wait command will stop 
them). Here's the loop; perhaps someone can advise me how to change it 
to the send structure?

repeat with i = 1 to 6
set the title of graphic coverMask to Releasing piece   i  ...
end repeat
I'd do something like this:

on setTitle n
  if n is empty then put 1 into n
  set the title of graphic coverMask to Releasing piece  \
 n  ...
  add 1 to n
  if n  7
  then send setTitle n to me in 1 second
end setTitle
To start it off, use either of these in the calling handler:

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


Re: How to use send

2003-06-10 Thread Dar Scott
On Tuesday, June 10, 2003, at 01:00 PM, Shao Sean wrote:

i know i was doing some heavy looping using the send
command and it would stop whenever the app would go into the
background, but sometimes the send command would be
skipped (it was doing every second send command).. i found
adding wait for 1 millisecond after the send command
made everything work fine (could background and all the
sends were issued)..
Win95, Win2000Pro
RunRev 1.1.1, RunRev 2
I'm putting together a tiny primer on using send.  If I can verify 
this, I'd like to pass on the warning.  Do you have a simple script or 
stack that illustrates this?

I have seen some engine or OS housekeeping work done at certain times 
such as in a wait.  Also, if you keep the pendingMessages cluttered 
with ready-to-run messages you will not get events processed.  Perhaps 
the problem you have seen is related to these.  Maybe when the app was 
in the background the messagePending queue filled up faster than it 
emptied.

There are a few things that can be done to keep messages from swamping 
an application.  When starting a state machine, test whether it is 
already going and either let it be or stop it and then restart it.  
When the period is not critical in sending to self, send at the end of 
the handler, not at the front.  If the period is critical, then keep it 
and all message handlers fast.  When using read from socket ... with 
message, consider a way to choke the messages, perhaps by having the 
read send a delay before the next read.

Dar Scott

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


Re: HTTP headers for posting data

2003-06-10 Thread Dave Cragg
At 7:20 pm +0200 10/6/03, Andre Rombauts wrote:
I want to post data from a RunRev application to a web page that
will manipulate them.
Let's say data1, containing Hello and data 2 World...
How do I setup the httpHeaders property and the data argument in the
post instruction?
Where can I find more info about setting up http headers for
get/post procedures?
on mouseUp
put Hello into data1
put World into data2
set the httpHeaders to ???
post ??? to URL http://www.mysite.org/php/test.php
end mouseUp
Thanks in adavance to all!

André Rombauts
You'll need to know what form of data the server is expecting. If
you're trying to reproduce something in a web page, you should be
able to look in the html page source and find the various data fields that
are sent with the request.
If it's a typical url form you want to emulate, then the data you
need to post usually looks like this:
field_1=valuefield_2=valuefield_3=value

So if the field names are data1 and data2 then you could try
something like this:
   put data1=Hellodata2=World into tData
   post tData to url htpp://whatever...
   if the result is not empty then
 answer the result
   else
put it into field response ##or whatever
   end if
You shouldn't need to set the httpHeaders. By default, the
Content-Type header is set to application/x-www-form-urlencoded
for post requests.
Cheers
Dave
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to use send

2003-06-10 Thread Dar Scott
On Tuesday, June 10, 2003, at 01:07 PM, Dar Scott wrote:

off the top of my head...
I forgot an important part.  You must set up your objects-moving-about 
machinery to use send (best) and move ... without waiting.  Or, as a 
quick fix, perhaps you can convert the wait commands to wait ... with 
messages.  The sent messages won't be executed if a handler is busy.

Dar Scott

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


drag and drop

2003-06-10 Thread Marty Knapp
Is it possible to use the drag and drop feature of Rev to allow me to drag
and drop a text file, either onto a stack or a field and have it deposit the
text into the field? I'm building a small utility to clean up e-mail files
that I save. I can then customize the characters I want stripped out, etc

Thanks,

Marty Knapp

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


Re: fixed line height btn Bug

2003-06-10 Thread Richard Gaskin
Wolfgang M. Bereuter wrote:

 Hi RR team,
 
 bug report:
 open stack
 make textfield
 open tool palette
 basic properties
 fixed line height
 all four buttons to set the text height and first intend are not
 working like they should...

Is there a form for submitting bug reports?

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge 2.2: Publish any database on any site
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
 Tel: 323-225-3717   AIM: FourthWorldInc

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


Re: How to use send

2003-06-10 Thread Dar Scott
On Tuesday, June 10, 2003, at 01:27 PM, J. Landman Gay wrote:

I'd do something like this:

on setTitle n
  if n is empty then put 1 into n
  set the title of graphic coverMask to Releasing piece  \
 n  ...
  add 1 to n
  if n  7
  then send setTitle n to me in 1 second
end setTitle
To start it off, use either of these in the calling handler:

  setTitle 1
  setTitle
I wrote...

on updateTitle i
   if i is empty then
  put 1 into i
   end if
   set the title of graphic coverMask to Releasing piece   i  
...
   if i  6 then
  send updateTitle i-1 to me in 1 seconds
   end if
end updateTitle

Then in your code put this

updateTitle
Great Minds think alike!!

And the really great ones don't subtract when adding is called for.

Barry!  Don't use mine without changing the minus to plus!

Dar Scott

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


Re: Textfield BorderColor bug..?

2003-06-10 Thread Howard Bornstein
Pls have a look at this. Its not only very ugly, the borderColor is 
really important...

Ive noticed that with a standalone under OSX, the border colors are 
completely transparent, so that the underlying card shows through. Thus 
there is a 1-pixel black border, and anything else (i.e. border width=5), 
which should be a border color, is transparent.

It has made my help screens for my current application look very bad.

Regards,

Howard Bornstein

D E S I G N  E Q
www.designeq.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


re : drag and drop

2003-06-10 Thread Yves COPPE
Hi marty

check the stack of Klaus Major in the user contribution on the web site at :

http://www.runrev.com/revolution/developers/developerdownloads/usercontributions.html

drag and drop 1

you will see all the technics of drag 'n drop

hope this helps.
--
Greetings.
Yves COPPE

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


Re: HTTP headers for posting data

2003-06-10 Thread Andre Rombauts
Thanks Dave: working...!
But anyway can someone give an example of HTTPHeaders usage?

André

- Original Message - 
From: Dave Cragg [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 10, 2003 9:29 PM
Subject: Re: HTTP headers for posting data


 If it's a typical url form you want to emulate, then the data you
 need to post usually looks like this:
 put data1=Hellodata2=World into tData
 post tData to url htpp://whatever...


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


Re: Textfield BorderColor bug..?

2003-06-10 Thread Paul Charlesworth
I am just trying to build my first app and was wondering whether I was 
doing something wrong.

In OSX the background should have a subtle stripe, but it is plain 
white even though the tab panel has the stripe. I tried adding a stripe 
from the standard icons to the background, but in the built application 
it is still blank. If I add the stripe to the foreground then 
everything turns an ugly gray.

In addition to that, I cannot seem to add an icon to finished 
application during the build process. When I select an image file, the 
compiled application shows a generic application icon for OSX and if I 
do not select an image file I get the revolution icon.

What am I doing wrong?

Also, my project is 100k, but the application is 3MB, is this normal.

Thanks,

Paul

On Tuesday, Jun 10, 2003, at 15:42 America/Detroit, Howard Bornstein 
wrote:

Pls have a look at this. Its not only very ugly, the borderColor is
really important...
Ive noticed that with a standalone under OSX, the border colors are
completely transparent, so that the underlying card shows through. Thus
there is a 1-pixel black border, and anything else (i.e. border 
width=5),
which should be a border color, is transparent.

It has made my help screens for my current application look very bad.

Regards,

Howard Bornstein

D E S I G N  E Q
www.designeq.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: HTTP headers for posting data

2003-06-10 Thread Dave Cragg
At 10:16 pm +0200 10/6/03, Andre Rombauts wrote:
Thanks Dave: working...!
But anyway can someone give an example of HTTPHeaders usage?


When you use get or post with an http url, the libUrl library script 
constructs a minimal set of headers. For example, if you use the 
following command:

  get url http://192.168.123.7/cgi-bin/echo3.mt;

this is the request that is sent to the http server:

GET /cgi-bin/echo3.mt HTTP/1.1
Host: 192.168.123.7
User-Agent: Revolution (MacOS)
The first line is the request line. The 2nd and 3rd are the headers.

If you wanted to change the User-Agent header to your own custom 
name, you could do this:

set the httpHeaders to User-Agent: DavesApp 1.0
get url http://192.168.123.7/cgi-bin/echo3.mt;
and the request sent to the server will look like this:

GET /cgi-bin/echo3.mt HTTP/1.1
Host: 192.168.123.7
User-Agent: DavesApp 1.0
Setting multiple header lines is done in one go like this:

put  User-Agent: DavesApp 1.0 into tHeaders
put return  Connection: close after tHeaders
set the httpHeaders to tHeaders
get url http://192.168.123.7/cgi-bin/echo3.mt;
The request will look like this:

GET /cgi-bin/echo3.mt HTTP/1.1
Host: 192.168.123.7
User-Agent: DavesApp 1.0
Connection: close
(The Connection header asks the server to close the connection 
immediately after the respone has been sent.)

The standard http headers are described in the http rfc.

http://www.w3.org/Protocols/rfc2616/rfc2616.html

In addition, you can create custom headers which you can use in 
custom web applications. A CGI script on the server can respond 
depending on the value of a particular header.

For example:

set the httpheaders to MyAction: newSessionKey

This would have no effect unless the server or server script were 
specifically looking for this header.

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


Re: How to use send

2003-06-10 Thread J. Landman Gay
On 6/10/03 2:40 PM, Dar Scott wrote:

On Tuesday, June 10, 2003, at 01:27 PM, J. Landman Gay wrote:

I'd do something like this:

on setTitle n
  if n is empty then put 1 into n
  set the title of graphic coverMask to Releasing piece  \
 n  ...
  add 1 to n
  if n  7
  then send setTitle n to me in 1 second
end setTitle
To start it off, use either of these in the calling handler:

  setTitle 1
  setTitle


I wrote...

on updateTitle i
   if i is empty then
  put 1 into i
   end if
   set the title of graphic coverMask to Releasing piece   i  ...
   if i  6 then
  send updateTitle i-1 to me in 1 seconds
   end if
end updateTitle
Then in your code put this

updateTitle


Great Minds think alike!!
LOL! You can't beat instant verification like that. :)

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


Re: Custom Cursors

2003-06-10 Thread [EMAIL PROTECTED]
Klaus,

Thanks for your response... It only took me an hour to find out that your
solution doesn't work in 2.0.1 :-(

Lucky me, I kept a copy of 1.1, and that did the trick :-))


Tnx

Ton


 
 Is there anybody out there who can explain me how to create my own
 cursors
 for use in Revolution?
 
 here, me, here!!! ;-)
 
 I know how to use PhotoShop, but I don't see a way to get the 1-bit
 artwork
 into RR with a transparent background :-((
 
 Make a b/w image (16x16 pixel) of your cursor on a separate layer, just
 to keep
 transparency...
 
 Then Save for web as gif, 2 colors, check transparency...
 
 Then import this image as an embedded image.
 
 Now here's the final trick :-):
 
 Open the paint tools.
 Choose the brush or the eraser tool
 Click on your image ONCE and IMMEDIATELY UNDO your action!
 
 This way that image will be converted to RR internal image-format and
 can then be used as a cursor wihout problems...
 
 
 on preopenstack ## or whenever
   set the defaultcursor to xxx
   ## the id of your cursor img
   ...
 end preopenstack
 
 
 I did it before and it works like a charm :-)
 
 Color cursors are not supported and the project is to complex to move
 an
 image across the screen simulating a custom cursor.
 
 Any help is welcome...
 
 Warm regards,
 
 Ton Kuypers
 
 Hope that helps...
 
 
 Groetjes
 
 Klaus Major
 [EMAIL PROTECTED]
 
 ___
 use-revolution mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/use-revolution
 
 

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


Why we have to use RR 1.1 together with 2.0...

2003-06-10 Thread [EMAIL PROTECTED]
There are a few thins missing from the property-inspector in version 2.0,
which makes me glad I still have a copy of 1.1 installed...

Anybody who knows other things NOT possible in 2.0, feel free to
contribute...
(and not possible, I don¹t mean via coding...)

- When creating a menu, the buttons containing the menu are opaque, there is
  no way of making them transparent.
- There is no way of making imported Black  White gifs into cursors,
  Klaus Major's tip works in 1.1.
- Set the grid in preferences to 10 pixels, it stays at 2 pixels, just can't
  get it working properly (this is really annoying)

Any tips are welcome, and I think that our friends from Revolution want to
know about these as well...

Warm regards,

Ton Kuypers

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


Re: Textfield BorderColor bug..?

2003-06-10 Thread Sarah
Hi Paul,

In OSX the background should have a subtle stripe, but it is plain 
white even though the tab panel has the stripe. I tried adding a 
stripe from the standard icons to the background, but in the built 
application it is still blank. If I add the stripe to the foreground 
then everything turns an ugly gray.
The stripe only appears if your stacks are set to a mode other than 
topLevel i.e. modal, modeless or palette. The way I got round this was 
by setting the mode to one with stripes and snapshotting a small 
square. When I want stripes, I now import that image into my stack and 
set the backgroundpattern to it.

In addition to that, I cannot seem to add an icon to finished 
application during the build process. When I select an image file, the 
compiled application shows a generic application icon for OSX and if I 
do not select an image file I get the revolution icon.
I haven't managed this either, but IconComposer that comes with the 
developer Tools has been recommended.

Also, my project is 100k, but the application is 3MB, is this normal.
This is normal. The standalone includes the complete Revolution engine 
plus any library stacks you may have chosen to include: printing, 
internet, geometry, cursors, icons etc.

Cheers,
Sarah
[EMAIL PROTECTED]
http://www.troz.net/Rev/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Textfield BorderColor bug..?

2003-06-10 Thread Sarah
Hi list, RR team
There is still in the 2.0.1 my good old borderColor fellow...
We (I think Sara to..) have described it some times ago. But I will do 
it again..
Yes, I have mentioned this before.

open stack
make textfield
all 4 border are grey
the top border has a shadow (double line)
tool palette
change to colors and patterns
select the textfield
click on btn borderColor
(here rev crashes if you try to drag the color from the OSX Color 
palette to the btn borderColor
hanging until you close the OSX palette, but thats another thing..)
select a color lets say green, click ok
Than: the border looks like double colored grey and yellow (border 
with 2)
change that to border with 1 and the green color is gone...
But the line on the top looks only grey, because its double or shadowed
if you set the border with  than 2 than it becomes green to...

Once I got an effect where all 3 lines changed to the color green only 
(no grey shadow)
only the one on the top was grey
But I cant reproduce that...
You can change most of the borders if you set the shadow color, but as 
you say, the extra thickness at the top stays grey no matter what you 
do. The only other option is to turn off 3D. Then the borders show the 
border color, not the shadow color, but still with a weird grey line at 
the top.

My major problem was with the focus color being dark grey but now it is 
the standard OS X aqua, which is fine by me although I would have 
thought that setting the focus color in Revolution should have 
over-ridden this.

Cheers,
Sarah
[EMAIL PROTECTED]
http://www.troz.net/Rev/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Why we have to use RR 1.1 together with 2.0...

2003-06-10 Thread Richard Gaskin
[EMAIL PROTECTED] wrote:

 There are a few thins missing from the property-inspector in version 2.0,
 which makes me glad I still have a copy of 1.1 installed...
 
 Anybody who knows other things NOT possible in 2.0, feel free to
 contribute...
 (and not possible, I don¹t mean via coding...)
 
 - When creating a menu, the buttons containing the menu are opaque, there is
 no way of making them transparent.
 - There is no way of making imported Black  White gifs into cursors,
 Klaus Major's tip works in 1.1.
 - Set the grid in preferences to 10 pixels, it stays at 2 pixels, just can't
 get it working properly (this is really annoying)
 
 Any tips are welcome, and I think that our friends from Revolution want to
 know about these as well...

In the meantime the 4W Property Sheet tool will let you you view and edit
nearly every property of every object.  You can get it from the Stacks
listing in RevNet.

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge 2.2: Publish any database on any site
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
 Tel: 323-225-3717   AIM: FourthWorldInc

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


Re: Textfield BorderColor bug..?

2003-06-10 Thread David Squance
In addition to that, I cannot seem to add an icon to finished
application during the build process. When I select an image file, the
compiled application shows a generic application icon for OSX and if I
do not select an image file I get the revolution icon.

What am I doing wrong?

I had this problem, too, and discovered that the icon library must be
checked before building the distribution.  (I'm still on RR1.1.1 and OS
9.2).  Might that be the problem?
Dave


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


I broke the distribution builder - Bug Report in 2.0.1

2003-06-10 Thread Paul Charlesworth
In my efforts to build a distribution, I somehow broke the distribution 
builder. After one run through I chose Revert to default settings and 
the next time I used it, all the buttons had gone! In the end I had to 
reinstall the application.

I am using 10.2.3 and RR 2.0.1

Paul

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


filepaths for multiple builds

2003-06-10 Thread Edward Cawley
Hi all
I'm trying to build standalones for mac and windows and I have a 
problem.
I am developing in MacOSX.
I have a large number of images which I access by filepaths. I don't 
need to specify the hard drive in MacOSX just the file name on the hard 
drive (/river?).but when I access them in OS89 I need to indicate the 
hard drive name (ie /Macinosh/...as well. I'm not sure what I need 
to do for Windows? I can see that I could use an if then to change the 
filepaths to fit the operating systems. But how can I find out the 
operating systems for the scripts?

A second question is an odd behavior I see when I change the image by 
changing the source filename. Sometimes there is a blank area which 
isn't drawn, not the whole image but just the bottom 10%. If I go to 
another card and return the image is complete. It isn't a empty field 
or any other object. No big deal, but it is a puzzle. Any ideas?
Thanks
Ed

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


Is revShowPrintDialog Working Yet?

2003-06-10 Thread Gardner, Joseph A
Hello folks. I'm just now trying out version 2.0.1 and was wondering if the above 
function is working yet? IIRC, this was broken in version 1.1.1 and no print dialog 
box ever appeared no matter how the controlling button was set. I tried out my old 
stack in version 2.0.1, but I still don't get any dialog box. I checked the docs and 
the syntax seems to be unchanged from the earlier version. Has anyone had any success 
in getting this to work?

TIA,

joe.

p.s. Working in Win2K on a Dell GX260 if that matters.
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: 2 colors for 2 line btn labels?

2003-06-10 Thread erik hansen
--- Jeanne A. E. DeVoto [EMAIL PROTECTED]
wrote:
 At 3:35PM -0700 6/6/03, erik hansen wrote:
 is there a way to set different colors for
 different lines in the label on a btn?
 
 No. (Sorry.) You can set only the entire
 button's colors at a time.

Mr. Miscdas says yes!

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

__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Dumb questions about the script editor

2003-06-10 Thread Dar Scott
1.
What is that ABC-checkmark button?
2.
I can't remember the syntax for almost anything.  Is there a fast way 
to get to the TD entry or--better yet--get a syntax reminder while 
typing in code?

Dar Scott

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


Re: Dumb questions about the script editor

2003-06-10 Thread Jan Schenkel
--- Dar Scott [EMAIL PROTECTED] wrote:
 1.
 What is that ABC-checkmark button?
 
 2.
 I can't remember the syntax for almost anything.  Is
 there a fast way 
 to get to the TD entry or--better yet--get a syntax
 reminder while 
 typing in code?
 
 Dar Scott
 

Hi Dar,

1.
the ABC-checkmark button shows you're in auto-complete
mode ; other modes are 'Find and Replace' and 'Go to
line' ; you can pick one at a time from the 'View'
menu.
How does 'Auto-complete' mode work ? If you type
ctrl-# then the word with that number will be
inserted.
Example:
- if you type 'on mouseU'
- then you'll see '1. mouseUp  2. mouseUpInBackdrop'
- now type ctrl-2 and the script editor will finish
typing the word 'mouseUpInBackdrop' for you.

2.
select the command/function/keyword in question, and
use menu 'View'  item 'Look up selection in
Transcript dictionary'

Hope this helped,

Jan Schenkel.

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

__
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: alpha

2003-06-10 Thread Terry Vogelaar
Peterson Trethewey heeft op dinsdag, 10 jun 2003 om 20:14 het volgende 
geschreven:

Is it possible to give an image an alpha channel?
What's the best way to do it?  I've tried fooling with
the alphaData property but it doesn't seem to want to
change from its default state, and I've tried making
an image with an alpha channel and importing it.  Has
this worked for anybody?  I feel like I'm missing
something obvious.
Thanks,
Peterson
You can import PNG files which support full 8-bit transparency for 
really stunning use of alpha-channel transparency. Pretty neat; I use 
it very often. But it requires some knowledge of PhotoShop or any other 
program that can export PNG images.

Terry

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


Re: alpha

2003-06-10 Thread Sannyasin Sivakatirswami
On Tuesday, June 10, 2003, at 06:50  PM, Terry Vogelaar wrote:

Peterson Trethewey heeft op dinsdag, 10 jun 2003 om 20:14 het volgende 
geschreven:

Is it possible to give an image an alpha channel?
What's the best way to do it?  I've tried fooling with
the alphaData property but it doesn't seem to want to
change from its default state, and I've tried making
an image with an alpha channel and importing it.  Has
this worked for anybody?  I feel like I'm missing
something obvious.
Thanks,
Peterson
You can import PNG files which support full 8-bit transparency for 
really stunning use of alpha-channel transparency. Pretty neat; I use 
it very often. But it requires some knowledge of PhotoShop or any 
other program that can export PNG images.

Terry

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


[OT] Linux in the mainstream press

2003-06-10 Thread Richard Gaskin
Given how easy it is to deploy to Linux with Rev/MC and how relatively
little competition there still, I thought y'all might enjoy this item from
Yahoo's Most Viewed articles listing:

--

Microsoft Removal 101
2 hours, 38 minutes ago
Vincent Ryan, www.NewsFactor.com

Organizations thinking of terminating Windows desktop licenses and removing
the de facto industry standard operating system from their networks finally
have a legitimate basis for undertaking such a high-risk switch. Linux
desktop distributions are gaining in momentum and functionality, and
Microsoft's controversial licensing policies are making Windows maintenance
costly. ...

http://story.news.yahoo.com/news?tmpl=storycid=620e=17u=/nf/21694

--

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge 2.2: Publish any database on any site
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
 Tel: 323-225-3717   AIM: FourthWorldInc

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