Re: File drop question

2005-03-06 Thread UDI
Mark Schonewille wrote 05.3.5 10:31 PM$B!'(B
(BI don't think you made a mistake. I'd report this to bugzilla.
(B
(BIs it possible that your problem is connected to the following bug?
(Bhttp://support.runrev.com/bugdatabase/show_bug.cgi?id=739
(BIn this bug, I've explained that a file cannot be opened by 
(Bdouble-clicking a file in the Finder. If you think the two 
(Bproblems are connected, then please confirm and vote for it.
(B
(BThanks for your reply.
(B
(BI think that these aren't equal.
(BI don't have Mark's problem.
(BBut probably both problems are related to 'odoc' event.
(B
(B--
(B
(BA stand-alone problem shows that you must change file-handling with "
(Bdevelopment" app and "developed" app.
(BI guess it that Rev receives 'odoc', but probably Rev has ignored that.
(B
(BI made an application with HyperCard and did the same test.
(BIt reacted to w-click doc normally, and reacted to dd rightly.
(BIn addition, I tested even FutureBasic and REALbasic with some signatures.
(BAll worked rightly. It's only Rev.
(B
(B
(BUDI
(B[EMAIL PROTECTED]
(Bhttp://homepage.mac.com/udi/
(B___
(Buse-revolution mailing list
(Buse-revolution@lists.runrev.com
(Bhttp://lists.runrev.com/mailman/listinfo/use-revolution

altBrowser application

2005-03-06 Thread Michael
Hello,
I created a standalone altBrowser executable, what I would like to do is
have the user run the executable right off by clicking on the
executable. Now I read in the documentation that the altBrowser.dll
needs to be in the same directory as the executable. Is there a way to
include and let run to say the altBrowser.dll inside the executable
without having to drop the dll onto the PC ? 
 
Thanks 
Michael
 
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


[noob again]static text

2005-03-06 Thread Mikey
OK, I looked through the tutorials and the pdf's, and I can't see how
you just slap some static text on a card.  Said text should be visible
in development and runtime.
-- 
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: altBrowser application

2005-03-06 Thread Derek Bump
 I created a standalone altBrowser executable, what I would like to do is
 have the user run the executable right off by clicking on the
 executable. Now I read in the documentation that the altBrowser.dll
 needs to be in the same directory as the executable. Is there a way to
 include and let run to say the altBrowser.dll inside the executable
 without having to drop the dll onto the PC ?

You mean like how externals were treated with HyperCard, they were stored in
the resource fork?  To my knowledge with Windows standalones, no.  I do
believe for your Rev standalone to recognize the DLL, it has to be in the
directory that you specify.

So yeah, you have to put it into the same folder as your standalone.  Oh,
judging by your email address...do you reside in Wisconsin?

Derek Bump
Dreamscape Software
http://www.dreamscapesoftware.com/

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


Re: [noob again]static text

2005-03-06 Thread Klaus Major
Hi Mikey,
OK, I looked through the tutorials and the pdf's, and I can't see how
you just slap some static text on a card.  Said text should be visible
in development and runtime.
if you already have a field on the card:
...
put fish slapping dance into fld target
...
Or create one on the fly:
...
create field
## set some properties of the templatefield first, if you like...
put fish slapping dance into last field
...
Hope that helps...
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: altBrowser application

2005-03-06 Thread Michael
Derek
So I have to deliver the altBrowser app with an installer or splash drop
it into a directory then auto run the app from a directory off the
windows pc ?

Yes Im here in Oak Creek Wisconsin, whats your location Wis also ?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Derek Bump
Sent: Sunday, March 06, 2005 8:14 AM
To: How to use Revolution
Subject: Re: altBrowser application

 I created a standalone altBrowser executable, what I would like to do
is
 have the user run the executable right off by clicking on the
 executable. Now I read in the documentation that the altBrowser.dll
 needs to be in the same directory as the executable. Is there a way to
 include and let run to say the altBrowser.dll inside the executable
 without having to drop the dll onto the PC ?

You mean like how externals were treated with HyperCard, they were
stored in
the resource fork?  To my knowledge with Windows standalones, no.  I do
believe for your Rev standalone to recognize the DLL, it has to be in
the
directory that you specify.

So yeah, you have to put it into the same folder as your standalone.
Oh,
judging by your email address...do you reside in Wisconsin?

Derek Bump
Dreamscape Software
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: [noob again]static text

2005-03-06 Thread Thomas McGrath III
Hi Mikey,
Also, via non scripting - you can select the field and in the inspector 
choose contents and type in the inspector contents field//

Or if you already have a field you can switch to 'live' mode and type 
in the field.

Or you can use the Label tool and use that as your text container.
HTH
Tom
On Mar 6, 2005, at 9:19 AM, Klaus Major wrote:
Hi Mikey,
OK, I looked through the tutorials and the pdf's, and I can't see how
you just slap some static text on a card.  Said text should be visible
in development and runtime.
if you already have a field on the card:
...
put fish slapping dance into fld target
...
Or create one on the fly:
...
create field
## set some properties of the templatefield first, if you like...
put fish slapping dance into last field
...
Hope that helps...
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

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: altBrowser application

2005-03-06 Thread MisterX

I've been walking distance from oak creek!!! ;)

if the dll is in the same directory, your app will see it. Unless it's
directory variable is not set right!

Or put it into the %SystemRoot% or %windir% directory which is in the paths
of windows by default and not likely to change. Remember to remove it after
install or not replace the wrong one if one exists...

 get shell(echo %SystemRoot%)
 or the specialfolders(36) -- there's a few other csids with that value...

cheers
Xavier

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Michael
 Sent: Sunday, February 06, 2005 15:28
 To: 'How to use Revolution'
 Subject: RE: altBrowser application
 
 Derek
 So I have to deliver the altBrowser app with an installer or 
 splash drop it into a directory then auto run the app from a 
 directory off the windows pc ?
 
 Yes Im here in Oak Creek Wisconsin, whats your location Wis also ?
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Derek Bump
 Sent: Sunday, March 06, 2005 8:14 AM
 To: How to use Revolution
 Subject: Re: altBrowser application
 
  I created a standalone altBrowser executable, what I would 
 like to do
 is
  have the user run the executable right off by clicking on the 
  executable. Now I read in the documentation that the altBrowser.dll 
  needs to be in the same directory as the executable. Is 
 there a way to 
  include and let run to say the altBrowser.dll inside the executable 
  without having to drop the dll onto the PC ?
 
 You mean like how externals were treated with HyperCard, they 
 were stored in the resource fork?  To my knowledge with 
 Windows standalones, no.  I do believe for your Rev 
 standalone to recognize the DLL, it has to be in the 
 directory that you specify.
 
 So yeah, you have to put it into the same folder as your standalone.
 Oh,
 judging by your email address...do you reside in Wisconsin?
 
 Derek Bump
 Dreamscape Software
 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
 

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


Re: [noob again]static text

2005-03-06 Thread Mikey
OK, got it.  It's quite a bit different than forms design in other
environments, including HC.


-- 
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: Arithmetic operations on dates ?

2005-03-06 Thread Michael D Mays
Paul,
If you say
 put 2005,2,29,0,0,0,0 into someDate
 convert someDate to dateItems
someDate will be 2005,3,1,0,0,0,3
If I say
 put 2005,3,6,23,59,59,0 into aTimeDate
 add 1 to 1 to item 6 of aTimeDate
 convert aTimeDate to long date
aTimeDate is
  'Monday, March 7, 2005'
What days is Rev starting the day at 1 am or 2 am or 3 am?
Michael
On Feb 26, 2005, at 3:40 PM, [EMAIL PROTECTED] wrote:
Sorry Michael,
 Your dateItems script is logical - it just will not work reliably 
with
Revolution - because...
Some days in Rev. start at 1 am, most start at 2 am, and even 3 am. 
This is
again related to the crazy way Rev. handles daylight saving time. Also 
Rev.
does not convert 2005,2,29, etc. to 2005,3,1 etc.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [noob again]static text

2005-03-06 Thread Stephen Barncard
What is different? The fields work exactly the same way - the LAYOUT 
design is no different... and HC never had 'forms'.

sqb

OK, got it.  It's quite a bit different than forms design in other
environments, including HC.
-
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: altBrowser application

2005-03-06 Thread Michael
Thanks,
I put the dll into a custom property of the exe and dropped into the
%windir% but it wouldn't run unless I moved the dll to the same dir as
the executable. Guess I need the splash open and close to do the
create/delete work. What do you think ?
I'm on the east end boarder of OC / SM.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of MisterX
Sent: Sunday, March 06, 2005 9:22 AM
To: 'How to use Revolution'
Subject: RE: altBrowser application


I've been walking distance from oak creek!!! ;)

if the dll is in the same directory, your app will see it. Unless it's
directory variable is not set right!

Or put it into the %SystemRoot% or %windir% directory which is in the
paths
of windows by default and not likely to change. Remember to remove it
after
install or not replace the wrong one if one exists...

 get shell(echo %SystemRoot%)
 or the specialfolders(36) -- there's a few other csids with that
value...

cheers
Xavier

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Michael
 Sent: Sunday, February 06, 2005 15:28
 To: 'How to use Revolution'
 Subject: RE: altBrowser application
 
 Derek
 So I have to deliver the altBrowser app with an installer or 
 splash drop it into a directory then auto run the app from a 
 directory off the windows pc ?
 
 Yes Im here in Oak Creek Wisconsin, whats your location Wis also ?
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Derek Bump
 Sent: Sunday, March 06, 2005 8:14 AM
 To: How to use Revolution
 Subject: Re: altBrowser application
 
  I created a standalone altBrowser executable, what I would 
 like to do
 is
  have the user run the executable right off by clicking on the 
  executable. Now I read in the documentation that the altBrowser.dll 
  needs to be in the same directory as the executable. Is 
 there a way to 
  include and let run to say the altBrowser.dll inside the executable 
  without having to drop the dll onto the PC ?
 
 You mean like how externals were treated with HyperCard, they 
 were stored in the resource fork?  To my knowledge with 
 Windows standalones, no.  I do believe for your Rev 
 standalone to recognize the DLL, it has to be in the 
 directory that you specify.
 
 So yeah, you have to put it into the same folder as your standalone.
 Oh,
 judging by your email address...do you reside in Wisconsin?
 
 Derek Bump
 Dreamscape Software
 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
 

___
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: altBrowser application

2005-03-06 Thread Dan Shafer
Check out InstallGadget from Sweat Technologies 
(http://www.sweattechnologies.com/InstalLGadget) for a great way to 
package up this stuff for easy distribution and use.

Dan
On Feb 6, 2005, at 6:27 AM, Michael wrote:
Derek
So I have to deliver the altBrowser app with an installer or splash 
drop
it into a directory then auto run the app from a directory off the
windows pc ?

Yes Im here in Oak Creek Wisconsin, whats your location Wis also ?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Derek 
Bump
Sent: Sunday, March 06, 2005 8:14 AM
To: How to use Revolution
Subject: Re: altBrowser application

I created a standalone altBrowser executable, what I would like to do
is
have the user run the executable right off by clicking on the
executable. Now I read in the documentation that the altBrowser.dll
needs to be in the same directory as the executable. Is there a way to
include and let run to say the altBrowser.dll inside the executable
without having to drop the dll onto the PC ?
You mean like how externals were treated with HyperCard, they were
stored in
the resource fork?  To my knowledge with Windows standalones, no.  I do
believe for your Rev standalone to recognize the DLL, it has to be in
the
directory that you specify.
So yeah, you have to put it into the same folder as your standalone.
Oh,
judging by your email address...do you reside in Wisconsin?
Derek Bump
Dreamscape Software
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
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [noob again]static text

2005-03-06 Thread Dan Shafer
I think the difference he was referring to was a point that I find is 
often confusing to newcomers to Revolution. Static text should 
logically be placed into a Label Field. If you create a Label Field, 
there's no obvious way to change its contents because it does not allow 
direct editing. You have to open its inspector, switch to the Contents 
pane of the inspector, and type the text there. Just to make it more 
interesting ( :-) ) you then have to switch to the Text Formatting pane 
to format the text you just typed or use the Text Menu to do so. It's 
pretty darned non-intuitive.

IIRC, static text fields in HC could be directly edited. Why Rev 
doesn't allow this in the IDE is beyond me, but I've grown accustomed 
to its face.

Dan
On Mar 6, 2005, at 9:01 AM, Stephen Barncard wrote:
What is different? The fields work exactly the same way - the LAYOUT 
design is no different... and HC never had 'forms'.

sqb

OK, got it.  It's quite a bit different than forms design in other
environments, including HC.
-
___
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: [noob again]static text

2005-03-06 Thread Mikey
Actually, in HC one could, by choosing the...static text tool...create
static text.  I can't remember a forms editor in any other IDE/RAD
tool that lacks this feature.


-- 
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: Arithmetic operations on dates ?

2005-03-06 Thread Bill Vlahos
I believe it is 2am.
Bill Vlahos
On Mar 6, 2005, at 8:56 AM, Michael D Mays wrote:
 put 2005,2,29,0,0,0,0 into someDate
 convert someDate to dateItems
someDate will be 2005,3,1,0,0,0,3
If I say
 put 2005,3,6,23,59,59,0 into aTimeDate
 add 1 to 1 to item 6 of aTimeDate
 convert aTimeDate to long date
aTimeDate is
  'Monday, March 7, 2005'
What days is Rev starting the day at 1 am or 2 am or 3 am?
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [noob again]static text

2005-03-06 Thread Stephen Barncard
Here's the confusion, and it's definitions. There is NO static text 
tool in Hypercard. There IS a Paint Text tool in HC, so I assume 
that is what you mean.

There is a full set of paint tools in Rev, too, except for Paint Text 
(click the disclosure triangle at the bottom of the pallette).

There would be no need for paint text, as Rev has actual label 
fields. Paint text in this context would not be that useful, as it 
would have to commit to 72 dpi, and the text fields use the font 
outlines which of course scale to the output dpi.   Much cleaner text 
output. Paint text would be very jaggy on paper.

sqb

Actually, in HC one could, by choosing the...static text tool...create
static text.  I can't remember a forms editor in any other IDE/RAD
tool that lacks this feature.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


more rawkeydown problems

2005-03-06 Thread Wouter
Hi All,
If crossplatform uniformness is not your piece of cake then please 
don't read this mail.
But for those who really need to process keyboard input here are some 
more keyboard anomalies to check.

All values are from a rawkeydown handler.
- the key straight under the escape key (qwerty `/ ~  or  §/±  or 
something else depending on which qwerty you use) will give a 0 value 
on mac os x
when an american qwerty keyboard layout is chosen but not with another 
keyboard layout.
- help key on mac os x gives value 268762986 instead of 65379 (win vpc)
- the numlock key on mac osx x enters a char in the field when focused 
and  editable: numtochar(27)
- the values of the numeric keyboard on mac differ from these of win !!!
  On mac os x the value without numLock is the same as with numLock, 
not on win vpc.
  On win vpc side there are also some anomalies (see below).

### numerical keyboard
 65429  ### 7 mac os x
 65463  ### 7 - numlock win vpc
 65360  ### 7 + numlock win vpc
 65430  ### 4 mac os x
 65460  ### 4 - numlock win vpc
 65361  ### 4 + numlock win vpc
 65431  ### 8 mac os x
 65464  ### 8 - numlock win vpc
 65362  ### 8 + numlock win vpc
 65432  ### 6 mac os x
 65462  ### 6 - numlock win vpc
 65363  ### 6 + numlock win vpc
 65433  ### 2 mac os x
 65458  ### 2 - numlock win vpc
 65364  ### 2 + numlock win vpc
 65434  ### 9 mac os x
 65465  ### 9 - numlock win vpc
 65365  ### 9 + numlock win vpc
 65435  ### 3 mac os x
 65459  ### 3 - numlock win vpc
 65366  ### 3 + numlock win vpc
 65436  ### 1 mac os x
 65457  ### 1 - numlock win vpc
 65367  ### 1 + numlock win vpc
 65437  ### 5 mac os x
 65461  ### 5 - numlock win vpc
 65461  ### 5 + numlock win  vpc !!! no change
 65438  ### 0 mac os x
 65456  ### 0 - numlock win
 65379  ### 0 + numlock win
 65439  ### . mac os x
 65454  ### . - numlock win
 65535  ### . + numlock win  !!! value of deletekey on mac !!!
 65493  ### = mac os x
61  ### = win vpc  the chartonum value
 other keys of the  numerical keyboard are the same
These are tests on a apple usb keyboard. May be there will also be 
differences on laptop keyboards.
If someone can test and confirm the above then this can be bugzilla'ed.

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


OT: External help for Rev users? Was Re: Rolling Credits - Stop them and start them again

2005-03-06 Thread Ken Ray
On 3/5/05 11:12 PM, Dick Kriesel [EMAIL PROTECTED] wrote:

 On 3/5/05 8:54 PM, Ken Ray [EMAIL PROTECTED] wrote:
 
 Optimize my code anytime!
 
 Is that attitude part of the use-rev culture, so that gurus like you don't
 get offended by There's a simpler/faster way ...?
 
 I would *hope* that it's part of the communal software development culture
 in general, but if you're only finding it here, I guess we can chalk it up
 to the use-rev group... :-)
 
 I'd hope so too.  But I haven't seen it out there because I've been focusing
 on Rev for a while.  Or do you mean there other groups helpful to Rev users,
 in addition to use-rev?

Well, there's a number of Yahoo groups that are helpful to Rev users, but
they focus on specific aspects of Rev (note that the level of activity
varies on these groups):

  revInterop - A working group for defining a standard for handling
component metadata in software developed with Runtime Revolution.

  cxTalk - This is a discussion mailing list for Christians who program in
xTalk scripting IDEs such as HyperCard, SuperCard, MetaCard, Runtime
Revolution, AppleScript, Director, etc.

  RevDocs - A working group of documentation and education professionals
for making recommendations for enhancement of the Runtime Revolution
documentation.

  revolution_ipc - discussing Inter-Program Communication in Runtime
Revolution

HTH,


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


Change target path in a windows shortcut file

2005-03-06 Thread Alejandro Tejada
Hi Developers,

Does exist some way to change the target
path of a shortcut file from within Runrev?

The target path of a shortcut is the
path to the file that windows will
open when you double click on the
shortcut.

I suspect that there are two possible ways
to do this:

1- a shell DOS command could work
(but still i have not find a dos command
that could read or write shortcut files) 

or 

2- writing the new target path directly in 
the binary file... but is this reliable???

any other way to do this task?

Thanks in advance.

al



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




__ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


[no subject]

2005-03-06 Thread Alan Gayne
Dear Ken  Dick,
In fact, both versions work just fine, IF the intial startRolling 
command is sent to my text field from an outside message source, such 
as the a button or the message box.

send startRolling to fld topic text
But the need to use a button to get things started, kind of defeats the 
intuitive nature of the original concept.  After all, if you need a 
button to start, why involve the field at all?  You could just use the 
button to start, stop and resume the scrolling.

So, is there any way to the initiator into the field script AND to get 
the scrolling to stop and resume with alternate clicks?

Thanks in advance,
Alan Gayne
Subject: Re: Rolling Credits - Stop them and start them again
To: How to use Revolution use-revolution@lists.runrev.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain;   charset=US-ASCII
On 3/5/05 3:51 PM, Alan Gayne [EMAIL PROTECTED] wrote:
first click - nothing.  second click, text scrolls about 1 pixel, then
nothing.
The first click would have no effect because variable sPaused hasn't 
been
initialized as false.

The text would not scroll further because handler rollCredits never 
sends
rollCredits, because variable maxscroll hasn't been initialized, 
because
nothing executed startRolling.

On 3/5/05 12:20 PM, Ken Ray [EMAIL PROTECTED] wrote:
on CancelPending pWhat
  if pWhat =  then put all into pWhat
  switch pWhat
  case all
repeat with x = (the number of lines of the pendingmessages) down 
to 1
  cancel (item 1 of line x of the pendingMessages)
end repeat
break
  default
repeat with x = (the number of lines of the pendingmessages) down 
to 1
  if line x of the pendingMessages contains (,  pWhat  ,) 
then
cancel (item 1 of line x of the pendingMessages)
  end if
end repeat
break
  end switch
end CancelPending
There's a way to do that a little simpler and faster.  It's simpler 
because
it has no switch. It's faster because it invokes filter instead of 
testing
each line within a loop.

on cancelPendingMessages pMessageName
  -- note: empty implies cancel all pending messages
  put the pendingMessages into tPendingMessages
  if pMessageName is not empty then
filter tPendingMessages with *,  pMessageName  ,*
  end if
  repeat for each line tPendingPessage in tPendingMessages
cancel item 1 of tPendingPessage
  end repeat
end cancelPendingMessages
I hope this helps, without offending Ken.
-- Dick
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [noob again]static text

2005-03-06 Thread J. Landman Gay
On 3/6/05 11:38 AM, Mikey wrote:
Actually, in HC one could, by choosing the...static text tool...create
static text.  I can't remember a forms editor in any other IDE/RAD
tool that lacks this feature.
I think you may be thinking of HyperCard's paint text. Once entered, it 
was not editable. Revolution doesn't have a paint text feature, so we 
use locked fields instead. This renders better in printing and remains 
editable.

It was the same in HyperCard if you used a locked field for static text. 
To edit the text, you had to unlock the field, edit, and then relock it. 
Revolution provides a shorter way to do this via the property 
inspector's contents pane, but if you prefer you can still do it the 
old HyperCard way. You will also have to set the traversalOn property to 
true while editing if you want to see your cursor in the field (HC 
didn't have this property) but otherwise it is the same procedure.

--
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


Supercard Question... feeling old

2005-03-06 Thread Mark Swindell
I've got a old SC project with lots of windows that I want to recreate 
in Rev.  I seem to recall there was a script export gizmo in SuperCard 
that would go through an entire project and export all the scripts to a 
single text file.  Can any old-timers confirm this?  I want to rebuild 
the whole thing, not just convert it, but I'd like all the scripts in 
one place for easy access.  My last SuperCard version was 3.5.

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


Re: more rawkeydown problems

2005-03-06 Thread J. Landman Gay
On 3/6/05 12:13 PM, Wouter wrote:
Hi All,
If crossplatform uniformness is not your piece of cake then please don't 
read this mail.
But for those who really need to process keyboard input here are some 
more keyboard anomalies to check.
snip
These are tests on a apple usb keyboard. May be there will also be 
differences on laptop keyboards.
If someone can test and confirm the above then this can be bugzilla'ed.
I'm not sure it is a bug, it is just the differences between operating 
systems. The Rev engine just passes on the key codes that the operating 
system sends. If you have the MC IDE, see the Character Chooser in the 
MetaCard Tools menu for examples of these differences. Sometimes you 
can use the macToISO and ISOtoMac functions to translate between the 
character sets, but I don't think those functions work with non-ascii 
keystrokes.

--
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: Change target path in a windows shortcut file

2005-03-06 Thread Ken Ray
On 3/6/05 12:40 PM, Alejandro Tejada [EMAIL PROTECTED] wrote:

 Hi Developers,
 
 Does exist some way to change the target
 path of a shortcut file from within Runrev?
 
 The target path of a shortcut is the
 path to the file that windows will
 open when you double click on the
 shortcut.
 
 I suspect that there are two possible ways
 to do this:
 
 1- a shell DOS command could work
 (but still i have not find a dos command
 that could read or write shortcut files)
 
 or 
 
 2- writing the new target path directly in
 the binary file... but is this reliable???
 
 any other way to do this task?

Yes, you can use VBScript. However in doing so, you may trigger virus
protection software.

Here's the basic .vbs script, with placeholders surrounded in double angle
brackets   :


Set wso = CreateObject(WScript.Shell)
Set link = wso.CreateShortcut(PATH_TO_SHORTCUT_FILE)
link.targetPath = NEW_TARGET_PATH
link.save


Now put that into a custom property, and then when you need it, retrieve it,
replace the placeholders with real file paths (remember to convert the
/-delimited paths that Rev uses to \- delimited ones for Windows), and
then run it like this:

on ChangeShortCut pPathToShortcut,pNewTargetPath
  replace / with \ in pPathToShortcut
  replace / with \ in pNewTargetPath
  put the uVBScript of this stack into tScript
  replace PATH_TO_SHORTCUT_FILE with pPathToShortCut in tScript
  replace NEW_TARGET_PATH with pNewTargetPath in tScript
  runScript tScript
end ChangeShortCut

on runScript pVBS
  set the hideConsoleWindows to true
  put C:\temp.vbs into tTempPath
  put pVBS into url (file:  tTempPath)
  get shell(cscript.exe //nologo  tTempPath)
  send delete file  quote  tTempPath  quote to me in 1 second
  -- this gives enough time for the script to run before you delete it
end runScript

--

Of course, in retrospect, you could *always* just delete the old shortcut
and create a new one with 'create alias'... but it's your call...

HTH,


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


Rolling Credits - Stop them and start them again

2005-03-06 Thread Alan Gayne
Oops!  Sorry my last post was absent a subject line.
ALSO, I have now noted that I CAN get the scrolling to start with a 
click in the text field, but it takes the SECOND click in the field to 
get things going.

So my question now is how to get the process working with the FIRST 
click in the text field.

Thanks and regards,
Alan
Begin forwarded message:
In fact, both versions work just fine, IF the intial startRolling 
command is sent to my text field from an outside message source, such 
as the a button or the message box.

send startRolling to fld topic text
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rolling Credits - Stop them and start them again

2005-03-06 Thread Ken Ray
On 3/6/05 1:12 PM, Alan Gayne [EMAIL PROTECTED] wrote:

 Oops!  Sorry my last post was absent a subject line.
 
 ALSO, I have now noted that I CAN get the scrolling to start with a
 click in the text field, but it takes the SECOND click in the field to
 get things going.
 
 So my question now is how to get the process working with the FIRST
 click in the text field.

You should just be able to change the PauseResume and rollCredits handlers:

on rollCredits -- rolls the next bit
  set the vScroll of me to (the scroll of me + scrollIncrement)
  if the vScroll of me  maxScroll then
-- trigger the next frame:
send rollCredits to me in frameTime milliseconds
  else -- we're done:
wait for 2 seconds -- to let the user read the last part
hide me with visual effect dissolve
set the vScroll of me to zero
show me with visual effect dissolve
put  into sPaused  -- ADD THIS
  end if
end rollCredits


on PauseResume
  if sPaused =  then   -- ADD THIS
startRolling  -- ADD THIS
  else  -- ADD THIS
if sPaused then
  send rollCredits to me
else
  CancelPending rollCredits
end if
put not(sPaused) into sPaused
  end if  -- ADD THIS
end PauseResume

This way, a value of empty for sPaused is ued to get things rolling, and it
is reset to empty when the rolling is finished.

I haven't tested it, but it should work...

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: Supercard Question... feeling old

2005-03-06 Thread J. Landman Gay
On 3/6/05 12:54 PM, Mark Swindell wrote:
I've got a old SC project with lots of windows that I want to recreate 
in Rev.  I seem to recall there was a script export gizmo in SuperCard 
that would go through an entire project and export all the scripts to a 
single text file.  Can any old-timers confirm this?  I want to rebuild 
the whole thing, not just convert it, but I'd like all the scripts in 
one place for easy access.  My last SuperCard version was 3.5.
Yes, I can confirm there is such a beast. There used to be a link to the 
converter in the downloads section of the old web site, but I can't find 
it now. I will send it to you privately. I will also notify the web team 
that a link should go back up.

--
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: [noob again]static text

2005-03-06 Thread Mikey
I'll reiterate:  I was surprised, because RR is the only development
tool I can remember that lacks a static text tool.  It doesn't really
matter what you call HC's tool.  I'm backing away from this discussion
in nuance as I have work to be done.  Thank those who answered for
clarifying how this is done in RR.

I'll reiterate my call for a set of manuals.
-- 
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: Supercard Question... feeling old

2005-03-06 Thread Mark Swindell
Thanks Jacqueline for the Rev SC Importer.
 I also found this:
http://hyperarchive.lcs.mit.edu/HyperArchive/Abstracts/dev/osa/
Worked beautifully and output to BBEdit with all formatting intact.
-Mark
___
Script Extractor v1.0 855K (10/06/1999)  Download
E-Mail Ware If you use Script Extractor please send me an e-mail just 
to give me
an idea of the interest level related to this software.  The E-Mail can 
be blank,
however, any comments you may have concerning the software are welcome. 
 Also,
let me know of any program problems you encounter.

Ross [EMAIL PROTECTED] Perfect Syntax Software

On Mar 6, 2005, at 10:54 AM, Mark Swindell wrote:
I've got a old SC project with lots of windows that I want to recreate 
in Rev.  I seem to recall there was a script export gizmo in SuperCard 
that would go through an entire project and export all the scripts to 
a single text file.  Can any old-timers confirm this?  I want to 
rebuild the whole thing, not just convert it, but I'd like all the 
scripts in one place for easy access.  My last SuperCard version was 
3.5.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [noob again]static text

2005-03-06 Thread Richard Gaskin
Mikey wrote:
I'll reiterate:  I was surprised, because RR is the only development
tool I can remember that lacks a static text tool.
Locked fields give you better static text than HyperCard's paint tools 
as it's easier to edit and resolution independent for printing.

Because it's not a separate tool mode doesn't mean it isn't powerful, 
just less modal to work with.

--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Rolling Credits - Stop them and start them again -Wrap-up!

2005-03-06 Thread Alan Gayne
Ken Ray wrote:
You should just be able to change the PauseResume and rollCredits 
handlers:

Ken,
Your last little tweak did the trick.  Works perfect now.
My sincere thanks to you and Dick for the help.
In case anyone's interested, here's the full code provided by Ken, 
combined with Dick's optimization using the filter command.

Nice job guys!
Alan
on mouseUp
  PauseResume
end mouseUp
local maxScroll
constant scrollIncrement = 1
constant frameTime = 25
local sPaused
-- NOTE - you can change the scroll rate to suit, by increasing or 
decreasing 
-- the constant frameTime 

on startRolling -- begin rolling credits
  put the formattedHeight of me - the height of me \
  - the topMargin of me - the bottomMargin of me \
  into maxScroll -- the most this field can scroll
  put false into sPaused
  send rollCredits to me -- triggers the first frame
end startRolling
on rollCredits -- rolls the next bit
  set the vScroll of me to (the scroll of me + scrollIncrement)
  if the vScroll of me  maxScroll then
-- trigger the next frame:
send rollCredits to me in frameTime milliseconds
  else -- we're done:
wait for 2 seconds -- to let the user read the last part
hide me with visual effect dissolve
set the vScroll of me to zero
show me with visual effect dissolve
put  into sPaused  -- ADD THIS
  end if
end rollCredits
on PauseResume
  if sPaused =  then   -- ADD THIS
startRolling  -- ADD THIS
  else  -- ADD THIS
if sPaused then
  send rollCredits to me
else
  cancelPendingMessages rollCredits
  --CancelPending rollCredits
end if
put not(sPaused) into sPaused
  end if  -- ADD THIS
end PauseResume
on cancelPendingMessages pMessageName
  -- note: empty implies cancel all pending messages
  put the pendingMessages into tPendingMessages
  if pMessageName is not empty then
filter tPendingMessages with *,  pMessageName  ,*
  end if
  repeat for each line tPendingPessage in tPendingMessages
cancel item 1 of tPendingPessage
  end repeat
end cancelPendingMessages

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


Identifying the caller

2005-03-06 Thread graham samuel
Folks, I really should know this by now, but when a handler is called, 
can its script identify its caller and if so how? I guess there is some 
context description available but I don't know how to find it in the 
docs. And while we're at it, what if the invocation of the handler is 
the result of a send, e.g.

send mouseUp to myMouseUpHandler
Can I tell from within the handler that it wasn't a true mouse click 
that invoked it, and if so how?

Obviously the engine does know this information - it's just a question 
of if and how it's made available to the developer.

TIA for any info
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


Left/Right Shift?

2005-03-06 Thread N


What are the key words aka operators that do a left/right shift (bits)?

Kevin


-==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=-
Disclaimer:

Any resemblance between the above views and those of my
employer, my terminal, or the view out my window are purely
coincidental. 
Any resemblance between the above and my own views is non-deterministic.

 The question of the existence of views in the absence of anyone to hold
them
is left as an exercise for the reader. The question of the existence of
the reader
 is left as an exercise for the second god coefficient. 
(A discussion of non-orthogonal, non-integral polytheism is beyond the
scope of this article.)



___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Monterey - June 24-25 -- any news?

2005-03-06 Thread Alan Gayne
on 2/16/2005 Dan Shafer wrote:
A group of us are trying to determine if there's enough interest to
expand our Monterey-based Revolution developer gathering June 24-25 to
encompass a second track for people who are beginning or intermediate
developers.
Any word on whether or not a decision has been made to open up this 
party to the rest of us?

Sounds like something that might be both enlightening and fun for some 
of us  lower level players.

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


Re: Identifying the caller

2005-03-06 Thread Ken Ray
On 3/6/05 3:34 PM, graham samuel [EMAIL PROTECTED] wrote:

 Folks, I really should know this by now, but when a handler is called,
 can its script identify its caller and if so how? I guess there is some
 context description available but I don't know how to find it in the
 docs. And while we're at it, what if the invocation of the handler is
 the result of a send, e.g.
 
 send mouseUp to myMouseUpHandler
 
 Can I tell from within the handler that it wasn't a true mouse click
 that invoked it, and if so how?

You can check the executionContexts... the long id of the object that sent
the message is in there, right above the long id of the object that is
processing the message.


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: USB (Midi Comunications)

2005-03-06 Thread Sarah Reichelt
On 3/4/05 3:40 PM, Thomas McGrath III wrote:
Yes if they have a serial driver. The driver actually does the work 
of letting the system see via USB to the serial device. I have used 
it here. Sarah has it in her user space and also at her website.
Don't you need a hardware USB/serial converter? There is a project I 
wanted to do but couldn't because I couldn't read or write to a USB 
device directly -- or so I thought.

Yes, it does need a serial adapter, Keyspan or something similar. This 
can plug into a USB port and the serial device (NOT a USB device) can 
connect to it. The Keyspan is seen as a serial device although it is 
really USB, so the serial commands work.

I can't wait to try out Chipp's USB external.
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: more rawkeydown problems

2005-03-06 Thread Sarah Reichelt
Hi All,
If crossplatform uniformness is not your piece of cake then please 
don't read this mail.
But for those who really need to process keyboard input here are some 
more keyboard anomalies to check.
snip
These are tests on a apple usb keyboard. May be there will also be 
differences on laptop keyboards.
If someone can test and confirm the above then this can be 
bugzilla'ed.
I'm not sure it is a bug, it is just the differences between operating 
systems. The Rev engine just passes on the key codes that the 
operating system sends. If you have the MC IDE, see the Character 
Chooser in the MetaCard Tools menu for examples of these 
differences. Sometimes you can use the macToISO and ISOtoMac functions 
to translate between the character sets, but I don't think those 
functions work with non-ascii keystrokes.

For anyone wanting to test what rawKey codes their keyboard gives, here 
is a utility I wrote ages ago to do this:
http://www.troz.net/Rev/RevProjects/KeyCoder.rev.gz

While differences between keyboards  operating systems are annoying, 
the keys you are checking are mostly available using other messages. In 
NumLock is on, the numeric keys generate arrowKey messages and if 
NumLock is on, the number can be read directly in a keyDown or keyUp 
handler.

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


cursed

2005-03-06 Thread Ben Fisher
I have recently been plagued by a number of disturbing problems in Revolution. 
Suddenly, I have been getting all sorts of weird errors. I have been cursed. 
This started spontaneously this morning, and isn't stopping. These are some of 
the problems:

The Error box pops up at random times, but it is completely empty, just an 
empty box that says RevErrorDisplay. Not even any old errors. Since my stack 
doesn't use any send messages or pending messages, this shouldn't happen.

Changing tools in the tool box doesn't work. You sometimes have to click a lot 
of times just to get from Browse to Select tool. Also, in the Objects menu all 
of the items are grayed out. Why?

When closing Revolution, you have to close each of the windows. I mean, once 
you click the main close box it should close everything, right? But I have to 
individually close everything. The toolbox stays on the screen and doesn't 
disappear, I've had to use alt-F4 to close it.

The weirdest part is that when you open up the message box, all the time you 
see this message in the lower part. Got here. No script of mine does this, 
and it is there before you even open a stack.

For now I will try replacing all of the component files and see if that fixes 
it. If anyone knows what is going on please help me. A Revolution virus?

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


Re: Change target path in a windows shortcut file

2005-03-06 Thread Alejandro Tejada
Thanks a lot, Ken! :-)

Your guided example of using VBscript
with RR, opens up a lot of doors in Windows!
but as you said:

 Yes, you can use VBScript. However in doing so, you
 may trigger virus protection software.

Looks like this code will be helpful
mainly in my personal setup...

Thanks a lot again!

al





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




__ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Monterey - June 24-25 -- any news?

2005-03-06 Thread Dan Shafer
Look for an announcement any day now.
Dan
On Mar 6, 2005, at 2:03 PM, Alan Gayne wrote:
on 2/16/2005 Dan Shafer wrote:
A group of us are trying to determine if there's enough interest to
expand our Monterey-based Revolution developer gathering June 24-25 
to
encompass a second track for people who are beginning or intermediate
developers.
Any word on whether or not a decision has been made to open up this 
party to the rest of us?

Sounds like something that might be both enlightening and fun for some 
of us  lower level players.

Regards,
Alan
___
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: cursed

2005-03-06 Thread Dan Shafer
When I begin to see this kind of instability, I find that removing the 
file revpreferences.rev from the compoents | save folder in the Rev app 
folder and restarting will generally fix it.

At the advice of several veteran scriptheads here, I've taken to 
keeping a copy of that file on my desktop or somewhere else so that I 
don't have to start over on all my prefs when this happens. For me, at 
least, it goes in streaks. Things work fine for a long time and then 
two or three times in a day or two I get weirdness. THen it goes away.

Dan
On Mar 6, 2005, at 3:43 PM, Ben Fisher wrote:
I have recently been plagued by a number of disturbing problems in 
Revolution. Suddenly, I have been getting all sorts of weird errors. I 
have been cursed. This started spontaneously this morning, and isn't 
stopping. These are some of the problems:

The Error box pops up at random times, but it is completely empty, 
just an empty box that says RevErrorDisplay. Not even any old 
errors. Since my stack doesn't use any send messages or pending 
messages, this shouldn't happen.

Changing tools in the tool box doesn't work. You sometimes have to 
click a lot of times just to get from Browse to Select tool. Also, in 
the Objects menu all of the items are grayed out. Why?

When closing Revolution, you have to close each of the windows. I 
mean, once you click the main close box it should close everything, 
right? But I have to individually close everything. The toolbox stays 
on the screen and doesn't disappear, I've had to use alt-F4 to close 
it.

The weirdest part is that when you open up the message box, all the 
time you see this message in the lower part. Got here. No script of 
mine does this, and it is there before you even open a stack.

For now I will try replacing all of the component files and see if 
that fixes it. If anyone knows what is going on please help me. A 
Revolution virus?

-Ben
___
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: Serial and then some

2005-03-06 Thread Sarah Reichelt
Hi Tom,
The problem is that you are asking for specific instructions about 
something that can be incredibly varied. Serial comms can be used for 
such a vast number of things that it's like asking for instructions on 
how to make a phone call.
Do you start by saying Hello?
Do you wait for the person on the other end to say Hello?
What if they say Hi instead?
When you say Goodbye do you hang up or wait for them to say Goodbye?
These questions depend on who you are talking to and what sort of call 
it is. There is no single right answer.

What you really need to do is get hold of the protocol for whatever 
serial device you are talking to. For testing purposes, I tend to use a 
modem which has a standard protocol (Hayes) which you can find online. 
But then I use another serial controller device which has it's own 
language with expected inputs  outputs, which I have to conform to.
e.g. with one device, I know that if I send t?  CR, it will return 
T2334 or some such number, followed by CR. I have another device 
where I send V2  CRLF and get back a number followed by LF. It just 
depends what you are talking to.

So, do you have a specific device you are talking to? Can you get a 
hold of it's instruction set?
Do you have a modem you can test with? For starters, send ATF  CR 
and read whatever comes back.

Don't puzzle your brain reading C unless it is a program for talking to 
the device you use, then it might be useful.

HTH,
Sarah
I am stuck in serial land... I don't know enough about it and Rev and 
am looking for a for the completely stupid tutorial and guide into 
using serial in Rev and with the upcoming USB externals maybe a fully 
detailed input output tutorial type. I no squat about this topic and 
have had very limited success by tearing other people's examples apart 
to try and understand it further. Sarah's serial stack is the best 
I've seen but it is only one example and with out other examples to 
compare it to I don't really understand the important parts and or the 
why of it.

I need things like:
Do you really need to wait for a response after having sent a command?
Do we know what types of responses will come, what to expect?
Where do we look to know what to expect when looking at a new device?
Are there similarities with devices and responses?
Is there a list of commands to send?
Is there a simple way of understanding the 'why' of these commands?
Why do some devices need certain LF CR etc.?
I have spent days reading stuff on the internet and most concern C# 
etc. and now my head hurts by I don't feel any closer to understanding 
the exact metaphor here.

Any help is greatly appreciated,
Tom
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: altBrowser application

2005-03-06 Thread Derek Bump
 So I have to deliver the altBrowser app with an installer or splash drop
 it into a directory then auto run the app from a directory off the
 windows pc ?

You would have to deliver both the Standalone Application and the
altBrowser.dll.  You can put the altBrowser.dll in any directory you wish
just as long as your app can find it when it's starting up.  It's easiest to
just put it into the same directory as your app, but you can also put it
into system directories as others have mentioned.

 Yes I'm here in Oak Creek Wisconsin, what's your location Wis also ?

Madison, WI.  It's nice to see someone else from Wisconsin here.  I was
beginning to think I was the only one. :)


Derek Bump
Dreamscape Software
http://www.dreamscapesoftware.com/

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


OT: Wisconsin Rev Users/Midwest Rev User Group (Was Re: altBrowser application)

2005-03-06 Thread Ken Ray
On 3/6/05 7:38 PM, Derek Bump [EMAIL PROTECTED] wrote:

 So I have to deliver the altBrowser app with an installer or splash drop
 it into a directory then auto run the app from a directory off the
 windows pc ?
 
 You would have to deliver both the Standalone Application and the
 altBrowser.dll.  You can put the altBrowser.dll in any directory you wish
 just as long as your app can find it when it's starting up.  It's easiest to
 just put it into the same directory as your app, but you can also put it
 into system directories as others have mentioned.
 
 Yes I'm here in Oak Creek Wisconsin, what's your location Wis also ?
 
 Madison, WI.  It's nice to see someone else from Wisconsin here.  I was
 beginning to think I was the only one. :)

Well, there's at least one more! I'm in Eau Claire, WI.

:-)

Say, Jacque Gay (who's in Minneapollis) and I were thinking about trying to
organize a midwest Rev users group. If anyone is interested, please contact
me off list.

Thanks,


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: Change target path in a windows shortcut file

2005-03-06 Thread Ken Ray
On 3/6/05 6:07 PM, Alejandro Tejada [EMAIL PROTECTED] wrote:

 Thanks a lot, Ken! :-)
 
 Your guided example of using VBscript
 with RR, opens up a lot of doors in Windows!

You're welcome!

 but as you said:
 
 Yes, you can use VBScript. However in doing so, you
 may trigger virus protection software.
 
 Looks like this code will be helpful
 mainly in my personal setup...

Yes. It seems that anything that uses the FileSystem object or the WShell
object dealing with files triggers my Norton Antivirus. If you just want to
*get* info, that seems to pass by Norton without triggering it.


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


Win vs Mac text hilite

2005-03-06 Thread Richard Gaskin
On Mac OS and OS X, hilited text in a field is drawn as normal, hilited 
with the hiliteColor.

But on Windows, the hilitedColor is honored but the foreColor of the 
hilitedText is reversed.

I have an app where the client would really like to use a yellow hilite, 
but with the inversion is becomes white when hilited, and against the 
yellow it's barely readable.

Anyone know of a way to prevent the inversion of hilited text on Windows?
--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: # POSSIBLY SPAM #::Win vs Mac text hilite

2005-03-06 Thread xbury . cs
No matter what you do, the text remains white. 
This is not how Windows works (text remains black on yellow) so it is a 
bug in rev... 

Tested on w2k, XP/W2K3...



On 07.03.2005 08:40:28 use-revolution-bounces wrote:
On Mac OS and OS X, hilited text in a field is drawn as normal, hilited
with the hiliteColor.

But on Windows, the hilitedColor is honored but the foreColor of the
hilitedText is reversed.

I have an app where the client would really like to use a yellow hilite,
but with the inversion is becomes white when hilited, and against the
yellow it's barely readable.

Anyone know of a way to prevent the inversion of hilited text on Windows?


-
Visit us at http://www.clearstream.com
IMPORTANT MESSAGEInternet communications are not secure and therefore
Clearstream International does not accept legal responsibility for the
contents of this message.The information contained in this e-mail is
confidential and may be legally privileged. It is intended solely for the
addressee. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on it,
is prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically states
them to be the views of Clearstream International or of any of its
affiliates or subsidiaries.END OF DISCLAIMER
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution