Re: revOpenDatabase on Linux - works in IDE, broken in standalone - how do I fix?

2009-01-12 Thread Riccardo

Hi Ben

In standalone settings you have to unselect the search for required  
inclusions ... option and so you have to select the select  
inclusions ... option. Then you check the database support and you  
select all the drivers. You have to select the other libraries too.



Riccardo
Inviato da iPhone

Il giorno 11/gen/09, alle ore 18:20, Ben Rubinstein b...@cogapp.com  
ha scritto:



Riccardo,

Thanks for your reply - can you give me any more details?  If I  
uncheck the database inclusions in the standalone, what do I then  
need to do manually in order to enable revOpenDatabase?


Many thanks,

Ben

Riccardo wrote:
You can try not use the automatic inclusion of the library in the  
standalone settings. I have solved in this way the same problem  
with mysql.

Riccardo
Inviato da iPhone
Il giorno 09/gen/09, alle ore 17:22, Ben Rubinstein benr...@cogapp.com 
 ha scritto:
Accessing PostgreSQL database on Linux.  Works in IDE; using  
standalone,
throws error in revOpenDatabase. (219: Function: error in function  
handler).


Works in both 2.9 and 3.0 in IDE; fails in standalone built from  
either.


Looking at the Externals folder of the standalone, in both I get:

 revxml.so
 [database_drivers]
 dbmysql.so
 dbodbc.so
 dbpostgresql.so

Whereas looking at the actual Rev installation (ie 2.9.0-gm-1 or
3.0.0-gm-3) the Externals folder looks like this:

 Externals.txt
 revdb.so
 revxml.so
 revzip.so
 [database_drivers]
 dbmysql.so
 dbodbc.so
 dbpostgresql.so

So I copied the extra .so files, and the Externals.txt file, over  
to the

standalone installation - that didn't fix it.

Please help!

TIA,

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


Any idea for a workaround of a brush tool crash?

2009-01-12 Thread Tiemo Hollmann TB
Hello,

I am a little bit at a loss of this nasty crash scenario. I have a substack
with an image, where the user can paint with the brush tool within this
image of the substack. Everything works fine, so far, as you leave the
window of the substack with pressed mousebutton (brush). Now Rev crashes,
the IDE as well as a standalone. No fall back to an script error or
something like that, just a plain crash (Rev has encountered some
problems.). Btw. When leaving the image and substack with a not pressed
mousebutton, I change the tool automatically to the browse tool and that
works fine.

I am looking for any workaround, to capture this situation, like changing
the brush tool back to browse tool, when leaving the substack, but don't
find any approach. Testing for mouseleave or mousewithin fails, because they
are not triggered with a pressed mousebutton.

Has anybody any idea for another approach, how I could trigger, if the mouse
is leaving the image or stack with a pressed mousebutton, to switch the tool
back to browse tool? - In the hope that this will be a workaround for the
Rev crash?

Anny hint very welcome

Tiemo

 

 

 

 

___
use-revolution mailing list
use-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: revOpenDatabase on Linux - works in IDE, broken in standalone - how do I fix?

2009-01-12 Thread Ben Rubinstein


Ah, I see what you mean now - unfortunately this is already what I do.  But 
good to know that you've at least got MySQL working in standalones on Linux.


thanks,

Ben

Riccardo wrote:

Hi Ben

In standalone settings you have to unselect the search for required 
inclusions ... option and so you have to select the select inclusions 
... option. Then you check the database support and you select all the 
drivers. You have to select the other libraries too.



Riccardo
Inviato da iPhone

Il giorno 11/gen/09, alle ore 18:20, Ben Rubinstein b...@cogapp.com ha 
scritto:



Riccardo,

Thanks for your reply - can you give me any more details?  If I 
uncheck the database inclusions in the standalone, what do I then need 
to do manually in order to enable revOpenDatabase?


Many thanks,

Ben

Riccardo wrote:
You can try not use the automatic inclusion of the library in the 
standalone settings. I have solved in this way the same problem with 
mysql.

Riccardo
Inviato da iPhone
Il giorno 09/gen/09, alle ore 17:22, Ben Rubinstein 
benr...@cogapp.com ha scritto:
Accessing PostgreSQL database on Linux.  Works in IDE; using 
standalone,
throws error in revOpenDatabase. (219: Function: error in function 
handler).


Works in both 2.9 and 3.0 in IDE; fails in standalone built from 
either.


Looking at the Externals folder of the standalone, in both I get:

 revxml.so
 [database_drivers]
 dbmysql.so
 dbodbc.so
 dbpostgresql.so

Whereas looking at the actual Rev installation (ie 2.9.0-gm-1 or
3.0.0-gm-3) the Externals folder looks like this:

 Externals.txt
 revdb.so
 revxml.so
 revzip.so
 [database_drivers]
 dbmysql.so
 dbodbc.so
 dbpostgresql.so

So I copied the extra .so files, and the Externals.txt file, over to 
the

standalone installation - that didn't fix it.

Please help!

TIA,

- 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


cipherNames, Encrypt and Decrypt

2009-01-12 Thread Dave

Hi All,

I have a need to encrypt some data before sending it to a server. I  
looked at the encrypt and decrypt documentation but don't understand  
how to make it work. There is a property called ciptherNames which  
is supposed to contain a list of ciphers. However, when I do the  
following:


put the ciphersNames

in the message box, I just get an empty string returned,

Is there any further information on how to use these functions? The  
application need to run under MacOS X 10.4 and 10.5. Some sample code  
would be brilliant!


Thanks a lot
All the Best
Dave


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


Re: the focusedObject

2009-01-12 Thread william humphrey
It's funny. I read all the emails in this list and must learn something but
when it is a problem I'm working on and then you guys answer I really do
learn something.
I like the idea of trapping the close field (you got the idea -- I'm
trying to run the next code call without the user having to reach for the
mouse) and it will probably be faster as I've noticed that trapping for the
return introduces a processing delay.

Thanks for the suggestion. I think it will work better and I just have to
make sure that a field is open first, as I was thinking a return could be
trapped even when a field wasn't open but you're idea is so much better for
the other reasons that you've pointed out.

Thanks

On Sun, Jan 11, 2009 at 11:07 PM, J. Landman Gay
jac...@hyperactivesw.comwrote:

 william humphrey wrote:

  When I hit a return key in field id 1045 it sends returnkey,  what I'm
 trying to do is send returnkey no matter what field the cursor is in
 except for field id 1045 which has more then one line and which needs to
 allow returns.


 It looks like you want to execute a handler when the field is closed, and
 you are trying to trap returnkey messages to figure that out. If that's the
 case, then I'd do this instead:

 1. Set every relevant field to use the autotab property. This lets the
 engine figure out for you when the user has typed a return. The advantage
 here is that any number of returns in longer fields are allowed; only a
 return key that would cause the text to drop below the bottom of the field
 are disallowed.

 2. Size each field to show exactly how many lines you'll allow.

 3. Change your returnkey handler to a closefield handler. Every time the
 user types return (or tab) to leave the field, a closefield will trigger.

 If the longer field needs to be a scrolling field to allow more text, then
 you can put an empty closefield handler in that particular field's script to
 block the message so that the card (or stack) script closefield handler
 doesn't catch it.

 If I've misinterpreted what you need to do, then just ignore all this. :)

 http://www.bluewatermaritime.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: cipherNames, Encrypt and Decrypt

2009-01-12 Thread Mark Schonewille

Dave,

There is a type in your line put the ciphersNames, but that would  
cause an error rather than return an empty string.


Which license do you have? Encryption works with Entrprise only.

I have uploaded a very simple encryption example to RevOnline, user  
name Mark.


Do you decrypt the data on the server with Rev CGI?

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum

We are always looking for new projects! Feel free to contact us to  
discuss your custom software project!


On 12 jan 2009, at 12:57, Dave wrote:


Hi All,

