Re: size restricted for on-rev hosted revlets?

2009-11-02 Thread Nicolas Cueto
Jim,

Just FYI, both urls also work on WinXP IE8.

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


Re: [VOTE] Mousedoubleup is not working in web plug-in

2009-11-02 Thread Nicolas Cueto
Alejandro,

I wrote earlier that your revlet wasn't loading completely on my Firefox.

Well, on my WinXP IE8 it does load. Odd. Both my IE8 and Firefox 3.5.4
use the revAppVersion 4.0.0-dp5 build 920 plugin.

Anyway. You're right. The mouseDoubleUp does not work.

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


Re: How to remove repeating spaces

2009-11-02 Thread Bill Vlahos

Mark and Jim,

Awesome. I knew there had to be an elegant way to do this.

Thank you,
Bill Vlahos

On Nov 2, 2009, at 4:20 PM, Jim Ault wrote:


On Nov 2, 2009, at 3:54 PM, Mark Schonewille wrote:


Bill:
put replacetext(fld "Spaces","[ ]+"," ") into fld "Spaces"

Mark Schonewille

On 3 nov 2009, at 00:51, Bill Vlahos wrote:

I want to remove repeating spaces in a field. I can write a brute  
force method but before I do that I'd like to see if someone has  
already invented this wheel.


Basically all I want to do is reduce all multiple instances of  
spaces in a field to a single space. There could be double,  
triple, or more spaces together and I want to reduce them all to  
just one.


I can think of a repeating loop that replaces two spaces with one  
and just do it until there aren't any more or do a series of  
replaces four spaces with one, then three spaces with one, then  
two spaces with one but neither of these seem very elegant.


Bill Vlahos



Additionally if you want to remove (trim) single spaces from either  
side of each line you could add


get fld "Spaces"
repeat for each line LNN in IT
  put word 1 to -1 of LNN & cr after newLines
end repeat
put replacetext( char 1 to -2 of newLines ,"[ ]+"," ") into fld  
"Spaces"



Hope this helps,

Jim Ault
Las Vegas
___
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


Bill Vlahos
_
InfoWallet (http://www.infowallet.com) helps me remember the important  
details of my life.


___
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: Does topleft property appears inverted?

2009-11-02 Thread Ian Wood


On 2 Nov 2009, at 23:47, Alejandro Tejada wrote:


That is, in the coordinate produced by this
property, first appear left and second, top.


That's how it is supposed to read, oddly enough!

Ian
___
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: size restricted for on-rev hosted revlets?

2009-11-02 Thread Jim Lambert


Mon Nov 2 18:02:53 CST 2009, Nicolas Cueto wrote:

Jim,

Both url views appear and function the same on my WinXP Firefox 3.5.4.

In both views, there's a field large enough to require horizontal and
vertical scrollbars in the browser window. And, using the hor/vert
scrolls on the field itself, the bottom-right-most cell value in both
views is 200.

--
Nicolas Cueto


Nicolas,

Thanks. That's great to know that it renders correctly under WinXP.
On Firefox 3.5.4 under OSX Snow Leopard the views are different. only  
38 columns get rendered when served from on-rev.


Thanks Again,

Jim Lambert

___
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: How to remove repeating spaces

2009-11-02 Thread Jim Ault

On Nov 2, 2009, at 3:54 PM, Mark Schonewille wrote:


Bill:
put replacetext(fld "Spaces","[ ]+"," ") into fld "Spaces"

Mark Schonewille

On 3 nov 2009, at 00:51, Bill Vlahos wrote:

I want to remove repeating spaces in a field. I can write a brute  
force method but before I do that I'd like to see if someone has  
already invented this wheel.


Basically all I want to do is reduce all multiple instances of  
spaces in a field to a single space. There could be double, triple,  
or more spaces together and I want to reduce them all to just one.


I can think of a repeating loop that replaces two spaces with one  
and just do it until there aren't any more or do a series of  
replaces four spaces with one, then three spaces with one, then two  
spaces with one but neither of these seem very elegant.


Bill Vlahos



Additionally if you want to remove (trim) single spaces from either  
side of each line you could add


get fld "Spaces"
repeat for each line LNN in IT
   put word 1 to -1 of LNN & cr after newLines
end repeat
put replacetext( char 1 to -2 of newLines ,"[ ]+"," ") into fld "Spaces"


Hope this helps,

Jim Ault
Las Vegas
___
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: size restricted for on-rev hosted revlets?

2009-11-02 Thread Nicolas Cueto
Jim,

Both url views appear and function the same on my WinXP Firefox 3.5.4.

In both views, there's a field large enough to require horizontal and
vertical scrollbars in the browser window. And, using the hor/vert
scrolls on the field itself, the bottom-right-most cell value in both
views is 200.

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


Re: [VOTE] Mousedoubleup is not working in web plug-in

2009-11-02 Thread Nicolas Cueto
Alejandro,

Sorry but your revlet is not loading (WinXP, Firefox 3.5.4). Just get
a "Loading revWeb Content".

However, other revlets, like Sarah Reichelt's "system info" revlet, do work.

And according to Sarah's revlet, my plugin info is "revAppVersion
4.0.0-dp5 , build number 920".

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


Re: How to remove repeating spaces

2009-11-02 Thread Mark Schonewille

Bill:

put replacetext(fld "Spaces","[ ]+"," ") into fld "Spaces"

--
Best regards,

Mark Schonewille

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

Download Strõm Flow Chart Software
http://flowproject.economy-x-talk.com

On 3 nov 2009, at 00:51, Bill Vlahos wrote:

I want to remove repeating spaces in a field. I can write a brute  
force method but before I do that I'd like to see if someone has  
already invented this wheel.


Basically all I want to do is reduce all multiple instances of  
spaces in a field to a single space. There could be double, triple,  
or more spaces together and I want to reduce them all to just one.


I can think of a repeating loop that replaces two spaces with one  
and just do it until there aren't any more or do a series of  
replaces four spaces with one, then three spaces with one, then two  
spaces with one but neither of these seem very elegant.


Bill Vlahos



___
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


How to remove repeating spaces

2009-11-02 Thread Bill Vlahos
I want to remove repeating spaces in a field. I can write a brute  
force method but before I do that I'd like to see if someone has  
already invented this wheel.


Basically all I want to do is reduce all multiple instances of spaces  
in a field to a single space. There could be double, triple, or more  
spaces together and I want to reduce them all to just one.


I can think of a repeating loop that replaces two spaces with one and  
just do it until there aren't any more or do a series of replaces four  
spaces with one, then three spaces with one, then two spaces with one  
but neither of these seem very elegant.


Bill Vlahos
_
InfoWallet (http://www.infowallet.com) helps me remember the important  
details of my life.


___
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


about Rev cgi and MySQL

2009-11-02 Thread Nicolas Cueto
Just curious about something. But I don't know the technical
vocabulary, so please forgive this verbose (and confusing?)
explanation.

I think it essentially has do with user queues.


I have a Rev.cgi script on the On-Rev server that works in this 3-step sequence:

(STEP 1) uses SELECT to retrieve data from a MySQL table

(STEP 2) does stuff based on that retrieved data in order to alter it

(STEP 3) uses UPDATE to put that now-altered data back into the same MySQL table


My question is about data mishaps that could happen during STEP 2 --
specially if it happens to take a long time (a few seconds?) -- should
it happen to come about that a new user calls a Rev.cgi which is still
working on a previous user's call.


The chaos sequence I have in mind is this:

USER 1 : STEP 1 --> Rev.cgi retrieves data from SQL table at time X ( = tData)
USER 1 : STEP 2 --> Rev.cgi works with tData to make tData_User1 (but
no UPDATE yet)

... but during USER 1 : STEP 2 ...

USER 2 : STEP 1 -->   Rev.cgi retrieves data from SQL table at time
X+1 (still = tData)
USER 2 : STEP 2 --> Rev.cgi works on tData to make tData_User2 (but no
UPDATE yet)
USER 1 : STEP 3 --> updates SQL table with tData.User1
USER 2 : STEP 3 --> updates SQL table with tData.User2

In this chaos scenario of mine -- if indeed this is how things
actually happen between servers, which I'm hoping it's not -- the
problem is the state of tData at USER 2 : STEP2. It should not be
tData but actually tData_User1.


So, is there something in-built in SQL or Rev.cgi that handles queues
in such a way that prevents this kind of queue chaos, whether it's 2
or 2 million users calling in at the "same" time

Or do I have to take care of this myself somehow, by, say, proper scripting?

Thank you.

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


Does topleft property appears inverted?

2009-11-02 Thread Alejandro Tejada

Hi all,

Could you verify if, in the latest version
of RevMedia, Topleft property appears
inverted? 

That is, in the coordinate produced by this 
property, first appear left and second, top.

Alejandro
-- 
View this message in context: 
http://n4.nabble.com/Does-topleft-property-appears-inverted-tp360868p360868.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


[VOTE] Mousedoubleup is not working in web plug-in

2009-11-02 Thread Alejandro Tejada

Please, vote for Report 8403, if this affects your work:

Please visit this page that shows a revlet
that uses Mousesdoubleup message to hide
or "retract" the handles of the shapes that
you draw.

http://capellan2000.000space.com/test02.html

To draw, please follow the directions at the
bottom of the stack.

After you draw an object, click on the Arrow
pointer to edit the handles and point of the
graphic. Now click on the graphic and notice
that all handles and points are displayed.
Double click on the graphic to retract or
hide the handles... Nothing happens.

Mousedoubleup message is not send.

Notice that in previous versions of web plug-in
this action of double clicking, to retract the
handles of the graphics, worked as expected.

Alejandro
-- 
View this message in context: 
http://n4.nabble.com/VOTE-Mousedoubleup-is-not-working-in-web-plug-in-tp360867p360867.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


size restricted for on-rev hosted revlets?

2009-11-02 Thread Jim Lambert

Well, this is going to sound completely crazy.
I don't believe it myself. Must be doing something wrong.

I upload a revlet that's about 1200x800 and it's test.html to my on- 
rev account.
In firefox OSX 10.6 only the topleft part of the revlet renders. Just  
about 900x600 appears. The rest is cut off.


I upload the exact same files to another website and they render fine.  
The entire revlet is visible.


Yes, I've cleared the cache and even restarted.
Never seen anything like it.

Ideas?

Thanks,
Jim Lambert


___
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: mouseRelease in Rev 4.0

2009-11-02 Thread Sarah Reichelt
On Tue, Sep 22, 2009 at 1:21 PM, Sarah Reichelt
 wrote:
> I am working on an app that allows users to drag across a series of
> controls in order to operate on each one in turn when the mouse button
> comes up.
> I build a list of the selected controls by checking the mouseMove
> messages and on a mouseRelease (since the mouse pointer is no longer
> over the object that received the mouseDown), I loop through the list
> of selected controls and do what I need.
> This is working perfectly in Rev 3.0 & 3.5.
> In Rev 4.0, it's as if the mouseRelease message is only sent
> sometimes. especially, it doesn't seem to happen if I move too fast,
> but if I drag, then hover over the last control for a bit, then it
> works.


Yay - this is fixed in dp-6.
Thanks to all at RunRev as it was very annoying but hard to describe.

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


Re: Where is applications folder on OSX

2009-11-02 Thread Sarah Reichelt
On Tue, Nov 3, 2009 at 6:32 AM, Richard Miller  wrote:
> Not sure how to solve this.
>
>   put specialfolderpath("apps") & "/videos" into mainfolder
>
> The above line does create the correct pathway to this folder in
> Applications. However, I then need to set the filename of a player to a
> video inside that folder.
>
>   put mainfolder & "/test1.mov" into fname
>   set the filename of player 1 to ("file:///" & fname)
>
> I need to use the "file:///" syntax because this is being done through
> revweb in a browser (which seems to require this syntax... unlike a regular
> player in a standalone). Using the above, the filename in the player will
> NOT be correct, however, because the player requires the users HD name to be
> right after "file:///".
>
> In other words:
>
> This doesn't work for the filename of the player:
>
>   file:///Applications/videos/test1.mov
>
> This works:
>
>   file:///Macintosh HD/Applications/videos/test1.mov
>
> I'm not sure how to correct this. None of the OSX specialfolderpath returned
> values contain the HD portion of the pathway.


I found with images, that setting the filename did not work. I had to use:
put URL ("binfile:" & tFileName) into image "Pic"

Maybe something similar would work for your videos.

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


Re: RevWeb "ask" not working on my end

2009-11-02 Thread Sarah Reichelt
On Mon, Nov 2, 2009 at 9:43 PM, Richard Miller  wrote:
> Can anyone get an Ask dialog box to work through revweb in a browser? Tried
> on XP without success.




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


Re-5: Off-Line revlets?

2009-11-02 Thread runrev260805
Of course i tried "window.location.href" ...

Sorry for the typo.

 Original Message 
Subject: Re-4: Off-Line revlets? (02-Nov-2009 23:20)
From:runrev260...@m-r-d.de
To:  use-revolution@lists.runrev.com

> Hi,
> 
> tried "window.location.hrev" also. In IE8 i get no value back.
> 
> I tried the follwoing  html file with javascript inside.
> -
> Test
> 
> 
>   alert(window.location.href);
>   alert(document.location.href);
> 
> 
> 
> -
> Running this html file in IE8 opens both alert windows showing h the 
> correct value.
> 
> 
> Only from within the revelt it seems that it does not work in IE8.
> 
> I used the following code to test it in my revlet
> 
> on openStack
> local tURL
> do "window.location.href;" in browser
> -- do "document.location.href;" in browser
> put the result into tURL
> answer tURL
> end openStack
> 
> In IE8 i get an empty answer dialog. In Firefox i get the value displayed
> 
> Is this a bug. Should i report this?
> 
> Matthias
>  Original Message 
> Subject: Re: Re-2: Off-Line revlets? (02-Nov-2009 21:13)
> From:Brian Yennie 
> To:  runrev260...@m-r-d.de
> 
> > Try:
> > 
> > window.location.href
> > 
> > I believe this should work for all browsers.
> > 
> > > Hi,
> > >
> > > i already tried that solution. It works without problems under  
> > > Firefox here under Windows. But under IE8 i get no value back for  
> > > "document.location.href;". Maybe due to security settings. I do not  
> > > know.
> > >
> > > But that means, that IE users cannot run the revlet, although it is  
> > > started from the "right" website.
> > >
> > > Regards,
> > >
> > > Matthias
> > >
> > >  Original Message 
> > > Subject: Re: Off-Line revlets? (02-Nov-2009 20:43)
> > > From:David Coker 
> > > To:  runrev260...@m-r-d.de
> > >
> > >>
> > >>> Is it possible for an end-user to 'salvage' a revlet from
> > >>> a browser cache and thereby continue using it, effectively
> > >>> as a free-standing program, when not connected to the internet?
> > >>
> > >>> AND;
> > >>
> > >>> If this is, at least theoretically possible, is there a way to  
> > >>> prevent it?
> > >>
> > >>
> > >> Hello Richmond,
> > >> Here is the solution that was given to my similar question a few  
> > >> days ago (
> > >> Thanks Malte!):
> > >>
> > >>> this script executes a bit of javascript in the browser. The result
> > >>> will then contain the URL your revLet has been launched from and you
> > >>> can react accordingly. so you might want to do this on openstack for
> > >>> example
> > >>
> > >> on openStack
> > >> local tURL
> > >> do "document.location.href;" in browser
> > >> put the result into tURL
> > >> if tURL <> "path/you/would/expect.html" then
> > >> answer "You are using my revlet from an unknown location. Please use
> > >> it from my site instead"
> > >> -- do a redirect here if you wish or quit
> > >> end if
> > >> end openStack
> > >>
> > >>> Hope that sheds some light.
> > >>
> > >>> All the best,
> > >>
> > >>> Malte
> > ___
> > use-revolution mailing list
> > use-revolution@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your 
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-revolution
> > 
> > 
> > 
> > 
> > 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-4: Off-Line revlets?

2009-11-02 Thread runrev260805
Hi,

tried "window.location.hrev" also. In IE8 i get no value back.

I tried the follwoing  html file with javascript inside.
-
Test


  alert(window.location.href);
  alert(document.location.href);



-
Running this html file in IE8 opens both alert windows showing h the correct 
value.


Only from within the revelt it seems that it does not work in IE8.

I used the following code to test it in my revlet

on openStack
local tURL
do "window.location.href;" in browser
-- do "document.location.href;" in browser
put the result into tURL
answer tURL
end openStack

In IE8 i get an empty answer dialog. In Firefox i get the value displayed

Is this a bug. Should i report this?

Matthias
 Original Message 
Subject: Re: Re-2: Off-Line revlets? (02-Nov-2009 21:13)
From:Brian Yennie 
To:  runrev260...@m-r-d.de

> Try:
> 
> window.location.href
> 
> I believe this should work for all browsers.
> 
> > Hi,
> >
> > i already tried that solution. It works without problems under  
> > Firefox here under Windows. But under IE8 i get no value back for  
> > "document.location.href;". Maybe due to security settings. I do not  
> > know.
> >
> > But that means, that IE users cannot run the revlet, although it is  
> > started from the "right" website.
> >
> > Regards,
> >
> > Matthias
> >
> >  Original Message 
> > Subject: Re: Off-Line revlets? (02-Nov-2009 20:43)
> > From:David Coker 
> > To:  runrev260...@m-r-d.de
> >
> >>
> >>> Is it possible for an end-user to 'salvage' a revlet from
> >>> a browser cache and thereby continue using it, effectively
> >>> as a free-standing program, when not connected to the internet?
> >>
> >>> AND;
> >>
> >>> If this is, at least theoretically possible, is there a way to  
> >>> prevent it?
> >>
> >>
> >> Hello Richmond,
> >> Here is the solution that was given to my similar question a few  
> >> days ago (
> >> Thanks Malte!):
> >>
> >>> this script executes a bit of javascript in the browser. The result
> >>> will then contain the URL your revLet has been launched from and you
> >>> can react accordingly. so you might want to do this on openstack for
> >>> example
> >>
> >> on openStack
> >> local tURL
> >> do "document.location.href;" in browser
> >> put the result into tURL
> >> if tURL <> "path/you/would/expect.html" then
> >> answer "You are using my revlet from an unknown location. Please use
> >> it from my site instead"
> >> -- do a redirect here if you wish or quit
> >> end if
> >> end openStack
> >>
> >>> Hope that sheds some light.
> >>
> >>> All the best,
> >>
> >>> Malte
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 
> 
> 
> 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: Where is applications folder on OSX

2009-11-02 Thread Ian Wood


On 2 Nov 2009, at 20:32, Richard Miller wrote:


  put specialfolderpath("apps") & "/videos" into mainfolder


This is a bit OT, but why the bleep are video files being stored in  
the Applications folder instead of either ~/Movies or ~/Library/ 
Application Support/'insert name of appropriate app here'?


Ian
___
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: Irev; Rev Cgi; stack as dBase: runs in iFrame in Word Press

2009-11-02 Thread J. Landman Gay

Sivakatirswami wrote:


The "chain" of elements in the framework are interesting, as we use

-- an iFrame
-- Calls a .irev page
-- .irev page calls a rev-cgi
-- rev-cgi "starts using" a stack
-- stack function digs for and returns the content
-- results are posted back to word press.

The thing of it is... it's so easy! and so fast... 


I've put up some instructions on how to do something similar here:



This shows how to use an old-style CGI that is integrated into an iRev 
page. It is, for now, the only way I could see to "start using" other 
stacks. And you're right, it's pretty easy.


There is also a link on the sidebar on how to use more than one revlet 
on a single page, if anyone is interested. Look for "Dual Revlets".


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


Re: Where is applications folder on OSX

2009-11-02 Thread Richard Miller

Not sure how to solve this.

   put specialfolderpath("apps") & "/videos" into mainfolder

The above line does create the correct pathway to this folder in 
Applications. However, I then need to set the filename of a player to a 
video inside that folder.


   put mainfolder & "/test1.mov" into fname
   set the filename of player 1 to ("file:///" & fname)

I need to use the "file:///" syntax because this is being done through 
revweb in a browser (which seems to require this syntax... unlike a 
regular player in a standalone). Using the above, the filename in the 
player will NOT be correct, however, because the player requires the 
users HD name to be right after "file:///".


In other words:

This doesn't work for the filename of the player:

   file:///Applications/videos/test1.mov

This works:

   file:///Macintosh HD/Applications/videos/test1.mov

I'm not sure how to correct this. None of the OSX specialfolderpath 
returned values contain the HD portion of the pathway.


Suggestions?

Thanks.
Richard Miller



Colin Holgate wrote:


On Nov 2, 2009, at 1:26 PM, Richard Miller wrote:

Is there a simple and reliable way to know where the primary 
Applications folder is under OSX? Is there a specialfolderpath() to it?


The help on specialfolderpath goes into great detail, and also points 
to this handy page:


http://developer.apple.com/legacy/mac/library/documentation/Carbon/Reference/Folder_Manager/Reference/reference.html 



From that you can work out that this will give you the Applications path:

put specialfolderpath("apps")



___
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


Irev; Rev Cgi; stack as dBase: runs in iFrame in Word Press

2009-11-02 Thread Sivakatirswami
Thanks to a tip from Andre I have managed to use runRev in a word press 
blog. he says a revlet will also run too...I usually don't contribute 
much here because I feel I'm a "baby" compared to all the wizards ... 
but perhaps this will be useful to  those interested in incorporating 
runRev in PHP CMS frameworks. In this case a Word Press mu blog.


http://himalayanacademy.com/blog/taka/2009/11/02/words-to-ponder/

The "chain" of elements in the framework are interesting, as we use

-- an iFrame
-- Calls a .irev page
-- .irev page calls a rev-cgi
-- rev-cgi "starts using" a stack
-- stack function digs for and returns the content
-- results are posted back to word press.

The thing of it is... it's so easy! and so fast... Total lines of code?

22? (spread over three different files and don't forget a 7MB stack is 
loaded on every instance...but there is no lag time)


with one or two caveats.

In case any one is interested here is the code:

Word Press Post
(# space and breaks at the beginning to give a little breathing room 
above the iFrame below the post title)


    

   

## the css is needed to eliminate the border. iFrames will always 
"borderize" so just set the color of the border to the color of your 
background and it effectively disappears.
# Assumes you have the wp plug in that allows for pasting html into the 
blog and this is set to "allow"



RandomWord.irev # will be displayed into your iFrame, I suspect this 
could be a page that contains a revlet...


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


   

   Get
   Random Word
   
   

   background-repeat: no-repeat;">

put url 
"http://www.himalayanacademy.com/cgi-bin/getRandomLexiconWord.cgi"; into 
tWordOfTheDay

set the itemdel to "|"
put item 1 of tWordOfTheDay into tWord
put item 2 of tWordOfTheDay into tDefinition

?>

:
  





getRandomLexiconWord.cgi

# it would be nice to be able to call stacks directly with the iRev 
engine and
# I think that is on the roster of future for features but for now you 
need to

# do a GET of a a rev-cgi that Starts Using a stack

#!/opt/web/bin/revolution -ui

on startup
   start using stack "../public_html/resources/lexicon/lexicon.rev"
   put getRandomWord() into buffer
 put "Content-Type: text/plain" & cr
 put "Content-Length:" && the length of buffer & cr & cr
 put buffer
end startup

in the stack "lexicon.rev" (a 7 MB stack with about 3500 cards)

I have this function in the stack itself.

function getRandomWord
  put (the number of cards of stack "Lexicon") into tCards
  put random(tCards) into tWord
  put (fld "word" of card  tWord of stack "Lexicon") & "|"& \
  (fld "definition" of card tWord of stack "Lexicon") into tOutput
  return tOutput
end getRandomWord

# Caveat on calling functions in stacks using rev-cgi: a rev.cgi has no 
stack context. There fore you need to declare explicitely the stack 
reference to any objects in your stack. If you are working on the 
desktop in the IDE of course you don't need this and then when you post 
the thing to the web it doesn['t work.. .I had gone thru this a few 
years  back but for got about it  and it was until I reviewed some old 
function in other web stack that I realize again that you must do this:


put (the number of cards) into tCards

# works in the desktop in an IDE or standalone; fails when invoked by cgi

# this is required, for it to work when call by a CGI even though the 
function is in the stack "Lexicon":


put (the number of cards of stack "Lexicon")  into tCards

Again: total lines of runRev code (not including html)

22















___
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: Off-Line revlets?

2009-11-02 Thread Brian Yennie

Try:

window.location.href

I believe this should work for all browsers.


Hi,

i already tried that solution. It works without problems under  
Firefox here under Windows. But under IE8 i get no value back for  
"document.location.href;". Maybe due to security settings. I do not  
know.


But that means, that IE users cannot run the revlet, although it is  
started from the "right" website.


Regards,

Matthias

 Original Message 
Subject: Re: Off-Line revlets? (02-Nov-2009 20:43)
From:David Coker 
To:  runrev260...@m-r-d.de




Is it possible for an end-user to 'salvage' a revlet from
a browser cache and thereby continue using it, effectively
as a free-standing program, when not connected to the internet?



AND;


If this is, at least theoretically possible, is there a way to  
prevent it?



Hello Richmond,
Here is the solution that was given to my similar question a few  
days ago (

Thanks Malte!):


this script executes a bit of javascript in the browser. The result
will then contain the URL your revLet has been launched from and you
can react accordingly. so you might want to do this on openstack for
example


on openStack
local tURL
do "document.location.href;" in browser
put the result into tURL
if tURL <> "path/you/would/expect.html" then
answer "You are using my revlet from an unknown location. Please use
it from my site instead"
-- do a redirect here if you wish or quit
end if
end openStack


Hope that sheds some light.



All the best,



Malte

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


Re-2: Off-Line revlets?

2009-11-02 Thread runrev260805
Hi,

i already tried that solution. It works without problems under Firefox here 
under Windows. But under IE8 i get no value back for "document.location.href;". 
Maybe due to security settings. I do not know.

But that means, that IE users cannot run the revlet, although it is started 
from the "right" website.

Regards,

Matthias

 Original Message 
Subject: Re: Off-Line revlets? (02-Nov-2009 20:43)
From:David Coker 
To:  runrev260...@m-r-d.de

> 
> >Is it possible for an end-user to 'salvage' a revlet from
> >a browser cache and thereby continue using it, effectively
> >as a free-standing program, when not connected to the internet?
> 
> >AND;
> 
> >If this is, at least theoretically possible, is there a way to prevent it?
> 
> 
> Hello Richmond,
> Here is the solution that was given to my similar question a few days ago (
> Thanks Malte!):
> 
> >this script executes a bit of javascript in the browser. The result  
> >will then contain the URL your revLet has been launched from and you  
> >can react accordingly. so you might want to do this on openstack for  
> >example
> 
> on openStack
> local tURL
> do "document.location.href;" in browser
> put the result into tURL
> if tURL <> "path/you/would/expect.html" then
> answer "You are using my revlet from an unknown location. Please use  
> it from my site instead"
> -- do a redirect here if you wish or quit
> end if
> end openStack
> 
> >Hope that sheds some light.
> 
> >All the best,
> 
> >Malte
> 
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 
> 
> 
> 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: Off-Line revlets?

2009-11-02 Thread David Coker

>Is it possible for an end-user to 'salvage' a revlet from
>a browser cache and thereby continue using it, effectively
>as a free-standing program, when not connected to the internet?

>AND;

>If this is, at least theoretically possible, is there a way to prevent it?


Hello Richmond,
Here is the solution that was given to my similar question a few days ago 
(Thanks Malte!):

>this script executes a bit of javascript in the browser. The result  
>will then contain the URL your revLet has been launched from and you  
>can react accordingly. so you might want to do this on openstack for  
>example

on openStack
local tURL
do "document.location.href;" in browser
put the result into tURL
if tURL <> "path/you/would/expect.html" then
answer "You are using my revlet from an unknown location. Please use  
it from my site instead"
-- do a redirect here if you wish or quit
end if
end openStack

>Hope that sheds some light.

>All the best,

>Malte


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


Re: How do I check which field has the focus on / is active?

2009-11-02 Thread Richmond Mathewson

William de Smet wrote:

@ Jan, Klaus and Sarah: the dentist pulled my tooth (bummer) but your
answer solved my little 'problem'.
Must have been the tootache :-) Thanks!

Greetings,

William
  

You lucky chap; some of us have almost no teeth left to pull out!

--

I wonder why this:

if the traversalOn of fld "f5" is true
then
 --send a message somewhere--
end if

doesn't work?
___
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: How do I check which field has the focus on / is active?

2009-11-02 Thread William de Smet
@ Jan, Klaus and Sarah: the dentist pulled my tooth (bummer) but your
answer solved my little 'problem'.
Must have been the tootache :-) Thanks!

Greetings,

William

2009/11/2 Sarah Reichelt :
> Hope your tooth is better now.
>
> I think you need to use both solutions.
> Jan suggests setting the button's traversalOn to false so that it
> doesn't become the focusedObject when clicked.
> Klaus points out that you need to use the short name of the
> selectedField for your current script to work.
>
> If you put both these solutions together, then I think it should work,
> but if not, please post more details and we can trya gain.
>
> Cheers,
> Sarah
>
>
> On Fri, Oct 30, 2009 at 11:37 PM, William de Smet
>  wrote:
>> Hi Jan & Klaus,
>>
>> None of your answers works for me :-)
>> Must be something else then that is bugging me.
>> Could be the dentist! Got to go there within the hour because of an
>> awful toothache.
>>
>> to be continued
>>
>> Greetings,
>>
>> William
>>
>> 2009/10/30 Klaus Major :
>>> Hi William,
>>>
 Hi there all,

 How do I check which has the focus on / is the active one?
 When I use: 'answer the selectedField' it shows me the correct field
 but when I put the next code into a button it doesn't work anymore:
 --
 on mouseUp
 put the name of the selectedField into tData

 if tData = "number1"
 then send mouseup to btn "check"
 ...
 end mouseUp
>>>
>>> ...
>>> put the name of the selectedField into tData
>>> ...
>>>
>>> If you look at the content of the variable "tDate" you will see something
>>> like this:
>>> FIELD "Name of field here..."
>>> !!!
>>>
>>> So if you change the line to:
>>> ...
>>> put the SHORT name of the selectedField into tData
>>> ...
>>> your script will run as exspected :-)
>>>
 --
 Thanks!
 Greetings, William
>>>
>>> Best
>>>
>>> Klaus
>>>
>>> --
>>> Klaus Major
>>> http://www.major-k.de
>>> kl...@major.on-rev.com
>>>
>>> ___
>>> use-revolution mailing list
>>> use-revolution@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your subscription
>>> preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>>
>> ___
>> use-revolution mailing list
>> use-revolution@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
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: Off-Line revlets?

2009-11-02 Thread Richmond Mathewson

Colin Holgate wrote:
You can reasonably easily get the revlet file, and save the html, and 
run those locally. Renaming the revlet to be rev doesn't appear to 
give you a good stack, for what that's worth.


I am aware that renaming the revlet doesn't result in a stack as the 
build process pays put to that.


However, after one h*ll of a lot of work I am about to deploy a 
web-based 'thing' which will be entirely
FREE. Now,call me naive, call me 'Richmond' [in some quarters these are 
regarded as virtual synonyms . . .   :) ],

but I hope to pick up revenue by marketing both:

1. A standalone at a modest price (say $10) that has the same 
capabilities as the web-based 'thing'.


and, at a later date,

2. A 'Premium' program (with expanded capabilities) for slightly more 
(say$100).


I hope that the web-based 'thing' will act as a 'ramp' and pursuade a 
certain number of users

to pay for either #1 or #2.

Now, obviously, if the revlett is saveable, #1 is "down the kibosh".
___
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: Autocomplete field

2009-11-02 Thread Alejandro Tejada

Hi Peter, 

Many thanks again for posting 
the complete version of your 
handler. Works really great! :D 

I have posted in my site a new 
version of the stack with both 
handlers, working side by side. 

http://capellan2000.000space.com/autocomplete_names_v2.zip

Have a nice weekend! 

Alejandro
-- 
View this message in context: 
http://n4.nabble.com/Re-Autocomplete-field-tp326462p360829.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: Where is applications folder on OSX

2009-11-02 Thread Devin Asay


On Nov 2, 2009, at 11:37 AM, Richard Miller wrote:


So just use specialfolderpath("apps")? Is that the right syntax?

Thanks.


I believe that's correct, yes.




Devin Asay wrote:


On Nov 2, 2009, at 11:26 AM, Richard Miller wrote:


Is there a simple and reliable way to know where the primary
Applications folder is under OSX? Is there a specialfolderpath()  
to it?


Richard,

Ken Ray has worked this all out and posted a great resource page on
specialfolderpath():

http://www.sonsothunder.com/devres/revolution/tips/file010.htm

Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
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


Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
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: AVG antivirus version 9 flags Revolution.exe as a Virus

2009-11-02 Thread Richmond Mathewson

Alejandro Tejada wrote:
Hi all, 

AVG antivirus version 9, flags the archive: 
Revolution.exe (version 2.8.1) as a Virus 
named: Downloader.Swizzor 

This is a false positive, but stil i have not 
found a page to report this to AVG. 

If you know where to report this anomaly, 
please, send them a message about this 
error. 

Thanks in advance. 


Alejandro
  

Ugly!

That reminds me of the time when any posting of mine
to the use-list was flagged as "Virulent"; but, I digress . . .  :)
___
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: Off-Line revlets?

2009-11-02 Thread Colin Holgate
You can reasonably easily get the revlet file, and save the html, and  
run those locally. Renaming the revlet to be rev doesn't appear to  
give you a good stack, for what that's worth.



___
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: Off-Line revlets?

2009-11-02 Thread William de Smet
Hi Richmond,

There was a few days ago a thread called:
RevMedia Question: Securing the revlet?
Some answers were given but I didn't test it yet myself.

greetings,

William

2009/11/2 Richmond Mathewson :
> Maybe another of my goofy questions; not sure.
>
> Is it possible for an end-user to 'salvage' a revlet from
> a browser cache and thereby continue using it, effectively
> as a free-standing program, when not connected to the internet?
>
> AND;
>
> If this is, at least theoretically possible, is there a way to prevent 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
>
___
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


AVG antivirus version 9 flags Revolution.exe as a Virus

2009-11-02 Thread Alejandro Tejada

Hi all, 

AVG antivirus version 9, flags the archive: 
Revolution.exe (version 2.8.1) as a Virus 
named: Downloader.Swizzor 

This is a false positive, but stil i have not 
found a page to report this to AVG. 

If you know where to report this anomaly, 
please, send them a message about this 
error. 

Thanks in advance. 

Alejandro
-- 
View this message in context: 
http://n4.nabble.com/AVG-antivirus-version-9-flags-Revolution-exe-as-a-Virus-tp360823p360823.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


Off-Line revlets?

2009-11-02 Thread Richmond Mathewson

Maybe another of my goofy questions; not sure.

Is it possible for an end-user to 'salvage' a revlet from
a browser cache and thereby continue using it, effectively
as a free-standing program, when not connected to the internet?

AND;

If this is, at least theoretically possible, is there a way to prevent 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: Where is applications folder on OSX

2009-11-02 Thread Richard Miller

Thanks.


Colin Holgate wrote:


On Nov 2, 2009, at 1:26 PM, Richard Miller wrote:

Is there a simple and reliable way to know where the primary 
Applications folder is under OSX? Is there a specialfolderpath() to it?


The help on specialfolderpath goes into great detail, and also points 
to this handy page:


http://developer.apple.com/legacy/mac/library/documentation/Carbon/Reference/Folder_Manager/Reference/reference.html 



From that you can work out that this will give you the Applications path:

put specialfolderpath("apps")



___
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: Where is applications folder on OSX

2009-11-02 Thread Richard Miller

So just use specialfolderpath("apps")? Is that the right syntax?

Thanks.



Devin Asay wrote:


On Nov 2, 2009, at 11:26 AM, Richard Miller wrote:


Is there a simple and reliable way to know where the primary
Applications folder is under OSX? Is there a specialfolderpath() to it?


Richard,

Ken Ray has worked this all out and posted a great resource page on 
specialfolderpath():


http://www.sonsothunder.com/devres/revolution/tips/file010.htm

Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
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: Where is applications folder on OSX

2009-11-02 Thread Colin Holgate


On Nov 2, 2009, at 1:26 PM, Richard Miller wrote:

Is there a simple and reliable way to know where the primary  
Applications folder is under OSX? Is there a specialfolderpath() to  
it?


The help on specialfolderpath goes into great detail, and also points  
to this handy page:


http://developer.apple.com/legacy/mac/library/documentation/Carbon/Reference/Folder_Manager/Reference/reference.html

From that you can work out that this will give you the Applications  
path:


put specialfolderpath("apps")



___
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: Where is applications folder on OSX

2009-11-02 Thread Devin Asay


On Nov 2, 2009, at 11:26 AM, Richard Miller wrote:


Is there a simple and reliable way to know where the primary
Applications folder is under OSX? Is there a specialfolderpath() to  
it?


Richard,

Ken Ray has worked this all out and posted a great resource page on  
specialfolderpath():


http://www.sonsothunder.com/devres/revolution/tips/file010.htm

Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

___
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


Where is applications folder on OSX

2009-11-02 Thread Richard Miller
Is there a simple and reliable way to know where the primary 
Applications folder is under OSX? Is there a specialfolderpath() to it?


Thanks.
Richard Miller
___
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] Data Tree 0.9.8 beta

2009-11-02 Thread Yves COPPE


Le 2 nov. 09 à 13:59, Steve Checkley a écrit :


Hi all,

I've recently been beavering away on my Data Tree library for  
RunRev, which is a control that delivers platform compliant tree  
views for the Mac and Windows. With this latest version of the beta,  
I think that I'm not too far from launch.


The aim is to make great looking trees that adjust their appearances  
when deployed to both the Mac and to Windows, yet be as easy as  
possible to work with. With the feedback that I've been receiving  
over the last month or so, I think I'm achieving that. The library  
comes with a help manual stack, showcasing what you can do with it.


If you would like to try out the latest beta, you can find a  
download on the Downloads page of my site,  
www.theworcestersource.com . There is no longer any need to register  
with the site first.


Best wishes,




Re,

fantastic


Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: Difference between XP and Vista/7?

2009-11-02 Thread Richard Gaskin

This article from the newsletter may help:


Revolution and Vista: File and Registry Virtualization
by Marcus van Houdt and Ken Ray



--
 Richard Gaskin
 Fourth World
 Rev training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
___
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: Difference between XP and Vista/7?

2009-11-02 Thread Shao Sean
Jack, you should be fine if the application is not in the "Program  
Files" directory (or "Applications" directory on Mac OS X)..

___
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: Difference between XP and Vista/7?

2009-11-02 Thread JACK RARICK
And does this count for any text files being written to the same program 
folder? And ... sorry ... if the program is ran from outside of the program 
folder, on a flash drive for instance - is that allowed in vista/7 and will I 
be able to write a text file there?

Sorry - trying to follow the link with only an XP machine to test on.

Jack Rarick
Braintree Athletic Systems

-Original Message-
From: use-revolution-boun...@lists.runrev.com 
[mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of David Glasgow
Sent: Monday, November 02, 2009 9:37 AM
To: use-revolution@lists.runrev.com
Subject: Re: Difference between XP and Vista/7?


On 2 Nov 2009, at 1:24 pm, Lars Brehmer wrote:

> In newer versions does in mention in the sandalone settings that  
> just adding stacks in Vista / 7 will not allow changes to those  
> stacks?

As far as I can tell about what you are reporting, this is a Vista  
Thing, not  Rev Thing.

In the old pre OS X days, the folder containing an App also tended to  
contain data, docs and whatnot.  All users could run the Apps and  
save data in the enclosing folder.  Apple then bought into the idea  
which had been around for a long time that all Apps should live in  
one place, all data somewhere else (where depending on the sort of  
data it was) - hence the docs folder and app folder.

On Windows it has long been possible for a user to have the privilege  
to run exes, but not write to the folder containing the exe - and in  
these cases ether the save location or the privileges had to change.   
However, XP and earlier were kind of sloppy about this, and it was  
easier to fix privileges on a per user basis than stick to saving  
things where they 'ought' to be.

Vista is not sloppy, but slippery.  Rather than complaining that data  
can't be written, triggering an error or hanging your standalone, it  
will obligingly write your data to somewhere else, and pretend it has  
done what you ask.  Your Rev program has no way of knowing where the  
data has gone, but it sure won't be there when you try to look for it  
later!  What you will find is your original unchanged stack(s).

So, you can save changes to stacks in Vista just don't try to do it  
in the Program directory.  You can have the stacks initially load  
from the program directory, or from a custom property (see Klaus  
Majors recent post Re: Where to place (sub)stacks?) and you can use  
specialfolderpath to save elsewhere after the stacks have been  
changed. Often the script can be made to work the same cross  
platform, although depending on what it is you want to save, you  
might not find an entirely satisfactory place for it to go on Vista,  
and I assume Vista 2.0 errr... I mean Win 7.

David Glasgow

___
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: Difference between XP and Vista/7?

2009-11-02 Thread David Glasgow


On 2 Nov 2009, at 1:24 pm, Lars Brehmer wrote:

In newer versions does in mention in the sandalone settings that  
just adding stacks in Vista / 7 will not allow changes to those  
stacks?


As far as I can tell about what you are reporting, this is a Vista  
Thing, not  Rev Thing.


In the old pre OS X days, the folder containing an App also tended to  
contain data, docs and whatnot.  All users could run the Apps and  
save data in the enclosing folder.  Apple then bought into the idea  
which had been around for a long time that all Apps should live in  
one place, all data somewhere else (where depending on the sort of  
data it was) - hence the docs folder and app folder.


On Windows it has long been possible for a user to have the privilege  
to run exes, but not write to the folder containing the exe - and in  
these cases ether the save location or the privileges had to change.   
However, XP and earlier were kind of sloppy about this, and it was  
easier to fix privileges on a per user basis than stick to saving  
things where they 'ought' to be.


Vista is not sloppy, but slippery.  Rather than complaining that data  
can't be written, triggering an error or hanging your standalone, it  
will obligingly write your data to somewhere else, and pretend it has  
done what you ask.  Your Rev program has no way of knowing where the  
data has gone, but it sure won't be there when you try to look for it  
later!  What you will find is your original unchanged stack(s).


So, you can save changes to stacks in Vista just don't try to do it  
in the Program directory.  You can have the stacks initially load  
from the program directory, or from a custom property (see Klaus  
Majors recent post Re: Where to place (sub)stacks?) and you can use  
specialfolderpath to save elsewhere after the stacks have been  
changed. Often the script can be made to work the same cross  
platform, although depending on what it is you want to save, you  
might not find an entirely satisfactory place for it to go on Vista,  
and I assume Vista 2.0 errr... I mean Win 7.


David Glasgow

___
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: Question about using the embedded browser

2009-11-02 Thread David Coker
- Original Message -
You need to embed the image inline as base64 data..



(note, the square brackets are part of the placeholders and should not  
appear in the final code)

A quick break-down of the syntax

  -- standard html
--


Awesome explanation, thank you so much!
...now time to build a test stack and give it a whirl.

Regards,
David C.

___
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: Question about using the embedded browser

2009-11-02 Thread Shao Sean

You need to embed the image inline as base64 data..



(note, the square brackets are part of the placeholders and should not  
appear in the final code)


A quick break-down of the syntax


[MIMETYPE]  -- mime type of the image (ie. image/png)
;   -- separator
base64  -- encoding method (best to stick with base64 for binary data)
,   -- separator between the 'header' and the 'data' (yes, 
a comma)
[DATA]  -- base64 encoded data for the image
">  -- standard html


___
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] Data Tree 0.9.8 beta

2009-11-02 Thread Rolf Kocherhans

Awesome !


Great Work !

Cheers
Rolf


Am 02.11.2009 um 14:24 schrieb use-revolution-requ...@lists.runrev.com:


Hi all,

I've recently been beavering away on my Data Tree library for RunRev,
which is a control that delivers platform compliant tree views for the
Mac and Windows. With this latest version of the beta, I think that
I'm not too far from launch.

The aim is to make great looking trees that adjust their appearances
when deployed to both the Mac and to Windows, yet be as easy as
possible to work with. With the feedback that I've been receiving over
the last month or so, I think I'm achieving that. The library comes
with a help manual stack, showcasing what you can do with it.

If you would like to try out the latest beta, you can find a download
on the Downloads page of my site, www.theworcestersource.com . There
is no longer any need to register with the site first.

Best wishes,


Steve
www.theworcestersource.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


Question about using the embedded browser

2009-11-02 Thread David Coker
Hello folks,
Obviously it is possible to load the browser with HTML content stored directly 
in the stack, but is it possible to include images stored in the stack? In 
particular, how does one insert an image into the HTML code in a way that the 
browser will look for it as a stack resource?

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


[ANN] Data Tree 0.9.8 beta

2009-11-02 Thread Steve Checkley

Hi all,

I've recently been beavering away on my Data Tree library for RunRev,  
which is a control that delivers platform compliant tree views for the  
Mac and Windows. With this latest version of the beta, I think that  
I'm not too far from launch.


The aim is to make great looking trees that adjust their appearances  
when deployed to both the Mac and to Windows, yet be as easy as  
possible to work with. With the feedback that I've been receiving over  
the last month or so, I think I'm achieving that. The library comes  
with a help manual stack, showcasing what you can do with it.


If you would like to try out the latest beta, you can find a download  
on the Downloads page of my site, www.theworcestersource.com . There  
is no longer any need to register with the site first.


Best wishes,


Steve
www.theworcestersource.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: RevWeb "ask" not working on my end

2009-11-02 Thread David Coker

Richard Miller wrote:
Can anyone get an Ask dialog box to work through revweb in a browser? 
Tried on XP without success.

Hello Richard,
I built a small stack on my Vista machine and yep, it appears to be 
broken at the moment.


Regards,
David C.
___
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


RevWeb "ask" not working on my end

2009-11-02 Thread Richard Miller
Can anyone get an Ask dialog box to work through revweb in a browser? 
Tried on XP without success.


Thanks.
Richard Miller
___
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: Difference between XP and Vista/7?

2009-11-02 Thread Tiemo Hollmann TB
...add:

Probably you now have understood, why it is working, when you host your file
on the desktop - because it is not the program dir

The paradigm of runrev hasn't changed. It's not a matter of rev, so you
won't find anything in the docs. It is a matter of the system. You have
never had the rights to update a rev stack in a dir, without the user
permissions on that dir. That was always ever, since the beginning. The only
thing what has changed, as we already pointed out, is that MS has changed
his paradigm, how to handle user rights on the program dir and others...

HTH
Tiemo

> -Ursprüngliche Nachricht-
> Von: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
> boun...@lists.runrev.com] Im Auftrag von Tiemo Hollmann TB
> Gesendet: Montag, 2. November 2009 11:33
> An: 'How to use Revolution'
> Betreff: AW: Difference between XP and Vista/7?
> 
> Hi Lars,
> 
> As Scott as said, from the system side, everything is said already.
> I think you have to deal with techniques, how to handle an app with
> different files at different locations, so that you can update your files,
> what you can't, if you store them in the program dir. You have to say
> goodbye to your technique of a one file standalone or a standalone at one
> place. For storing datas, which can be changed by the user there are a lot
> of different approaches. If you are using just another stack file or XML
> file or databases, or whatever, the common thing is the place where to
> store
> these updatable files, and that is what we have pointed to in the past
> posts. There are also a lot of threads to these topics.
> Tiemo
> 
> > -Ursprüngliche Nachricht-
> > Von: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
> > boun...@lists.runrev.com] Im Auftrag von Scott Morrow
> > Gesendet: Montag, 2. November 2009 09:59
> > An: How to use Revolution
> > Betreff: Re: Difference between XP and Vista/7?
> >
> > Hello Lars,
> >
> > Nothing new here, just another way of phrasing it. The previous posts
> > have pointed out the importance of putting your writable files outside
> > of the Programs folder and into a folder that the user has permission
> > to write to.  Under XP many (though not all) users and applications
> > had permission to write to the Programs folder but under Vista the
> > default setting is that they can't.
> >
> > On the Mac it is actually quite similar.  While many home users DO
> > have permission to write to the Applications folder, this is not
> > always the case.  Under managed user accounts (very common in business
> > or education settings where IT manages the machines) the primary user
> > may NOT be the administrator and so may not have write privileges to
> > the Applications folder.  One approach is to have the "Splash.app"
> > start by making sure that there is a copy of the writable files in the
> > user's  < Library/Application Support > folder.  If the files aren't
> > there, it copies these files out of the Applications folder and into
> > the user's writable directory before loading them.
> >
> > Scott Morrow
> >
> > Elementary Software
> > (Now with 20% less chalk dust!)
> > web   http://elementarysoftware.com/
> > email sc...@elementarysoftware.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


AW: Difference between XP and Vista/7?

2009-11-02 Thread Tiemo Hollmann TB
Hi Lars,

As Scott as said, from the system side, everything is said already.
I think you have to deal with techniques, how to handle an app with
different files at different locations, so that you can update your files,
what you can't, if you store them in the program dir. You have to say
goodbye to your technique of a one file standalone or a standalone at one
place. For storing datas, which can be changed by the user there are a lot
of different approaches. If you are using just another stack file or XML
file or databases, or whatever, the common thing is the place where to store
these updatable files, and that is what we have pointed to in the past
posts. There are also a lot of threads to these topics.
Tiemo

> -Ursprüngliche Nachricht-
> Von: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
> boun...@lists.runrev.com] Im Auftrag von Scott Morrow
> Gesendet: Montag, 2. November 2009 09:59
> An: How to use Revolution
> Betreff: Re: Difference between XP and Vista/7?
> 
> Hello Lars,
> 
> Nothing new here, just another way of phrasing it. The previous posts
> have pointed out the importance of putting your writable files outside
> of the Programs folder and into a folder that the user has permission
> to write to.  Under XP many (though not all) users and applications
> had permission to write to the Programs folder but under Vista the
> default setting is that they can't.
> 
> On the Mac it is actually quite similar.  While many home users DO
> have permission to write to the Applications folder, this is not
> always the case.  Under managed user accounts (very common in business
> or education settings where IT manages the machines) the primary user
> may NOT be the administrator and so may not have write privileges to
> the Applications folder.  One approach is to have the "Splash.app"
> start by making sure that there is a copy of the writable files in the
> user's  < Library/Application Support > folder.  If the files aren't
> there, it copies these files out of the Applications folder and into
> the user's writable directory before loading them.
> 
> Scott Morrow
> 
> Elementary Software
> (Now with 20% less chalk dust!)
> web   http://elementarysoftware.com/
> email sc...@elementarysoftware.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: How do I check which field has the focus on / is active?

2009-11-02 Thread Sarah Reichelt
Hope your tooth is better now.

I think you need to use both solutions.
Jan suggests setting the button's traversalOn to false so that it
doesn't become the focusedObject when clicked.
Klaus points out that you need to use the short name of the
selectedField for your current script to work.

If you put both these solutions together, then I think it should work,
but if not, please post more details and we can trya gain.

Cheers,
Sarah


On Fri, Oct 30, 2009 at 11:37 PM, William de Smet
 wrote:
> Hi Jan & Klaus,
>
> None of your answers works for me :-)
> Must be something else then that is bugging me.
> Could be the dentist! Got to go there within the hour because of an
> awful toothache.
>
> to be continued
>
> Greetings,
>
> William
>
> 2009/10/30 Klaus Major :
>> Hi William,
>>
>>> Hi there all,
>>>
>>> How do I check which has the focus on / is the active one?
>>> When I use: 'answer the selectedField' it shows me the correct field
>>> but when I put the next code into a button it doesn't work anymore:
>>> --
>>> on mouseUp
>>> put the name of the selectedField into tData
>>>
>>> if tData = "number1"
>>> then send mouseup to btn "check"
>>> ...
>>> end mouseUp
>>
>> ...
>> put the name of the selectedField into tData
>> ...
>>
>> If you look at the content of the variable "tDate" you will see something
>> like this:
>> FIELD "Name of field here..."
>> !!!
>>
>> So if you change the line to:
>> ...
>> put the SHORT name of the selectedField into tData
>> ...
>> your script will run as exspected :-)
>>
>>> --
>>> Thanks!
>>> Greetings, William
>>
>> Best
>>
>> Klaus
>>
>> --
>> Klaus Major
>> http://www.major-k.de
>> kl...@major.on-rev.com
>>
>> ___
>> use-revolution mailing list
>> use-revolution@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: on-rev.com Perl recipe

2009-11-02 Thread Sarah Reichelt
> So - any time I have a problem on on-rev, first thing I do is look at the
> line endings ...

I have to say that the On-Rev client and the On-Rev server both do a
brilliant job of eliminating the line ending problems that plague
standard CGI development.
However if you use Perl scripts or any other CGI scripts, then this
will be an issue.

For Mac users, I recommend TextWrangler (the free version of BBEdit).
If you choose Options while saving, you can specify the type of line
endings to use.

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


Re: Difference between XP and Vista/7?

2009-11-02 Thread Scott Morrow

Hello Lars,

Nothing new here, just another way of phrasing it. The previous posts  
have pointed out the importance of putting your writable files outside  
of the Programs folder and into a folder that the user has permission  
to write to.  Under XP many (though not all) users and applications  
had permission to write to the Programs folder but under Vista the  
default setting is that they can't.


On the Mac it is actually quite similar.  While many home users DO  
have permission to write to the Applications folder, this is not  
always the case.  Under managed user accounts (very common in business  
or education settings where IT manages the machines) the primary user  
may NOT be the administrator and so may not have write privileges to  
the Applications folder.  One approach is to have the "Splash.app"  
start by making sure that there is a copy of the writable files in the  
user's  < Library/Application Support > folder.  If the files aren't  
there, it copies these files out of the Applications folder and into  
the user's writable directory before loading them.


Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   http://elementarysoftware.com/
email sc...@elementarysoftware.com
--




On Nov 1, 2009, at 1:02 PM, Lars Brehmer wrote:


Thanks Shao & Tiemo for the replies!

I guess I didn't make myself very clear, or I don't completely  
understand your suggestions, which is of course very likely, as I am  
one of those weird Mac-based Rev users who only understand Macs and  
Rev and not much else, and certainly nothing about Windows.


In the Rev IDE I have a stack - let's call it "splashScreen" that  
becomes the standalone application. There are also stacks "myData",  
"theApp", "appGraphics" and a couple of others. When I set the  
standalone application settings for the stack "splashScreen", in the  
stacks pane I then add the stacks "myData", "theApp" and  
"appGraphics" and the others. This gives me a standalone with  
the .exe and the added stacks in the program folder (Windows) or the  
application > Package > Contents > MacOS  (OSX). All very basic.  
When the application opens, it opens the added stacks, which in my  
simple understanding ARE the program, that is, what the user  
actually uses. The splash screen app is just a construction to allow  
changes to the "actual" program stacks. I learned this 5 years ago  
from this very list and have been doing it this way ever since.  
There are hundreds of posts in the rev digest suggesting this -  
changes in a standalone application cannot be saved so make a splash  
screen the actual application and include the other stacks that  
might need to accept changes. So just now I found out the when I run  
the application "splashScreen" in Vista / 7 and want to do this;


set the whatEver of stack "myData" to true
save stack "myData"

it isn't saved. But it isn't saved only when the application is  
installed via the installer I made with Inno. If the program folder  
is just sitting on the desktop, it does work as expected.


Shao Sean wrote:

While most systems are pretty relaxed about it, if the user trying  
to use your software does not  have privileges to modify the  
content of the directory your scheme stops working..



I have to say I don't understand this, but my natural question is  
how do you give the user such priveleges? Is it even possible?


further;

In Vista (and I am assuming Windows 7) there is the lovely virtual  
store which might be happening with your code seeing as it works  
when on the desktop but not installed in the Program Files  
directory.. Try saving your license stack to a safe folder  
(appdata) and see if that  works better for you..


I assume by "license stack " you mean what I called "myData". So how  
do I do this? How can I get that stack out of the program folder and  
into the Program Data folder? This question clearly shows how little  
I know and how dependent I am on the simplicity of RunRev - my  
standalones are 100% self contained - no databases, no writing to  
external files - just rev stacks and custom properties. Which al  
worked perfectly until Vista/7.


Tiemo wrote;

as Shao already pointed out, you may not write / update to the  
program dir,as far, as you haven't given full access for a normal  
user to your sub dir. The installer (inno) gets from vista once  
admin persmissions because of the name of the setup to allow him to  
write to the program dir. But your standalone may not.


again, how do I give that access to a user if it is at all possible?

The problem for people like me is that what worked in MacOS, OSX and  
every version of Windows throught XP sp3 suddenly doesn't work  
anymore. And no mention by RunRev that saving changes to stacks  
included in the standalone no longer works, at least no mention that  
I have ever seen. I have been reading this digest for 5 years now  
for the gr