Re: USB dance-pad with Rev?

2010-01-14 Thread René Micout
Hello,
I have a musical keyboard (Axis 49 : 
http://www.c-thru-music.com/cgi/?page=prod_axis-49) plugged by USB (on the 
Macintosh keyboard) witch work on GarageBand > rawKey messages on RunRev > 
nothing !  :-(
I am very interested by this question...
Bons souvenirs de Paris
René

Le 14 janv. 2010 à 08:33, Sarah Reichelt a écrit :

> On Thu, Jan 14, 2010 at 1:47 PM, Nicolas Cueto  wrote:
>> I'd like to connect a USB dance-pad to my PC and then make a stack
>> that does game-type stuff with the signals sent in by the dance-pad.
>> But I don't know if Rev can read in signals other than from the mouse
>> or keyboard.
> 
> 
> I would guess this sort of device functions like a trackpad or joystick.
> My recommendation would be to plug it in and do stuff while tracking
> rawKey messages.
> 
> Cheers,
> Sarah
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

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


Re: Rev on kde

2010-01-14 Thread Bernard Devlin
That's interesting.  Whenever I've tried to run the Rev IDE under WINE
on Fedora or Mandriva, any buttons with images are just black squares.

Bernard

On Wed, Jan 13, 2010 at 9:27 PM, Hershel Fisch  wrote:
> Hi everybody, just wanted to let the group know (incase somebody would have
> some interest)  that I tried my stand alone (win) App on PC-BSD (a gui on
> freebsd)(KDE GUI for various platforms)  running in Wine, and runs very
> descent.
> Had one interesting behavior that 2 out of 4 DataGrids had a complete
> background, trying to figure out why.
>
> Hershel Fisch
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: USB dance-pad with Rev?

2010-01-14 Thread Richmond Mathewson



Hello,
I have a musical keyboard (Axis 49 : 
http://www.c-thru-music.com/cgi/?page=prod_axis-49) plugged by USB (on the Macintosh 
keyboard) witch work on GarageBand>  rawKey messages on RunRev>  nothing !  :-(
I am very interested by this question...
Bons souvenirs de Paris
René

Le 14 janv. 2010 à 08:33, Sarah Reichelt a écrit :

   

On Thu, Jan 14, 2010 at 1:47 PM, Nicolas Cueto  wrote:
 

I'd like to connect a USB dance-pad to my PC and then make a stack
that does game-type stuff with the signals sent in by the dance-pad.
But I don't know if Rev can read in signals other than from the mouse
or keyboard.
   


I would guess this sort of device functions like a trackpad or joystick.
My recommendation would be to plug it in and do stuff while tracking
rawKey messages.

Cheers,
Sarah

 


I have used a Belkin Nostromo Gamepad n52 for about 3 years as a 
programming aid

to stop me getting sore wrists.

All USB devices will send some sort of keyDown signals and/or pointer 
movements
to the system; as long as you can interpret those keyDowns inside your 
stack there is

no earthly reason why your USB device won't work with RunRev.

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


Re: Rev on kde

2010-01-14 Thread Richmond Mathewson

On 14/01/2010 12:08, Bernard Devlin wrote:

That's interesting.  Whenever I've tried to run the Rev IDE under WINE
on Fedora or Mandriva, any buttons with images are just black squares.

Bernard

On Wed, Jan 13, 2010 at 9:27 PM, Hershel Fisch  wrote:
   

Hi everybody, just wanted to let the group know (incase somebody would have
some interest)  that I tried my stand alone (win) App on PC-BSD (a gui on
freebsd)(KDE GUI for various platforms)  running in Wine, and runs very
descent.
Had one interesting behavior that 2 out of 4 DataGrids had a complete
background, trying to figure out why.

Hershel Fisch

 

Why would you want to run a Windows standalone under WINE on Linux when
it is perfectly possible to make a Linux standalone?

Sorry for asking what seems to me a blazingly obvious question . . . but!
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev on kde

2010-01-14 Thread Luis

Hiya,

Have you tried installing the Linux version of Rev on PC-BSD? I run  
the system, but not for development, and am wondering if the Linux  
compatibility layer may be a better option. Unless you're trying to  
do something else...


Cheers,

Luis.


On 13 Jan 2010, at 21:27, Hershel Fisch wrote:

Hi everybody, just wanted to let the group know (incase somebody  
would have
some interest)  that I tried my stand alone (win) App on PC-BSD (a  
gui on
freebsd)(KDE GUI for various platforms)  running in Wine, and runs  
very

descent.
Had one interesting behavior that 2 out of 4 DataGrids had a complete
background, trying to figure out why.

Hershel Fisch

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

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



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


Re: USB dance-pad with Rev?

2010-01-14 Thread René Micout
Richmond,
I agree, but how can we pass messages from system to RunRev ?

Le 14 janv. 2010 à 11:13, Richmond Mathewson a écrit :
> All USB devices will send some sort of keyDown signals and/or pointer 
> movements
> to the system; as long as you can interpret those keyDowns inside your stack 
> there is
> no earthly reason why your USB device won't work with RunRev.

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


Re: Rev on kde

2010-01-14 Thread Mark Schonewille
Same here: black shapes everywhere. Has something changed in either a  
recent version of Wine or in Rev 4.x? It would be every interesting to  
know.


Did you make a standalone with any images, Hershel?

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

We make software, websites and webware. We are always looking for new  
projects. Feel free to contact us and ask for a quote without any  
further obligations

http://economy-x-talk.com/contact.html

Op 14 jan 2010, om 11:08 heeft Bernard Devlin het volgende geschreven:


That's interesting.  Whenever I've tried to run the Rev IDE under WINE
on Fedora or Mandriva, any buttons with images are just black squares.

Bernard



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


Re: USB dance-pad with Rev?

2010-01-14 Thread Dave Cragg

On 14 Jan 2010, at 10:13, Richmond Mathewson wrote:
> All USB devices will send some sort of keyDown signals and/or pointer 
> movements
> to the system; as long as you can interpret those keyDowns inside your stack 
> there is
> no earthly reason why your USB device won't work with RunRev.

I don't think that's right. Each USB device identifies what "class" of device 
it is, and the host device (computer) loads the appropriate driver. One such 
class is Human Interface Device which covers keyboards, mice, etc. If the 
device is of that class, then you should be able to get key messages. But there 
are other classes (Audio, Communications, Vendor Specific, etc.) where key 
messages probably aren't sent.

http://en.wikipedia.org/wiki/Universal_Serial_Bus#Device_classes

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


Re: USB dance-pad with Rev?

2010-01-14 Thread Richmond Mathewson

On 14/01/2010 12:51, Dave Cragg wrote:

On 14 Jan 2010, at 10:13, Richmond Mathewson wrote:
   

All USB devices will send some sort of keyDown signals and/or pointer movements
to the system; as long as you can interpret those keyDowns inside your stack 
there is
no earthly reason why your USB device won't work with RunRev.
 

I don't think that's right. Each USB device identifies what "class" of device 
it is, and the host device (computer) loads the appropriate driver. One such class is 
Human Interface Device which covers keyboards, mice, etc. If the device is of that class, 
then you should be able to get key messages. But there are other classes (Audio, 
Communications, Vendor Specific, etc.) where key messages probably aren't sent.

http://en.wikipedia.org/wiki/Universal_Serial_Bus#Device_classes

   
Yes, you are right; I'm sorry, I was thinking only of the class of USB 
devices such as:


Mice,
Keyboards,
Gamepads.
Dancepads,
Trackballs,
Joysticks,
Steering wheels,
Foot pedals,

and so on (data entry USB devices - I suppose).

The situation ca be complicated; for instance

my Belkin Nostromo n52 (now obsolete, but c.f.  
http://catalog.belkin.com/IWCatProductPage.process?Product_Id=390404 )
requires settings to be set outwith the target program before it can 
interact with that program.


I had to set up a settings file called "Revolution" using the Nostromo 
Preference Pane (Mac OS X) so that

when I pressed button 06 it would paste from the clipboard.

If you are 'just' developing your stack for your own use then you should 
have no problems, but, in the
case of authoring for other end users who may have USB devices with 
user-editable settings you will

be up a gum tree.

Apart from my 'blah' above; the thing to know is whether your target USB 
device has USER-EDITABLE settings.

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


Re: USB dance-pad with Rev?

2010-01-14 Thread Shao Sean
Sorry Richmond but it should not matter about user definable keys or  
not, as the device driver should be monitoring that and then sending  
the appropriate message to the receiving applications..


In theory you can get an external to listen to the messages sent by  
the system, but as demonstrated in my recent external there are issues  
(on the Mac anyways) with the compiled application engine and  
listening for (some?) external events..

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


Re: Inconsistent bottomLeft behavior

2010-01-14 Thread zryip theSlug
2010/1/14 J. Landman Gay :
> zryip theSlug wrote:
>>
>> Larry obtains  "card id 1002": execution error at line n/a (Object:
>> coordinate is not a point) near "0,1020".
>>
>> Maybe I'm wrong but it is possible that the compiler is limited to the
>> first line of the content of a variable when it returns the error.
>
> The line number should point to the line of his script that has the error,
> not the line in the variable. If the compiler doesn't know which script line
> has the error, it seems like a compiler problem. But...

I wanted to point here that the content of the variable returned by
the compiler is truncated. I had not in mind that the compiler was not
able to determine where the error occured.

More I think to that more I believe that the two things are linked.
Surely I'm totally wrong in the interpretation of how the compiler
could operate, but it possible that because the variable which cause
problem is composed by more than one line, it's confused the scope of
the compiler because it can found the correct line between two lines.

It could be interresting that the compiler indicates somehow a
variable is truncated to help the debugging. Maybe an improvement to
bring in a future version of RR.

>
>> In fact RR would say to Larry that "0,1020&return&1024,0,2034,800" is
>> not a point. But the compiler try to keep the secret.
>
> True, although "item 4" would be "1020&return&0" -- which isn't a valid
> point either. We need to know if he has multiple monitors.

Yes it's true. Thanks to correct me Jacque. However when I tested it's
well 1020&return&1024 that I obtained.
It seems that "the working screenRects" takes care the direction in
which the first monitor is extended to the second.

> But the line number in the error message should not be "n/a" in any case.
> There is something wrong there.

Really

-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Debugger for On-rev

2010-01-14 Thread Tim Selander
How do you set a break point for the debugger in the on-rev.app
for OSX? Trying to learn how to script web pages

Thanks.

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


Re: Debugger for On-rev

2010-01-14 Thread Tim Selander
Never mind, found it through google. sorry for the noise.

Tim Selander wrote:
> How do you set a break point for the debugger in the on-rev.app
> for OSX? Trying to learn how to script web pages
> 
> Thanks.
> 
> Tim Selander
> Tokyo, Japan
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Inconsistent bottomLeft behavior

2010-01-14 Thread Larry Snider
This was exactly the case.  The output of

put "the working screenRects :" && the working screenRects & CR into msg box
put "the screenRects :" && the screenRects & CR into msg box

is

the working screen Rects : 0,0,1680,1020
1680,24,2960,824
the screenRects : 0,0,1680,1050
1680,24,2960,824


So putting "line 1 of" ... in there worked like it was supposed to
work.  That also makes sense that the compiler could not identify the
line since it was multi-lined data.  However, the compiler's code
should be changed to account for this, as well as the
documentation/dictionary.

Larry


On Wed, Jan 13, 2010 at 5:14 PM, zryip theSlug  wrote:
> Hi Larry,
>
> How many screens have you when it's works or not ?
>
> If more than one the working screenRects will return you as many lines
> as you have screens.
> That's means that item 4 will contains item 4 of the rect of your
> first screen and all the other screen rect behind. Take a look to your
> variable tSCR on the debugger and count how many lines you have. I'm
> sure that more than one;)
>
> Insteed used :
> -  put the working screenRect into tSCR
> - or put line 1 of the working screenRects into tSCR
>
> 2010/1/13 Larry Snider :
>> I'm trying to anchor a card to the bottom left corner of the screen
>> but I want to dynamically determine the screen size, card size, etc
>> and then change it's location.
>>
>> When doing something like this I sometimes get "coordinate is not a
>> point" errors at run time...but not all the time, mind you.  Putting
>> numbers in the coordinate position of bottomLeft works but not using a
>> variable.
>>
>> Can anyone guide me on the proper way to snap a card to the edge of
>> the screen?  I'd like to add the option to choose which corner to
>> anchor to but if variables in the coordinates are sketchy I won't.
>> ;-)
>>
>> Thanks.
>>
>> Larry
>
> --
> -Zryip TheSlug- wish you the best! 8)
> http://www.aslugontheroad.co.cc
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


[ANN] ssMacWindows 1.5.1

2010-01-14 Thread Shao Sean

Just a small update, pretty much only good for 2.8 users

- fixed some issues with the demo stack
- added proxy menus for Revolution 2.8 compiled applications (see below)
- discovered that ssRegisterForVolumeEvents and  
ssRegisterForHotKeyEvents work in Revolution 2.8 compiled applications  
as well


More information and download at < http://shaosean.tk/ >


I am not certain what happened after 2.8 but it seems something not  
good happened to the engine (both the IDE one and the compiled app  
one)..


Why proxy menus do not work past 2.8
http://quality.runrev.com/qacenter/show_bug.cgi?id=8350

Why the two events do no work in compiled apps
http://quality.runrev.com/qacenter/show_bug.cgi?id=8489


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


RE: USB dance-pad with Rev?

2010-01-14 Thread Lynn Fredricks
> I'd like to connect a USB dance-pad to my PC and then make a 
> stack that does game-type stuff with the signals sent in by 
> the dance-pad.
> But I don't know if Rev can read in signals other than from 
> the mouse or keyboard.
> 
> Anyone know if and how this can be done... or perhaps have 
> even actually done it?

Someone poke Phil Davis, he's the king of Rev and USB and done some very
interesting work.

Some makers do produce SDKs for use with the device, though a lot of them
are for C++ developers. If it does have such an SDK, it may be possible to
write a Revolution external.

Best regards,

Lynn Fredricks
President
Paradigma Software
http://www.paradigmasoft.com

Valentina SQL Server: The Ultra-fast, Royalty Free Database Server 

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


Re: USB dance-pad with Rev?

2010-01-14 Thread Björnke von Gierke
Another boon is that usb developers are lazy (like all developers). Thus they 
often use some standard lib for their device, especially if it isn't a network 
adapter or other exotic device. 

and the most standardised libs are:
disk space (USB memory stick or HD)
user interface (mouses, keyboard, ...)
serial over usb

so it might be worth a shot to check the drivernames when you connect your 
device or before and after you install relevant drivers...

of course this is pretty much a shot into the dark...
bjoernke


-- 

official ChatRev page:
http://bjoernke.com?target=chatrev

Chat with other RunRev developers:
go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev";

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


Re: Inconsistent bottomLeft behavior

2010-01-14 Thread J. Landman Gay

zryip theSlug wrote:

However when I tested it's
well 1020&return&1024 that I obtained.
It seems that "the working screenRects" takes care the direction in
which the first monitor is extended to the second.


You're right. I don't have two monitors connected so I guessed wrong. I 
think Larry should send his extra monitor to me instead of you. :)


Congratulations on correctly diagnosing the problem.




But the line number in the error message should not be "n/a" in any case.
There is something wrong there.


Really


Well, just to make things more interesting, I got the same "n/a" error 
yesterday in one of my own scripts. I had changed only a single line and 
that was the one which was broken but the compiler didn't know it. 
Something has changed in recent versions of the Rev engine, I think.


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


Re: Inconsistent bottomLeft behavior

2010-01-14 Thread Scott Rossi
Recently, Larry Snider wrote:

> the working screen Rects : 0,0,1680,1020
> 1680,24,2960,824
> the screenRects : 0,0,1680,1050
> 1680,24,2960,824
> 
> 
> So putting "line 1 of" ... in there worked like it was supposed to
> work.  That also makes sense that the compiler could not identify the
> line since it was multi-lined data.  However, the compiler's code
> should be changed to account for this, as well as the
> documentation/dictionary.

FWIW, if you use screenRect (singular), you get a single line for the
primary display.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design


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


Re: Inconsistent bottomLeft behavior

2010-01-14 Thread Larry Snider
Oh, that's good to know!

Thanks.

Larry

On Thursday, January 14, 2010, Scott Rossi  wrote:
> Recently, Larry Snider wrote:
>
>> the working screen Rects : 0,0,1680,1020
>> 1680,24,2960,824
>> the screenRects : 0,0,1680,1050
>> 1680,24,2960,824
>>
>>
>> So putting "line 1 of" ... in there worked like it was supposed to
>> work.  That also makes sense that the compiler could not identify the
>> line since it was multi-lined data.  However, the compiler's code
>> should be changed to account for this, as well as the
>> documentation/dictionary.
>
> FWIW, if you use screenRect (singular), you get a single line for the
> primary display.
>
> Regards,
>
> Scott Rossi
> Creative Director
> Tactile Media, UX Design
>
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


[ANN] tRev Gets Better PDF Docs, Enhanced Scratch Pad Editing (video)

2010-01-14 Thread Jerry Daniels

tRev users,

We have just updated the documentation for tRev to accomodate the new  
Scratch Pad feature with its new window style and multi-instance  
architecture. Here's the link to a page with links to the Quickstart  
guide and the Shortcuts.


http://reveditor.com/trev-quickstart-shortcuts-now-on-iworkcom

These nice little PDFs are hosted on iWork.com and view really well,  
let you download them or print them. Best of all, there is no log-in  
of any sort required.


We've also enhanced the Scratch Pad editing process so that it's done  
directly--without the inconvenience of a separate editor. I have a  
super-short video showing how to edit and annotate your links in the  
Scratch Pad. Here's the link:


http://reveditor.com/scratch-pad-enhancement

Best,

Jerry Daniels

The latest Rev Editor Video:
http://reveditor.com/scratch-pad-links-to-your-fav-handlers

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


PostgreSQL help

2010-01-14 Thread Alex Adams
I have successfully setup a runRev application to work with PosgreSQL on
localhost of the same machine that is running the runRev app (OS X).

Now I am ready to connect to a fresh PostgreSQL install on a Vista machine
on the LAN.  I am trying to use Navicat to move the database from the
localhost to the new server installation.  I can¹t make the connection.  I
can ping from one machine to the other, but I can¹t get a response from
Postgres.  The services are running.  Any ideas as to what might be wrong?

I know that this is a very basic question with a lot of variables to the
specific installations here, but I need to learn how to do this smoothly and
easily.  I expect to host many, many of these Postgres database on hosted
installations, perhaps virtual servers, on the net.

Any guidance would be appreciated and any reference works for my education
would be appreciated also.  I am an experienced database user.  I am
familiar with MS SQL Server, Openbase, Frontbase, and SQLite.  This is my
first time with Postgres.

Thanks,
-- 
Alex Adams

hawkVision ‹ tools for solving Wicked Problems

(a)2 Technology Partners, Inc.
831-726-8013
a...@a2tecnology.com
www.a2technology.com
www.promisstudio.com
universalconnector.wordpress.com

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


Re: PostgreSQL help

2010-01-14 Thread Pierre Sahores

Hi,

Did you set-up your remote PostgreSQL to accept non-localhost  
connexions too (hba.conf) ?


Best,


Le 14 janv. 10 à 18:56, Alex Adams a écrit :

I have successfully setup a runRev application to work with  
PosgreSQL on

localhost of the same machine that is running the runRev app (OS X).

Now I am ready to connect to a fresh PostgreSQL install on a Vista  
machine

on the LAN.  I am trying to use Navicat to move the database from the
localhost to the new server installation.  I can’t make the  
connection.  I
can ping from one machine to the other, but I can’t get a response  
from
Postgres.  The services are running.  Any ideas as to what might be  
wrong?


I know that this is a very basic question with a lot of variables to  
the
specific installations here, but I need to learn how to do this  
smoothly and
easily.  I expect to host many, many of these Postgres database on  
hosted

installations, perhaps virtual servers, on the net.

Any guidance would be appreciated and any reference works for my  
education

would be appreciated also.  I am an experienced database user.  I am
familiar with MS SQL Server, Openbase, Frontbase, and SQLite.  This  
is my

first time with Postgres.

Thanks,
--
Alex Adams

hawkVision — tools for solving Wicked Problems

(a)2 Technology Partners, Inc.
831-726-8013
a...@a2tecnology.com
www.a2technology.com
www.promisstudio.com
universalconnector.wordpress.com

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

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



--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.wrds.com
www.sahores-conseil.com






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


Re: USB dance-pad with Rev?

2010-01-14 Thread Phil Davis
Yes, what Björnke (and Dave C) said is true - in USB termonology the 
device interaction requirements are defined by the class it belongs to.


   * Mass Storage class = flash drives etc. Rev lists them in "the volumes"

   * Communications class = Björnke's "serial over USB" - controller
 boards, modems etc that have a command set of their own. These
 usually have drivers that Rev lists in "the driverNames" although
 they don't always get listed. (I have a 'deviceNames()' function
 somewhere (thanks to Dar Scott and Ken Ray) that returns a more
 complete list - I'll see if I can dig it out and post it.) These
 require that you open driver / read from driver / write to driver
 / close driver. I learned a lot from Sarah Reichelt about working
 with this device type. Here is a description of her work with one
 such device:
   http://www.pdslabs.net/usb/rev-usb1.pdf

   * HID class = keyboards, mice etc.

There are about a dozen USB device classes in all, but the ones listed 
above are the ones most relevant to the current discussion.


Phil Davis




On 1/14/10 8:15 AM, Björnke von Gierke wrote:

Another boon is that usb developers are lazy (like all developers). Thus they 
often use some standard lib for their device, especially if it isn't a network 
adapter or other exotic device.

and the most standardised libs are:
disk space (USB memory stick or HD)
user interface (mouses, keyboard, ...)
serial over usb

so it might be worth a shot to check the drivernames when you connect your 
device or before and after you install relevant drivers...

of course this is pretty much a shot into the dark...
bjoernke


   


--
Phil Davis

PDS Labs
Professional Software Development
http://pdslabs.net

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


Re: PostgreSQL help

2010-01-14 Thread Alex Adams
Pierre,

Unknown.  How do I do that?

Thanks,
-- 
Alex Adams

hawkVision ‹ tools for solving Wicked Problems

(a)2 Technology Partners, Inc.
831-726-8013
a...@a2tecnology.com
www.a2technology.com
www.promisstudio.com
universalconnector.wordpress.com


> From: Pierre Sahores 
> Reply-To: How to use Revolution 
> Date: Thu, 14 Jan 2010 19:08:25 +0100
> To: How to use Revolution 
> Subject: Re: PostgreSQL help
> 
> Hi,
> 
> Did you set-up your remote PostgreSQL to accept non-localhost
> connexions too (hba.conf) ?
> 
> Best,
> 
> 
> Le 14 janv. 10 à 18:56, Alex Adams a écrit :
> 
>> I have successfully setup a runRev application to work with
>> PosgreSQL on
>> localhost of the same machine that is running the runRev app (OS X).
>> 
>> Now I am ready to connect to a fresh PostgreSQL install on a Vista
>> machine
>> on the LAN.  I am trying to use Navicat to move the database from the
>> localhost to the new server installation.  I can¹t make the
>> connection.  I
>> can ping from one machine to the other, but I can¹t get a response
>> from
>> Postgres.  The services are running.  Any ideas as to what might be
>> wrong?
>> 
>> I know that this is a very basic question with a lot of variables to
>> the
>> specific installations here, but I need to learn how to do this
>> smoothly and
>> easily.  I expect to host many, many of these Postgres database on
>> hosted
>> installations, perhaps virtual servers, on the net.
>> 
>> Any guidance would be appreciated and any reference works for my
>> education
>> would be appreciated also.  I am an experienced database user.  I am
>> familiar with MS SQL Server, Openbase, Frontbase, and SQLite.  This
>> is my
>> first time with Postgres.
>> 
>> Thanks,
>> -- 
>> Alex Adams
>> 
>> hawkVision ‹ tools for solving Wicked Problems
>> 
>> (a)2 Technology Partners, Inc.
>> 831-726-8013
>> a...@a2tecnology.com
>> www.a2technology.com
>> www.promisstudio.com
>> universalconnector.wordpress.com
>> 
>> ___
>> use-revolution mailing list
>> use-revolution@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>> 
> 
> --
> Pierre Sahores
> mobile : (33) 6 03 95 77 70
> 
> www.wrds.com
> www.sahores-conseil.com
> 
> 
> 
> 
> 
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

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


Rev + PNG Display on OS X 10.6

2010-01-14 Thread Scott Rossi
This might be useful for folks delivering image-heavy apps on Mac OS X 10.6
and later...

Apparently with Snow Leopard, Apple has changed the default gamma of the
system to 2.2 (used to be 1.8).



I was recently throwing some PNG images on a card on Rev that looked
significantly darker than where they were created (in Photoshop), and for
the life of me could not figure out why.  I'm still searching for a reliable
way to strip the gamma information from PNG images, but after finding the
above article, I tried changing the screenGamma in Rev to 2.2 and amazingly
(or maybe expectedly) the image seems to display properly.

 set the screenGamma to 2.2

I need to do some more testing, but it appears that when delivering apps on
Snow Leopard that make heavy use of PNGs, one will need to do something to
the effect of:

 if "mac" is in platform() and systemVersion() > 10.5 then ...

Also used the following method to force refresh the display of the image:

 set text of img 1 to text of img 1

Hope this saves some head banging for other folks using images.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design


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


Images when setting the htmlText of a field

2010-01-14 Thread Ray Horsley

Greetings,

I've tried setting the htmlText of a fld to this html (below) both URL  
encoding the image path and by leaving in plain text (with spaces).   
Neither way displays the image.  Nonetheless, if I save this as a file  
and open it in Explorer or Safari (on my Mac) the image is displayed  
perfectly.  Any ideas what I'm doing wrong?


Thanks,

Ray Horsley
LinkIt! Software

http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd 
">

http://www.w3.org/1999/xhtml"; >

Untitled Page


The volume of a marble is 1.8 cubic  
centimeters 
src="http://www.linkit.com/EItemBank/ETS%20Formative%20Assessment%20Item%20B
ank/Science/Grade%205%20QTI/SCI%20G5%20P4/images/mml1738861.png" />  
Which of

these tools determines density?


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


Re: PostgreSQL help

2010-01-14 Thread Pierre Sahores
See inside your windows PostgreSQL directory where to find the  
Pg_hba.conf file and just add your navicat host IP as a trusted host.





