Re: As programming environments get more powerful programers get lazy

2008-09-23 Thread Graham Samuel
Yes, but any explanation of libraries should also include  
**components**: my recent attempts to employ libraries consistently  
for the first time (embarassingly this was many years after I started  
scripting) revealed soon enough that a library in the sense of  
something invoked by "start using" or similar is, in Rev, a **script**  
library only. If you want a library of objects, then you just have to  
have a set of re-usable stacks or substacks which you organise  
yourself, and which contain the cards, fields, buttons etc and their  
interactions which you want to re-use: a good example is a  
registration suite for an application, where the user is given a key  
after paying: the key has to be validated and the new status of the  
app stored; the look and feel of the registration process will be part  
of a consistent style which the developer will want to project. Thus  
most developers will use the same mechanism again and again, so a  
component approach is the way to go.


I have ended up with some 'pure' script libraries and some component  
stacks, but AFAICS there is no particular mechanism in Rev for helping  
with the component side of things - or at least I couldn't find any  
explanation of that type of re-use.


Graham

On Mon, 22 Sep 2008 14:49:00 -0400, "william humphrey" <[EMAIL PROTECTED] 
> wrote:




I can't wait to read your piece on structure. I imagine it will take  
a while
to write as you will need a simple explanation on how to make a  
library.


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


Re: A bit OT: handling multiple users in DB

2008-09-23 Thread Klaus Major


Am 23.09.2008 um 01:20 schrieb Kurt Kaufman:


Bob Sneidar wrote:

...Sorry for the lengthy post.

Not at all!  This is a fascinating discussion.


Yes, very interesting and appreciated, Bob!

I was under the false impression that the automatic record-locking  
mechanisms would handle everything for me.


I also had this naive thinking :-)

Thanks for setting me straight!  Looks like I have a lot more to  
learn before I dive into db design.


-Kurt


Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de


___
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: Stopping A Stack From Starting Up in the IDE

2008-09-23 Thread Chipp Walters
create a button:

on mouseUp
  lock messages
  go stack "C:/test.rev"
  unlock messages
end mouseUp
___
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: As programming environments get more powerful programers get lazy

2008-09-23 Thread Phil Davis

Hi Graham,

Graham Samuel wrote:
Yes, but any explanation of libraries should also include 
**components**: my recent attempts to employ libraries consistently 
for the first time (embarassingly this was many years after I started 
scripting) revealed soon enough that a library in the sense of 
something invoked by "start using" or similar is, in Rev, a **script** 
library only. If you want a library of objects, then you just have to 
have a set of re-usable stacks or substacks which you organise 
yourself, and which contain the cards, fields, buttons etc and their 
interactions which you want to re-use: 


Actually there is an exception: you can store images as objects in a 
'library' stack, and when you start using the stack, those images become 
available as icons in your app's buttons. Of course, your app has to 
know their IDs to take advantage of them.


I use this in one product I maintain. It has one set of 9 buttons, but 
several language-specific sets of icons for those buttons, and each icon 
(image) set's ID numbers follow a similar pattern but fall in slightly 
different numeric ranges. So when the app figures out the current 
language, it uses the corresponding set of icons in the buttons. Not 
rocket science - which is why I like it!


Best -
Phil Davis


a good example is a registration suite for an application, where the 
user is given a key after paying: the key has to be validated and the 
new status of the app stored; the look and feel of the registration 
process will be part of a consistent style which the developer will 
want to project. Thus most developers will use the same mechanism 
again and again, so a component approach is the way to go.


I have ended up with some 'pure' script libraries and some component 
stacks, but AFAICS there is no particular mechanism in Rev for helping 
with the component side of things - or at least I couldn't find any 
explanation of that type of re-use.


Graham

On Mon, 22 Sep 2008 14:49:00 -0400, "william humphrey" 
<[EMAIL PROTECTED]> wrote:




I can't wait to read your piece on structure. I imagine it will take 
a while
to write as you will need a simple explanation on how to make a library. 

--
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: Stopping A Stack From Starting Up in the IDE

2008-09-23 Thread Eric Chatonet

Bonjour Len and Chipp,

Or just lock messages by clicking on the corresponding button in Rev  
toolbar and use File/Open Stack... menu item :-)


Le 23 sept. 08 à 09:22, Chipp Walters a écrit :


create a button:

on mouseUp
  lock messages
  go stack "C:/test.rev"
  unlock messages
end mouseUp




Best regards from Paris,
Eric Chatonet.

Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: [EMAIL PROTECTED]/



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


Re: Stopping A Stack From Starting Up in the IDE

2008-09-23 Thread Chipp Walters
Hi Eric,

I've had mixed results with pushing that button in past Rev versions,
as sometimes parts of the IDE quit working even after messages are
turned back on.
___
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: Stopping A Stack From Starting Up in the IDE

2008-09-23 Thread Eric Chatonet

Bonjour Chipp,

Le 23 sept. 08 à 10:23, Chipp Walters a écrit :


Hi Eric,

I've had mixed results with pushing that button in past Rev versions,
as sometimes parts of the IDE quit working even after messages are
turned back on.



I had a look at the code in revMenubar:
This action suppresses a lot of things: front scripts, back scripts,  
pending messages and stacks in use...

And define again 103 system messages...
WOW:
I understand that in complex projects, restoring all these (that are  
stored in a script local array) might lead to unexpected results :-(


As soon as message are locked using this button, contextual menus in  
the IDE no longer work and a lot of other features too...
So, even it may appear handy in some cases, I finally agree that your  
solution is probably safer ;-)


Best regards from Paris,
Eric Chatonet.

Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: [EMAIL PROTECTED]/



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


Is the clickCharChunk my friend?

2008-09-23 Thread Graham Samuel
I'm still trying to create a simple Undo mechanism for a succession of  
fields acting as cells in a grid-like structure, a bit like a  
spreadsheet. I am not using table fields. It is easy to implement Cut,  
Copy, Paste and Clear functions for these fields, to be operated by  
conventional menu items,and it's possible to store the previous  
contents of a field before a cut, paste or clear modifies it. However  
in my Undo, I not only want to restore the contents of the last  
modified field, but I also want to put the insertion point back where  
it was before the action took place. I thought that by storing the  
clickCharChunk in a global variable, I would be able to restore its  
position by something like


  do("click at the loc of" && gRememberedInsertionPoint)

The problem with this approach is that the clickCharChunk seems very  
often to be empty. In the docs, it says that the clickCharChunk is  
only empty if the last click wasn't on a field, but I do my  
remembering from within a 'selectionChanged' handler within the field  
itself, so I can guarantee that the last click was in a field. I also  
tried it with an 'openField' message, but that doesn't seem to set the  
clickCharChunk either.


Clearly I have misunderstood something. Can anyone suggest an approach  
that will work?


TIA

Graham

PS if anyone is wondering about my previous problems with the  
focusedObject in this same project, it turned out to be a problem with  
the debugger I'm using thru GLX2. No doubt it will be fixed soon.

___
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: Is the clickCharChunk my friend?

2008-09-23 Thread Eric Chatonet

Bonjour Graham,

The clickCharChunk function returns a chunk expression of the form  
char charNumber to charNumber of field fieldNumber:

 it's not a point you can click at.
Anyway, probably you might prefer to store the selectedChunk instead  
and use do "select" && gRememberedInsertionPoint
This will not only position the insertion point but restore a  
possible selection.


Le 23 sept. 08 à 13:33, Graham Samuel a écrit :

I'm still trying to create a simple Undo mechanism for a succession  
of fields acting as cells in a grid-like structure, a bit like a  
spreadsheet. I am not using table fields. It is easy to implement  
Cut, Copy, Paste and Clear functions for these fields, to be  
operated by conventional menu items,and it's possible to store the  
previous contents of a field before a cut, paste or clear modifies  
it. However in my Undo, I not only want to restore the contents of  
the last modified field, but I also want to put the insertion point  
back where it was before the action took place. I thought that by  
storing the clickCharChunk in a global variable, I would be able to  
restore its position by something like


  do("click at the loc of" && gRememberedInsertionPoint)

The problem with this approach is that the clickCharChunk seems  
very often to be empty. In the docs, it says that the  
clickCharChunk is only empty if the last click wasn't on a field,  
but I do my remembering from within a 'selectionChanged' handler  
within the field itself, so I can guarantee that the last click was  
in a field. I also tried it with an 'openField' message, but that  
doesn't seem to set the clickCharChunk either.


Clearly I have misunderstood something. Can anyone suggest an  
approach that will work?


TIA

Graham


Best regards from Paris,
Eric Chatonet.

Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: [EMAIL PROTECTED]/



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


Re: Stopping A Stack From Starting Up in the IDE

2008-09-23 Thread Ben Rubinstein

Len Morgan wrote:
I'm trying to debug a stack and I'd like to stop not have it come up 
running when I open it from the IDE.  Other than setting a breakpoint in 
the preOpenStack script, is there a way to keep it from executing code 
when it's loaded?


Another approach is to have your preOpenStack handler test "the environment"; 
if it = "development", don't do the stuff you were otherwise going to. 
Recommendation in this case is to move the code out into a separate handler, 
that preOpenStack invokes or not.  Then it's easy to invoke that startup code 
manually when you want to.


- Ben

___
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@lists.runrev.com

2008-09-23 Thread David Bovill
Just taken a quick look - doesn't look much more than what you'd get with a
blog and a post rating system - or am I wrong? It work OK but the forum /
blog posing metaphor doesn't help much as the thing scales - even with
keywords (which IMO are probably the most important navigation if you can
get people to use them). My take is that these things help - but you must
have a good contents / visual navigation system, and you have to make the
keywords work.

I'm currently fitting in building these elements into an open source code
resource for Rev built around Trac and subversion, with a WordPress blog. I
do this in my spare time, and it's not a commercial effort, so any community
element is wellcome. These web sites integrate with native Rev interfaces,
in particular the Script Editor and dictionary. The part I am working on now
is the visual navigation, and semi-automatic keyword generation - the domain
is simply rev-co.de . Once this is done I plan
to upload the content, which are largely open source code libraries and
documentation. The content currently up there is dummy content. The aim is
to build the documentation and collaboration elelment as closely as possible
into the Rev worksflow of scripting. Current time plan is to lauch the sites
and plugins for Xmas / New Year, but this will depend on how busy I get with
freelance work, or who else chips in :)

2008/9/16 Alex Tweedly <[EMAIL PROTECTED]>

> I saw on slashdot a link (
> http://www.joelonsoftware.com/items/2008/09/15.html ) to Joel on
> Software's announcement of a new web site for Q&A on programming. The site
> itself ( http://stackoverflow.com/ ) looks interesting, and it just might
> be a good place to ask (and answer) questions about Rev, assuming the
> collaborative editing and voting system works well.
>
> Anyone think we should try it out ?
> What tag should we use ... Revolution ?  Transcript ?
>
> -- Alex.
> ___
> 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


Distinguishing simple and double clicks

2008-09-23 Thread Eric Chatonet

Bonjour à tous,

I just want to make something that was easy with HC: e.g. allow the  
user to use simple and double clicks on the same button but with  
different actions.
MouseUp is always sent by the engine first then mouseDoubleUp is sent  
if appropriate.


So the question is how to not execute a mouseUp handler if it is just  
the first click of a double click?

Here is a code that allows this but:
. It sounds a bit complicated ;-)
. It delays mouseUp action by 500 millseconds :-(

Any better idea?

local sDoubleClick
-
on mouseUp
  send "DoMouseUp" to me in 500 milliseconds
end mouseUp
-
on mouseDoubleUp
  put true into sDoubleClick
  DoMouseDoubleUp --
  send "ResetScriptVar" to me in 500 milliseconds
end mouseDoubleUp
-
on DoMouseUp
  if sDoubleClick then exit DoMouseUp
  put "Simple Click"
end DoMouseUp
-
on DoMouseDoubleUp
  put "Double Click"
end DoMouseDoubleUp
-
on ResetScriptVar
  put false into sDoubleClick
end ResetScriptVar

Best regards from Paris,
Eric Chatonet.

Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: [EMAIL PROTECTED]/



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


use-revolution@lists.runrev.com

2008-09-23 Thread David Bovill
Just taken a quick look - doesn't look much more than what you'd get with a
blog and a post rating system - or am I wrong? It work OK but the forum /
blog posting metaphor doesn't help much as the site scales - even with
keywords (which IMO are probably the most important navigation if you can
get people to use them). My take is that these things help - but you must
have a good contents / visual navigation system, and you have to make the
keywords work.

I'm currently fitting in building these elements into an open source code
resource for Rev built around Trac and subversion, with a WordPress blog. I
do this in my spare time, and is designed to be a free community resource,
so any community element is welcome. These web sites integrate with native
Rev interfaces, in particular the Script Editor and dictionary. The part I
am working on now is the visual navigation, and semi-automatic keyword
generation - the domain is simply rev-co.de .
Once this is done I plan to upload the content, which are largely open
source code libraries and documentation. The content currently up there is
dummy content.

The aim is to build the documentation and collaboration element as closely
as possible into the Rev work flow of scripting. Current time plan is to
launch the sites and plugins for Xmas / New Year, but this will depend on
how busy I get with freelance work, or who else chips in :)

For anyone interested enough to work on this, the current plugins work with
GLX2 (and earlier) Script Editors, and the Rev 3.0 Script editors - when I
get time I'll start work on the Rose script Editor for Metacard. These
plugins are not ready for prime time yet - as they are biased around my own
set up and development needs (using subversion on OSX for instance), and the
50 or so libraires have not been documented and have interdependencies - so
if someone want the Flickr library - the only easy way for me to send it is
to distribute all 50 libraries. So unless you want to get into a development
process in which you download the entire environment and use the built in
Rev subversion componenet to receive and contribute updates - I'd wait util
Xmas:) By then there should be documented standalone libraries which act as
individual plugins withno need to use SVN.