I have a need to encrypt some data before sending it to a server. I  
looked at the encrypt and decrypt documentation but don't understand  
how to make it work. There is a property called ciptherNames which  
is supposed to contain a list of ciphers. However, when I do the  
following:


put the ciphersNames

in the message box, I just get an empty string returned,

Is there any further information on how to use these functions? The  
application need to run under MacOS X 10.4 and 10.5. Some sample  
code would be brilliant!


Thanks a lot
All the Best
Dave


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


AW: Any idea for a workaround of a brush tool crash?

2009-01-12 Thread Tiemo Hollmann TB
Update:
The problem doesn't seems to be the brush tool. I created a fresh main and
substack for testing and there the error doesn't appear. So the problem must
be somewhere else in my scripts doing something weird. I have to dig deeper.
Thanks
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, 12. Januar 2009 10:59
 An: 'How to use Revolution'
 Betreff: Any idea for a workaround of a brush tool crash?
 
 Hello,
 
 I am a little bit at a loss of this nasty crash scenario. I have a
 substack
 with an image, where the user can paint with the brush tool within this
 image of the substack. Everything works fine, so far, as you leave the
 window of the substack with pressed mousebutton (brush). Now Rev crashes,
 the IDE as well as a standalone. No fall back to an script error or
 something like that, just a plain crash (Rev has encountered some
 problems.). Btw. When leaving the image and substack with a not pressed
 mousebutton, I change the tool automatically to the browse tool and that
 works fine.
 
 I am looking for any workaround, to capture this situation, like changing
 the brush tool back to browse tool, when leaving the substack, but don't
 find any approach. Testing for mouseleave or mousewithin fails, because
 they
 are not triggered with a pressed mousebutton.
 
 Has anybody any idea for another approach, how I could trigger, if the
 mouse
 is leaving the image or stack with a pressed mousebutton, to switch the
 tool
 back to browse tool? - In the hope that this will be a workaround for the
 Rev crash?
 
 Anny hint very welcome
 
 Tiemo
 
 
 
 
 
 
 
 
 
 ___
 use-revolution mailing list
 use-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: cipherNames, Encrypt and Decrypt

2009-01-12 Thread Eric Chatonet

Bonjour Dave,

Just two thoughts:
1. You misspelled cipherNames (adding a 's').
2. You need Rev Enterprise to access encryption.

Le 12 janv. 09 à 12:57, Dave a écrit :

I have a need to encrypt some data before sending it to a server. I  
looked at the encrypt and decrypt documentation but don't  
understand how to make it work. There is a property called  
ciptherNames which is supposed to contain a list of ciphers.  
However, when I do the following:


put the ciphersNames

in the message box, I just get an empty string returned,

Is there any further information on how to use these functions? The  
application need to run under MacOS X 10.4 and 10.5. Some sample  
code would be brilliant!


Best regards from Paris,
Eric Chatonet.

ListMagic, plugins and tutorials for Revolution: http:// 
www.sosmartsoftware.com/

Email: eric.chato...@sosmartsoftware.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: cipherNames, Encrypt and Decrypt

2009-01-12 Thread Dave

HI,

Thanks for this! Is there really no way to en/de-crypt a string of  
data in RunRev studio??


I guess I could ways write an External Command to do it??? Is there  
one available already?


All the Best
Dave


On 12 Jan 2009, at 13:38, Eric Chatonet wrote:


Bonjour Dave,

Just two thoughts:
1. You misspelled cipherNames (adding a 's').
2. You need Rev Enterprise to access encryption.

Le 12 janv. 09 à 12:57, Dave a écrit :

I have a need to encrypt some data before sending it to a server.  
I looked at the encrypt and decrypt documentation but don't  
understand how to make it work. There is a property called  
ciptherNames which is supposed to contain a list of ciphers.  
However, when I do the following:


put the ciphersNames

in the message box, I just get an empty string returned,

Is there any further information on how to use these functions?  
The application need to run under MacOS X 10.4 and 10.5. Some  
sample code would be brilliant!


Best regards from Paris,
Eric Chatonet.

ListMagic, plugins and tutorials for Revolution: http:// 
www.sosmartsoftware.com/

Email: eric.chato...@sosmartsoftware.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


unicode in ask and answer

2009-01-12 Thread viktoras d.
Thanks to all who replied to my [OT] post, - Sara, Luis ! Now, back to 
Revolution, I am trying to ask and answer something with unicode 
characters and it displays everything (sticks, broken corners and empty 
spaces) except for the characters I need... Is there any way to put 
unicode text in ask and answer dialogues so it does not get damaged?


Best wishes!
Viktoras
___
use-revolution mailing list
use-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: cipherNames, Encrypt and Decrypt

2009-01-12 Thread Mark Schonewille

Hi Dave,

If it doesn't have to be as sophisticated as blowfish --or if you want  
to put a lot of effort into it-- you can write your own encryption  
funciton. For a client of Economy-x-Talk, I made a simple encryption/ 
decryption function, which is easily portable to other programming  
languages and doesn't need Enterprise.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum

We are always looking for new projects! Feel free to contact us to  
discuss your custom software project!


On 12 jan 2009, at 14:59, Dave wrote:


HI,

Thanks for this! Is there really no way to en/de-crypt a string of  
data in RunRev studio??


I guess I could ways write an External Command to do it??? Is there  
one available already?


All the Best
Dave


On 12 Jan 2009, at 13:38, Eric Chatonet wrote:


Bonjour Dave,

Just two thoughts:
1. You misspelled cipherNames (adding a 's').
2. You need Rev Enterprise to access encryption.

Le 12 janv. 09 à 12:57, Dave a écrit :

I have a need to encrypt some data before sending it to a server.  
I looked at the encrypt and decrypt documentation but don't  
understand how to make it work. There is a property called  
ciptherNames which is supposed to contain a list of ciphers.  
However, when I do the following:


put the ciphersNames

in the message box, I just get an empty string returned,

Is there any further information on how to use these functions?  
The application need to run under MacOS X 10.4 and 10.5. Some  
sample code would be brilliant!



___
use-revolution mailing list
use-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: unicode in ask and answer

2009-01-12 Thread Mark Schonewille

Hi Viktoras,

Set the unicodeText of a field to your unicode string and use the  
htmlText of that field for the answer/ask prompt.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum

We are always looking for new projects! Feel free to contact us to  
discuss your custom software project!


On 12 jan 2009, at 15:04, viktoras d. wrote:

Thanks to all who replied to my [OT] post, - Sara, Luis ! Now, back  
to Revolution, I am trying to ask and answer something with unicode  
characters and it displays everything (sticks, broken corners and  
empty spaces) except for the characters I need... Is there any way  
to put unicode text in ask and answer dialogues so it does not get  
damaged?


Best wishes!
Viktoras


___
use-revolution mailing list
use-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: cipherNames, Encrypt and Decrypt

2009-01-12 Thread Mark Smith
Dave, I've done an RC4 implementation, though it might be a bit slow  
on big chunks of data - http://futsoft.futilism.com/revolutionstuff.html


Also, you might look into what's available on the command line -  
openSSL, perhaps.


Best,

Mark

On 12 Jan 2009, at 13:59, Dave wrote:


HI,

Thanks for this! Is there really no way to en/de-crypt a string of  
data in RunRev studio??


I guess I could ways write an External Command to do it??? Is there  
one available already?


All the Best
Dave


On 12 Jan 2009, at 13:38, Eric Chatonet wrote:


Bonjour Dave,

Just two thoughts:
1. You misspelled cipherNames (adding a 's').
2. You need Rev Enterprise to access encryption.

Le 12 janv. 09 à 12:57, Dave a écrit :

I have a need to encrypt some data before sending it to a server.  
I looked at the encrypt and decrypt documentation but don't  
understand how to make it work. There is a property called  
ciptherNames which is supposed to contain a list of ciphers.  
However, when I do the following:


put the ciphersNames

in the message box, I just get an empty string returned,

Is there any further information on how to use these functions?  
The application need to run under MacOS X 10.4 and 10.5. Some  
sample code would be brilliant!


Best regards from Paris,
Eric Chatonet.

ListMagic, plugins and tutorials for Revolution: http:// 
www.sosmartsoftware.com/

Email: eric.chato...@sosmartsoftware.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


AW: Any idea for a workaround of a brush tool crash? - Solved

2009-01-12 Thread Tiemo Hollmann TB
... it was a bad combination of the brush tool with mousedown leaving the
window and a set the cursor to arrow, which wasn't needed anyway at
another issue.
Thanks
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, 12. Januar 2009 14:22
 An: 'How to use Revolution'
 Betreff: AW: Any idea for a workaround of a brush tool crash?
 
 Update:
 The problem doesn't seems to be the brush tool. I created a fresh main and
 substack for testing and there the error doesn't appear. So the problem
 must
 be somewhere else in my scripts doing something weird. I have to dig
 deeper.
 Thanks
 Tiemo


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


New on this list

2009-01-12 Thread Adri
Hi,


I'm a Mac user since november 2006 and with the magazine MacFormat
came Revolution Media 3.0 with a free full license.


The first thing i did after installing RM was taking a peek at the tutorial
movies on the rev-site. Even after installing the video codec on my mac osx
10.5 i still can't see them (only audio)  :(

So i went back to my pc where i could watch them.


Second thing i did was joining this list, and looking thru the archive i saw
that there is a lot of knowledge here. So if i have any questions i know
where to go  :)


And now back to the manuals and tutorial movies and learn about Revolution
Media and creating my first stack.



c'ya Adri
___
use-revolution mailing list
use-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: unicode in ask and answer

2009-01-12 Thread Jim Sims


On Jan 12, 2009, at 3:20 PM, Mark Schonewille wrote:

Set the unicodeText of a field to your unicode string and use the  
htmlText of that field for the answer/ask prompt.


Just curious, I noticed that you did not include a font. Does the  
unicodeText

take care of that?  Does the htmlText take care of that? Not needed?


sims

s...@ezpzapps.com
Skype:   sims.jim
iChat:   techietours
__
Opportunity by Design




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


Re: Scrolling to a line in a field

2009-01-12 Thread Devin Asay


On Jan 11, 2009, at 5:15 PM, David Bovill wrote:

I have this old command - and just found that it is not accurate for  
a field

of text with large line numbers. Can anyone make it more accurate?

on field_ScrollToLine lineNum, fieldObject
   -- does not seem accurate for large line numbers (it's an  
underestimate)

???

   if lineNum = 0 then
   put 0 into someScroll
   else if lineNum is a number then
   put the effective textheight of fieldObject into lineHeight
   put ((lineNum - 1) * lineHeight) * the height of fieldObject  
into

someScroll
   end if
   set the scroll of fieldObject to someScroll
end field_ScrollToLine
___


David,

Could it be that the fixedLineHeight is off? That would mess up a  
handler like this if there were varying sizes of text in the field.


As an alternative, I have simply used 'select line lineNum' in list  
fields and the engine will automatically scroll to that line.


Regards,

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


Re: unicode in ask and answer

2009-01-12 Thread Devin Asay


On Jan 12, 2009, at 8:02 AM, Jim Sims wrote:



On Jan 12, 2009, at 3:20 PM, Mark Schonewille wrote:


Set the unicodeText of a field to your unicode string and use the
htmlText of that field for the answer/ask prompt.


Just curious, I noticed that you did not include a font. Does the
unicodeText
take care of that?  Does the htmlText take care of that? Not needed?


When you set the unicodeText of a field the OS is supposed to find a  
suitable font to display the unicode. However, the automatic choice is  
not always the most desirable visually, and you may have to experiment  
to find a font you want, and set the textFont of the target field  
before setting the unicodeText of the field.


I can also second Mark's comment--the only way to show unicode text in  
an ask/answer dialog is to use unicode entities in html text.


shameless plug
I discussed both of these issues in my article on Unicode in the last  
RevUp newsletter. See http://www.runrev.com/newsletter/december/issue62/newsletter2.php

/shameless plug

Regards,

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


Converting from Exponential Form

2009-01-12 Thread Dave

Hi All,

I need to convert a string that is in Exponential Form into a  it's  
normalized decimal equivalent, e.g.


I have the string 1.0139648E+9 and I'd like to convert it to:

1013964800

Any ideas on how I can easily do this?

Thanks in Advance
All the Best
Dave


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


Re: unicode in ask and answer

2009-01-12 Thread Mark Schonewille

Hi Sims,

Normally, you shouldn't have to specify a font for unicode, as long as  
the default font contains the glyph you want to use. If the default  
font doesn't have this glyph, you need to specify the font explicitly.  
There are still a few bugs in Revolution that make this a little  
problematic and you always need to test to make sure that unicode  
works in Revolution.


Regarding HTML, a default font with no font styles and colours should  
work without a hassle, but if you are using a special font and styled  
text, you will need to test. Font information is usually included with  
the htmlText. If you are creating an HTML file for a web site, you may  
need to add encoding information in the meta headers.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum

We are always looking for new projects! Feel free to contact us to  
discuss your custom software project!


On 12 jan 2009, at 16:02, Jim Sims wrote:




Just curious, I noticed that you did not include a font. Does the  
unicodeText

take care of that?  Does the htmlText take care of that? Not needed?



___
use-revolution mailing list
use-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: the focusedObject

2009-01-12 Thread J. Landman Gay

william humphrey wrote:

It's funny. I read all the emails in this list and must learn something but
when it is a problem I'm working on and then you guys answer I really do
learn something.


I know exactly what you mean. I think it happens to all of us.


I like the idea of trapping the close field (you got the idea -- I'm
trying to run the next code call without the user having to reach for the
mouse) and it will probably be faster as I've noticed that trapping for the
return introduces a processing delay.


I should probably mention that a closeField message won't be sent if the 
user doesn't change the text of the field when they leave it. If you 
only need to run your handler when the text changes, then trapping 
closefield is enough. But if you want something to happen no matter how 
the user leaves the field, then you'll also want to trap the exitField 
message. That message is sent instead of closeField when the cursor 
leaves the field but the text hasn't changed.


--
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: Converting from Exponential Form

2009-01-12 Thread Thierry


Le 12 janv. 09 à 16:49, Dave a écrit :


1.0139648E+9



try this one :

 put 1.0139648E+9 into  x
 put x * 1

Does it works ?

Regards,
Thierry

___
use-revolution mailing list
use-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 click the mouse on another application

2009-01-12 Thread Generic Email
I have emailed my external requirements to this list, altuit.com,  
swcp.com, and hyperactive software, and I have recieved 0 replies.


Is this normal? Am I doing something wrong?

Any advice would be appreciated.

Bert

On Jan 9, 2009, at 2:04 PM, Generic Email wrote:

I believe these are my requirements. Would anyone like to send me an  
estimate?


Please provide an estimate and timeline for developing software  
based on these requirements.


1) All rights for software developed and work products created as a  
result of this work become property of the client (me)
2) Software is to me implemented as a Runtime Revolution (RunRev)  
external
3) Software can be distributed as one single external file in a  
RunRev distribution.

4) Software must support Win32, Linux and Mac OS X
5) Must trap and report errors correctly.
6) function ScreenClick(button, h, v) as string
button can be Primary Secondary Left Right Middle
h is the horizontal screen location
v is the vertical screen location
the return value is the name of the application that was clicked on,  
or empty if there was an error

7) function ScreenKeys(text, h, v) as string
text can be a series of keys to send, including key combinations  
like Alt-S and Alt-F4

h is the horizontal screen location
v is the vertical screen location
the return value is the name of the application that was clicked on,  
or empty if there was an error

8) function ScreenDrag(button, starth, startv, endh, endv) as string
button can be Primary Secondary Left Right Middle
starth is the horizontal screen location of the drag start
startv is the vertical screen location of the drag start
endh is the horizontal screen location of the drag end
endv is the vertical screen location of the drag end
the return value is the name of the application that the drag  
started on, a return, then the name of the application the drag  
finished on, or empty if there was an error


If there is a better way to request an estimate for the creation of  
an external, of if I am making any mistakes in my request, please  
let me know.


On Jan 9, 2009, at 1:44 PM, Bernard Devlin wrote:

I believe that I have done this before on Windows using VBScript  
(although
in my case I had to start the other application from Rev).  After  
the other
app was started I needed to click on some menus, then close it all  
via

VBScript).

If that sounds like what you need to do, then let me know and I'll  
hunt out

the code.

Bernard

On Thu, Jan 8, 2009 at 7:23 PM, Generic Email generic.email.30...@gmail.com

wrote:



I am using:
set the screenMouseLoc to (h,v)

to move the mouse over a button on another application.

Now I need to Click the mouse.

The transcript click function does not seem to actually click the  
mouse,

but instead simulate a mouse click only in a rev stack.

Any help would be appreciated.

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


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

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




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


Re: Rev on Ubuntu

2009-01-12 Thread Ken Ray
 Well, I've been thinking about tinkering with Linux + Revolution for a
 while and recently ran into an old friend who's a big Linux fan. He
 recommended that I install Ubuntu (I'm using Parallels on an Intel iMac)
 and the K Desktop Environment. I haver successfully installed Ubuntu but
 thought I'd ask here about KDE. I want to try some Rev projects on Linux
 and  wondered what folks here would recommend. I've been a Mac guys
 since the 80s and know absolutely nothing about Linux. Any
 recommendations for me?

If you're talking about Rev projects that work in Linux, don't forget that
StackRunner has a Linux version that will allow you to let other people try
out stacks without you having to build separate standalones. (If you don't
have the URL, a Google search should show it as the first hit.)

As to *content* that runs in Linux, I'd assume you could DL anything from
RevOnline, but perhaps there are others here that have some content tweaked
for or targeting Linux that they could mention.

Ken Ray
Sons of Thunder Software, Inc.
Email: k...@sonsothunder.com
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: New on this list

2009-01-12 Thread Paul Looney

Adri,
Welcome aboard, look forward to a fun trip!
Paul Looney (Mac user since 1983 ;-)   )

On Jan 12, 2009, at 6:58 AM, Adri wrote:


Hi,


I'm a Mac user since november 2006 and with the magazine MacFormat
came Revolution Media 3.0 with a free full license.


The first thing i did after installing RM was taking a peek at the  
tutorial
movies on the rev-site. Even after installing the video codec on my  
mac osx

10.5 i still can't see them (only audio)  :(

So i went back to my pc where i could watch them.


Second thing i did was joining this list, and looking thru the  
archive i saw
that there is a lot of knowledge here. So if i have any questions i  
know

where to go  :)


And now back to the manuals and tutorial movies and learn about  
Revolution

Media and creating my first stack.



c'ya Adri
___
use-revolution mailing list
use-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: How to click the mouse on another application

2009-01-12 Thread J. Landman Gay

Generic Email wrote:
I have emailed my external requirements to this list, altuit.com, 
swcp.com, and hyperactive software, and I have recieved 0 replies.


Is this normal? Am I doing something wrong?


I just responded. Your mail came in on a Saturday and I try not to work 
on weekends.


--
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: unicode in ask and answer

2009-01-12 Thread viktoras d.
Thanks Mark, Devin ! Now I have my text in answer ask but can't get it 
in ask file or answer file.

If I do
answer file (the htmlText of mySecretField1)
then it displays the text with all the html tags visible in answer file 
window header.

But if I do
answer file (the unicodeText of mySecretField1)
then it displays just the first character of the unicode string.

Is it possible to set the unicodeTitle of ask file and answer file dialogs ?

Viktoras

Devin Asay wrote:



shameless plug
I discussed both of these issues in my article on Unicode in the last 
RevUp newsletter. See 
http://www.runrev.com/newsletter/december/issue62/newsletter2.php

/shameless plug

Regards,

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: Converting from Exponential Form

2009-01-12 Thread Mark Wieder
Dave-

Monday, January 12, 2009, 7:49:10 AM, you wrote:

 I have the string 1.0139648E+9 and I'd like to convert it to:

 1013964800

 Any ideas on how I can easily do this?

...off the top of my head...

function normalize pString
  set the itemDelimiter to E
  replace . with  in item 1 of pString
  return item 1 of pString  00
end normalize

-- 
-Mark Wieder
 mwie...@ahsoftware.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: How to click the mouse on another application

2009-01-12 Thread Generic Email

Awesome. Please excuse my anxiousness.

Bert

On Jan 12, 2009, at 12:36 PM, J. Landman Gay wrote:


Generic Email wrote:
I have emailed my external requirements to this list, altuit.com,  
swcp.com, and hyperactive software, and I have recieved 0 replies.

Is this normal? Am I doing something wrong?


I just responded. Your mail came in on a Saturday and I try not to  
work on weekends.


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


___
use-revolution mailing list
use-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: unicode in ask and answer

2009-01-12 Thread Mark Schonewille

Hi Viktoras,

This is currently impossible, AFAIK (but there might be a trick I  
don't know about). You will need to create your own file dialog if you  
want to use a unicode string in the prompt.


I am working on a fully Unicode-compatible file browser for  
Revolution, but I haven't had much time to work on it lately.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum

We are always looking for new projects! Feel free to contact us to  
discuss your custom software project!


On 12 jan 2009, at 18:38, viktoras d. wrote:

Thanks Mark, Devin ! Now I have my text in answer ask but can't get  
it in ask file or answer file.

If I do
answer file (the htmlText of mySecretField1)
then it displays the text with all the html tags visible in answer  
file window header.

But if I do
answer file (the unicodeText of mySecretField1)
then it displays just the first character of the unicode string.

Is it possible to set the unicodeTitle of ask file and answer file  
dialogs ?


Viktoras


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


import animated gif

2009-01-12 Thread Thierry

Hi,

For fun and for some children, I wanted to import
an animated gif in Revolution,

The imported animation is ugly but nice on a web page.

I've never try this before...

Could some of you validate it should work and if yes,
some hint to make it work ?

Thanks
Thierry

___
use-revolution mailing list
use-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: Scrolling to a line in a field

2009-01-12 Thread David Bovill
Thanks - I'll select the line!

2009/1/12 Devin Asay devin_a...@byu.edu


 On Jan 11, 2009, at 5:15 PM, David Bovill wrote:

  I have this old command - and just found that it is not accurate for a
 field
 of text with large line numbers. Can anyone make it more accurate?

 on field_ScrollToLine lineNum, fieldObject
   -- does not seem accurate for large line numbers (it's an underestimate)
 ???

   if lineNum = 0 then
   put 0 into someScroll
   else if lineNum is a number then
   put the effective textheight of fieldObject into lineHeight
   put ((lineNum - 1) * lineHeight) * the height of fieldObject into
 someScroll
   end if
   set the scroll of fieldObject to someScroll
 end field_ScrollToLine
 ___


 David,

 Could it be that the fixedLineHeight is off? That would mess up a handler
 like this if there were varying sizes of text in the field.

 As an alternative, I have simply used 'select line lineNum' in list fields
 and the engine will automatically scroll to that line.

 Regards,

 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: import animated gif

2009-01-12 Thread J. Landman Gay

Thierry wrote:

Hi,

For fun and for some children, I wanted to import
an animated gif in Revolution,

The imported animation is ugly but nice on a web page.

I've never try this before...

Could some of you validate it should work and if yes,
some hint to make it work ?


It works very well and you don't need to do anything special. Just 
import the gif as a control.


If you want to control the animation, there are several commands that 
let you vary the speed, stop and start it, etc. If you do nothing at 
all, the animation will run by itself in a loop automatically.


--
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: unicode in ask and answer

2009-01-12 Thread Devin Asay


On Jan 12, 2009, at 10:50 AM, Mark Schonewille wrote:


Hi Viktoras,

This is currently impossible, AFAIK (but there might be a trick I
don't know about). You will need to create your own file dialog if you
want to use a unicode string in the prompt.


Just to echo Mark, I don't know of a way to do this, because Rev  
simply calls a standard open file dialog directly from the OS, whereas  
ask and answer use a Rev stack as the dialog box. Unless there is some  
way to call these standard OS dialogs using AppleScript or VB that  
allows you to specify a unicode title, I don't see how it could be  
done from Rev.



I am working on a fully Unicode-compatible file browser for
Revolution, but I haven't had much time to work on it lately.


Hope you get a chance to work on this, Mark!

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


Re: import animated gif

2009-01-12 Thread Thierry


Le 12 janv. 09 à 19:03, J. Landman Gay a écrit :


Thierry wrote:

Hi,
For fun and for some children, I wanted to import
an animated gif in Revolution,
The imported animation is ugly but nice on a web page.
I've never try this before...
Could some of you validate it should work and if yes,
some hint to make it work ?


It works very well and you don't need to do anything special. Just  
import the gif as a control.


If you want to control the animation, there are several commands  
that let you vary the speed, stop and start it, etc. If you do  
nothing at all, the animation will run by itself in a loop  
automatically.


Well, thanks Jacqueline,

But really, i've done nothing but Import a file as an image
and nothing more. the animation is active
, but  the effect is really bad, and more
not at all the same as on a browser

Ideas ?

Regards,
Thierry

___
use-revolution mailing list
use-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: Converting from Exponential Form

2009-01-12 Thread Mark Wieder
Thierry-

Monday, January 12, 2009, 8:47:02 AM, you wrote:

   put 1.0139648E+9 into  x
   put x * 1

 Does it works ?

Ah. Now I see what Dave's trying to do. That's actually
*de*normalizing the scientific notation, and Thierry's one-liner does
indeed do the trick (within the acceptable margin of error anyway).

-- 
-Mark Wieder
 mwie...@ahsoftware.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: import animated gif

2009-01-12 Thread J. Landman Gay

Thierry wrote:



But really, i've done nothing but Import a file as an image
and nothing more. the animation is active
, but  the effect is really bad, and more
not at all the same as on a browser

Ideas ?


How is it bad? Can you describe what is wrong?

Some gifs use a method where only the changed parts of each frame are 
stored. You may need to re-make the gif so that it stores the whole 
picture on each frame. Graphic Converter can do that.


--
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: import animated gif

2009-01-12 Thread Scott Rossi
Recently, Thierry wrote:

 I wanted to import
 an animated gif in Revolution,
 
 The imported animation is ugly but nice on a web page.
 
 I've never try this before...
 
 Could some of you validate it should work and if yes,
 some hint to make it work ?

Thierry:

You don't really explain what's wrong with the GIF -- Appearance?  Playback
rate?  Something else?  Anyway, here are a few things to try...  Make sure
the GIF sits on the same background color in your stack as it does on the
Web page.  If the GIF doesn't seem to render properly within Rev try setting
the constantMask of the imported GIF to true.  If the speed of the GIF is
wrong in Rev, set the repeatCount of the imported GIF to 0 and using a
looping script to update the GIF's currentFrame, using send in... or
similar.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design


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


Re: import animated gif

2009-01-12 Thread Klaus Major

Bonsoir Thierry,


Thierry wrote:


But really, i've done nothing but Import a file as an image
and nothing more. the animation is active
, but  the effect is really bad, and more
not at all the same as on a browser
Ideas ?


you can try to:
...
set the constantmask of img your animated gif here to true
...

And see if that helps. At least worth a try.

If that does not work then you may need to re-make the image as  
Jaqueline suggested, sorry.



Best

Klaus Major
kl...@major-k.de
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: import animated gif

2009-01-12 Thread Thierry


Le 12 janv. 09 à 19:19, J. Landman Gay a écrit :


Thierry wrote:


But really, i've done nothing but Import a file as an image
and nothing more. the animation is active
, but  the effect is really bad, and more
not at all the same as on a browser
Ideas ?


How is it bad? Can you describe what is wrong?


Oups, sorry my english is also too bad for a good description :-)




Some gifs use a method where only the changed parts of each frame  
are stored. You may need to re-make the gif so that it stores the  
whole picture on each frame. Graphic Converter can do that.


I've opened it in theGimp! and I can see layer's name with keywords  
as (combine ) ?

So, I guess it could be what you describe
I'll have a look to graphic converter then.

Thanks,
Thierry

___
use-revolution mailing list
use-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: import animated gif

2009-01-12 Thread Thierry


Le 12 janv. 09 à 19:25, Klaus Major a écrit :


but really, i've done nothing but Import a file as an image
and nothing more. the animation is active
, but  the effect is really bad, and more
not at all the same as on a browser
Ideas ?


you can try to:
...
set the constantmask of img your animated gif here to true
...


Halo Klaus,

You are my Hero for the day !

by now, I've a nice smiling Clown in multi-colors :-)

Thanks,
Thierry

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


What is Revdb_commit() for anyway?

2009-01-12 Thread Bob Sneidar

Hi all.

I have always been a bit confused at this. So far as I can tell, I  
cannot get data back INTO a cursor, I can only read data FROM the  
cursor. In order to write data back to the database, I have to execute  
an SQL query. So what is Revdb_commit() for? Commit what? I just wrote  
the data directly to the SQL database in a query didn't I?


Or am I mistaken about the ability to write data back to a cursor?

Bob Sneidar
IT Manager
Logos Management
Calvary Chapel CM

___
use-revolution mailing list
use-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: Script Editing Frustration

2009-01-12 Thread Bob Sneidar

Hi Scott.

If you are using GLX2 you don't need to click. Just point and hit  
option+command.


Bob Sneidar
IT Manager
Logos Management
Calvary Chapel CM

On Jan 11, 2009, at 1:02 PM, Scott Rossi wrote:


Hi List:

Does anyone else find in Rev 3 that command+option clicking (or alt +
control) a control to edit the control's script also initiates a  
mouseUp

event on that control?

This has been consistent behavior for me with Rev 3 and has been  
driving me
nuts.  I don't want a control's script to execute when I edit its  
script --
previous versions of Rev did not work this way for me.  Has anyone  
else

noticed this?

Thanks  Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design


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

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


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


Re: New on this list

2009-01-12 Thread stephen barncard
Since 1983? that would make you a former Apple Employee or an Apple
Developer in 1983.Me too. Had one on my desk at Datamost. With one floppy
drive, it was lunacy for loading and saving but. GRAPHICS

2009/1/12 Paul Looney supp...@ahsomme.com

 Adri,
 Welcome aboard, look forward to a fun trip!
 Paul Looney (Mac user since 1983 ;-)   )



-- 
Stephen Barncard
-
San Francisco
___
use-revolution mailing list
use-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: Script Editing Frustration

2009-01-12 Thread Richard Gaskin

Bob Sneidar wrote:
If you are using GLX2 you don't need to click. Just point and hit  
option+command.


How?

I've been looking to add a similar capability to my own editor, but 
given how the key messages currently work I've been unable to come up 
with anything that didn't involve constant polling.


--
 Richard Gaskin
 Fourth World
 Revolution training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: 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: import animated gif

2009-01-12 Thread Klaus Major

Bonsoir Thierry,



Le 12 janv. 09 à 19:25, Klaus Major a écrit :


but really, i've done nothing but Import a file as an image
and nothing more. the animation is active
, but  the effect is really bad, and more
not at all the same as on a browser
Ideas ?


you can try to:
...
set the constantmask of img your animated gif here to true
...


Halo Klaus,

You are my Hero for the day !


To be honest, Scott Rossi also mentioned this one in his post,
in smaller fontsize maybe but with nicer graphics :-D


by now, I've a nice smiling Clown in multi-colors :-)


Hip, Hip, Hooray :-)


Thanks,


A votre service, monsieur!


Thierry


Best

Klaus Major
kl...@major-k.de
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: New on this list

2009-01-12 Thread andre
Be welcome! Just a reminder, there is also a forum on the runrev  
website.


Enviado de meu iPhone

Em 12/01/2009, às 12:58, Adri mrkt2...@gmail.com escreveu:


Hi,


I'm a Mac user since november 2006 and with the magazine MacFormat
came Revolution Media 3.0 with a free full license.


The first thing i did after installing RM was taking a peek at the  
tutorial
movies on the rev-site. Even after installing the video codec on my  
mac osx

10.5 i still can't see them (only audio)  :(

So i went back to my pc where i could watch them.


Second thing i did was joining this list, and looking thru the  
archive i saw
that there is a lot of knowledge here. So if i have any questions i  
know

where to go  :)


And now back to the manuals and tutorial movies and learn about  
Revolution

Media and creating my first stack.



c'ya Adri
___
use-revolution mailing list
use-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: New on this list

2009-01-12 Thread Paul Looney

Stephan,
In 1983 I was designing the financial planning system for Digital  
Research and Steve Jobs had given Gary Kildall a 128 Mac prototype  
(hoping he'd write some insanely great software for it). I can't  
remember Dr. Kildall mentioning the Mac without saying, in the same  
sentence, No backplane... I loved it from the beginning!

Paul Looney

On Jan 12, 2009, at 10:49 AM, stephen barncard wrote:


Since 1983? that would make you a former Apple Employee or an Apple
Developer in 1983.Me too. Had one on my desk at Datamost. With one  
floppy

drive, it was lunacy for loading and saving but. GRAPHICS

2009/1/12 Paul Looney supp...@ahsomme.com


Adri,
Welcome aboard, look forward to a fun trip!
Paul Looney (Mac user since 1983 ;-)   )




--
Stephen Barncard

___
use-revolution mailing list
use-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: revOpenDatabase on Linux - works in IDE, broken in standalone - how do I fix?

2009-01-12 Thread Ben Rubinstein

Ben Rubinstein wrote:

Accessing PostgreSQL database on Linux.  Works in IDE; using standalone,
throws error in revOpenDatabase. (219: Function: error in function 
handler).


Works in both 2.9 and 3.0 in IDE; fails in standalone built from either.


Just for the record/benefit of a future stumbler over this thread, I found the 
problem (my own stupidity, of course, but I mean in more detail...).


This is an app that I've been using and developing for over four years, and 
hence over many versions of Rev (possibly starting in 1.0???) on Mac and 
Windows, but am just now moving to Linux.


In the Standalone Application Settings, there is a checkbox for Database 
Support; and there is also an item Database in the list of Script Libraries. 
 It turns out that when building a database to Mac and Windows, if Database 
Support is checked, there is no need to select Database in the script 
libraries.  However, the same is not true for Linux...


- 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


Richmond's Website.

2009-01-12 Thread Richmond Mathewson
Well, Well, Well . . .

Finally re-did my website after 3 years:

http://mail.maclaunch.com/richmond/

if you click on the SCHOOL link you can see 3 pictures
of my KEYER in use in the relevant context.

I will try (???) to update things a bit more often so that those
of you who are interested can get some of the flavour of my school.

sincerely, Richmond Mathewson.



A Thorn in the flesh is better than a failed Systems Development Life Cycle.




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


import animated gif

2009-01-12 Thread Richmond Mathewson
Macintosh Recipe:

One of the ways to sort out an animated gif so that it will
behave in Runtime Revolution is to open it as a movie using
Quicktime.

The save it as an image sequence.

The import those images into Pixen

http://opensword.org/Pixen/

and produce an animated GIF where all the frames are full-frames.

sincerely, Richmond Mathewson.



A Thorn in the flesh is better than a failed Systems Development Life Cycle.




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


Rev on Ubuntu

2009-01-12 Thread Richmond Mathewson
All my stacks have been run successfully on Ubuntu 5.10 - 8.04.

Mind you, most of them are 'bread-and-butter' stuff.

Experience has taught me:

1. No movies.
2. No embedded sound files.
3. Never churn out generic Linux standalones from a version of
   Runtime Revolution working on another platform.
4. Always compile standalones on the target platform.
5. Don't believe that there is ONE Operating System called Linux:
   there isn't; it is almost as problematic as Karate schools.

Personally I believe the use of the word LINUX does more harm than good;
better to refer to DSL, MINT, FEDORA, RED HAT, UBUNTU by name (while 
noting that they are Linux variants if you wish). 'Linux' has somehow
acquired all sorts of wierdo semantics. When the kids in my school
use the computers they really don't know what they run on (except for 
the stickers saying UBUNTU) as it does not affect them directly.
To install a lot of Linux variants is as easy or easier than installing
Windows. Continuing to use the term LINUX merely serves to enforce
stereotypes plugged by Apple and Microsoft lovers.

sincerely, Richmond Mathewson.



A Thorn in the flesh is better than a failed Systems Development Life Cycle.




___
use-revolution mailing list
use-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: import animated gif

2009-01-12 Thread Thierry

Halo Klaus,
You are my Hero for the day !


To be honest, Scott Rossi also mentioned this one in his post,
in smaller fontsize maybe but with nicer graphics :-D


Yep ! you are right.
I was too shy to call everyone my Hero...  :-)



by now, I've a nice smiling Clown in multi-colors :-)


Hip, Hip, Hooray :-)


Yes, it is for children for tomorrow.. they are the most
difficult customers of my life :-) So, with this shiny clown,
i'm safe for a while.



Thanks,


A votre service, monsieur!


Bitteschoen !

So, thanks to all.
Thierry

___
use-revolution mailing list
use-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: New on this list

2009-01-12 Thread stephen barncard
No backplane! Well of course, how can one build stuff to plug into it?
Wonderful.

2009/1/12 Paul Looney supp...@ahsomme.com

 Stephan,
 In 1983 I was designing the financial planning system for Digital Research
 and Steve Jobs had given Gary Kildall a 128 Mac prototype (hoping he'd write
 some insanely great software for it). I can't remember Dr. Kildall
 mentioning the Mac without saying, in the same sentence, No backplane... I
 loved it from the beginning!
 Paul Looney


 On Jan 12, 2009, at 10:49 AM, stephen barncard wrote:

  Since 1983? that would make you a former Apple Employee or an Apple
 Developer in 1983.Me too. Had one on my desk at Datamost. With one floppy
 drive, it was lunacy for loading and saving but. GRAPHICS

 2009/1/12 Paul Looney supp...@ahsomme.com

  Adri,
 Welcome aboard, look forward to a fun trip!
 Paul Looney (Mac user since 1983 ;-)   )



-- 
Stephen Barncard
-
San Francisco
___
use-revolution mailing list
use-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: Converting from Exponential Form

2009-01-12 Thread DunbarX
Cool that rev understands this numberformat. HC certainly could not. So the 
one-liner is pretty sleek.

But as a matter of old fashioned data crunching, do you see that the fun part 
about hacking this into manageable pieces? It will stand you in good stead 
all the time:

To separate the exponential part by choosing an itemdelimiter (E) giving 
the number and the power of 10 in two new convenient strings. Then you just 
multiply.


**
A Good Credit Score is 700 or Above. See yours in just 2 
easy steps! 
(http://pr.atwola.com/promoclk/10075x1215855013x1201028747/aol?redir=http://www.freecreditreport.com/pm/default.aspx?sc=668072%26hmpgID=62%26bc
d=DecemailfooterNO62)
___
use-revolution mailing list
use-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: Imported Images As Controls

2009-01-12 Thread SteveTheWhelk

Hi,

How about setting the dimensions of the image in a preOpenCard handler? That
way, if they were to return back to the default size, the handler would
stretch them out again.

Steve



J. Landman Gay wrote:
 
 Mark Swindell wrote:
 I've always had Rev's align palette change size and location even when 
 the lock size and position of an object are set to true.  Just rechecked 
 to be sure.  Moving with arrow keys / shift-arrow keys also overrides 
 the lock.
 
 The lockloc of an object, including images, affects only the manual use 
 of the cursor by the user. It prevents them from accidentally moving the 
 object with the mouse. All other ways of moving objects work normally, 
 including scripted moves, arrow keys, property inspector, etc.
 
 -- 
 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
 
 

-- 
View this message in context: 
http://www.nabble.com/Imported-Images-As-Controls-tp21318517p21361762.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: Script Editing Frustration

2009-01-12 Thread Jerry Daniels

Richard,

The way GLX2 does no-click inspection (the code is accessible to all  
our customers in the inspection folder of the GLX2 frontscript) is  
called staggered messaging or peppering. It is polling with a very  
limited lifespan and does NOT degrade performance of the IDE. It's  
been in use for over a year. Very reliable


On mousemove, 12 messages staggered every 250 millisecs are sent to  
check the mod keys for an inspection.


glx2EditObject
repeat for 12
add 250 to tNoMillisecs
send glx2EditObject to me in tNoMillisecs millisecs
end repeat

If glx2EditObject is already in the pendingmessages, then the  
glx2EditObject handler ignores the message to check the mod keys for a  
no-click inspection. This means that during the three seconds after  
the mouse STOPS moving, you can hold down the mod keys to inspect. It  
sounds much more complicated than it is. The user, of course, is  
unaware of all this trickery and just holds down command and option to  
open any script editor.


On Windows, the state of the mod keys can be checked without polling.  
HOWEVER...I check to see if the pointer is in the title bar of the  
window so that the user can inspect a stack's script with no-click  
inspection. Therefore, the peppering method is still needed, even in  
Windows.


Hope this helps. Feel free to download GLX2 Installer (http:// 
glx2.com), install it, set the prefs for it in the GLX2 pane of Rev's  
prefs, and then take a look at the code. You (and everyone else, of  
course) do not need a reg code to use GLX2's no-click inspection and a  
bunch of other very handy shortcuts called The Freedom Pack.


I've written about The Freedom Pack here:

http://glx2help.ning.com/forum/topic/show?id=2053167%3ATopic%3A3127

Best,

Jerry Daniels

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


On Jan 12, 2009, at 12:49 PM, Richard Gaskin wrote:


Bob Sneidar wrote:
If you are using GLX2 you don't need to click. Just point and hit   
option+command.


How?

I've been looking to add a similar capability to my own editor, but  
given how the key messages currently work I've been unable to come  
up with anything that didn't involve constant polling.


--
Richard Gaskin
Fourth World
Revolution training and consulting: http://www.fourthworld.com
Webzine for Rev developers: 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: New on this list

2009-01-12 Thread Sarah Reichelt
 The first thing i did after installing RM was taking a peek at the tutorial
 movies on the rev-site. Even after installing the video codec on my mac osx
 10.5 i still can't see them (only audio)  :(

Try a restart. The codec installer doesn't ask you to restart, but I
think it is necessary.

And welcome to the Revolution!

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: What is Revdb_commit() for anyway?

2009-01-12 Thread Jan Schenkel
--- Bob Sneidar b...@twft.com wrote:
 Hi all.
 
 I have always been a bit confused at this. So far as
 I can tell, I  
 cannot get data back INTO a cursor, I can only read
 data FROM the  
 cursor. In order to write data back to the database,
 I have to execute  
 an SQL query. So what is Revdb_commit() for? Commit
 what? I just wrote  
 the data directly to the SQL database in a query
 didn't I?
 
 Or am I mistaken about the ability to write data
 back to a cursor?
 
 Bob Sneidar
 

The revdb_commit function isn't meant for committing
changes to cursors - revdb cursors are by default
read-only; though I think if used with Valentina
Server and the VXCMD you can have read-write cursors,
but I digress.

It is meant for committing transactions. Depending on
the database, all the INSERT, UPDATE and DELETE
statements are each seen as a separate transaction, or
will be considered one giant transaction until you
effectively call revdb_commit or revdb_rollback.

Jan Schenkel.

Quartam Reports  PDF Library for Revolution
http://www.quartam.com

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


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


Two Questions About My Search Field

2009-01-12 Thread Gregory Lypny

Hello everyone,

	I've created a search field that takes a phrase typed into it and  
searches a data field for lines containing the phrase.  It works in  
the usual way where the search becomes narrower the more you type.   
What I haven't been able to do is go backwards, that is, make the  
search wider as characters are deleted from the end of the search  
string when the delete key is hit.  When the delete key is hit,  
nothing happens, and I'm not sure how to work a delete key message  
into the handler.


on keyDown pKey
   put me  pKey into searchString
   get fld Data
   repeat for each line thisLine in it
  if searchString is among the words of thisLine
  then
 put thisLine  return after hits--Whole words
 next repeat
  else
 if thisLine contains searchString then put thisLine  return  
after otherHits

  end if
   end repeat
   put otherHits after hits
   if the last character of hits is return then delete the last  
character of hits

   put hits into fld Browse List
   put 1*the number of lines in hits  records into fld Number of  
Records

   pass keyDown
end keyDown

	My second question concerns the format of the field itself and the  
Geometry Manager.  I jazzed up the field by importing three PNG images  
to make it look like Apple's hot dog shaped search field.  The two  
rounded ends remain fixed in size and maintain their relative  
positions while the middle segment is scaled horizontally if the stack  
is resized.  It all works wonderfully (I believe Eric Chatonet gave me  
this tip ages ago --- thanks, Eric) except that whenever the stack is  
reopened the middle segment is displayed in its original size  
regardless of the size of the stack at the time it was closed.  This  
means the hot dog appears sliced until the user resizes the stack, at  
which time the pieces will snap back together.  Any fix for this  
little glitch?


Regards,

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


revCopy file in OSX doesn't work

2009-01-12 Thread Sieg Lindstrom
I've searched the archives and see this problem has been discussed before,
but none of the advice therein helped me. Any idea why this code works for
me in OSX...

if there is a file 1-meet data/ABC affils then put found

But the following does not?

on mouseUp
-- 1-meet data is the folder containing the file I'd like to copy.
-- 2-processed meet data is the folder I'd like to copy to.
--Both folders are in the defaultFolder.
--ABC affils is the name of a .txt file

revCopyFile 1-meet data/ABC affils, 2-processed meet data
  
end mouseUp

The file does not get copied and the result is execution error.

The fact that the first code fragment works suggests I have the file path
right. But revCopy File disagrees.

Thanks in advance for any solutions.

SL


___
use-revolution mailing list
use-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: Two Questions About My Search Field

2009-01-12 Thread Terry Judd
On 13/01/09 9:41 AM, Gregory Lypny gregory.ly...@videotron.ca wrote:

Hi Gregory,

Perhaps you should look at implementing a rawkeydown handler as well or
instead of the keydown handler. That way you should be able to trap for any
key.

On the second issue - I think all you need to do is set the lockloc of the
image to true. It should then retain its size.

Terry...

 
 Hello everyone,
 
 I've created a search field that takes a phrase typed into it and
 searches a data field for lines containing the phrase.  It works in
 the usual way where the search becomes narrower the more you type.
 What I haven't been able to do is go backwards, that is, make the
 search wider as characters are deleted from the end of the search
 string when the delete key is hit.  When the delete key is hit,
 nothing happens, and I'm not sure how to work a delete key message
 into the handler.
 
 on keyDown pKey
 put me  pKey into searchString
 get fld Data
 repeat for each line thisLine in it
if searchString is among the words of thisLine
then
   put thisLine  return after hits--Whole words
   next repeat
else
   if thisLine contains searchString then put thisLine  return
 after otherHits
end if
 end repeat
 put otherHits after hits
 if the last character of hits is return then delete the last
 character of hits
 put hits into fld Browse List
 put 1*the number of lines in hits  records into fld Number of
 Records
 pass keyDown
 end keyDown
 
 My second question concerns the format of the field itself and the
 Geometry Manager.  I jazzed up the field by importing three PNG images
 to make it look like Apple's hot dog shaped search field.  The two
 rounded ends remain fixed in size and maintain their relative
 positions while the middle segment is scaled horizontally if the stack
 is resized.  It all works wonderfully (I believe Eric Chatonet gave me
 this tip ages ago --- thanks, Eric) except that whenever the stack is
 reopened the middle segment is displayed in its original size
 regardless of the size of the stack at the time it was closed.  This
 means the hot dog appears sliced until the user resizes the stack, at
 which time the pieces will snap back together.  Any fix for this
 little glitch?
 
 Regards,
 
 Gregory
 ___
 use-revolution mailing list
 use-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: revCopy file in OSX doesn't work

2009-01-12 Thread Mark Schonewille

Hi Sieg,

I have never understand why people use the revCopyFile command. Just  
use the read and write commands or use the cp or mv shell commands to  
copy a file. You could even write your own AppleScript snippet. Of  
course, any specific solutions will need their Windows and Linux  
counter parts for cross-platform compatibility.


You might want to set the modification date and other file info after  
copying the file. This might get you started on Mac OS X: http://runrev.info/Set%20modification%20date.htm 
.


A nice advantage of using read/write commands is that you can copy  
small chunks in a repeat loop and meanwhile show a progress bar.


If you still want to use the revCopyFile command, try using an  
absolute instead of a relative file path.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum

We are always looking for new projects! Feel free to contact us to  
discuss your custom software project!


On 13 jan 2009, at 00:03, Sieg Lindstrom wrote:

I've searched the archives and see this problem has been discussed  
before,
but none of the advice therein helped me. Any idea why this code  
works for

me in OSX...

if there is a file 1-meet data/ABC affils then put found

But the following does not?

on mouseUp
-- 1-meet data is the folder containing the file I'd like to copy.
-- 2-processed meet data is the folder I'd like to copy to.
--Both folders are in the defaultFolder.
--ABC affils is the name of a .txt file

   revCopyFile 1-meet data/ABC affils, 2-processed meet data

end mouseUp

The file does not get copied and the result is execution error.

The fact that the first code fragment works suggests I have the file  
path

right. But revCopy File disagrees.

Thanks in advance for any solutions.

SL


___
use-revolution mailing list
use-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: revCopy file in OSX doesn't work

2009-01-12 Thread Sarah Reichelt
On Tue, Jan 13, 2009 at 9:03 AM, Sieg Lindstrom
s...@trackandfieldnews.com wrote:
 I've searched the archives and see this problem has been discussed before,
 but none of the advice therein helped me. Any idea why this code works for
 me in OSX...

 if there is a file 1-meet data/ABC affils then put found

 But the following does not?

 on mouseUp
 -- 1-meet data is the folder containing the file I'd like to copy.
 -- 2-processed meet data is the folder I'd like to copy to.
 --Both folders are in the defaultFolder.
 --ABC affils is the name of a .txt file

revCopyFile 1-meet data/ABC affils, 2-processed meet data

 end mouseUp

 The file does not get copied and the result is execution error.

 The fact that the first code fragment works suggests I have the file path
 right. But revCopy File disagrees.


there is a file allows relative file paths and will search in the
defaultFolder.
revCopyFile requires a complete file path, including the folder. This
is because it actually calls an AppleScript (on OS X) to do the file
copying.

HTH,
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: Two Questions About My Search Field

2009-01-12 Thread BNig

hi Gregory,

try this in the script of your search field:

on keyDown pKey
if pKey = tDelete then
put char 1 to -2 of me into searchString
put searchstring into me
select after text of me
if searchstring =  then
put  into field Number of Records
put  into field Browse List
exit keyDown
end if
else
put me  pKey into searchString
put searchstring into me
select after text of me
end if
get fld Data
repeat for each line thisLine in it
if searchString is among the words of thisLine
then
put thisLine  return after hits--Whole words
next repeat
else
if thisLine contains searchString then put thisLine  return
after otherHits
end if
end repeat
put otherHits after hits
if the last character of hits is return then delete the last character
of hits
put hits into fld Browse List
put 1*the number of lines in hits  records into fld Number of
Records
-- pass keyDown
end keyDown

on rawKeyDown pKeyCode
if pKeyCode = 65288 then send keyDown  tDelete to me
else  pass rawKeyDown
end rawKeyDown

I dont pass the keyDown, it works for me, maybe you find a need for it and
you would have to tweak the script a bit.
regards
Bernd
-- 
View this message in context: 
http://www.nabble.com/Two-Questions-About-My-Search-Field-tp21425489p21426769.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: Rev on Ubuntu

2009-01-12 Thread Marty Knapp

Thanks to all who gave me input on using Rev on Ubuntu, I appreciate it.

Richmond, could you elaborate on these two point:

3. Never churn out generic Linux standalones from a version of
  Runtime Revolution working on another platform.
4. Always compile standalones on the target platform.

I've successfully produced Windows standalones from my Mac (though very 
few). Has your experience shown that with the various flavors of Linux 
that this doesn't work well? Unfortunately I only have Rev Studio for Mac.


Thanks again,

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


Standard Save Dialog

2009-01-12 Thread Bill Vlahos
The standard save dialog box used by Macs looks a little different  
than an Answer dialog built into Rev. The standard save dialog has 3  
buttons left to right Don't Save Cancel and Save with extra  
space between the Don't Save and Cancel buttons.


Rev uses this dialog box for its own use but I don't see it as  
something I can use for my apps unless I make a special save stack.


I can make something close with the three buttons but they are evenly  
spaced apart.


Is there a standard save dialog in Rev that I can use?

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


Re: cipherNames, Encrypt and Decrypt

2009-01-12 Thread Bill Vlahos
I created a demo stack called Encryption Demo Stack a while ago  
under the name Vlahos.


Bill Vlahos

On Jan 12, 2009, at 3:57 AM, Dave wrote:


Hi All,

I have a need to encrypt some data before sending it to a server. I  
looked at the encrypt and decrypt documentation but don't understand  
how to make it work. There is a property called ciptherNames which  
is supposed to contain a list of ciphers. However, when I do the  
following:


put the ciphersNames

in the message box, I just get an empty string returned,

Is there any further information on how to use these functions? The  
application need to run under MacOS X 10.4 and 10.5. Some sample  
code would be brilliant!


Thanks a lot
All the Best
Dave


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

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


___
use-revolution mailing list
use-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 Ubuntu

2009-01-12 Thread Peter Alcibiades

Rev runs on everything I've tried it on, including such oddities as Scitaz or
DSL.  The apps run as well.  However, the relation between the fonts and the
objects on the windows may not be the same, and what fonts are present may
also be different, and certainly will be different from Mac or Windows to
any Linux. So when you move your app from one distro to another, it may not
display properly.  This was an issue when moving an app from Debian to
Mandriva, which are about as mainstream as you can get and which had all the
same fonts. Also, when I once compiled on Linux for Win98, the control
elements of the window vanished, so there was no way of closing the window,
there needed to be a check for platform to use different window sizing to
get around this.

So yes, Richmond is probably right, always compile on the target platform,
or at least, if its going to matter, validate look and feel on all
platforms, and for Linux, on more than one distribution and on more than
just Gnome. It also may be a good idea in Linux to leave more space around
text on objects than you think you could possibly need, if you're not sure
what the distribution will be. 

Peter


Marty Knapp wrote:
 
 Thanks to all who gave me input on using Rev on Ubuntu, I appreciate it.
 
 Richmond, could you elaborate on these two point:
 
 3. Never churn out generic Linux standalones from a version of
Runtime Revolution working on another platform.
 4. Always compile standalones on the target platform.
 
 I've successfully produced Windows standalones from my Mac (though very 
 few). Has your experience shown that with the various flavors of Linux 
 that this doesn't work well? Unfortunately I only have Rev Studio for Mac.
 
 Thanks again,
 
 Marty Knapp
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution
 
 

-- 
View this message in context: 
http://www.nabble.com/Rev-on-Ubuntu-tp21422671p21430936.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