The Pg_hba.conf file is, by default, set to accept localhost  
connexions only.


Best,

Le 14 janv. 10 à 19:17, Alex Adams a écrit :


Pierre,

Unknown.  How do I do that?

Thanks,
--
Alex Adams

hawkVision — tools for solving Wicked Problems

(a)2 Technology Partners, Inc.
831-726-8013
a...@a2tecnology.com
www.a2technology.com
www.promisstudio.com
universalconnector.wordpress.com



From: Pierre Sahores 
Reply-To: How to use Revolution 
Date: Thu, 14 Jan 2010 19:08:25 +0100
To: How to use Revolution 
Subject: Re: PostgreSQL help

Hi,

Did you set-up your remote PostgreSQL to accept non-localhost
connexions too (hba.conf) ?

Best,


Le 14 janv. 10 à 18:56, Alex Adams a écrit :


I have successfully setup a runRev application to work with
PosgreSQL on
localhost of the same machine that is running the runRev app (OS X).

Now I am ready to connect to a fresh PostgreSQL install on a Vista
machine
on the LAN.  I am trying to use Navicat to move the database from  
the

localhost to the new server installation.  I can’t make the
connection.  I
can ping from one machine to the other, but I can’t get a response
from
Postgres.  The services are running.  Any ideas as to what might be
wrong?

I know that this is a very basic question with a lot of variables to
the
specific installations here, but I need to learn how to do this
smoothly and
easily.  I expect to host many, many of these Postgres database on
hosted
installations, perhaps virtual servers, on the net.

Any guidance would be appreciated and any reference works for my
education
would be appreciated also.  I am an experienced database user.  I am
familiar with MS SQL Server, Openbase, Frontbase, and SQLite.  This
is my
first time with Postgres.

Thanks,
--
Alex Adams

hawkVision — tools for solving Wicked Problems

(a)2 Technology Partners, Inc.
831-726-8013
a...@a2tecnology.com
www.a2technology.com
www.promisstudio.com
universalconnector.wordpress.com

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



--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.wrds.com
www.sahores-conseil.com






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

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


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

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



--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.wrds.com
www.sahores-conseil.com






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


Re: PostgreSQL help

2010-01-14 Thread Alex Adams
I read a little, edited the hba.conf file and got it to work for this
installation on Vista.  Where is the hba.conf file found on the Mac?
-- 
Alex Adams

hawkVision ‹ tools for solving Wicked Problems

(a)2 Technology Partners, Inc.
831-726-8013
a...@a2tecnology.com
www.a2technology.com
www.promisstudio.com
universalconnector.wordpress.com


> From: Alex Adams 
> Reply-To: How to use Revolution 
> Date: Thu, 14 Jan 2010 10:17:41 -0800
> To: How to use Revolution 
> Subject: Re: PostgreSQL help
> 
> Pierre,
> 
> Unknown.  How do I do that?
> 
> Thanks,
> -- 
> Alex Adams
> 
> hawkVision ‹ tools for solving Wicked Problems
> 
> (a)2 Technology Partners, Inc.
> 831-726-8013
> a...@a2tecnology.com
> www.a2technology.com
> www.promisstudio.com
> universalconnector.wordpress.com
> 
> 
>> From: Pierre Sahores 
>> Reply-To: How to use Revolution 
>> Date: Thu, 14 Jan 2010 19:08:25 +0100
>> To: How to use Revolution 
>> Subject: Re: PostgreSQL help
>> 
>> Hi,
>> 
>> Did you set-up your remote PostgreSQL to accept non-localhost
>> connexions too (hba.conf) ?
>> 
>> Best,
>> 
>> 
>> Le 14 janv. 10 à 18:56, Alex Adams a écrit :
>> 
>>> I have successfully setup a runRev application to work with
>>> PosgreSQL on
>>> localhost of the same machine that is running the runRev app (OS X).
>>> 
>>> Now I am ready to connect to a fresh PostgreSQL install on a Vista
>>> machine
>>> on the LAN.  I am trying to use Navicat to move the database from the
>>> localhost to the new server installation.  I can¹t make the
>>> connection.  I
>>> can ping from one machine to the other, but I can¹t get a response
>>> from
>>> Postgres.  The services are running.  Any ideas as to what might be
>>> wrong?
>>> 
>>> I know that this is a very basic question with a lot of variables to
>>> the
>>> specific installations here, but I need to learn how to do this
>>> smoothly and
>>> easily.  I expect to host many, many of these Postgres database on
>>> hosted
>>> installations, perhaps virtual servers, on the net.
>>> 
>>> Any guidance would be appreciated and any reference works for my
>>> education
>>> would be appreciated also.  I am an experienced database user.  I am
>>> familiar with MS SQL Server, Openbase, Frontbase, and SQLite.  This
>>> is my
>>> first time with Postgres.
>>> 
>>> Thanks,
>>> -- 
>>> Alex Adams
>>> 
>>> hawkVision ‹ tools for solving Wicked Problems
>>> 
>>> (a)2 Technology Partners, Inc.
>>> 831-726-8013
>>> a...@a2tecnology.com
>>> www.a2technology.com
>>> www.promisstudio.com
>>> universalconnector.wordpress.com
>>> 
>>> ___
>>> use-revolution mailing list
>>> use-revolution@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>> 
>> 
>> --
>> Pierre Sahores
>> mobile : (33) 6 03 95 77 70
>> 
>> www.wrds.com
>> www.sahores-conseil.com
>> 
>> 
>> 
>> 
>> 
>> 
>> ___
>> use-revolution mailing list
>> use-revolution@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

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


Re: Rev + PNG Display on OS X 10.6

2010-01-14 Thread Thomas McGrath III
Good catch Scott. I have been reading through the snow leopard changes  
and have not come across this yet. Am looking for it now.


Thanks

Tom McGrath III
Lazy River Software
3mcgr...@comcast.net

iTunes Library Suite - libITS
Information and download can be found on this page:
http://www.lazyriversoftware.com/RevOne.html






On Jan 14, 2010, at 1:27 PM, Scott Rossi wrote:

This might be useful for folks delivering image-heavy apps on Mac OS  
X 10.6

and later...

Apparently with Snow Leopard, Apple has changed the default gamma of  
the

system to 2.2 (used to be 1.8).



I was recently throwing some PNG images on a card on Rev that looked
significantly darker than where they were created (in Photoshop),  
and for
the life of me could not figure out why.  I'm still searching for a  
reliable
way to strip the gamma information from PNG images, but after  
finding the
above article, I tried changing the screenGamma in Rev to 2.2 and  
amazingly

(or maybe expectedly) the image seems to display properly.

set the screenGamma to 2.2

I need to do some more testing, but it appears that when delivering  
apps on
Snow Leopard that make heavy use of PNGs, one will need to do  
something to

the effect of:

if "mac" is in platform() and systemVersion() > 10.5 then ...

Also used the following method to force refresh the display of the  
image:


set text of img 1 to text of img 1

Hope this saves some head banging for other folks using images.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design


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

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


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


Re: Rev on kde

2010-01-14 Thread Hershel Fisch

> Why would you want to run a Windows standalone under WINE on Linux when
> it is perfectly possible to make a Linux standalone?

Its FreeBSD not Linux.
> 
> Sorry for asking what seems to me a blazingly obvious question . . . but!
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution


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


Re: Rev on kde

2010-01-14 Thread Hershel Fisch
Good thinking, I'll thry that.
Hershel


On 1/14/10 5:19 AM, "Luis"  wrote:

> Hiya,
> 
> Have you tried installing the Linux version of Rev on PC-BSD? I run
> the system, but not for development, and am wondering if the Linux
> compatibility layer may be a better option. Unless you're trying to
> do something else...
> 
> Cheers,
> 
> Luis.
> 
> 
> On 13 Jan 2010, at 21:27, Hershel Fisch wrote:
> 
>> Hi everybody, just wanted to let the group know (incase somebody
>> would have
>> some interest)  that I tried my stand alone (win) App on PC-BSD (a
>> gui on
>> freebsd)(KDE GUI for various platforms)  running in Wine, and runs
>> very
>> descent.
>> Had one interesting behavior that 2 out of 4 DataGrids had a complete
>> background, trying to figure out why.
>> 
>> Hershel Fisch
>> 
>> ___
>> use-revolution mailing list
>> use-revolution@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>> 
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution


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


Re: Rev on kde

2010-01-14 Thread Richmond Mathewson

On 14/01/2010 21:37, Hershel Fisch wrote:
   

Why would you want to run a Windows standalone under WINE on Linux when
it is perfectly possible to make a Linux standalone?
 

Its FreeBSD not Linux.
   


Ok, I'm sorry.

Looked at the standalone builder for RR 4 on Mac and it only offers 
Linux (with 2 other options oddly greyed out)

apart from Mac and Windows.

However just cracked out RR 2.0.1 (Back to the Michael J. Fox) and see 
that the standalone builder offers

BSD.

Now I was even poorer than I am at present before I got hold of RR 4, 
so, honestly cannot recall at what version

RunRev stopped offering a BSD standalone option.

Now might be the time to start making "noises" about that option having 
been dropped . . .


These options have been dropped, somewhere along the road:

BSD
HP-UX
Iris
RS/6000
SPARC Solaris
SPARC
Solaris
Mac OS fat
Mac OS PPC
Mac OS 68  (last 3 are for Mac systems 7 to 9)
(Alternatively you could "get hold of" RunRev 2.0.1 - last free limited 
version - and, if your stack is
fairly 'primitive' - i.e. doesn't use anything post 2.0.1 - use that to 
pump out a BSD standalone).


Solaris Intel   and
Solaris SPA   are greyed out in both my Mac and my Linux versions of RR 
Studio

(maybe they are possible from Enterprise).

Sorry for asking what seems to me a blazingly obvious question . . . but!

 


Yup, the question should have been pointed at RunRev and should have 
gone like this:


"I thought you supported all sorts of platforms which you seem to have 
quietly dropped

without bothering to tell us that?"

As an EFL teacher I love 'Compare and Contrast' exercises, here's one:

Compare:

"Revolution is a leading software development solution for all major 
platforms, including Mac OS X, Windows, Linux and many more."


[ http://web.archive.org/web/20021124092402/http://runrev.com/ ]

with:

"Flexible platform creates applications that run on the Web, desktop or 
server, for the PC, Mac or Linux."


[ http://www.runrev.com/products/the-rev-platform/overview/ ]

No Cambridge Proficiency Certificates for spotting the difference there!

Now the funny thing is that a few years ago there was a lot of talk 
about how RunRev were planning
to reach out to an increasing number of platforms / Operating systems 
(I'm waiting for RISC OS);

but what I see is quite the reverse.

Probably a money thing . . .   :)

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


Re: Images when setting the htmlText of a field

2010-01-14 Thread Michael Kann
Works for me here on XP. Maybe a linebreak invaded your URL, as one did in the 
email.

This works:

on mouseUp
put fld 1 into v// your HTML text
set the htmlText of fld 2 to v // text and image appear correctly
end mouseUp

--- On Thu, 1/14/10, Ray Horsley  wrote:

> From: Ray Horsley 
> Subject: Images when setting the htmlText of a field
> To: "Use Revolution" 
> Date: Thursday, January 14, 2010, 3:45 PM
> Greetings,
> 
> I've tried setting the htmlText of a fld to this html
> (below) both URL encoding the image path and by leaving in
> plain text (with spaces).  Neither way displays the
> image.  Nonetheless, if I save this as a file and open
> it in Explorer or Safari (on my Mac) the image is displayed
> perfectly.  Any ideas what I'm doing wrong?
> 
> Thanks,
> 
> Ray Horsley
> LinkIt! Software
> 
>  Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> http://www.w3.org/1999/xhtml"; >
> 
>     Untitled Page
> 
> 
> The volume of a marble
> is 1.8 cubic centimeters  src="http://www.linkit.com/EItemBank/ETS%20Formative%20Assessment%20Item%20B
> ank/Science/Grade%205%20QTI/SCI%20G5%20P4/images/mml1738861.png"
> /> Which of
> these tools determines density?
> 
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 



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


AnimationEngine Arcade "shooter" strategy?

2010-01-14 Thread John Patten

Hi All...

Trying to come up with a "simple" arcade shooter type game.  I'm using  
Animation Engine. I would like to be able to aim a cannon (button that  
switches icon based on the FindAngle of canon and mouseLoc)  at a  
moving target (img) and then check for collision between projectile  
and target.


1. I can animate the canon rotation with FindAngle, however will  
probably need to rename images so direction of cannon matches angle  
returned.


2. I (think) understand the AE collision too..

3. What I'm having trouble with is understanding how to animate and  
direct the projectile, based on the direction of the canon. So many of  
the AE examples are based on a path, that I assume I will need to  
create a path, line (invisible),  between the canon and the proposed  
target. Creating the first point of that line is pretty straight  
forward, however, determining the angle of the canon's muzzle (canons  
have muzzles?) and the complimentary angle of the line and the  
intended target, a point farther down the line, feels way beyond my  
skills.


Would it be wise to have the user drag a marker, something like a  
"cross-hair" image, to a screen location to represent the user's  
proposed aim, and then get the loc of the cross hair image and then  
the loc of the cannon to create the line path? Or are their better  
ways of doing what I'm trying?



Thank you!

John Patten



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


Re: PostgreSQL help

2010-01-14 Thread Pierre Sahores

Alex,

Here is my home dev config MacMini one (OS X 10.4)

/usr/local/pgsql/data/pg_hba.conf

Best,

Pierre

Le 14 janv. 10 à 20:06, Alex Adams a écrit :


I read a little, edited the hba.conf file and got it to work for this
installation on Vista.  Where is the hba.conf file found on the Mac?
--  
Alex Adams


hawkVision — tools for solving Wicked Problems

(a)2 Technology Partners, Inc.
831-726-8013
a...@a2tecnology.com
www.a2technology.com
www.promisstudio.com
universalconnector.wordpress.com



From: Alex Adams 
Reply-To: How to use Revolution 
Date: Thu, 14 Jan 2010 10:17:41 -0800
To: How to use Revolution 
Subject: Re: PostgreSQL help

Pierre,

Unknown.  How do I do that?

Thanks,
--  
Alex Adams


hawkVision — tools for solving Wicked Problems

(a)2 Technology Partners, Inc.
831-726-8013
a...@a2tecnology.com
www.a2technology.com
www.promisstudio.com
universalconnector.wordpress.com



From: Pierre Sahores 
Reply-To: How to use Revolution 
Date: Thu, 14 Jan 2010 19:08:25 +0100
To: How to use Revolution 
Subject: Re: PostgreSQL help

Hi,

Did you set-up your remote PostgreSQL to accept non-localhost
connexions too (hba.conf) ?

Best,


Le 14 janv. 10 à 18:56, Alex Adams a écrit :


I have successfully setup a runRev application to work with
PosgreSQL on
localhost of the same machine that is running the runRev app (OS  
X).


Now I am ready to connect to a fresh PostgreSQL install on a Vista
machine
on the LAN.  I am trying to use Navicat to move the database from  
the

localhost to the new server installation.  I can’t make the
connection.  I
can ping from one machine to the other, but I can’t get a response
from
Postgres.  The services are running.  Any ideas as to what might be
wrong?

I know that this is a very basic question with a lot of variables  
to

the
specific installations here, but I need to learn how to do this
smoothly and
easily.  I expect to host many, many of these Postgres database on
hosted
installations, perhaps virtual servers, on the net.

Any guidance would be appreciated and any reference works for my
education
would be appreciated also.  I am an experienced database user.  I  
am

familiar with MS SQL Server, Openbase, Frontbase, and SQLite.  This
is my
first time with Postgres.

Thanks,
--
Alex Adams

hawkVision — tools for solving Wicked Problems

(a)2 Technology Partners, Inc.
831-726-8013
a...@a2tecnology.com
www.a2technology.com
www.promisstudio.com
universalconnector.wordpress.com

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



--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.wrds.com
www.sahores-conseil.com






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

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


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

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


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

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



--
Pierre Sahores
mobile : (33) 6 03 95 77 70

www.wrds.com
www.sahores-conseil.com






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


Re: Inconsistent bottomLeft behavior

2010-01-14 Thread zryip theSlug
2010/1/14 J. Landman Gay :

> You're right. I don't have two monitors connected so I guessed wrong. I
> think Larry should send his extra monitor to me instead of you. :)