2008/9/16 Alex Tweedly <[EMAIL PROTECTED]>

> I saw on slashdot a link (
> http://www.joelonsoftware.com/items/2008/09/15.html ) to Joel on
> Software's announcement of a new web site for Q&A on programming. The site
> itself ( http://stackoverflow.com/ ) looks interesting, and it just might
> be a good place to ask (and answer) questions about Rev, assuming the
> collaborative editing and voting system works well.
>
> Anyone think we should try it out ?
> What tag should we use ... Revolution ?  Transcript ?
>
> -- Alex.
> ___
> 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@lists.runrev.com

2008-09-23 Thread Mikey
I liked RevCode originally, but I think, to be true to the paradigm,
revTalk is probably better, because it is clearer which dialect we're
referring to.
___
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


Revolution 3.0 variables ? What has changed ?

2008-09-23 Thread Rolf Kocherhans

Hello all

I haven't followed the beta cycle closly so it is new to me that
puting contents into local variables report a script error now.

eg. put 3 into varTest

It only works if I declare the local Variable first !

local varTest
put 3 into varTest

Is this a new behavior in 3.0 ?
Can I disable it ?
Does it give me a benefit which I do not know or see ?

Regards
Rolf
___
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: Distinguishing simple and double clicks

2008-09-23 Thread David Bovill
That's what I do. Logically there is no way out of delaying the mouseUp
until after the the mouseDoubleUp. I think you can improve it for machines
of different speeds and look at things like the doubleclickinterval - but I
never really got it working / sound it to be needed except on very old
machines?

2008/9/23 Eric Chatonet <[EMAIL PROTECTED]>

> Bonjour à tous,
>
> I just want to make something that was easy with HC: e.g. allow the user to
> use simple and double clicks on the same button but with different actions.
> MouseUp is always sent by the engine first then mouseDoubleUp is sent if
> appropriate.
>
> So the question is how to not execute a mouseUp handler if it is just the
> first click of a double click?
> Here is a code that allows this but:
> . It sounds a bit complicated ;-)
> . It delays mouseUp action by 500 millseconds :-(
>
> Any better idea?
>
> local sDoubleClick
> -
> on mouseUp
>  send "DoMouseUp" to me in 500 milliseconds
> end mouseUp
> -
> on mouseDoubleUp
>  put true into sDoubleClick
>  DoMouseDoubleUp --
>  send "ResetScriptVar" to me in 500 milliseconds
> end mouseDoubleUp
> -
> on DoMouseUp
>  if sDoubleClick then exit DoMouseUp
>  put "Simple Click"
> end DoMouseUp
> -
> on DoMouseDoubleUp
>  put "Double Click"
> end DoMouseDoubleUp
> -
> on ResetScriptVar
>  put false into sDoubleClick
> end ResetScriptVar
>
> Best regards from Paris,
> Eric Chatonet.
> 
> Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
> Email: [EMAIL PROTECTED]/
> 
>
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Revolution 3.0 variables ? What has changed ?

2008-09-23 Thread Eric Chatonet

Bonjour Rolf,


Le 23 sept. 08 à 15:42, Rolf Kocherhans a écrit :


Hello all

I haven't followed the beta cycle closly so it is new to me that
puting contents into local variables report a script error now.

eg. put 3 into varTest

It only works if I declare the local Variable first !

local varTest
put 3 into varTest

Is this a new behavior in 3.0 ?


Check or uncheck Edit/Variable Checking menu item when a script is open.



Can I disable it ?
Does it give me a benefit which I do not know or see ?


Many benefits:
In my experience for having worked with and without explicit vars, I  
find that variables declaration provides a real and welcome safeguard  
against errors and mispellings.
It points out an error as soon as I compile and save my life instead  
of having to debug 100 lines :-)



Regards
Rolf



Best regards from Paris,
Eric Chatonet.

Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: [EMAIL PROTECTED]/



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


Re: Revolution 3.0 variables ? What has changed ?

2008-09-23 Thread David Bovill
i think you have explicitvariables set to true. That's ot some sort of
sensorship - but does force Rev to declare variables. Not sure but in the
IDE it may be the menu item  "Edit => Variable Checking" ?

2008/9/23 Rolf Kocherhans <[EMAIL PROTECTED]>

> Hello all
>
> I haven't followed the beta cycle closly so it is new to me that
> puting contents into local variables report a script error now.
>
> eg. put 3 into varTest
>
> It only works if I declare the local Variable first !
>
> local varTest
> put 3 into varTest
>
> Is this a new behavior in 3.0 ?
> Can I disable it ?
> Does it give me a benefit which I do not know or see ?
>
> Regards
> Rolf
> ___
> 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: Distinguishing simple and double clicks

2008-09-23 Thread Eric Chatonet

Thanks David: I was afraid of ;-)

Le 23 sept. 08 à 15:49, David Bovill a écrit :

That's what I do. Logically there is no way out of delaying the  
mouseUp
until after the the mouseDoubleUp. I think you can improve it for  
machines
of different speeds and look at things like the doubleclickinterval  
- but I

never really got it working / sound it to be needed except on very old
machines?

2008/9/23 Eric Chatonet <[EMAIL PROTECTED]>


Bonjour à tous,

I just want to make something that was easy with HC: e.g. allow  
the user to
use simple and double clicks on the same button but with different  
actions.
MouseUp is always sent by the engine first then mouseDoubleUp is  
sent if

appropriate.

So the question is how to not execute a mouseUp handler if it is  
just the

first click of a double click?
Here is a code that allows this but:
. It sounds a bit complicated ;-)
. It delays mouseUp action by 500 millseconds :-(

Any better idea?

local sDoubleClick
-
on mouseUp
 send "DoMouseUp" to me in 500 milliseconds
end mouseUp
-
on mouseDoubleUp
 put true into sDoubleClick
 DoMouseDoubleUp --
 send "ResetScriptVar" to me in 500 milliseconds
end mouseDoubleUp
-
on DoMouseUp
 if sDoubleClick then exit DoMouseUp
 put "Simple Click"
end DoMouseUp
-
on DoMouseDoubleUp
 put "Double Click"
end DoMouseDoubleUp
-
on ResetScriptVar
 put false into sDoubleClick
end ResetScriptVar


Best regards from Paris,
Eric Chatonet.

Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: [EMAIL PROTECTED]/



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


use-revolution@lists.runrev.com

2008-09-23 Thread Mark Smith
RunRev call it "revolution", so I'd think that would be the right  
tag, though perhaps "revolution/transcript" might be more useful.


Best,

Mark

On 16 Sep 2008, at 23:28, Alex Tweedly wrote:

I saw on slashdot a link ( http://www.joelonsoftware.com/items/ 
2008/09/15.html ) to Joel on Software's announcement of a new web  
site for Q&A on programming. The site itself ( http:// 
stackoverflow.com/ ) looks interesting, and it just might be a good  
place to ask (and answer) questions about Rev, assuming the  
collaborative editing and voting system works well.


Anyone think we should try it out ?
What tag should we use ... Revolution ?  Transcript ?

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

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


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


Re: A bit OT: handling multiple users in DB

2008-09-23 Thread Rob Cozens

Hi Klaus,

FWIW,  here is the information SDB maintains internally to handle 
multiuser access:


A list of DBs currently open by the user or client:
local clientDbList -- array by clientId:dbId1, dbId2, etc

A list of the current record position and access privileges for each 
user/client currently accessing any open DBs

local dbClientList -- array by dbId:client id,writeAccessType,current position

The main indexes of every DB that has been opened since the user or 
the server app started

local indexList -- array by dbId:cardIndex

A list of locked records by DB
local lockedRecordList -- array by dbId: record id, client id

Path and generic locking options to each open DB
local sdbDbPathList -- array by dbId: db stack path, autoLockOn, 
readLocksEnforced


Information to support record translation if client and server are 
running on different platforms
local sdbTranslationList -- array by clientId: 1=ASCII>ANSI, 0=None, 
or -1=ANSI>ASCII + tab & ipcProtocol [tp,ae,pc,dc,sf]



Rob Cozens

"I must be the change I want to see in the world."

 -- Gandhi 


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


Re: A bit OT: handling multiple users in DB

2008-09-23 Thread Klaus Major

Hi Rob,


Hi Klaus,

FWIW,  here is the information SDB maintains internally to handle  
multiuser access:


A list of DBs currently open by the user or client:
local clientDbList -- array by clientId:dbId1, dbId2, etc

A list of the current record position and access privileges for each  
user/client currently accessing any open DBs
local dbClientList -- array by dbId:client  
id,writeAccessType,current position


The main indexes of every DB that has been opened since the user or  
the server app started

local indexList -- array by dbId:cardIndex

A list of locked records by DB
local lockedRecordList -- array by dbId: record id, client id

Path and generic locking options to each open DB
local sdbDbPathList -- array by dbId: db stack path, autoLockOn,  
readLocksEnforced


Information to support record translation if client and server are  
running on different platforms
local sdbTranslationList -- array by clientId: 1=ASCII>ANSI, 0=None,  
or -1=ANSI>ASCII + tab & ipcProtocol [tp,ae,pc,dc,sf]


Thanks, but unfortunately our users demand a SQL database.


Rob Cozens

"I must be the change I want to see in the world."

-- Gandhi 


Best

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de


___
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@lists.runrev.com

2008-09-23 Thread David Bovill
Originally they called in Transcript - but I guess somewhere along the line
they had an in-house marketing talk and decided to get the name out more.
It's all a bit confusing. I use Revcode as short hand, and to distinguish it
from the Revolution IDE. It's also easier to search for on the web -
something I think RunRev discovered at their cost when naming their product
with a common English word.

2008/9/23 Mark Smith <[EMAIL PROTECTED]>

> RunRev call it "revolution", so I'd think that would be the right tag,
> though perhaps "revolution/transcript" might be more useful.
>
> Best,
>
> Mark
>
>
> On 16 Sep 2008, at 23:28, Alex Tweedly wrote:
>
>  I saw on slashdot a link ( 
> http://www.joelonsoftware.com/items/2008/09/15.html
>> ) to Joel on Software's announcement of a new web site for Q&A on
>> programming. The site itself ( http://stackoverflow.com/ ) looks
>> interesting, and it just might be a good place to ask (and answer) questions
>> about Rev, assuming the collaborative editing and voting system works well.
>>
>> Anyone think we should try it out ?
>> What tag should we use ... Revolution ?  Transcript ?
>>
>> -- Alex.
>> ___
>> 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: Distinguishing simple and double clicks

2008-09-23 Thread David Bovill
I think it's common enough a GUI technique for a feature request - though
I'm not sure how? Maybe something like:

insert the mouseDoubleUp of btn 1 to front
>
or

set the messageOrder of btn 1 to "mouseDoubleUp,mouseDouble"

but it may be hard to implement in the engine?

2008/9/23 Eric Chatonet <[EMAIL PROTECTED]>

> Thanks David: I was afraid of ;-)
>
> Le 23 sept. 08 à 15:49, David Bovill a écrit :
>
>
>  That's what I do. Logically there is no way out of delaying the mouseUp
>> until after the the mouseDoubleUp. I think you can improve it for machines
>> of different speeds and look at things like the doubleclickinterval - but
>> I
>> never really got it working / sound it to be needed except on very old
>> machines?
>>
>> 2008/9/23 Eric Chatonet <[EMAIL PROTECTED]>
>>
>>  Bonjour à tous,
>>>
>>> I just want to make something that was easy with HC: e.g. allow the user
>>> to
>>> use simple and double clicks on the same button but with different
>>> actions.
>>> MouseUp is always sent by the engine first then mouseDoubleUp is sent if
>>> appropriate.
>>>
>>> So the question is how to not execute a mouseUp handler if it is just the
>>> first click of a double click?
>>> Here is a code that allows this but:
>>> . It sounds a bit complicated ;-)
>>> . It delays mouseUp action by 500 millseconds :-(
>>>
>>> Any better idea?
>>>
>>> local sDoubleClick
>>> -
>>> on mouseUp
>>>  send "DoMouseUp" to me in 500 milliseconds
>>> end mouseUp
>>> -
>>> on mouseDoubleUp
>>>  put true into sDoubleClick
>>>  DoMouseDoubleUp --
>>>  send "ResetScriptVar" to me in 500 milliseconds
>>> end mouseDoubleUp
>>> -
>>> on DoMouseUp
>>>  if sDoubleClick then exit DoMouseUp
>>>  put "Simple Click"
>>> end DoMouseUp
>>> -
>>> on DoMouseDoubleUp
>>>  put "Double Click"
>>> end DoMouseDoubleUp
>>> -
>>> on ResetScriptVar
>>>  put false into sDoubleClick
>>> end ResetScriptVar
>>>
>>
> Best regards from Paris,
> Eric Chatonet.
> 
> Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
> Email: [EMAIL PROTECTED]/
> 
>
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


use-revolution@lists.runrev.com

2008-09-23 Thread Paul Looney
Calling the program "Revolution" and calling the programming language  
"Revolution" is certainly confusing. The name "Revolution" is not all  
that great to begin with.
I call the program "Rev" and the language "Revcode". I use "Revcode"  
as both a noun and a verb.
I like "Rev" because it means go faster; you "rev" an engine.  
"Revcode" is, as we all know, fast code.

Paul Looney

On Sep 23, 2008, at 7:41 AM, David Bovill wrote:

Originally they called in Transcript - but I guess somewhere along  
the line
they had an in-house marketing talk and decided to get the name out  
more.
It's all a bit confusing. I use Revcode as short hand, and to  
distinguish it

from the Revolution IDE. It's also easier to search for on the web -
something I think RunRev discovered at their cost when naming their  
product

with a common English word.

2008/9/23 Mark Smith <[EMAIL PROTECTED]>

RunRev call it "revolution", so I'd think that would be the right  
tag,

though perhaps "revolution/transcript" might be more useful.

Best,

Mark


On 16 Sep 2008, at 23:28, Alex Tweedly wrote:

 I saw on slashdot a link ( http://www.joelonsoftware.com/items/ 
2008/09/15.html

) to Joel on Software's announcement of a new web site for Q&A on
programming. The site itself ( http://stackoverflow.com/ ) looks
interesting, and it just might be a good place to ask (and  
answer) questions
about Rev, assuming the collaborative editing and voting system  
works well.


Anyone think we should try it out ?
What tag should we use ... Revolution ?  Transcript ?

-- Alex.
___
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


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


Re: A bit OT: handling multiple users in DB

2008-09-23 Thread Rob Cozens

Hi Klaus,

I would expect all that multiuser functionality to be built into 
whatever implementation of SQL you employ; but relational DBs are not 
my strong suit.


If, however, you're trying to allow multiple users to access a 
"single user" [ie. non-client/server] SQL DB, you will probably need 
to maintain arrays similar to SDB's.


Rob Cozens CCW
Serendipity Software Company

"And I, which was two fooles, do so grow three;
 Who are a little wise, the best fooles bee."

 from "The Triple Foole" by John Donne (1572-1631)  


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


use-revolution@lists.runrev.com

2008-09-23 Thread Mark Smith
Personally, I still prefer 'transcript' (I think that's what it was  
called when I first encountered it), but surely the point is that it  
is  called "revolution".


In the context of deciding what to call it for the purposes of  
inclusion in sites like stackoverflow, it really won't help if we all  
just call it whatever we like.


Best,

Mark

On 23 Sep 2008, at 15:58, Paul Looney wrote:

Calling the program "Revolution" and calling the programming  
language "Revolution" is certainly confusing. The name "Revolution"  
is not all that great to begin with.
I call the program "Rev" and the language "Revcode". I use  
"Revcode" as both a noun and a verb.
I like "Rev" because it means go faster; you "rev" an engine.  
"Revcode" is, as we all know, fast code.

Paul Looney

On Sep 23, 2008, at 7:41 AM, David Bovill wrote:

Originally they called in Transcript - but I guess somewhere along  
the line
they had an in-house marketing talk and decided to get the name  
out more.
It's all a bit confusing. I use Revcode as short hand, and to  
distinguish it

from the Revolution IDE. It's also easier to search for on the web -
something I think RunRev discovered at their cost when naming  
their product

with a common English word.

2008/9/23 Mark Smith <[EMAIL PROTECTED]>

RunRev call it "revolution", so I'd think that would be the right  
tag,

though perhaps "revolution/transcript" might be more useful.

Best,

Mark


On 16 Sep 2008, at 23:28, Alex Tweedly wrote:

 I saw on slashdot a link ( http://www.joelonsoftware.com/items/ 
2008/09/15.html

) to Joel on Software's announcement of a new web site for Q&A on
programming. The site itself ( http://stackoverflow.com/ ) looks
interesting, and it just might be a good place to ask (and  
answer) questions
about Rev, assuming the collaborative editing and voting system  
works well.


Anyone think we should try it out ?
What tag should we use ... Revolution ?  Transcript ?

-- Alex.
___
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


___
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@lists.runrev.com

2008-09-23 Thread Richard Gaskin

Mikey wrote:

I liked RevCode originally, but I think, to be true to the paradigm,
revTalk is probably better, because it is clearer which dialect we're
referring to.


I generally avoid "me too" posts, but this is the first time I can
recall "RevTalk" being mentioned here, and I like it for the same
reasons:  it's short, cannot be misspelled or mispronounced, and
clarifies its heritage.

--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.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: Rev on iPhone/iPod Touch ??

2008-09-23 Thread François Chaplais
There have been stories on the web of the difficulty of publishing an  
application on Apple's App Store for the iPhone. Getting paid is  
another story.


Here I think revolution can have an original position: if a stack  
runner/player is made available on the iPhone (for free or for a  
small price) then revolution developers (who, remember, have paid  
their fee to develop with rev) could make their stack available on  
the internet (free or paid for), then have it downloaded by wifi (for  
instance) to the iPhone/iPod Touch ("à la" air shairing) and use it  
on the phone. The download could be implemented inside the Stack  
Player app.
The developers would short circuit Apple's certification process: you  
download a file, and not an executable.


What do you think of this business model?
And is the stack player implementable considering Apple's possible  
restrictions?


Best regards,
François

___
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: Distinguishing simple and double clicks

2008-09-23 Thread Richard Gaskin

Eric Chatonet wrote:

I just want to make something that was easy with HC: e.g. allow the
user to use simple and double clicks on the same button but with
different actions.
MouseUp is always sent by the engine first then mouseDoubleUp is sent
if appropriate.


Is that not how HyperCard works?

If HC sends only one message or the other, then it must be adding a
delay to the mouseUp before firing its mouseUp message in order to be 
able to distinguish it from mouseDoubleUp.  :\



As for the task itself, your handlers look good for what you want to do 
so I'd go with those, but the question has me curious:  What is it 
you're working on?


I ask because when I read David Bovill's comment that this is a common 
task, at first glance I thought so too but after thinking about it some 
more I wonder if there's a subtle distinction at play here between 
common and less common use of those two messages in a single control.


--
A little background for those who may not have considered the 
abstraction of the "noun-verb" interaction model:


Most modern GUIs employ a noun-verb model, in which a noun object is 
selected and then a verb object is selected which operates on that noun.


For example, when you select text you're specifying the "noun", and then 
choosing "Bold" from the Style menu selects a "verb" (command) to 
operate on that noun.


The double-click gesture is commonly used as a shortcut to selecting a 
verb, and is generally handled in a noun object  (see 
).


For example, in the Mac's Finder or Windows' Explorer, you can select an 
icon (the noun) and then select File->Open (the verb), or as a shortcut 
you can double-click the noun object to trigger that most common verb.


We also see this in list controls, where I tend to use mouseDoubleUp 
most frequently, to trigger a default button.


For example, suppose you have a list picker dialog with three controls: 
 list field, "OK" button (default) and "Cancel" button.   The explicit 
way of working with the dialog is to select the item in the list (the 
noun) then click "OK" (the verb), but it's common in many dialogs which 
have a default button to trigger that default button when the user 
double-clicks in the list as a shortcut.


In such selector controls I often have a mouseUp handler, but since it's 
in a noun object it usually just updates the current view to reflect the 
selection, rather than perform an action.


So while I can think of many examples of noun objects that use double 
clicks as a short cut for selecting a verb object, offhand I can't think 
of an example where a verb object handles double-clicks.

--

From your description it almost sounds like the control in question is
a verb object such as a command button, rather than a noun object such 
as an icon or list item.   Do I understand that correctly?


If so, what is it about the interaction that requires that?

Or to word it in a more solutions-oriented way, might a change to the UI 
 make for an interaction model which maintains the traditional 
noun-verb expectation?


While not every difference between HC and Rev favors Rev, this is one 
where perhaps Dr. Raney's doctorate in cognitive psychology may have 
shown itself well:  while HyperCard eats clicks on double-click (and 
presumably introduces a delay to make that possible), Rev gives the 
developer the freedom to handle them both, confident that in most cases 
it'll be fine since it conforms to the most common interaction model.


Am I wearing rose-colored glasses on this?  Are there common examples of 
verb objects handling double-clicks that I've overlooked?  (Sometimes 
good coffee breeds unwarranted optimism .)


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.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@lists.runrev.com

2008-09-23 Thread Mikey
The other reason why I like it is for the same reason I liked
HyperTalk as a name back in The Day.  The name describes the language
as being something completely different than you're used to, namely
more conversational, easier to learn, and less cryptic.
___
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@lists.runrev.com

2008-09-23 Thread Paul Looney

My first thought, years ago, was "revTalk" also.
But  "talks" are not preceived as "real" languages - remember when  
Apple went through all those contortions to use "scripting" instead  
of "coding". Dropping "talk" helps Rev transcend its heritage and  
paradigm - will result in more sales, too.

Paul Looney

On Sep 23, 2008, at 8:15 AM, Richard Gaskin wrote:


Mikey wrote:

I liked RevCode originally, but I think, to be true to the paradigm,
revTalk is probably better, because it is clearer which dialect we're
referring to.


I generally avoid "me too" posts, but this is the first time I can
recall "RevTalk" being mentioned here, and I like it for the same
reasons:  it's short, cannot be misspelled or mispronounced, and
clarifies its heritage.

--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com

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

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


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


Re: As programming environments get more powerful programers get lazy

2008-09-23 Thread Richard Gaskin

Phil Davis wrote:
> ...you can store images as objects in a 'library' stack, and when
> you start using the stack, those images become available as icons
> in your app's buttons. Of course, your app has to know their IDs
> to take advantage of them.
>
> I use this in one product I maintain. It has one set of 9 buttons,
> but several language-specific sets of icons for those buttons, and
> each icon (image) set's ID numbers follow a similar pattern but fall
> in slightly different numeric ranges. So when the app figures out
> the current language, it uses the corresponding set of icons in the
> buttons. Not rocket science - which is why I like it!

To help library/component developers keep IDs distinct, Ken Ray has 
started a database of "reserved" IDs ranges at the Rev Interoperability 
Project -- see "Databases" at:



That DB lists the IDs used by Rev for cursors, icons, etc., the IDs used 
by MC for those as well, and ranges of IDs developers can request for 
their own use to avoid stepping on other developers' toes.


For example, Ken uses the range 037001 - 037999, and I use 044000 - 
045000.  This way we can trade components without having to worry about 
image ID conflicts.


Anyone can reserve a range - just drop Ken a note.  There are enough 
available that if each component developer suggests a range of a 
thousand for themselves we can support several thousand such developers 
with no risk of conflict.


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.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@lists.runrev.com

2008-09-23 Thread Richard Gaskin

Paul Looney wrote:

My first thought, years ago, was "revTalk" also.
But  "talks" are not preceived as "real" languages - remember when  
Apple went through all those contortions to use "scripting" instead  
of "coding". Dropping "talk" helps Rev transcend its heritage and  
paradigm - will result in more sales, too.


I agree it's a tough balancing act.  As Jacque's noted many times, the 
ease of HyperTalk made it possible to produce a lot of amateurish wares, 
which tainted the "talk" suffix.  When Rev was starting out more than a 
decade ago, I was also firmly against anything with "talk" in it.


But a lot of time has passed since Apple killed HC, and today more 
people use SmallTalk than HyperTalk.


Mikey's point about managing expectations is an important one, IMO. Rev 
ain't your father's scripting language.


We're in a Golden Age of sorts for scripting, with the near-ubiquity of 
JavaScript thanks to it being the only programming language available in 
browsers.  I'd venture to guess that there are several orders of 
magnitude more folks versant in JavaScript today than the sum of all 
xTalkers ever.


So while scripting has been validated by JavaScript and other languages, 
Rev is very different from all of them, enough that I believe it helps 
manage expectations by drawing attention to that difference, even at the 
risk of a relative few who remember HyperTalk unfavorably.


These days most folks don't remember HyperTalk at all, and many who do 
have positive memories of it.  For them the only downside to HyperTalk 
is that it reminds them of Apple's most short-sighted moment.


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.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: Is the clickCharChunk my friend?

2008-09-23 Thread Graham Samuel

Thanks Eric, to the rescue again!

It seems counterintuitive to me that the selectedChunk returns a  
meaningful result when nothing is selected, e.g. when the cursor is  
flashing in a field but none of its contents are highlighted, or it is  
even empty! Similarly to use 'select' to put the focus and the cursor  
back into an empty field (and therefore in fact to select nothing)  
doesn't look very intuitive either. But it works, I have to admit!


Thanks

Graham
On Tue, 23 Sep 2008 13:44:26 +0200, Eric Chatonet <[EMAIL PROTECTED] 
> wrote:


Bonjour Graham,

The clickCharChunk function returns a chunk expression of the form
char charNumber to charNumber of field fieldNumber:
 it's not a point you can click at.
Anyway, probably you might prefer to store the selectedChunk instead
and use do "select" && gRememberedInsertionPoint
This will not only position the insertion point but restore a
possible selection.


___
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


AW: GLX2 on Rev 3.0

2008-09-23 Thread Tiemo Hollmann TB
Jerry, I have the same problems, went to the http://glx2help.ning.com
support site, but didn't found any download link for the new installer. I
found only a "buy" link at Runrevs site. Could you point me to the download
link please?
Tiemo

> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:use-revolution-
> [EMAIL PROTECTED] Im Auftrag von Jerry Daniels
> Gesendet: Samstag, 13. September 2008 14:55
> An: How to use Revolution
> Betreff: Re: GLX2 on Rev 3.0
> 
> Jesse,
> 
> You need the latest version of GLX2 to run with Rev 3.0. You can get
> the latest release or beta version from the GLX2 Help menu, or by
> going to the GLX2 support site (shown in sig below) and downloading
> the GLX2 Installer.
> 
> If you are not on the GLX2 support site, yet, you will need to sign
> up. Let me know if  you have any problems.
> 
> Best,
> 
> Jerry Daniels
> 
> Daniels & Mara, Inc.
> Makers of GLX2
> http://www.glx2.com
> 
> 
> 
> 
> 
> On Sep 13, 2008, at 6:08 AM, Jesse Sng wrote:
> 
> > Hi,
> >
> > I can't seem to bring up the GLX2 editor when using Rev 3.0 and I'm
> > wondering if there's supposed to be an update that I have to
> > download or that Rev 3.0 is not compatible with GLX2?
> >
> > Or do I need to reinstall it?
> >
> >
> > Jesse Sng
> > ___
> > 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: Stopping A Stack From Starting Up in the IDE

2008-09-23 Thread Mark Stuart
Hi Len,

 

FWIW, I remember playing around with MS Access a few years ago, that
while holding down the left shift key and opening the application mdb
file, the startup scripts did not execute.

Therefore accomplishing what you want to do here.

Recently I tried the same in Rev, but obviously did not do the same.

 

Therefore, it would be nice to be able to do the same in RunRev, to not
execute the preOpenStack and/or the openStack handlers of the stack you
are opening, while holding down some key combination - in development
mode.

 

I'll add it as a wish list item if any one is interested.

What say ya'll?

 

Mark Stuart

___
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: AW: GLX2 on Rev 3.0

2008-09-23 Thread Jerry Daniels

Tiemo,

I've posted the answer to you problem on the GLX2 support site just  
now. Simple problem; simple solution. You are using an older version  
of GLX2 this is (understandably) not compatible with Rev 3.0.


There is a dandy installer on the GLX2 support site (www.glx2.com) for  
installing on either Windows or Mac. You need to use it to install.  
That's it.


Best,

Jerry Daniels

Daniels & Mara, Inc.
Makers of GLX2
http://www.glx2.com

On Sep 23, 2008, at 11:21 AM, Tiemo Hollmann TB wrote:


Jerry, I have the same problems, went to the http://glx2help.ning.com
support site, but didn't found any download link for the new  
installer. I
found only a "buy" link at Runrevs site. Could you point me to the  
download

link please?
Tiemo


-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:use-revolution-
[EMAIL PROTECTED] Im Auftrag von Jerry Daniels
Gesendet: Samstag, 13. September 2008 14:55
An: How to use Revolution
Betreff: Re: GLX2 on Rev 3.0

Jesse,

You need the latest version of GLX2 to run with Rev 3.0. You can get
the latest release or beta version from the GLX2 Help menu, or by
going to the GLX2 support site (shown in sig below) and downloading
the GLX2 Installer.

If you are not on the GLX2 support site, yet, you will need to sign
up. Let me know if  you have any problems.

Best,

Jerry Daniels

Daniels & Mara, Inc.
Makers of GLX2
http://www.glx2.com





On Sep 13, 2008, at 6:08 AM, Jesse Sng wrote:


Hi,

I can't seem to bring up the GLX2 editor when using Rev 3.0 and I'm
wondering if there's supposed to be an update that I have to
download or that Rev 3.0 is not compatible with GLX2?

Or do I need to reinstall it?


Jesse Sng
___
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


___
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


Control X in Windows XP

2008-09-23 Thread Joe Lewis Wilkins

Hi Gang,

I've reached the stage where I'm testing the XP version of my program;  
but I'm running into few anomalies:


1.  Since I'm testing by running XP under VMWare Fusion, I'm wondering  
what "platform" is returned by Rev. I had assumed (unfortunately) that  
using an "if the platform is not MacOS" would cover me for just about  
any eventuality, but it would seem this may not be the case with this  
configuration. I should be able to insert "put the platform" somewhere  
in my stack that will clue me in, but haven't gone that route yet.
2.  My other dilemma is that the "command key" short-cuts for menu  
items in the Windows "btn group", designated as Ctrl-"something" work  
erratically; sometimes they do and sometimes they don't. Any clue as  
to why this might be the case?


TIA,

Joe Wilkins



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


Re: A bit OT: handling multiple users in DB

2008-09-23 Thread Klaus Major

Hi Rob,


Hi Klaus,

I would expect all that multiuser functionality to be built into  
whatever implementation of SQL you employ;


it IS, but that's not my problem.


but relational DBs are not my strong suit.


Same here ;-)

If, however, you're trying to allow multiple users to access a  
"single user" [ie. non-client/server] SQL DB, you will probably need  
to maintain arrays similar to SDB's.


Rob Cozens CCW
Serendipity Software Company

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)


Best

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de


___
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: As programming environments get more powerful programers get lazy

2008-09-23 Thread Richard Gaskin

william humphrey wrote:
> The other complaint I get is that RunRev doesn't have libraries
> of code to use.

Au contaire, there are dozens of libs floating around the Revsphere, 
some commercial ones like Animation Engine and a good many freeware ones 
like stdLib and the goodies from Sarah, Andre, Shao, and others.


I've started collating a list for posting at revJournal.com, but help 
motivate me:  What sort of libraries are you looking for?


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.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: As programming environments get more powerful programers get lazy

2008-09-23 Thread william humphrey
Database specific libraries like Trevor's but simpler for common database
functions. They should also be for the different databases that RunRev
supports especially Valentina which is the fastest and most powerful one but
also the one with no third party support materials (for SQLite there are
even books available).
There are also many excellent ways to solve database problems by first
getting the data into a variable and then using RunRev to parse it.
___
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: Distinguishing simple and double clicks

2008-09-23 Thread Eric Chatonet

Bonsoir Richard,

Le 23 sept. 08 à 17:48, Richard Gaskin a écrit :


Eric Chatonet wrote:

I just want to make something that was easy with HC: e.g. allow the
user to use simple and double clicks on the same button but with
different actions.
MouseUp is always sent by the engine first then mouseDoubleUp is sent
if appropriate.


Is that not how HyperCard works?


Yes for sure but as mouseDoubleUp did not exist, it was making things  
finally simpler ;-)



If HC sends only one message or the other, then it must be adding a
delay to the mouseUp before firing its mouseUp message in order to  
be able to distinguish it from mouseDoubleUp.  :\


Sure but I wonder: in many apps when does exist this ability, it does  
not seem there is an extra delay: how is this possible?

Actually, I don't think it's possible without extra delay...

As for the task itself, your handlers look good for what you want  
to do so I'd go with those, but the question has me curious:  What  
is it you're working on?


I have web pages filmstrips and a simple click opens a viewer related  
to a database while a double click goes to the 'real' page in your  
current browser.
Of course I could replace the double click with a shift click but,  
from an ergonomic point of view, it's not satisfying: two hands  
instead of one...

All that knowing that hovering a thumb is enough to select it.

I ask because when I read David Bovill's comment that this is a  
common task, at first glance I thought so too but after thinking  
about it some more I wonder if there's a subtle distinction at play  
here between common and less common use of those two messages in a  
single control.


--
A little background for those who may not have considered the  
abstraction of the "noun-verb" interaction model:


Most modern GUIs employ a noun-verb model, in which a noun object  
is selected and then a verb object is selected which operates on  
that noun.


For example, when you select text you're specifying the "noun", and  
then choosing "Bold" from the Style menu selects a "verb" (command)  
to operate on that noun.


The double-click gesture is commonly used as a shortcut to  
selecting a verb, and is generally handled in a noun object  (see  
).


For example, in the Mac's Finder or Windows' Explorer, you can  
select an icon (the noun) and then select File->Open (the verb), or  
as a shortcut you can double-click the noun object to trigger that  
most common verb.


We also see this in list controls, where I tend to use  
mouseDoubleUp most frequently, to trigger a default button.


For example, suppose you have a list picker dialog with three  
controls:  list field, "OK" button (default) and "Cancel" button.
The explicit way of working with the dialog is to select the item  
in the list (the noun) then click "OK" (the verb), but it's common  
in many dialogs which have a default button to trigger that default  
button when the user double-clicks in the list as a shortcut.


In such selector controls I often have a mouseUp handler, but since  
it's in a noun object it usually just updates the current view to  
reflect the selection, rather than perform an action.


So while I can think of many examples of noun objects that use  
double clicks as a short cut for selecting a verb object, offhand I  
can't think of an example where a verb object handles double-clicks.

--

From your description it almost sounds like the control in question is
a verb object such as a command button, rather than a noun object  
such as an icon or list item.   Do I understand that correctly?


Not exactly: as you have understood it, it's not a button but an  
image in a sophisticated custom control.



If so, what is it about the interaction that requires that?

Or to word it in a more solutions-oriented way, might a change to  
the UI  make for an interaction model which maintains the  
traditional noun-verb expectation?


In a certain sense, yes ;-)
As you, I have deeply studied all guidelines (especially Apple ones  
that always have been better thought :-) but times have changed:
Look at iTunes or iPhoto, and other software that even don't use any  
menu (except contextual ones).
People needed a strong 'layout syntax' ten or twenty years ago: now,  
it's a bit different: intuitive understanding, simplicity, several  
levels to make an app limpid for beginners but able to provide  
sophisticated features to advanced users without overloading its  
interface is the new canon :-)


While not every difference between HC and Rev favors Rev, this is  
one where perhaps Dr. Raney's doctorate in cognitive psychology may  
have shown itself well:  while HyperCard eats clicks on double- 
click (and presumably introduces a delay to make that possible),  
Rev gives the developer the freedom to handle them both, 

Re: on controlkeydown very slow

2008-09-23 Thread william humphrey
I hadn't even realized that calling "answer" was what was slow. That
explains it. I've noticed that in other things now too. Thanks for pointing
it out.
 I'm building an app that has all the common task done with "control this or
control that" so that your fingers don't need to leave the key board. I
never even bothered building a menu for those tasks although I probably will
-- last (the opposite of correct design I know).
___
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: Is the clickCharChunk my friend?

2008-09-23 Thread Eric Chatonet

Bonsoir Graham,

Le 23 sept. 08 à 18:18, Graham Samuel a écrit :


Thanks Eric, to the rescue again!


NP :-)

It seems counterintuitive to me that the selectedChunk returns a  
meaningful result when nothing is selected, e.g. when the cursor is  
flashing in a field but none of its contents are highlighted, or it  
is even empty! Similarly to use 'select' to put the focus and the  
cursor back into an empty field (and therefore in fact to select  
nothing) doesn't look very intuitive either. But it works, I have  
to admit!


Just not that if your global (since you made the choice to put the  
selectedChunk into a global) is empty, do "select" &&  
gRememberedInsertionPoint will mean 'select empty'.
As for me I avoid using globals as soon as I can (probably because I  
write plugins where a variable could shadow another one in the user  
environment ;-)
Have a look at script local variables and custom properties also:  
accessing them is really fast.



Thanks

Graham
On Tue, 23 Sep 2008 13:44:26 +0200, Eric Chatonet  
<[EMAIL PROTECTED]> wrote:


Bonjour Graham,

The clickCharChunk function returns a chunk expression of the form
char charNumber to charNumber of field fieldNumber:
 it's not a point you can click at.
Anyway, probably you might prefer to store the selectedChunk instead
and use do "select" && gRememberedInsertionPoint
This will not only position the insertion point but restore a
possible selection.


Best regards from Paris,
Eric Chatonet.

Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: [EMAIL PROTECTED]/



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


Re: Control X in Windows XP

2008-09-23 Thread Joe Lewis Wilkins
Well, I put in an Answer Dialog into the OpenCard handler of the  
stack, but does not do anything under XP, so I'm still in the dark  
about "the platform"


Joe Wilkins

On Sep 23, 2008, at 9:36 AM, Joe Lewis Wilkins wrote:


Hi Gang,

I've reached the stage where I'm testing the XP version of my  
program; but I'm running into few anomalies:


1.  Since I'm testing by running XP under VMWare Fusion, I'm  
wondering what "platform" is returned by Rev. I had assumed  
(unfortunately) that using an "if the platform is not MacOS" would  
cover me for just about any eventuality, but it would seem this may  
not be the case with this configuration. I should be able to insert  
"put the platform" somewhere in my stack that will clue me in, but  
haven't gone that route yet.
2.  My other dilemma is that the "command key" short-cuts for menu  
items in the Windows "btn group", designated as Ctrl-"something"  
work erratically; sometimes they do and sometimes they don't. Any  
clue as to why this might be the case?


TIA,

Joe Wilkins






___
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 iPhone/iPod Touch ??

2008-09-23 Thread Thomas McGrath III

François,

Stacks will not run natively on the iPhone with any version of the Rev  
player. This is because most of the controls on the iPhone are not  
compatible with the controls in Revolution. This means that buttons,  
fields, images, players, etc. will not port over. The code might since  
that is just text until compiled. The player/IDE would need to provide  
a set of controls 'specific' to the iPhone and stacks would have to  
adhere to these. So any old stacks would need to be rewritten.



Regards,

Tom McGrath

On Sep 23, 2008, at 11:24 AM, François Chaplais wrote:

There have been stories on the web of the difficulty of publishing  
an application on Apple's App Store for the iPhone. Getting paid is  
another story.


Here I think revolution can have an original position: if a stack  
runner/player is made available on the iPhone (for free or for a  
small price) then revolution developers (who, remember, have paid  
their fee to develop with rev) could make their stack available on  
the internet (free or paid for), then have it downloaded by wifi  
(for instance) to the iPhone/iPod Touch ("à la" air shairing) and  
use it on the phone. The download could be implemented inside the  
Stack Player app.
The developers would short circuit Apple's certification process:  
you download a file, and not an executable.


What do you think of this business model?
And is the stack player implementable considering Apple's possible  
restrictions?


Best regards,
François

___
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: applescript "do script"

2008-09-23 Thread Thomas McGrath III

Instead there is an item; Scriptable

Tom

On Sep 19, 2008, at 6:35 PM, Thomas McGrath III wrote:


Still no result...

Also the NSAppleScriptEnabled does not seem to be there in the  
info.plist from Revolution.


TOm


On Sep 19, 2008, at 3:08 PM, Jim Ault wrote:


Try this version and see what you get in Script Editor
on testIt
put  "Hello" into msg
return "got it in Rev"
end testIt

My 'answer Hello' script worked fine repeatedly in 2.9 on OSX 10.5.4.

Jim Ault
Las Vegas


On 9/19/08 8:43 AM, "Thomas McGrath III" <[EMAIL PROTECTED]>  
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


do script from applescript

2008-09-23 Thread Thomas McGrath III
Is anyone else experiencing a problem with the Revolution (do script)  
from applescript???


I am getting the IDE and Standalone to activate but not the 'do script'.

Revolution stack script:

on testIt
put  "Hello" into msg
return "got it in Rev"
end testIt


Applescript:

tell application "Revolution"
activate
do script "testIt"
end tell


Macintosh OSX 10.5.5
Revolution 3.0

It would be nice if I could get this to work.

It would allow me to control Revolution and my prototype from the  
iPhone. Which is way cool..


Thanks,

Tom McGrath
___
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: As programming environments get more powerful programers get lazy

2008-09-23 Thread Richard Gaskin

william humphrey wrote:
> Database specific libraries like Trevor's but simpler for
> common database functions. They should also be for the different
> databases that RunRev supports especially Valentina which is the
> fastest and most powerful one but also the one with no third
> party support materials (for SQLite there are even books available).

What do you find lacking in Rev's library and Valentina's native API?

--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.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: AW: GLX2 on Rev 3.0

2008-09-23 Thread Mark Wieder
Tiemo-

Tuesday, September 23, 2008, 9:21:02 AM, you wrote:

> Jerry, I have the same problems, went to the http://glx2help.ning.com

In addition, the download links for the GLX2 installers are on the
right-hand side of the web page in the section labeled "GLX2
Installers".

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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


Re-2: Control X in Windows XP

2008-09-23 Thread runrev260805
Hi, 

i do not know, if i understood your question right.

Under Windows XP a "put the platform" in the messagebox gives "Win32" back.

Regards,

Matthias


 Original Message 
Subject: Re: Control X in Windows XP (23-Sep-2008 19:16)
From:Joe Lewis Wilkins <[EMAIL PROTECTED]>
To:  [EMAIL PROTECTED]

> Well, I put in an Answer Dialog into the OpenCard handler of the  
> stack, but does not do anything under XP, so I'm still in the dark  
> about "the platform"
> 
> Joe Wilkins
> 
> On Sep 23, 2008, at 9:36 AM, Joe Lewis Wilkins wrote:
> 
> > Hi Gang,
> >
> > I've reached the stage where I'm testing the XP version of my  
> > program; but I'm running into few anomalies:
> >
> > 1.  Since I'm testing by running XP under VMWare Fusion, I'm  
> > wondering what "platform" is returned by Rev. I had assumed  
> > (unfortunately) that using an "if the platform is not MacOS" would  
> > cover me for just about any eventuality, but it would seem this may  
> > not be the case with this configuration. I should be able to insert  
> > "put the platform" somewhere in my stack that will clue me in, but  
> > haven't gone that route yet.
> > 2.  My other dilemma is that the "command key" short-cuts for menu  
> > items in the Windows "btn group", designated as Ctrl-"something"  
> > work erratically; sometimes they do and sometimes they don't. Any  
> > clue as to why this might be the case?
> >
> > TIA,
> >
> > Joe Wilkins
> 
> 
> 
> 
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 
> 
> 
> To: use-revolution@lists.runrev.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: Re-2: Control X in Windows XP

2008-09-23 Thread Joe Lewis Wilkins

Hi Mathias,

My problem is that I cannot use the msg box, since I'm running XP  
under VMWare Fusion, and I don't know how that affects "the Platform".


Thanks, anyway,

Joe Wilkins

On Sep 23, 2008, at 10:54 AM, [EMAIL PROTECTED] wrote:


Hi,

i do not know, if i understood your question right.

Under Windows XP a "put the platform" in the messagebox gives  
"Win32" back.


Regards,

Matthias






___
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: do script from applescript

2008-09-23 Thread BNig

Hi Tom,

I only get it to work if I set the calling applescript to 

tell application "Revolution"
activate
do script "send \"testIt \" to stack \"NameOfYourStack\""
set x to the result
end tell
x

the last x optional to see the result

in the stackscript of my stack "NameOfYourStack"


on testIt
   answer "got it"
   beep 2
   return "OK"
end testIt


I saw others had success with your version, I never got it to work

hth

Bernd



Thomas McGrath III-2 wrote:
> 
> Is anyone else experiencing a problem with the Revolution (do script)  
> from applescript???
> 
> I am getting the IDE and Standalone to activate but not the 'do script'.
> 
> Revolution stack script:
> 
> on testIt
> put  "Hello" into msg
> return "got it in Rev"
> end testIt
> 
> 
> Applescript:
> 
> tell application "Revolution"
> activate
> do script "testIt"
> end tell
> 
> 
> Macintosh OSX 10.5.5
> Revolution 3.0
> 
> It would be nice if I could get this to work.
> 
> It would allow me to control Revolution and my prototype from the  
> iPhone. Which is way cool..
> 
> Thanks,
> 
> Tom McGrath
> 

-- 
View this message in context: 
http://www.nabble.com/do-script-from-applescript-tp19632952p19633738.html
Sent from the Revolution - User mailing list archive at Nabble.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: Control X in Windows XP

2008-09-23 Thread Chipp Walters
The platform for WinXP is "Win32"
___
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: Control X in Windows XP

2008-09-23 Thread Ken Ray

> 1.  Since I'm testing by running XP under VMWare Fusion, I'm wondering
> what "platform" is returned by Rev. I had assumed (unfortunately) that
> using an "if the platform is not MacOS" would cover me for just about
> any eventuality, but it would seem this may not be the case with this
> configuration. I should be able to insert "put the platform" somewhere
> in my stack that will clue me in, but haven't gone that route yet.

Well, running under WinXP on a true PC, if you ask for "the platform", you
get "Win32". I also get this running Rev 2.9 under VMWare Fusion as well.

BTW, I would also suggest that you put quote your "if the platform"
statement so that "MacOS" can't be looked at as a literal. For example, if
you execute this on Windows, you'll see the answer box come back "true":

  put "Win32" into MacOS
  answer (the platform is MacOS)

whereas this will answer "false":

  put "Win32" into MacOS
  answer (the platform is "MacOS")

> 2.  My other dilemma is that the "command key" short-cuts for menu
> items in the Windows "btn group", designated as Ctrl-"something" work
> erratically; sometimes they do and sometimes they don't. Any clue as
> to why this might be the case?

Is this in the IDE, or in your standalone? If it's in the IDE, then the IDE
might be getting in the way...

Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.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: Control X in Windows XP

2008-09-23 Thread Joe Lewis Wilkins
Thanks, Chipp, but is it still "Win32" when being used under VMWare  
Fusion?


One of the other problems I'm having with this now, is that none of  
the Dialogs work. It's this blasted Splash Screen Standalone. YUK! Not  
a simple problem it would seem.


Joe Wilkins

On Sep 23, 2008, at 11:15 AM, Chipp Walters wrote:


The platform for WinXP is "Win32"


--

___
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: do script from applescript

2008-09-23 Thread Thomas McGrath III

Bernd or BNig,  smile

That worked. I am not sure why a simpler version worked for others

Since that worked I am going to adapt it to my project and see how it  
goes.


Thanks again,

Tom


On Sep 23, 2008, at 2:15 PM, BNig wrote:



Hi Tom,

I only get it to work if I set the calling applescript to

tell application "Revolution"
activate
do script "send \"testIt \" to stack \"NameOfYourStack\""
set x to the result
end tell
x

the last x optional to see the result

in the stackscript of my stack "NameOfYourStack"


on testIt
  answer "got it"
  beep 2
  return "OK"
end testIt


I saw others had success with your version, I never got it to work

hth

Bernd




___
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: Control X in Windows XP

2008-09-23 Thread Joe Lewis Wilkins

Ken, thanks for some other things to think about AND TRY. (smile)

I guess my biggest problem right now is to figure out why the ask and  
answer dialogs are not working in the  "real stack", though I'm  
fiddling with the standalone Splash Screen settings - which may help.  
(smile - still!)


Joe Wilkins

On Sep 23, 2008, at 11:32 AM, Ken Ray wrote:

1.  Since I'm testing by running XP under VMWare Fusion, I'm  
wondering
what "platform" is returned by Rev. I had assumed (unfortunately)  
that

using an "if the platform is not MacOS" would cover me for just about
any eventuality, but it would seem this may not be the case with this
configuration. I should be able to insert "put the platform"  
somewhere

in my stack that will clue me in, but haven't gone that route yet.


Well, running under WinXP on a true PC, if you ask for "the  
platform", you
get "Win32". I also get this running Rev 2.9 under VMWare Fusion as  
well.


BTW, I would also suggest that you put quote your "if the platform"
statement so that "MacOS" can't be looked at as a literal. For  
example, if
you execute this on Windows, you'll see the answer box come back  
"true":


 put "Win32" into MacOS
 answer (the platform is MacOS)

whereas this will answer "false":

 put "Win32" into MacOS
 answer (the platform is "MacOS")


2.  My other dilemma is that the "command key" short-cuts for menu
items in the Windows "btn group", designated as Ctrl-"something" work
erratically; sometimes they do and sometimes they don't. Any clue as
to why this might be the case?


Is this in the IDE, or in your standalone? If it's in the IDE, then  
the IDE

might be getting in the way...

Ken Ray


--
Please avoid sending me Word or PowerPoint attachments.
See   

Joe Lewis Wilkins
[EMAIL PROTECTED]





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


Re: Rev on iPhone/iPod Touch ??

2008-09-23 Thread Andre Garzia
It's worse than that... the processor is ARM, and if there's an
architecture that we never had an engine, well that is arm... we had
x86, ppc and sparc for a while...

On Tue, Sep 23, 2008 at 2:24 PM, Thomas McGrath III
<[EMAIL PROTECTED]> wrote:
> François,
>
> Stacks will not run natively on the iPhone with any version of the Rev
> player. This is because most of the controls on the iPhone are not
> compatible with the controls in Revolution. This means that buttons, fields,
> images, players, etc. will not port over. The code might since that is just
> text until compiled. The player/IDE would need to provide a set of controls
> 'specific' to the iPhone and stacks would have to adhere to these. So any
> old stacks would need to be rewritten.
>
>
> Regards,
>
> Tom McGrath
>
> On Sep 23, 2008, at 11:24 AM, François Chaplais wrote:
>
>> There have been stories on the web of the difficulty of publishing an
>> application on Apple's App Store for the iPhone. Getting paid is another
>> story.
>>
>> Here I think revolution can have an original position: if a stack
>> runner/player is made available on the iPhone (for free or for a small
>> price) then revolution developers (who, remember, have paid their fee to
>> develop with rev) could make their stack available on the internet (free or
>> paid for), then have it downloaded by wifi (for instance) to the iPhone/iPod
>> Touch ("à la" air shairing) and use it on the phone. The download could be
>> implemented inside the Stack Player app.
>> The developers would short circuit Apple's certification process: you
>> download a file, and not an executable.
>>
>> What do you think of this business model?
>> And is the stack player implementable considering Apple's possible
>> restrictions?
>>
>> Best regards,
>>François
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



-- 
http://www.andregarzia.com All We Do Is Code.
___
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


StackRunner.exe

2008-09-23 Thread Joe Lewis Wilkins
Thought I'd try using the StackRunner (Revolution Play.exe) instead of  
my Splash Screen standalone. Resolves most all of my issues. Will keep  
you informed as to my additional progress. Thanks everyone.


Joe Wilkins





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


OK, Really strange Mystery

2008-09-23 Thread Joe Lewis Wilkins

Hi Gang,

I've got a really good one for you now. My main stack is fine and  
works on OSX, BUT when I open the VERY same stack with the Revolution  
Player.exe in WindowsXP, it is NOT the same stack, it is a much older  
version; one of the cards is totally different and other things as  
well. It is JUST NOT the stack I've transferred to Windows. How do you  
explain this? It has to be something that OSX is doing when I make the  
transfer. Some kind of cache someplace?


TIA,

Joe Wilkins




___
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: do script from applescript

2008-09-23 Thread Thomas McGrath III
Well, after quite a few attempts and tweaks I can now send AS do  
script to the IDE and I can also send it to a Standalone.


One point:
I have to send to the stack name if the command is located on the  
stack and/or to the card if the command is located on the card. This  
seems very odd to me. It's like the message path is not being followed  
on it's own.


So these do not work:
do script "HandlerName" does not work for me
or:
do script "send \"HandlerName\""

But this doeswork:
do script "send \"HandlerName\" to stack \"TestStack\""
or if on the card then:
do script "send \"HandlerName\" to card \"TestCard\" of stack  
\"TestStack\""

---

Now I can control my iPhone Prototype Standalone from the actual iPhone.

My prototype is an iPhone UI and I emulate the iPhone in Rev and so  
now I can control that from an image of the UI on the iPhone itself.  
Almost like having the actual stack running, a little bit any way.  
Certainly during a demo of the UI anyway.


I am using iRed 2 (and without the need for the iTrans driver, atleast  
for Rev contro)


This is the coolest thing I've seen in a long time. I can "Fully"  
control my TV, Robosapien Robot, Cable Box, EyeTv on my computer,  
iTunes, Safari, Powerpoint, Keynote, and Revolution all from my  
iPhone. And I can do this via WiFi and not Bluetooth or IR or Radio.  
Way Cool.


Thanks all,

Tom McGrath

On Sep 23, 2008, at 2:41 PM, Thomas McGrath III wrote:


Bernd or BNig,  smile

That worked. I am not sure why a simpler version worked for others

Since that worked I am going to adapt it to my project and see how  
it goes.


Thanks again,

Tom


On Sep 23, 2008, at 2:15 PM, BNig wrote:



Hi Tom,

I only get it to work if I set the calling applescript to

tell application "Revolution"
activate
do script "send \"testIt \" to stack \"NameOfYourStack\""
set x to the result
end tell
x

the last x optional to see the result

in the stackscript of my stack "NameOfYourStack"


on testIt
 answer "got it"
 beep 2
 return "OK"
end testIt


I saw others had success with your version, I never got it to work

hth

Bernd




___
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: Distinguishing simple and double clicks

2008-09-23 Thread David Bovill
Thanks for the post Richard - got me thinking about how common using double
click is, and essentially it is not that common with applications that fit
the noun verb metaphor, but becomes more common in situations where you are
navigating information structures with a default browsing / information
display mode and a secondary action mode. Like you I base this on how the
Finder works.

In the tree - hierarchical presentation mode of the Finder a single click
displays the contents of the folder in the adjacent pane, or the info about
the file if it is not a folder. A double click opens the file or program.
The most common use I have mimicks this behaviour. For instance an interface
with a list / tree control that displays the contents in an info pane, and
where a double click performs the same function of opening the file (as a
short cut).

2008/9/23 Richard Gaskin <[EMAIL PROTECTED]>

> Eric Chatonet wrote:
>
>> I just want to make something that was easy with HC: e.g. allow the
>> user to use simple and double clicks on the same button but with
>> different actions.
>> MouseUp is always sent by the engine first then mouseDoubleUp is sent
>> if appropriate.
>>
>
> Is that not how HyperCard works?
>
> If HC sends only one message or the other, then it must be adding a
> delay to the mouseUp before firing its mouseUp message in order to be able
> to distinguish it from mouseDoubleUp.  :\
>
>
> As for the task itself, your handlers look good for what you want to do so
> I'd go with those, but the question has me curious:  What is it you're
> working on?
>
> I ask because when I read David Bovill's comment that this is a common
> task, at first glance I thought so too but after thinking about it some more
> I wonder if there's a subtle distinction at play here between common and
> less common use of those two messages in a single control.
>
> --
> A little background for those who may not have considered the abstraction
> of the "noun-verb" interaction model:
>
> Most modern GUIs employ a noun-verb model, in which a noun object is
> selected and then a verb object is selected which operates on that noun.
>
> For example, when you select text you're specifying the "noun", and then
> choosing "Bold" from the Style menu selects a "verb" (command) to operate on
> that noun.
>
> The double-click gesture is commonly used as a shortcut to selecting a
> verb, and is generally handled in a noun object  (see <
> http://developer.apple.com/documentation/UserExperience/Conceptual/AppleHIGuidelines/XHIGUserInput/chapter_12_section_2.html#//apple_ref/doc/uid/TP3361-TPXREF8
> >).
>
> For example, in the Mac's Finder or Windows' Explorer, you can select an
> icon (the noun) and then select File->Open (the verb), or as a shortcut you
> can double-click the noun object to trigger that most common verb.
>
> We also see this in list controls, where I tend to use mouseDoubleUp most
> frequently, to trigger a default button.
>
> For example, suppose you have a list picker dialog with three controls:
>  list field, "OK" button (default) and "Cancel" button.   The explicit way
> of working with the dialog is to select the item in the list (the noun) then
> click "OK" (the verb), but it's common in many dialogs which have a default
> button to trigger that default button when the user double-clicks in the
> list as a shortcut.
>
> In such selector controls I often have a mouseUp handler, but since it's in
> a noun object it usually just updates the current view to reflect the
> selection, rather than perform an action.
>
> So while I can think of many examples of noun objects that use double
> clicks as a short cut for selecting a verb object, offhand I can't think of
> an example where a verb object handles double-clicks.
> --
>
> From your description it almost sounds like the control in question is
> a verb object such as a command button, rather than a noun object such as
> an icon or list item.   Do I understand that correctly?
>
> If so, what is it about the interaction that requires that?
>
> Or to word it in a more solutions-oriented way, might a change to the UI
>  make for an interaction model which maintains the traditional noun-verb
> expectation?
>
> While not every difference between HC and Rev favors Rev, this is one where
> perhaps Dr. Raney's doctorate in cognitive psychology may have shown itself
> well:  while HyperCard eats clicks on double-click (and presumably
> introduces a delay to make that possible), Rev gives the developer the
> freedom to handle them both, confident that in most cases it'll be fine
> since it conforms to the most common interaction model.
>
> Am I wearing rose-colored glasses on this?  Are there common examples of
> verb objects handling double-clicks that I've overlooked?  (Sometimes good
> coffee breeds unwarranted optimism .)
>
> --
>  Richard Gaskin
>  Managing Editor, revJournal
>  ___
>  Rev tips, tutorials and more: http://www.re

Re: OK, Really strange Mystery

2008-09-23 Thread Joe Lewis Wilkins
I've run this stack through two other hard drives before making the  
transfer and it is STILL this different, older version. I've also  
restarted everything, thinking that something needs to be dumped from  
memory. But?


I'm at my wits end. Half wit, perhaps! (smile)

Joe Wilkins

On Sep 23, 2008, at 12:54 PM, Joe Lewis Wilkins wrote:


Hi Gang,

I've got a really good one for you now. My main stack is fine and  
works on OSX, BUT when I open the VERY same stack with the  
Revolution Player.exe in WindowsXP, it is NOT the same stack, it is  
a much older version; one of the cards is totally different and  
other things as well. It is JUST NOT the stack I've transferred to  
Windows. How do you explain this? It has to be something that OSX is  
doing when I make the transfer. Some kind of cache someplace?


TIA,

Joe Wilkins


___
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 iPhone/iPod Touch ??

2008-09-23 Thread François Chaplais


Le 23 sept. 08 à 19:24, Thomas McGrath III a écrit :


François,

Stacks will not run natively on the iPhone with any version of the  
Rev player. This is because most of the controls on the iPhone are  
not compatible with the controls in Revolution. This means that  
buttons, fields, images, players, etc. will not port over. The code  
might since that is just text until compiled. The player/IDE would  
need to provide a set of controls 'specific' to the iPhone and  
stacks would have to adhere to these. So any old stacks would need  
to be rewritten.





I understand. This does require some development, it was obvious in  
my mind, I should have mentioned it. In a another post, I mentioned  
the interface differences between classic GUI computers and iPhones/ 
iPod touch. Many features can be ported however: buttons do exists,  
slider controls exist, field scrolling is done by finger sliding,  
menus are replaced by a scrolling wheel, media players could  
certainly be created considering the wide amount of media format  
supported. I'm pretty sure you can put an image on a control.
I completely agree that stacks should be rewritten and the IDE would  
have the an iPhone mode. The main issue, in my opinion, is that  
screen estate is so small that multiple windows are never used.


But my point is elsewhere and it is the same point that gave  
Hypercard its appeal: the ability to bypass the classic development  
scheme. For the Mac, this meant you didn't have to learn Inside  
Macintosh and use MPW. This is the same with "modern" platforms.
On the iPhone,/iPod touch, if you want to develop an application, you  
have to go through XCode PLUS the convoluted Apple distribution  
scheme. If the iPhone stack player + Dedicated IDE of a computer was  
implemented, this would mean an acceleration in the development cycle  
of iPhone "applications". Consider for instance that, because of the  
NDA, iPhone developers cannot even discuss together on a list such as  
this one!


I said elsewhere that I am not a professional programer, but, as far  
as transcript is concerned, it should be possible to port it to the  
iPhone facelessly. Now the only issue that I see is whether the  
iPhone SDK allows control (or other interface elements) to be created  
at runtime instead of having if defined, say, by the interface  
builder. If some people here have toyed (or more) with the iPhone  
SDK, this would be an interesting element to consider.


Very best regards,
François

___
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 iPhone/iPod Touch ??

2008-09-23 Thread François Chaplais


Le 23 sept. 08 à 20:53, Andre Garzia a écrit :


It's worse than that... the processor is ARM, and if there's an
architecture that we never had an engine, well that is arm... we had
x86, ppc and sparc for a while...




The SDK will take care of this within XCode.

Best regards,
François

___
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: OK, Really strange Mystery

2008-09-23 Thread Chipp Walters
Joe,

Try to find out the filepath of the original stack. For instance, put
it at C:/test.rev, then open it in the Windows player and ask the
message box:

put the filename of the topstack

See if they are the same.
___
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: OK, Really strange Mystery

2008-09-23 Thread Joe Lewis Wilkins
Having gone back and run the Splash screen standalone instead of the  
Revolution Player.exe, I find that IT shows the correct new version of  
the stack, so someway the Player is resurrecting (from the very same  
stack) an older version. I believe the older version was what I had  
been working on with 2.9, but the Player is one I just downloaded from  
RunRev and it was/is indicated as being a 3.0 version. So The  
problem is with the Player I guess. Nothing I can do about that,  
unless maybe I need to run my new version with 2.9 and save. We'll see.


Thanks,

Joe Wilkins




___
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 iPhone/iPod Touch ??

2008-09-23 Thread Thomas McGrath III
This is what I was saying. These elements are coming from Interface  
Builder and as such can not be built on the fly or at runtime. And new  
controls can not be added either.


Tom

On Sep 23, 2008, at 4:17 PM, François Chaplais wrote:

 Now the only issue that I see is whether the iPhone SDK allows  
control (or other interface elements) to be created at runtime  
instead of having if defined, say, by the interface builder. If some  
people here have toyed (or more) with the iPhone SDK, this would be  
an interesting element to consider.


___
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 iPhone/iPod Touch ??

2008-09-23 Thread François Chaplais


Le 23 sept. 08 à 22:26, Thomas McGrath III a écrit :

This is what I was saying. These elements are coming from Interface  
Builder and as such can not be built on the fly or at runtime. And  
new controls can not be added either.


Tom


It is an important point, indeed. I do not have many Phone apps, but  
I have been playing with air sharing lately. It updates a list of  
folders on the fly. Tapping on a folder will switch to a new list  
with its content. Tapping on a document will open it. However  
rudimentary, this looks like an interface that's built on the fly.
I am probably going to buy a "To do" list manager, and I guess those  
have to build an inteface on the fly. But maybe this all handled by  
some general list manager.

Best regards,
François

___
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: OK, Really strange Mystery

2008-09-23 Thread Joe Lewis Wilkins
I don't quite understand what you've suggested I try. As I noted in my  
last post, the Player is definitely managing to find a 2.9 Version. I  
tried replacing the 2.9 version with my new one, but for some reason  
that didn't change anything. This is some real behind the scenes  
activity over which it appears I have no control. Pretty frustrating.


Thanks for YOUR patience,

Joe Wilkins

On Sep 23, 2008, at 1:19 PM, Chipp Walters wrote:


Joe,

Try to find out the filepath of the original stack. For instance, put
it at C:/test.rev, then open it in the Windows player and ask the
message box:

put the filename of the topstack

See if they are the same.

___
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: Control X in Windows XP

2008-09-23 Thread J. Landman Gay

Joe Lewis Wilkins wrote:
Well, I put in an Answer Dialog into the OpenCard handler of the stack, 
but does not do anything under XP, so I'm still in the dark about "the 
platform"


This would't be related to the platform. Answer dialogs behave 
identically on any of them. The most likely reason for the failure is 
that you didn't include the Answer Dialog stack when you built your 
standalone. Go into Standalone Settings and make sure the checkbox for 
both answer and ask dialogs are checked for your splash stack (your 
plain stacks should not include them, only the one you build into an 
app.) Then rebuild.


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


Re: OK, Really strange Mystery

2008-09-23 Thread J. Landman Gay

Joe Lewis Wilkins wrote:
I don't quite understand what you've suggested I try. As I noted in my 
last post, the Player is definitely managing to find a 2.9 Version. I 
tried replacing the 2.9 version with my new one, but for some reason 
that didn't change anything. This is some real behind the scenes 
activity over which it appears I have no control. Pretty frustrating.




Rev's Player is meant to open when you drop a stack on it. Start with it 
not running, then drop your stack, and it should open the one you gave it.


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


Re: OK, Really strange Mystery

2008-09-23 Thread Joe Lewis Wilkins
So, I tried running the Mac version with the StackRunner and it works  
perfectly using the latest version. Of course, I had to show it which  
one to use; whereas the Revolution Player.exe just runs the stack it  
THINKS is there in the same folder with it on Windows.


Good thing I love a mystery. (smile) BUT, I also love solutions.  
(Bigger smile)


Joe Wilkins

On Sep 23, 2008, at 1:49 PM, Joe Lewis Wilkins wrote:

I don't quite understand what you've suggested I try. As I noted in  
my last post, the Player is definitely managing to find a 2.9  
Version. I tried replacing the 2.9 version with my new one, but for  
some reason that didn't change anything. This is some real behind  
the scenes activity over which it appears I have no control. Pretty  
frustrating.


Thanks for YOUR patience,

Joe Wilkins





___
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: Distinguishing simple and double clicks

2008-09-23 Thread François Chaplais


Le 23 sept. 08 à 19:04, Eric Chatonet a écrit :



Sure but I wonder: in many apps when does exist this ability, it  
does not seem there is an extra delay: how is this possible?

Actually, I don't think it's possible without extra delay...



I am note versed in computer science, but I am pretty sure that any  
software system has to be causal with respect to its physical input;  
in other words, you HAVE to wait for a possible second click to  
happen to decide whether it is a double click or a simple click. What  
actually happens, IMHO, is that you cannot use both single and double- 
click on the same object, which allows the second click interval so  
start relatively early after the first click; on macOS X, the  
duration of the second click detection (i.e. how long you wait to  
decide that a second click will not occur anymore) seems to be tuned  
by the system preferences. As for click and drag, I guess that the  
drag action eliminates the possibility of a second click. Maybe this  
translate in scrutinizing the mouseloc in your scripts to detect  
dragging.


mes deux centimes

François


___
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 iPhone/iPod Touch ??

2008-09-23 Thread Richard Gaskin

François Chaplais wrote:
But my point is elsewhere and it is the same point that gave  
Hypercard its appeal: the ability to bypass the classic development  
scheme. 


Sadly, the answer is the same for both HyperCard's demise and the 
difficulty in developing for iPhone:  the technology is available, but 
Apple is just too short-sighted to let it flourish. :(


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.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: OK, Really strange Mystery

2008-09-23 Thread Joe Lewis Wilkins
Hi Jacque, I had just discovered that for myself. Prior to that it was  
just finding an older version that I had squirrel away on the C drive  
and forgot all about it. Dragging and dropping assured that it was  
getting the right one; and, except for not playing music yet, and the  
Ctrl keys not working - for some reason - at least I'm gotten around  
the "Strange Mystery". It's a good thing I'm not suicidal! (smile)


Thanks to everyone,

Joe Wilkins

On Sep 23, 2008, at 2:21 PM, J. Landman Gay wrote:


Joe Lewis Wilkins wrote:
I don't quite understand what you've suggested I try. As I noted in  
my last post, the Player is definitely managing to find a 2.9  
Version. I tried replacing the 2.9 version with my new one, but for  
some reason that didn't change anything. This is some real behind  
the scenes activity over which it appears I have no control. Pretty  
frustrating.




Rev's Player is meant to open when you drop a stack on it. Start  
with it not running, then drop your stack, and it should open the  
one you gave it.


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

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


Re: Rev on iPhone/iPod Touch ??

2008-09-23 Thread Mikey
Well, for an experiment that they ultimately let fail, they sure
nurtured it for a long time first.
___
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: Stopping A Stack From Starting Up in the IDE

2008-09-23 Thread Chipp Walters
The same thing can be accomplished in a simple plugin. No need to add
more obscurity to the interface.

On Tue, Sep 23, 2008 at 11:33 AM, Mark Stuart <[EMAIL PROTECTED]> wrote:

> Therefore, it would be nice to be able to do the same in RunRev, to not
> execute the preOpenStack and/or the openStack handlers of the stack you
> are opening, while holding down some key combination - in development
> mode.

>
> I'll add it as a wish list item if any one is interested.
>
> What say ya'll?
___
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: Distinguishing simple and double clicks

2008-09-23 Thread Richard Gaskin

Eric Chatonet wrote:


Eric Chatonet wrote:

I just want to make something that was easy with HC: e.g. allow the
user to use simple and double clicks on the same button but with
different actions.
MouseUp is always sent by the engine first then mouseDoubleUp is sent
if appropriate.


Is that not how HyperCard works?


Yes for sure but as mouseDoubleUp did not exist, it was making things  
finally simpler ;-)


I think I'm not understanding something: if HC didn't have mouseDoubleUp 
messages how was this easier to handle there?



As for the task itself, your handlers look good for what you want  
to do so I'd go with those, but the question has me curious:  What  
is it you're working on?


I have web pages filmstrips and a simple click opens a viewer related  
to a database while a double click goes to the 'real' page in your  
current browser.
Of course I could replace the double click with a shift click but,  
from an ergonomic point of view, it's not satisfying: two hands  
instead of one...

All that knowing that hovering a thumb is enough to select it.


This sounds similar in some respects to the Finder's column view, in 
which a single click opens a new pane in the right-most column 
displaying info about the file, while a double-click triggers the most 
common verb, to launch the file.  The first click is always handled in 
the same manner consistently, with the same behavior when invoked by 
itself or when it occurs as part of a double-click.


With the Finder, the verb-noun model is closely followed.  The initial 
action of showing the info pane isn't really a verb per se, but merely a 
selection of the noun, where the only action shows info about the 
selection without modifying it.  It's more akin to updating an inspector 
based on the current selection; the controls in an inspector are verbs, 
but updating the Inspector as selection changes is not a verb.


Your case may be unique in this regard:

In most galleries the thumbnails are nouns, and can be selected to allow 
the user to choose actions to be performed on them.  The developer can 
add new actions at any time by just adding new command buttons, while 
the basic interaction with the gallery remains essentially the same - 
select noun, then select verb to apply to the noun.


Your gallery implements thumbnails as verb objects in a sense, in which 
they don't have a selection mode per se as clicking on them invokes an 
immediate action, the action differing based on the type of click.


I know you are deeply and earnestly studied in UI principles, so my 
question wasn't about your judgment but merely the particulars of your 
app that give rise to this uncommon model.


Given your extensive background in usability I'm confident your design 
provides a good solution for what it aims to do, but it's such a rare 
occurrence to have content displayed as verb-only controls that I'm not 
sure this would be widely used an engine enhancement, esp. given that 
your excellent solution to the messaging conundrum was done in just a 
few lines of code. Sometimes custom solutions require custom code. :)


FWIW, I'd sooner see mouseStillDown updated to no longer rely on polling 
(see ). 
Dragging gestures are very common, and currently require four handlers 
to do with any flexibility (mouseDown, mouseMove, mouseUp, mouseRelease).


That said, it may not be a bad thing for RunRev to implement a way of 
suppressing one type of message when another is triggered, and I'd be 
interested to see the UIs that make use of it.




If so, what is it about the interaction that requires that?

Or to word it in a more solutions-oriented way, might a change to  
the UI  make for an interaction model which maintains the  
traditional noun-verb expectation?


In a certain sense, yes ;-)
As you, I have deeply studied all guidelines (especially Apple ones  
that always have been better thought :-) but times have changed:
Look at iTunes or iPhoto, and other software that even don't use any  
menu (except contextual ones).


I reviewed both of these after reading your post, and I can't find 
exceptions to the noun-verb model.  They also both have complete menu 
bars, and as far as I can tell have double-click actions also available 
as menu items.


But like I said, I've had some really good coffee this morning, so it 
may be that I've overlooked something.  If you see a verb-only content 
object help me see it through my caffeinated haze. :)



People needed a strong 'layout syntax' ten or twenty years ago: now,  
it's a bit different: intuitive understanding, simplicity, several  
levels to make an app limpid for beginners but able to provide  
sophisticated features to advanced users without overloading its  
interface is the new canon :-)


We're moving into a realm perhaps more abstract than most readers will 
want to follow, but we're here now so let's have some fun and hope 
they'll indulge - it's not too f

Re: Rev on iPhone/iPod Touch ??

2008-09-23 Thread Andre Garzia
Err... no... because Revolution has a lot of cross platform code in
it, I bet that is not a matter of recompile with new target from
XCode. Remember, a common core is built for windows, linux and macs,
both x86 and ppc. XCode is great, I've developed stuff with it that
still amaze me till today, but, it's not a silver bullet, it would
require a massive effort to get an ARM/iPhone engine out.

andre

On Tue, Sep 23, 2008 at 5:17 PM, François Chaplais
<[EMAIL PROTECTED]> wrote:
>
> Le 23 sept. 08 à 20:53, Andre Garzia a écrit :
>
>> It's worse than that... the processor is ARM, and if there's an
>> architecture that we never had an engine, well that is arm... we had
>> x86, ppc and sparc for a while...
>>
>>
>
> The SDK will take care of this within XCode.
>
> Best regards,
>François
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



-- 
http://www.andregarzia.com All We Do Is Code.
___
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: As programming environments get more powerful programers get lazy

2008-09-23 Thread william humphrey
Nothing lacking in Valentina's API it is incredible. It is the lack of
completed solutions for common tasks. So it's not libraries but more example
code like you find for PHP or other more popular environments. The example
code saves you from re-writing stuff someone much more skilled has already
done.
___
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: Distinguishing simple and double clicks

2008-09-23 Thread -= JB =-

Hi Eric,

In the stack Dynamic Table Field I use a script the allows different
actions for single and double mouseclicks.  It uses a local variable
clickFlag and the script mixed in a few different handlers.

-=>JB<=-



On Sep 23, 2008, at 6:23 AM, Eric Chatonet wrote:


Bonjour à tous,

I just want to make something that was easy with HC: e.g. allow the  
user to use simple and double clicks on the same button but with  
different actions.
MouseUp is always sent by the engine first then mouseDoubleUp is  
sent if appropriate.


So the question is how to not execute a mouseUp handler if it is  
just the first click of a double click?

Here is a code that allows this but:
It sounds a bit complicated ;-)
It delays mouseUp action by 500 millseconds :-(

Any better idea?

local sDoubleClick
-
on mouseUp
  send "DoMouseUp" to me in 500 milliseconds
end mouseUp
-
on mouseDoubleUp
  put true into sDoubleClick
  DoMouseDoubleUp --
  send "ResetScriptVar" to me in 500 milliseconds
end mouseDoubleUp
-
on DoMouseUp
  if sDoubleClick then exit DoMouseUp
  put "Simple Click"
end DoMouseUp
-
on DoMouseDoubleUp
  put "Double Click"
end DoMouseDoubleUp
-
on ResetScriptVar
  put false into sDoubleClick
end ResetScriptVar

Best regards from Paris,
Eric Chatonet.

Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: [EMAIL PROTECTED]/



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

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



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


Re: Rev on iPhone/iPod Touch ??

2008-09-23 Thread François Chaplais


Le 24 sept. 08 à 00:15, Mikey a écrit :


Well, for an experiment that they ultimately let fail, they sure
nurtured it for a long time first.

Jobs shot the gun on HC (but kept AppleScript), Jobs launched the  
iPhone.

And judging from
http://apple20.blogs.fortune.cnn.com/2008/09/23/androids-first-killer- 
feature-compass-mode/

Android is going to kick some ass...
___
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: As programming environments get more powerful programers get lazy

2008-09-23 Thread Richard Gaskin

william humphrey wrote:

Nothing lacking in Valentina's API it is incredible. It is the lack of
completed solutions for common tasks. So it's not libraries but more example
code like you find for PHP or other more popular environments. The example
code saves you from re-writing stuff someone much more skilled has already
done.


Good to know.

Lynn, sounds like an opportunity to boost Valentina's mindshare with a 
nifty example stack or two


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.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: As programming environments get more powerful programers get lazy

2008-09-23 Thread Lynn Fredricks
> william humphrey wrote:
> > Nothing lacking in Valentina's API it is incredible. It is 
> the lack of 
> > completed solutions for common tasks. So it's not libraries 
> but more 
> > example code like you find for PHP or other more popular 
> environments. 
> > The example code saves you from re-writing stuff someone much more 
> > skilled has already done.
> 
> Good to know.
> 
> Lynn, sounds like an opportunity to boost Valentina's 
> mindshare with a nifty example stack or two

Absolutely. There are lots of examples, but they are more illustrative
rather than functional stuff you can turn around. It has been a real debate
how to approach examples, because we have followed the example path of
trying to demonstrate API X use across all environments we support, rather
than digging into what's best for each specific platform (and that varies
widely between PHP and Rev, just as an example).

We've been concentrating on the big technology additions, but Im hoping to
get more examples done once we get V4, VS Pro beta and Valentina Reports out
the door (real soon now).

We really appreciate William's feedback - its allowed us to really polish
Valentina for Revolution.

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: StackRunner.exe

2008-09-23 Thread Ken Ray
> Thought I'd try using the StackRunner (Revolution Play.exe) instead of
> my Splash Screen standalone. Resolves most all of my issues. Will keep
> you informed as to my additional progress. Thanks everyone.

Actually "StackRunner" (
http://www.sonsothunder.com/devres/revolution/downloads/StackRunner.htm) is
different than "Revolution Player" (
http://newserver.runrev.com/downloads/all-downloads/full-list/), but
regardless, I'm glad it resolves most of your issues...

Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.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: Distinguishing simple and double clicks

2008-09-23 Thread Terry Judd
> This sounds similar in some respects to the Finder's column view, in
> which a single click opens a new pane in the right-most column
> displaying info about the file, while a double-click triggers the most
> common verb, to launch the file.  The first click is always handled in
> the same manner consistently, with the same behavior when invoked by
> itself or when it occurs as part of a double-click.

Except if the item is already selected, in which case a single click selects
the text of the name for editing while a double-click opens the item without
selecting the text. There is however a noticeable delay between the mouseup
and the text selection, suggesting the use of something akin to the 'send
in' workaround it seems like many of us have implemented at times to account
for different and exclusive behaviour of mouseup and mousedoubleup routines.

Terry...

___
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: Distinguishing simple and double clicks

2008-09-23 Thread -= JB =-

Hi Eric,

If you look at the script you might be fooled into thinking
I am checking for a mouseDown but it is the mouseUp I
was checking.

Here is why I wrote it.  I was using the mouseUp and if
a person clicked on some text it would bring up a dialog
displaying the text with the line and item numbers.  Then
i allowed columns to be collapsed by doubleclicking and
if a person double clicked text instead of a mouseUp it
created problems.

So I used the clickFlag to trap for the mouseUp.  Now if
a person double clicks the text it will see it as a mouseUp
and work properly while if they double click white space it
will collapse the column.

As I have said the code looks like I am checking for mouse
downs when in reality even though it is in the mouseDown
handlers it is the mouseUp I was concerned about.

-=>JB<=-



On Sep 23, 2008, at 3:23 PM, -= JB =- wrote:


Hi Eric,

In the stack Dynamic Table Field I use a script the allows different
actions for single and double mouseclicks.  It uses a local variable
clickFlag and the script mixed in a few different handlers.

-=>JB<=-



On Sep 23, 2008, at 6:23 AM, Eric Chatonet wrote:


Bonjour à tous,

I just want to make something that was easy with HC: e.g. allow  
the user to use simple and double clicks on the same button but  
with different actions.
MouseUp is always sent by the engine first then mouseDoubleUp is  
sent if appropriate.


So the question is how to not execute a mouseUp handler if it is  
just the first click of a double click?

Here is a code that allows this but:
It sounds a bit complicated ;-)
It delays mouseUp action by 500 millseconds :-(

Any better idea?

local sDoubleClick
-
on mouseUp
  send "DoMouseUp" to me in 500 milliseconds
end mouseUp
-
on mouseDoubleUp
  put true into sDoubleClick
  DoMouseDoubleUp --
  send "ResetScriptVar" to me in 500 milliseconds
end mouseDoubleUp
-
on DoMouseUp
  if sDoubleClick then exit DoMouseUp
  put "Simple Click"
end DoMouseUp
-
on DoMouseDoubleUp
  put "Double Click"
end DoMouseDoubleUp
-
on ResetScriptVar
  put false into sDoubleClick
end ResetScriptVar

Best regards from Paris,
Eric Chatonet.

Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: [EMAIL PROTECTED]/



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

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



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

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



___
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: StackRunner.exe

2008-09-23 Thread Joe Lewis Wilkins
It's doing quite well now - Ctrl keys are even working - except it  
still does not play my music files as the Mac Version does. As Chipp  
suggested, I'm looking into the AT&T Natural Voices for the Windows  
version. The 1 voice it now provides is pretty gross. I tried to check  
out your StackRunner, but told me could not find the page. I'll try  
again later on.


Thanks Ken,

Joe Wilkins

On Sep 23, 2008, at 4:01 PM, Ken Ray wrote:


Actually "StackRunner" (
http://www.sonsothunder.com/devres/revolution/downloads/StackRunner.htm) 
 is

different than "Revolution Player" (
http://newserver.runrev.com/downloads/all-downloads/full-list/), but
regardless, I'm glad it resolves most of your issues...

Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.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


Painting on an image in a group?

2008-09-23 Thread David Bovill
In the IDE if you select an image in a group and try to paint - it creates a
new image. Is there any way to to set things up / script it so that a user
can paint in an image inside a group?
___
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: Painting on an image in a group?

2008-09-23 Thread Joe Lewis Wilkins

Hi David,

Is it a group of images or a group of mixed objects?

Joe Wilkins

On Sep 23, 2008, at 4:45 PM, David Bovill wrote:

In the IDE if you select an image in a group and try to paint - it  
creates a
new image. Is there any way to to set things up / script it so that  
a user

can paint in an image inside a group?


--
Please avoid sending me Word or PowerPoint attachments.
See   

Joe Lewis Wilkins
[EMAIL PROTECTED]





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


Re: [ANN] Layer Tools plugin (beta)

2008-09-23 Thread william humphrey
When I choose "pallete toggle" it stops at

*set* the priv_ResizeControlList of stack tStackName to tControlList


I'm RunRev 3.0 on Mac 10.4.11


I will test it on my Intel Mac too.
___
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: OS9 standalone builds

2008-09-23 Thread Kay C Lan
On Fri, Sep 19, 2008 at 1:48 AM, Jeff Reynolds <[EMAIL PROTECTED]>wrote:

>
> also does anyone know if there is a list of the set of features that the
> 2.6.1 engine cannot do so i can make sure to try to avoid them if i do go to
> 3.0 for these projects?


Sorry for the late reply.

One option, in Rev 3 is to open the Dictionary, control+click (Mac) on the
column headers and select Version as one of the columns to include. Then
click on the Version header to sort the column - you should end up with all
the 3.0 handlers/keywords at the top followed by 2.9, 2.8.1 etc. Wow there's
been a bunch of stuff added post 2.6.1:-)

Note, in Rev 2.8-9 Dictionary you can control+click on the column headers to
get additional columns, but for some reason some of the columns don't sort
correctly when their headers are clicked on. If my memory serves me I think
Version was OK but Platforms wasn't.

HTH
___
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: [ANN] Layer Tools plugin (beta)

2008-09-23 Thread Chipp Walters
What does the error say when it stops?Perhaps you can try putting before
that line:

put tStackName

so we can see what stack name is being used...

On Tue, Sep 23, 2008 at 7:40 PM, william humphrey <[EMAIL PROTECTED]>wrote:

> When I choose "pallete toggle" it stops at
>
> *set* the priv_ResizeControlList of stack tStackName to tControlList
>
>
> I'm RunRev 3.0 on Mac 10.4.11
>
>
> I will test it on my Intel Mac too.
> ___
> 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: As programming environments get more powerful programers get lazy

2008-09-23 Thread Ruslan Zasukhin
On 9/23/08 8:38 PM, "Richard Gaskin" <[EMAIL PROTECTED]> wrote:

Hi Richard,
Hi William,

> william humphrey wrote:
>> Database specific libraries like Trevor's but simpler for
>> common database functions. They should also be for the different
>> databases that RunRev supports especially Valentina which is the
>> fastest and most powerful one but also the one with no third
>> party support materials (for SQLite there are even books available).
> 
> What do you find lacking in Rev's library and Valentina's native API?

I think William talk not about lacks in Valentina Native API,
But about need support Valentina as much as possible from Trevor's library.

In the same time I want underline, that developer may prefer to use library
like Trevor's library, which is a wrapper around few dbs to generalize
access to them, first of all if he want that his code is able work with few
engines. If you not care about this you may go with Native API of this or
that engine.

P.S. I am glad to see that William is so pleased with Valentina :-)


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]


___
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: As programming environments get more powerful programers get lazy

2008-09-23 Thread Ruslan Zasukhin
On 9/24/08 1:43 AM, "Lynn Fredricks" <[EMAIL PROTECTED]> wrote:

>> william humphrey wrote:
>>> Nothing lacking in Valentina's API it is incredible. It is the lack of
>>> completed solutions for common tasks. So it's not libraries but more example
>>> code like you find for PHP or other more popular environments. The example
>>> code saves you from re-writing stuff someone much more skilled has already
>>> done.
>> 
>> Good to know.
>> 
>> Lynn, sounds like an opportunity to boost Valentina's
>> mindshare with a nifty example stack or two
> 
> Absolutely. There are lots of examples, but they are more illustrative
> rather than functional stuff you can turn around.

Right, although William talk exactly about small-feature code examples,
which he will be able
a) easy locate on site online
b) easy copy paste into own code.

This sounds for me like need create online system which can be filled by
admins or subscribed editors by more and more examples, and users can do
searches like "create TEXT field" and see one or few examples with few lines
of code. 

> It has been a real debate
> how to approach examples, because we have followed the example path of
> trying to demonstrate API X use across all environments we support, rather
> than digging into what's best for each specific platform (and that varies
> widely between PHP and Rev, just as an example).
 
> We've been concentrating on the big technology additions, but Im hoping to
> get more examples done once we get V4, VS Pro beta and Valentina Reports out
> the door (real soon now).
 
> We really appreciate William's feedback - its allowed us to really polish
> Valentina for Revolution.

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]


___
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


Absolute File Paths - Bug or bad Docs

2008-09-23 Thread Kay C Lan
The docs, for 'absolute file path':

The full name and location of a file, beginning with the disk the file is
on, including 

The 'Tip' for defaultFolder includes the above plus points out that UNIX
naming convention is used so the path MUST begin with and folders separated
by "/".

The example under 'defaultFolder' is:

set the defaultFolder to "/Hard Disk/Applications/GetIt"

All simple enough.

But when I do:

answer files "Select a file" with "/Mac HD/Users/kcl/stacks/" titled "Choose
a stack"

I end up in the bowels of the Rev App bundle.

Even if I do the above in the message box it ends up in the Rev App bundle.

BUT, if I remove the reference to the hard disc everything works fine, both
in my stack and the msg box.

This applies whether I'm looking in Users, Applications, System...
everywhere. Referring to the HD or partition fails to lead anywhere other
than the bowels of the Rev App Bundle

So has something changed in Rev 3.0 or have the Docs been wrong all this
time?

MacBook Pro
OSX 10.5.5
Rev Studio 3.0.0 build 750
Brain old and tired
___
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


AW: AW: GLX2 on Rev 3.0

2008-09-23 Thread Tiemo Hollmann TB
Hi Mark,
thanks, I got it (ten times looked for, yet no found...)
I would be interested for your keyboard definition for the backslash
workaround
Tiemo
[EMAIL PROTECTED]


> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:use-revolution-
> [EMAIL PROTECTED] Im Auftrag von Mark Wieder
> Gesendet: Dienstag, 23. September 2008 19:45
> An: How to use Revolution
> Betreff: Re: AW: GLX2 on Rev 3.0
> 
> Tiemo-
> 
> Tuesday, September 23, 2008, 9:21:02 AM, you wrote:
> 
> > Jerry, I have the same problems, went to the http://glx2help.ning.com
> 
> In addition, the download links for the GLX2 installers are on the
> right-hand side of the web page in the section labeled "GLX2
> Installers".
> 
> --
> -Mark Wieder
>  [EMAIL PROTECTED]
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

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


  1   2   >