Okay, I'll be fine player, Jacque. You win this time ;). Send me a
photo when you'll received it 8)

> Congratulations on correctly diagnosing the problem.

With the right equipment this is always easier. But thank you nevertheless ;)

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



-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Images when setting the htmlText of a field

2010-01-14 Thread Ray Horsley

I believe you're right.  I hadn't noticed that line break.

Thanks,

Ray

On Jan 14, 2010, at 12:11 PM, Michael Kann wrote:

Works for me here on XP. Maybe a linebreak invaded your URL, as one  
did in the email.


This works:

on mouseUp
put fld 1 into v// your HTML text
set the htmlText of fld 2 to v // text and image appear correctly
end mouseUp

--- On Thu, 1/14/10, Ray Horsley  wrote:


From: Ray Horsley 
Subject: Images when setting the htmlText of a field
To: "Use Revolution" 
Date: Thursday, January 14, 2010, 3:45 PM
Greetings,

I've tried setting the htmlText of a fld to this html
(below) both URL encoding the image path and by leaving in
plain text (with spaces).  Neither way displays the
image.  Nonetheless, if I save this as a file and open
it in Explorer or Safari (on my Mac) the image is displayed
perfectly.  Any ideas what I'm doing wrong?

Thanks,

Ray Horsley
LinkIt! Software

Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd 
">

http://www.w3.org/1999/xhtml"; >

Untitled Page


The volume of a marble
is 1.8 cubic centimeters http://www.linkit.com/EItemBank/ETS%20Formative%20Assessment%20Item%20B
ank/Science/Grade%205%20QTI/SCI%20G5%20P4/images/mml1738861.png"
/> Which of
these tools determines density?


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





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

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



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


Re: an interesting challenge

2010-01-14 Thread Bob Sneidar
OK Here goes my theory. He had just joined the lists, was getting ready to 
enter his first email, when the doorbell rang. He got up to answer the door, 
kneed the desk where his coffee was sitting right next to his keyboard, went to 
catch it, startled the cat who ran across his keyboard and just caught the 
mouse button on his way by, which happened to be pointing at the "Send" button 
in his email program. 

Can anyone do better?

Bob


On Jan 12, 2010, at 7:35 PM, run...@gmx.com wrote:

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

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


Re: an interesting challenge

2010-01-14 Thread Bob Sneidar
That's because for the French, talking is much like exploring is for the 
pioneer. It's the process, not the goal that is the most rewarding. (I'm half 
French, so I get to say that.)

Bob


On Jan 12, 2010, at 11:36 PM, Jim Bufalini wrote:

> French is apparently always more "wordy" than English. ;-) When I worked
> with Eric, he would struggle to fit into the same "space" in French what I
> wrote in English (and he was an accomplished author). He told me French is
> about one-third more words than English to say the same thought.
> 
> Aloha from Hawaii,
> 
> Jim Bufalini

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


Re: an interesting challenge

2010-01-14 Thread Bob Sneidar
That may be preferable, as a big queer might take offense and do some real 
damage. 

I apologize in advance. It just had to be said. 

Bob


On Jan 13, 2010, at 2:41 AM, Richmond Mathewson wrote:

> Queer (Peculiar); as in "I'm feeling a little queer."

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


Re: an interesting challenge

2010-01-14 Thread Bob Sneidar
I guess that means my theory was wrong. I thought I had a real chance. ;-)

Bob


On Jan 13, 2010, at 3:51 PM, Derek wrote:

> 
> I am very sorry, apparently this list does not like HTML emails, so I now see
> my first email was blank! Glad to see that it nevertheless sparked the
> creativity of the group!
> 
> Now that I am famous for my minimalist approach, here is the lengthy email I
> *meant* to send:
> 
> Hello all, I have an interesting challenge:

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


Re: an interesting challenge

2010-01-14 Thread Brian Yennie
I believe the message was encoded using the following compression  
algorithm:


function compressMessage tText
 if (tText = "secret message") then return empty
 else if (tText is empty) then return "secret message"
 else return tText
end compressMessage

Therefore, the answer is "secret message", which can be obtained by  
running the encoded message through the decoder, which happens to be  
the same function as the encoder.


Pretty sure that's it. Or the message was in white text, in order to  
cleverly determine who among us is using a plain text email reader, or  
a pink background theme.


OK Here goes my theory. He had just joined the lists, was getting  
ready to enter his first email, when the doorbell rang. He got up to  
answer the door, kneed the desk where his coffee was sitting right  
next to his keyboard, went to catch it, startled the cat who ran  
across his keyboard and just caught the mouse button on his way by,  
which happened to be pointing at the "Send" button in his email  
program.


Can anyone do better?

Bob

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


Re: Rev on kde

2010-01-14 Thread Hershel Fisch

> Mac OS 68  (last 3 are for Mac systems 7 to 9)
> (Alternatively you could "get hold of" RunRev 2.0.1 - last free limited
> version - and, if your stack is
> fairly 'primitive' - i.e. doesn't use anything post 2.0.1 - use that to
> pump out a BSD standalone).
I still have a copy of it.
The question is if it will work with kde?
Or rather lets put it like this, Run Rev should put back the capebilities
for BSD (and kde).
> 

> As an EFL teacher I love 'Compare and Contrast' exercises, here's one:
> 
> Compare:
> 
> "Revolution is a leading software development solution for all major
> platforms, including Mac OS X, Windows, Linux and many more."
> 
> [ http://web.archive.org/web/20021124092402/http://runrev.com/ ]
> 
> with:
> 
> "Flexible platform creates applications that run on the Web, desktop or
> server, for the PC, Mac or Linux."
> 
> [ http://www.runrev.com/products/the-rev-platform/overview/ ]
> 
> No Cambridge Proficiency Certificates for spotting the difference there!
> 
> Now the funny thing is that a few years ago there was a lot of talk
> about how RunRev were planning
> to reach out to an increasing number of platforms / Operating systems
> (I'm waiting for RISC OS);
> but what I see is quite the reverse.
> 
> Probably a money thing . . .   :)
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution


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


mouseStillDown - Problem for trapping the mouse btn number

2010-01-14 Thread zryip theSlug
Hi all,

Maybe I'm doing something wrong but I can't trap the mouse button
number in a mouseStillDown handler.

local lmyLoop

on mouseStillDown pMouseBtnNumber
   add 1 to lmyLoop
   put "Test "&&lmyLoop&&"Button pressed"&&pMouseBtnNumber into fld "Field"
end mouseStillDown

My pMouseBtnNumber remains desperately empty...


I missed something ?

Operating systems : Mac OS X 10.5.5 and Windows XP Pro sp 2
Run Rev version : Enterprise 4.5


Thanks
-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: mouseStillDown - Problem for trapping the mouse btn number

2010-01-14 Thread Nicolas Cueto
Hello -Zryip TheSlug,

Copy-pasted your script and it worked in a stack (didn't test a
standalone) on my Vista Rev4.0 Build950 set-up.

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


Re: AnimationEngine Arcade "shooter" strategy?

2010-01-14 Thread Malte Pfaff-Brill
Hi John,

if you use AE 2.9 or higher, aeMoveTo is your friend.

aeMoveTo is a one line command that moves your object. it automatically sets up 
the needed timer to move the object and moves it from its current location to 
an end point you specify. You can apply an easing effect to the movement, which 
makes it look quite nicely. Also, aeMoveTo sends callback messages, while the 
object is moving.

Here is a starter. Assumes AE is in use and a button "projectile" and a button 
"target" exist. Also an image "cannon" Script is in the card:

on mouseDown
   set the loc of btn "projectile" to the loc of image "cannon"
   shoot
end mouseDown

on shoot
   aeMoveTo the long ID of btn "projectile",the mouseLoc,400,"inOut"
end shoot

on aeEnterFrame
   if intersect(btn "projectile",btn "target") then
  --more sophisticated collision detection goes here
  put "boom"
   end if
end aeEnterFrame

Hope that helps,

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


answer command in .irev file

2010-01-14 Thread Tim Selander
More playing with scripting .irev/html files.

Is there any way to put up an answer dialog? I have a variety of
small text files I'd like to pop up over the main page to give
the user extra information

the answer command doesn't trigger an error, but nothing seems to
happen.

Thanks.

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


Re: answer command in .irev file

2010-01-14 Thread stephen barncard
ON-Rev is a server side technology - that means it could never bring up a
dialog - it's headless, like PHP. You have the groovyness of Transcript, the
language on a server. VEry useful.
For dialogs and other client-side action, one must use Javascript and rev in
combination for input, or use forms. This is still the html-ruled world.
Examples abound. Check http://www.troz.net/rev/

If one wants to make a 'thing' with all the interface goodness of runrev -
create a plugin.

no other language/builder offers all of these ways
-
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev


2010/1/14 Tim Selander 

> More playing with scripting .irev/html files.
>
> Is there any way to put up an answer dialog? I have a variety of
> small text files I'd like to pop up over the main page to give
> the user extra information
>
> the answer command doesn't trigger an error, but nothing seems to
> happen.
>
> Thanks.
>
> Tim Selander
> Tokyo, Japan
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: answer command in .irev file

2010-01-14 Thread Sarah Reichelt
2010/1/15 Tim Selander :
> More playing with scripting .irev/html files.
>
> Is there any way to put up an answer dialog? I have a variety of
> small text files I'd like to pop up over the main page to give
> the user extra information


Here is an On-Rev command that I use to create a JavaScript dialog,
similar to an answer dialog:

command doAlert tData
   put "alert('" & tData & "')" after tJScommand

   put tJScommand
end doAlert


Use it like this:

doAlert "This is just like an answer dialog."


But don't forget that you can "put" anything on to your web page,
including the contents of a text file.

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


Re: Debugger for On-rev

2010-01-14 Thread Howard Bornstein
2010/1/14 Tim Selander 

> Never mind, found it through google. sorry for the noise.


It's always a good idea to answer your own question with specific
information in posts like this when you've found the answer yourself. That
way, people who search this list with the same question can benefit from
your research.

-- 
Regards,

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


Re: an interesting challenge

2010-01-14 Thread Richmond Mathewson

On 15/01/2010 00:16, Bob Sneidar wrote:

That may be preferable, as a big queer might take offense and do some real 
damage.

I apologize in advance. It just had to be said.

Bob


On Jan 13, 2010, at 2:41 AM, Richmond Mathewson wrote:

   

Queer (Peculiar); as in "I'm feeling a little queer."
 

___
   

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