Tutorials on using Arrays in REV

2008-03-11 Thread Thomas McGrath III

Where is the best place to find tutorials on using arrays in RR?

I tried using XML in my project and have not been able to smoothly use  
it for what i want so I am thinking that arrays would be better.


Thanks Tom McG
___
use-revolution mailing list
use-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: Should I have to check compiled programmes?

2008-03-11 Thread curry


>Should I check my compiled app
>for errors?  Feel I shouldn't
>have to...

In my opinion, you should definitely expect to check standalone apps 
thoroughly. There are a number of things that can cause differences 
between IDE and standalones, plus making sure you have the correct 
standalone settings and inclusions. Beyond that, it's important to 
test installers, test your software on another computer, and so 
on--there are a lot of potential gotchas and the final round of 
testing helps to minimize them.


Best wishes,

Curry Kenworthy

Bespoke development for Revolution
http://curryk.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: CGI's on a linux server

2008-03-11 Thread Richard Gaskin

Björnke von Gierke wrote:

you need to manually (codially?) close every stack that you open in a  
cgi, otherwise you get that error.


On 12 Mar 2008, at 02:21, Michael Doub wrote:

I have been able to install the current engine on my ISP's linux  
server in
cgi-bin and am able to run the simple hello world script.  I am now  
trying
to take the next step in having my script "start using" another  
stack but I

am having difficulties.

#!revolution

global gDataA

on startup

 start using stack "rocketscgi.rev"




Since he never really opens the stack per se, but loads it into memory 
with "start using", does he have to use the "close" command or should he 
use "stop using"?


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: CGI's on a linux server

2008-03-11 Thread Björnke von Gierke
you need to manually (codially?) close every stack that you open in a  
cgi, otherwise you get that error.


On 12 Mar 2008, at 02:21, Michael Doub wrote:

I have been able to install the current engine on my ISP's linux  
server in
cgi-bin and am able to run the simple hello world script.  I am now  
trying
to take the next step in having my script "start using" another  
stack but I

am having difficulties.



#!revolution

global gDataA

on startup

 start using stack "rocketscgi.rev"

 put the defaultFolder into foo

 cgiOutput foo

end startup



This is generating the following message in the server log:



[Tue Mar 11 20:56:49 2008] [error] [client 99.236.160.190] Premature  
end of

script headers: /home/doub/public_html/cgi-bin/helloworld.cgi

/home/doub/public_html/cgi-bin/revolution: Script execution error at  
line 4,

column 9



I have tried numerous permissions on the "rocketscgi.rev" stack file  
and as

you can see have even tied to force the name to all lower case.



Can someone advise me as to what the permission of a stack should be?



Also the following script returns the correct path to cgi-bin:



#!revolution

global gDataA

on startup

--  start using stack "rocketscgi.rev"

 put the defaultFolder into foo

 cgiOutput foo

end startup



on cgiOutput pBody

   if param(2) is not empty then

   put param(2) into tMimeType

   else

   put "text/html" into tMimeType

   end if

   put "Content-Type: "& tMimeType & cr

   put "Date:" && the internet date & cr

   put "Host:" && $SERVER_NAME & cr

   put "Content-Length:" && the length of pBody & cr & cr

   put pBody

   if the environment is not "development" then quit

end cgiOutput



I am quite sure I am missing something simple, but I am currently  
stumped.




-= Mike



___
use-revolution mailing list
use-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: Repeat statement

2008-03-11 Thread Björnke von Gierke
I know the title says repeat, and i am a bit tired, but why can't you  
let the engine do it for you (it's bound to be faster):


filter notWantEmptyInThis without empty

On 11 Mar 2008, at 20:03, Thomas McGrath III wrote:


Thanks Ben,

I had a brain fart... as it were.

I am now trying to grasp grandchildren in XML in REV

Thanks Tom

On Mar 11, 2008, at 1:27 PM, Ben Rubinstein wrote:


On 6/2/08 15:26, Thomas McGrath III wrote:
I am still trying to remember how repeat for each worked with  
deleting blank lines. ???


function deleteBlankLines tOld --> tNew
put empty into tNew
repeat for each line tLine in tOld
if tLine <> empty then put tLine & return after tNew
end repeat
return tNew
end deleteBlankLines

- 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


Re: RevZip

2008-03-11 Thread -= JB =-

Both you and Len said to use RevZipOpenArchive.
That is what I used and the docs say to check the
result for any errors.  I did and the result said it is
not a Zip Archive.

After reading all the replies and have decided not
to bother using RevZip.

thanks,
-=>JB<=-



On Mar 11, 2008, at 2:52 PM, Sarah Reichelt wrote:


I was just playing around with the RevZip command and
 when I try to open a Zip file the result says it is not a zip
 file.  If I check the file info it says it is a zip file.


Yes, see this bug 

It happens if you add or remove files from a zip that was not
originally created in Revolution.


 Also I don't see any command to open a file that is not a
 zip archive and compress it unless I already have a zip
 archive open.


You need to specify a file name, open that file as a zip archive ready
for updating, add new files to it, then close the zip file. Check the
docs for the following commands:
revZipOpenArchive
revZipAddItemWithFile
revZipCloseArchive


 Is RevZip used only for some special RevZip files or is
 it for any Zip Archive?


In theory, it works for any zip file, but at the moment, you can only
edit zip files created in Rev. Unfortunately, this makes the zip
library almost useless, since the only way to test whether a zip file
will work is to risk corrupting it permanently and losing any data in
it.

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

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



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


Re: while I await my password...

2008-03-11 Thread J. Landman Gay

Colin Holgate wrote:


On Mar 11, 2008, at 7:33 PM, Ben Rubinstein wrote:

* (It occurs to me it was probably around 1988 that I ran into you in 
Stockley Park when you were wearing a "Bill Atkinson is my hero" 
t-shirt.  Blimey: 20 years!)


And HyperCard 2.0 shoelaces a couple of years later. I did meet Bill one 
time,


Kevin Calhoun called me on the phone once and said he wanted to hire me 
for the HC 3.0 team -- right before they shut down. Story of my life. 
But I do have 2 of the only 3 existing HyperCard 1.0 first-birthday 
posters that hung in the HC halls. A consolation prize.




Still no password, and in answer to Jacque, I can't log in without the 
password.


Write to Heather in support, I'm sure it went out to somewhere...but she 
can get you right in. It should have arrived the same day.


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


unhappy barber's pole

2008-03-11 Thread Colin Holgate

Ok, I bet this will be one of the most subtle bugs ever to be reported!:

The Image Library has a number of animated barber's pole. The last  
one, ID 210067, has its 3rd and 4th images reversed. That is, the  
frame that should be number 3 is showing the image from frame 4, and  
vice versa.


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


CGI's on a linux server

2008-03-11 Thread Michael Doub
I have been able to install the current engine on my ISP's linux server in
cgi-bin and am able to run the simple hello world script.  I am now trying
to take the next step in having my script "start using" another stack but I
am having difficulties.

 

#!revolution

global gDataA

on startup

  start using stack "rocketscgi.rev"

  put the defaultFolder into foo

  cgiOutput foo

end startup

 

This is generating the following message in the server log:

 

[Tue Mar 11 20:56:49 2008] [error] [client 99.236.160.190] Premature end of
script headers: /home/doub/public_html/cgi-bin/helloworld.cgi

/home/doub/public_html/cgi-bin/revolution: Script execution error at line 4,
column 9

 

I have tried numerous permissions on the "rocketscgi.rev" stack file and as
you can see have even tied to force the name to all lower case.  

 

Can someone advise me as to what the permission of a stack should be?

 

Also the following script returns the correct path to cgi-bin:

 

#!revolution

global gDataA

on startup

--  start using stack "rocketscgi.rev"

  put the defaultFolder into foo

  cgiOutput foo

end startup

 

on cgiOutput pBody

if param(2) is not empty then

put param(2) into tMimeType

else

put "text/html" into tMimeType

end if

put "Content-Type: "& tMimeType & cr

put "Date:" && the internet date & cr

put "Host:" && $SERVER_NAME & cr

put "Content-Length:" && the length of pBody & cr & cr

put pBody

if the environment is not "development" then quit

end cgiOutput

 

I am quite sure I am missing something simple, but I am currently stumped.

 

-= Mike

 

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

2008-03-11 Thread Mark Talluto


On Mar 11, 2008, at 2:52 PM, Sarah Reichelt wrote:


In theory, it works for any zip file, but at the moment, you can only
edit zip files created in Rev. Unfortunately, this makes the zip
library almost useless, since the only way to test whether a zip file
will work is to risk corrupting it permanently and losing any data in
it.



I have given up on using Rev zip feature and use shell for Mac and  
compress/decompress for Win.


Here is a small snippet I last used in on of my apps.  If anything is  
unclear, just holler.


 --DECOMPRESS IT
 if the platform is "MacOS" then
  -- MAKE SURE TO ESCAPE THE SPACES
  put tAppPathParent into tShellPath
  replace " " with "\ " in tShellPath
  put "unzip -o " & tShellPath & tDownloadedFile & " -x *_M*"  
into tShellCmd

  put shell(tShellCmd)
 end if
 if the platform is "Win32" then
  put url ("binfile:" & tDownloadedFile) into tData
  put decompress(tData) into tData
  put tData into URL "binfile:Engine Updater.exe"
 end if



Mark Talluto
--
CANELA Software
http://www.canelasoftware.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: while I await my password...

2008-03-11 Thread Colin Holgate


On Mar 11, 2008, at 7:33 PM, Ben Rubinstein wrote:

* (It occurs to me it was probably around 1988 that I ran into you  
in Stockley Park when you were wearing a "Bill Atkinson is my hero"  
t-shirt.  Blimey: 20 years!)


And HyperCard 2.0 shoelaces a couple of years later. I did meet Bill  
one time, I dropped in on the HyperCard team to give them a list of 60  
suggested improvements. He happened to be in that day, and so the  
person I was visiting introduced me, and gave him my list of ideas.  
Bill said something like "I'll put it with all the other suggestions".  
He didn't come across as a very warm person!


Still no password, and in answer to Jacque, I can't log in without the  
password.


___
use-revolution mailing list
use-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: while I await my password...

2008-03-11 Thread Ben Rubinstein

On 11/3/08 18:08, Colin Holgate wrote:
While I wait for my bug reporting password (are those created 
manually?), I'll list some of the things that seem odd to me, to give 
you a sense of what I mean, and for you to say if it's normal oddities:




So, are some of these things that shouldn't be the way they are?


Hi Colin,

Good to hear from you again, and very good to see you in this forum.

Yes.  Some of these are "normal oddities", an excellent phrase!

I think you are in a valuable (to Rev) moment, and I urge you to give us the 
benefit of it.  Two things can happen when someone - especially someone 
experienced - encounters Revolution.  They run across a whole bunch of strange 
behaviours, throw up their hands in exasperation, and walk away.  Or they run 
across these strange behaviours, find their way around them, and find ther way 
past them to the productivity that they can nonetheless achieve; and quickly 
cease to see the quirks.  That's better, but unfortunately it means that the 
chances of the quirks being resolved are not increased.  I hope you'll do the 
second, but before you acquire the blindness that the rest of us now enjoy, I 
hope you'll make good use of your password to report all the oddities you see.


When I first started working with Metacard and shortly thereafter Revolution, 
I generated a slew of reports just as you are doing now.  (Unfortunately at 
that time neither the Metacard nor the Revolution teams, in different ways, 
were very responsive.  It was quite a long struggle from their friends/clients 
to persuade them that an open bug database would be a good thing.  I'm 
delighted to say that RunRev is now very different in its attitude, and 
genuinely listens to its users, and is far more dedicated to balancing 
development of new features with improvement and fixing of the existing 
product; and also substantially better equipped to do so.)  But now of course, 
I no longer notice most of these issues, until I witness a new colleague 
attempting to use the product - at which point I often find myself blushing, 
sputtering, and waving my hands.  After a few months, I think we unconsciously 
swerve past the open manholes etc, without even seeing them - as a result they 
are never reported, and have no chance of being fixed.


So please make good use of your password when it finally arrives!  I think 
Revolution is the true and a worthy descendant of HyperCard*, and I hope 
you'll find it so.  There's much here to appreciate, including many thoughtful 
and excellent extensions to the language and architecture.  But Revolution 
also partly pays the price for spanning several platforms; and also its 
history, which I won't bore with you now, means that the IDE has developed 
separately from the engine.  Stick with it, it's worth it - but please do 
report the things that strike you as odd - you'll mostly be right!


- Ben

* (It occurs to me it was probably around 1988 that I ran into you in Stockley 
Park when you were wearing a "Bill Atkinson is my hero" t-shirt.  Blimey: 20 
years!)


___
use-revolution mailing list
use-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 set a field to Caps or TitleCaps

2008-03-11 Thread Mark Schonewille

Hi Hugh,

That should be something like this

on keyDown theKey
  put toUpper(theKey) after me
end keyDown

for all caps and...

on keyDown theKey
  if me is empty or char (word 2 of the selectedChunk) of me is space  
then

put toUpper after me
  else pass keyDown
end keyDown

to have the first char of each word in upper case. You'll have to add  
a few lines to handle exceptions, such as backspace, punctuation etc.  
You want to use matchtext with regex to check for punctuation.


Or do you mean that you really want titles to be in all caps? Perhaps  
that could be something like


constant dot = "."
on returnInField
  if not (the last line of me contains dot) then
put toUpper(the last line of me) into the last line of me
  end if
end returnInField

Obivously, there might be problems with this. If it doesn't work for  
you, you might want to be more specific about when this should happen.


Best regards,

Mark Schonewille

--

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

A large collection of scripts for HyperCard, Revolution, SuperCard and  
other programming languages can be found at http://runrev.info





On 11 mrt 2008, at 22:32, [EMAIL PROTECTED] wrote:

Anyone figured out how to force a field to  display text as Caps  
only, or as
TitleCaps, whatever the state of the capsLock  key, AND as the user  
is typing?

It's this last bit that has me beat at the  moment.

This doesn't work but I wish it did as a starting point...
on keyDown tk
put toUpper(tk) into tk
pass  keyDown
end keyDown

/H




___
use-revolution mailing list
use-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 set a field to Caps or TitleCaps

2008-03-11 Thread J. Landman Gay

[EMAIL PROTECTED] wrote:
Anyone figured out how to force a field to  display text as Caps only, or as 
TitleCaps, whatever the state of the capsLock  key, AND as the user is typing? 
It's this last bit that has me beat at the  moment.  


This doesn't work but I wish it did as a starting point...
on keyDown tk
put toUpper(tk) into tk
pass  keyDown
end keyDown


Don't pass the message. You can't replace the keystroke that is passed 
to the engine, but you can put a different keystroke directly into the 
field instead. Change the handler to:


on keydown tk
 put toUpper(tk) into the selection
end keydown

Make sure you place this handler only into the field it controls, or 
else check to be sure the target is a field you want to work with. 
Otherwise all typing in the card or stack will be blocked.


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


Re: RevZip

2008-03-11 Thread Sarah Reichelt
> I was just playing around with the RevZip command and
>  when I try to open a Zip file the result says it is not a zip
>  file.  If I check the file info it says it is a zip file.

Yes, see this bug 
It happens if you add or remove files from a zip that was not
originally created in Revolution.

>  Also I don't see any command to open a file that is not a
>  zip archive and compress it unless I already have a zip
>  archive open.

You need to specify a file name, open that file as a zip archive ready
for updating, add new files to it, then close the zip file. Check the
docs for the following commands:
revZipOpenArchive
revZipAddItemWithFile
revZipCloseArchive

>  Is RevZip used only for some special RevZip files or is
>  it for any Zip Archive?

In theory, it works for any zip file, but at the moment, you can only
edit zip files created in Rev. Unfortunately, this makes the zip
library almost useless, since the only way to test whether a zip file
will work is to risk corrupting it permanently and losing any data in
it.

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


How to set a field to Caps or TitleCaps

2008-03-11 Thread FlexibleLearning
Anyone figured out how to force a field to  display text as Caps only, or as 
TitleCaps, whatever the state of the capsLock  key, AND as the user is typing? 
It's this last bit that has me beat at the  moment.  

This doesn't work but I wish it did as a starting point...
on keyDown tk
put toUpper(tk) into tk
pass  keyDown
end keyDown
 
/H



   
___
use-revolution mailing list
use-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 regarding print out of objects listing from the application browser

2008-03-11 Thread Joe Lewis Wilkins
Would this need to be cross platform, or would a Mac solution be  
acceptable?


Regardless, I think I would lay everything out using Rev stacks, take  
screen shots of the finished stacks/cards/etc., and assemble one or  
more PDFs of the results. On either platform, this could be done by  
creating the layouts of the screen shots, along with any descriptions  
you need/want using MacDraft or PCDraft. Very easily done. I do it all  
the time on Macs. You can create multi-page PDFs of various page sizes.


I hope I've understood what you're attempting to do.

Joe Wilkins

On Mar 11, 2008, at 1:34 PM, Sadhunathan Nadesan wrote:


Apologies in advance if this information is something easy to find in
the on line help or list archives, but here goes anyway.  I think it
relates somewhat to the discussion recently about distributed  
development,

keeping things in text files, etc.


Context:

As part of the set of technical design documents for a software  
project,

I am thinking of creating a prototype in REV.  This would then be an
easy way to 'catalogue' the entire set of objects in the application.

In other words, the REV stack would be a spec for developers with each
button, each field, each label, each menu choice organized visually,  
in a
semi- working prototype they could actually run, as well as,  
providing the

"application browser" tool to see a hierarchical view of, and navigate
amongst objects.  It would even be possible to list comments for each
object using the associated script.  Various methods or functions and
handlers could also be stubbed out or written in psuedo-code, either  
at

the object level or in the stack or card scripts.

Prototyping seems like a nice way to create a technical design spec.

Problem:

To read this "spec", you need REV.  (hey, buy it, right!?  or download
free trial).  What about the audience of non technical users or  
business

stake holders - what if they want to see a PDF or something?

Solution:

Unknown?  Is there an easy way to print out or save in text form the
same info being displayed in the application browser, and/or various
object scripts?

I can think of a 'hard way', hopefully someone will have a tool to
suggest for an easy way?
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

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


Joe Lewis Wilkins
[EMAIL PROTECTED]



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


Re: Correction to: my cursor shows as black

2008-03-11 Thread mfstuart

Hi Martin,
2.8.1 Build 472.

If you make one cell white outside the black area, and make the other cells
outside the black area, you will have a working cursor to use in RunRev.
Mark Stuart



Martin BLACKMAN wrote:
> 
> I seem to recall this issue was a bug with 2.6.1 and is fixed in 2.8.1 (I
> had to make a cursor as a 'negative' to get around it at the time). What
> version of Rev are you using?
> 
> On 08/03/2008, mfstuart <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi all,
>> In this post:
>> http://www.nabble.com/my-cursor-shows-as-all-black-to15860638.html
>> I made the following statement:
>> **IMPORTANT - make one pixel "outside" the cursor area to be white or
>> black.
>>
>> That is incorrect.
>>
>> It should read...
>> **IMPORTANT - make one pixel "outside" the cursor area (the black
>> outline)
>> to be white.
>>
>> This forces RunRev to set the colors in the Colors property to be:
>>   First Color = white
>>   Second Color = black
>>   Third Color = white
>>
>> Which is the correct way to display a cursor with transparency in RunRev.
>>
>> And as Jacqueline kindly pointed out:
>> Only one more thing: if you are planning to go cross platform with this
>> app, your cursor can't be 32 pixels square. Linux and Mac support only
>> 16 pixel square cursors.
>>
>> Caveat: Windows does support either 16x16 or 32x32
>>
>> Regards,
>> Mark Stuart
>> --
>> View this message in context:
>> http://www.nabble.com/Correction-to%3A-my-cursor-shows-as-black-tp15897800p15897800.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
>>
> ___
> use-revolution mailing list
> use-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/Correction-to%3A-my-cursor-shows-as-black-tp15897800p15989735.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: Error -43 starting recording

2008-03-11 Thread Peter T. Evensen

Hi, Eric,

That doesn't really help.   I'm still getting the error.  The second 
link only apply to streaming Real Audio media.  I don't understand "File 
not found" (if that indeed is what error -43 means with record sound 
file) means in this context.  It's supposed to be creating the file.


Anyone ever see this?

Eric Chatonet wrote:

Hi Peter,

http://docs.info.apple.com/article.html?artnum=107032 -- Mac
http://service.real.com/help/errors/error43.html -- Win

Hope this helps.

Le 7 mars 08 à 18:49, Peter T. Evensen a écrit :

I'm trying to 'record sound file "compare.wav"'  and I'm getting 
"Error -43 starting recording."  What does that mean?  -43 on Mac 
means file not found.


I am on Windows XP, running Rev 2.8.1

I had this working a while ago.  Now when I come back to the project, 
it isn't working.

Thanks!

--
Peter T. Evensen


Best regards from Paris,
Eric Chatonet.

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



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

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



--
Peter T. Evensen
Juice Plus+ Independent Distributor
314-629-5248 or 888-628-4588
http://www.PetersRoadToHealth.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 regarding print out of objects listing from the application browser

2008-03-11 Thread Sadhunathan Nadesan
Apologies in advance if this information is something easy to find in
the on line help or list archives, but here goes anyway.  I think it
relates somewhat to the discussion recently about distributed development,
keeping things in text files, etc.


Context:

As part of the set of technical design documents for a software project,
I am thinking of creating a prototype in REV.  This would then be an
easy way to 'catalogue' the entire set of objects in the application.

In other words, the REV stack would be a spec for developers with each
button, each field, each label, each menu choice organized visually, in a
semi- working prototype they could actually run, as well as, providing the
"application browser" tool to see a hierarchical view of, and navigate
amongst objects.  It would even be possible to list comments for each
object using the associated script.  Various methods or functions and
handlers could also be stubbed out or written in psuedo-code, either at
the object level or in the stack or card scripts.

Prototyping seems like a nice way to create a technical design spec.

Problem:

To read this "spec", you need REV.  (hey, buy it, right!?  or download
free trial).  What about the audience of non technical users or business
stake holders - what if they want to see a PDF or something?

Solution:

Unknown?  Is there an easy way to print out or save in text form the
same info being displayed in the application browser, and/or various
object scripts?

I can think of a 'hard way', hopefully someone will have a tool to
suggest for an easy way?
___
use-revolution mailing list
use-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: Fixed Width Fonts #2

2008-03-11 Thread Mark Swindell
I'm not sure why it showed up two months later, either.  I think we  
figured out how to achieve a desired result back then.  There was some  
helpful discussion at the time.


Mark

On Mar 11, 2008, at 10:33 AM, Len Morgan wrote:

I'm not sure why this message just showed up in my mailbox (it's  
almost 2 months old!) but is it possible that the field actually has  
to be rendered in order to measure the formatedWidth?   I'm not sure  
how you'd know except maybe to set the fields and then have a  
handler on the second field that would be triggered AFTER it has  
been written to.


Just a guess

len morgan

Mark Swindell wrote:


On Jan 27, 2008, at 3:54 PM, Scott Rossi wrote:


Recently, Mark Swindell wrote:

Is there for Rev to determine which system fonts are of fixed  
width?
If not directly, then indirectly?  Comparing widths of "i" and  
"w" on

a font by font basis?  How might this work?


Tried your idea using the following:  Created two 18pt text  
fields, put "W"

into fld 1, "I" into field 2, ran the following function:

 return (formattedWidth of fld 1 = formattedWidth of fld 2)

Results were false with Rev's default font, true with Monaco and  
Apple Mono

(OS X).

Seems like a valid direction.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design



Scott,

Thanks for your help.  Curious thing, though.  I created a script  
( below) which works fine when I run it line by line in the  
debugger, and _sometimes_ when I run it from a button, and then the  
next time(s), from the same button, it just chugs along and and  
returns nothing.  Any ideas?


on mouseUp
   global gFixedWidthFonts

   put empty into field "fixedWidth" of cd 1 of stack "FixedWidth"
   put "i" into field "skinnyLetter" of cd 1 of stack  
"FixedWidth"

   put "w" into field "fatLetter" of cd 1 stack "FixedWidth"

   put the fontnames into vAvailableFonts
   sort lines of vAvailableFonts

   repeat with x = 1 to the number of lines of  
vAvailableFonts   set the textfont of field "skinnyLetter"  
to line x of vAvailableFonts
   set the textfont of field "fatLetter" to line x of  
vAvailableFonts


   wait .05 seconds -- needs time to evaluate, maybe? dunno
   put the formattedwidth of fld "skinnyLetter" into vSkinny
   put the formattedwidth of fld "fatLetter" into vFat

   if  vSkinny = vFat then
   put line x of vAvailableFonts &return after field  
"FixedWidth" of cd 1 of stack "FixedWidth"

   end if

   end repeat

  put field "FixedWidth" into gFixedWidthFonts
end mouseUp
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

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



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

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



Thanks,
Mark



___
use-revolution mailing list
use-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: while I await my password...

2008-03-11 Thread J. Landman Gay

Colin Holgate wrote:
While I wait for my bug reporting password (are those created 
manually?),


I'm not sure if they are manual or not, but you should have received it 
by now. Could the reply have gone into your spam box? You might try 
logging in anyway just to see if it is registered yet.


I'll list some of the things that seem odd to me, to give 
you a sense of what I mean, and for you to say if it's normal oddities:


Place some little arrows, and resize them (you probably don't have a 
good reason to do that, but do it anyway). As you resize them they will 
change between arrows, a horizontal scroller, and a vertical scroller, 
depending on the width and height you make it. For example, something 
roughly square will be the arrows, something a bit narrower will be a 
vertical scroller. The inspector continues to report that it's little 
arrows, unless you deselect and reselect them, then it changes to the 
type it looks like. The final application shows the type it ended up 
like on Mac, but shows resized little arrows on Windows.


Right, all normal, except for maybe the last part. In reality there is 
only one "scrollbar" type of object. The way it looks depends, as you 
noticed, on the dimensions. The engine will automatically resize the 
arrows if the rectangle is small enough; otherwise it draws a regular 
scrollbar. The orientation of the scrollbar depends on the ratio between 
the height and width.


Rev attempts to make the distinction for you by putting different types 
of scrollbar settings into the tool palette, which makes it look like 
they are different, but they aren't. Rev does the same thing with 
buttons; there is only one button type, and the appearance and behavior 
depend on the button's style propery. The tool palette makes it look 
like there are different types of buttons, and the inspector reinforces 
this by removing certain settings depending on which button it is 
displaying.


The inspector is apparently not updating its pane info when you resize 
the scrollbar. This may be considered a bug, I suppose.




If you make a scroller by starting with little arrows and glitching it 
as above to become a scroller, or if you intentionally select it to be a 
scroller in the inspector, the final scroller does not scale correctly 
when you drag the thumb. If the mouse is over the thumb at the top of 
the channel, by the time you've dragged to the bottom of the channel the 
thumb is nowhere near the mouse position.


With little arrows (just drag them out to make them, and don't mess with 
the size), the bottom arrow is deemed to be under the mouse right up to 
over half way up the upper arrow. The upper arrow is only active in the 
top half of the arrow.


Bug.



Drag out a QuickTime object and connect it to a movie. Resize the 
object, do a save of the stack, close it, and open it again. The object 
is also back at the natural size of the QuickTime movie, and not at the 
size you made it.


Normal behavior, and works the same in image objects too. Images and 
players will resize to fit their media at the next redraw of the card 
(you will see the behavior you describe if you just go to another card 
and back, too.) To prevent this, set the lockloc of the image or player 
to true. That will disable the auto-resize feature. Auto-resize is handy 
if you want to use only one object to display different files at 
different times, but if you are only showing one file permanently, 
locking is the answer.




Default buttons don't behave like OS X default buttons. They constantly 
pulse. What is supposed to happen is that when you click on them they 
stop pulsing in the brighter state, and if you roll off them they become 
empty, like a non-default button. In  Rev they just continue to pulse.


Probably a bug. The default button style on OS X was a problem for a 
while and used considerable CPU cycles. That was fixed, but it sounds 
like newer OS behavior hasn't been implemented. Didn't they always pulse 
in older implementations of OS X?


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


Re: Should I have to check compiled programmes?

2008-03-11 Thread Len Morgan
Is it possible that the button that causes the problem is the last one 
(or first one - i.e., a boundary condition)?  If so, try adding a 
"dummy" number to the end or beginning of the list and see what happens.


len morgan


It's nothing clever - just an mouseUp
with generic code which is used by
a number of other buttons - which all
work. Just a matter of checking if the
label "12" is in a list "10,11,12" and
acting accordingly. It was in the list
and the other numbers were found.

As I said, it ran OK in the IDE so it's
something that happens during
compiling.
/quote



___
use-revolution mailing list
use-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: Repeat statement

2008-03-11 Thread Thomas McGrath III

Thanks Ben,

I had a brain fart... as it were.

I am now trying to grasp grandchildren in XML in REV

Thanks Tom

On Mar 11, 2008, at 1:27 PM, Ben Rubinstein wrote:


On 6/2/08 15:26, Thomas McGrath III wrote:
I am still trying to remember how repeat for each worked with  
deleting blank lines. ???


function deleteBlankLines tOld --> tNew
put empty into tNew
repeat for each line tLine in tOld
if tLine <> empty then put tLine & return after tNew
end repeat
return tNew
end deleteBlankLines

- 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


Re: RevZip

2008-03-11 Thread Len Morgan
I think you are looking for the revOpenArchive (or something close to 
that).  Once you open it, you have to use the Rev commands to get a list 
of the contents and then loop your way through it to get the individual 
files.


len morgan

-= JB =- wrote:

I was just playing around with the RevZip command and
when I try to open a Zip file the result says it is not a zip
file.  If I check the file info it says it is a zip file.

Also I don't see any command to open a file that is not a
zip archive and compress it unless I already have a zip
archive open.

Is RevZip used only for some special RevZip files or is
it for any Zip Archive?

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


while I await my password...

2008-03-11 Thread Colin Holgate
While I wait for my bug reporting password (are those created 
manually?), I'll list some of the things that seem odd to me, to give 
you a sense of what I mean, and for you to say if it's normal 
oddities:


Place some little arrows, and resize them (you probably don't have a 
good reason to do that, but do it anyway). As you resize them they 
will change between arrows, a horizontal scroller, and a vertical 
scroller, depending on the width and height you make it. For example, 
something roughly square will be the arrows, something a bit narrower 
will be a vertical scroller. The inspector continues to report that 
it's little arrows, unless you deselect and reselect them, then it 
changes to the type it looks like. The final application shows the 
type it ended up like on Mac, but shows resized little arrows on 
Windows.


If you make a scroller by starting with little arrows and glitching 
it as above to become a scroller, or if you intentionally select it 
to be a scroller in the inspector, the final scroller does not scale 
correctly when you drag the thumb. If the mouse is over the thumb at 
the top of the channel, by the time you've dragged to the bottom of 
the channel the thumb is nowhere near the mouse position.


With little arrows (just drag them out to make them, and don't mess 
with the size), the bottom arrow is deemed to be under the mouse 
right up to over half way up the upper arrow. The upper arrow is only 
active in the top half of the arrow.


Drag out a QuickTime object and connect it to a movie. Resize the 
object, do a save of the stack, close it, and open it again. The 
object is also back at the natural size of the QuickTime movie, and 
not at the size you made it.


Default buttons don't behave like OS X default buttons. They 
constantly pulse. What is supposed to happen is that when you click 
on them they stop pulsing in the brighter state, and if you roll off 
them they become empty, like a non-default button. In  Rev they just 
continue to pulse.


So, are some of these things that shouldn't be the way they are?

___
use-revolution mailing list
use-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: Fixed Width Fonts #2

2008-03-11 Thread Len Morgan
I'm not sure why this message just showed up in my mailbox (it's almost 
2 months old!) but is it possible that the field actually has to be 
rendered in order to measure the formatedWidth?   I'm not sure how you'd 
know except maybe to set the fields and then have a handler on the 
second field that would be triggered AFTER it has been written to.


Just a guess

len morgan

Mark Swindell wrote:


On Jan 27, 2008, at 3:54 PM, Scott Rossi wrote:


Recently, Mark Swindell wrote:


Is there for Rev to determine which system fonts are of fixed width?
If not directly, then indirectly?  Comparing widths of "i" and "w" on
a font by font basis?  How might this work?


Tried your idea using the following:  Created two 18pt text fields, 
put "W"

into fld 1, "I" into field 2, ran the following function:

  return (formattedWidth of fld 1 = formattedWidth of fld 2)

Results were false with Rev's default font, true with Monaco and 
Apple Mono

(OS X).

Seems like a valid direction.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design



Scott,

Thanks for your help.  Curious thing, though.  I created a script ( 
below) which works fine when I run it line by line in the debugger, 
and _sometimes_ when I run it from a button, and then the next 
time(s), from the same button, it just chugs along and and returns 
nothing.  Any ideas?


on mouseUp
global gFixedWidthFonts

put empty into field "fixedWidth" of cd 1 of stack "FixedWidth"
put "i" into field "skinnyLetter" of cd 1 of stack "FixedWidth"
put "w" into field "fatLetter" of cd 1 stack "FixedWidth"

put the fontnames into vAvailableFonts
sort lines of vAvailableFonts

repeat with x = 1 to the number of lines of vAvailableFonts   
set the textfont of field "skinnyLetter" to line x of 
vAvailableFonts
set the textfont of field "fatLetter" to line x of 
vAvailableFonts


wait .05 seconds -- needs time to evaluate, maybe? dunno
put the formattedwidth of fld "skinnyLetter" into vSkinny
put the formattedwidth of fld "fatLetter" into vFat

if  vSkinny = vFat then
put line x of vAvailableFonts &return after field 
"FixedWidth" of cd 1 of stack "FixedWidth"

end if

end repeat

   put field "FixedWidth" into gFixedWidthFonts
end mouseUp
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

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



___
use-revolution mailing list
use-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: Repeat statement

2008-03-11 Thread Ben Rubinstein

On 6/2/08 15:26, Thomas McGrath III wrote:
I am still trying to remember how repeat for each worked with deleting 
blank lines. ???


function deleteBlankLines tOld --> tNew
put empty into tNew
repeat for each line tLine in tOld
if tLine <> empty then put tLine & return after tNew
end repeat
return tNew
end deleteBlankLines

- 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


Re: Sheepshaver in Leopard...

2008-03-11 Thread Colin Holgate

At 10:10 AM -0700 3/11/08, Joe Lewis Wilkins wrote:
Right now, I'm a little concerned at the speed with which everything 
will run, but we'll see, since the SheepSaver site says something 
about 1/8th native speed.


It was certainly plenty fast enough, especially when you think that a 
Macintosh Plus was 8 MHz, and it ran HyperCard ok. Having a machine 
that is 300 times faster, not counting the number of bits and caching 
improvements, should yield something that works!


___
use-revolution mailing list
use-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: Split is Behaves Unexpectedly?

2008-03-11 Thread Ben Rubinstein

On 19/2/08 20:48, Web Admin Himalayan Academy wrote:

Mark Smith wrote:

However, the solution is very simple:

repeat for each line tLine in tList
  put tLine into tempLine
  
 end repeat  
Excellent! I knew it was something simple... split is too important to 
be broken.  And I can understand the contraints (if you think of it from 
a binary point of view.. pointers and all...)


Thanks Mark...



On 19 Feb 2008, at 12:37, Björnke von Gierke wrote:

Yes this is completely counter intuitive, and completely stupidly 
broken from a user perspective:

http://quality.runrev.com/qacenter/show_bug.cgi?id=3036

On 19 Feb 2008, at 03:15, chris bohnert wrote:


from the docs on repeat foreach:

 Important!  You cannot change the labelVariable in a statement 
inside the
loop. Doing so will cause a script error. You can change the content 
of the

container, but doing so will probably produce unexpected results.


This is such a common gotcha: on a quick review, I found #248, #1026, #3139, 
#5157, #5605 in addition to the report Björnke cited.


Once upon a time, the compiler caught at least some of these instances, so you 
at least got an immediate error that modifying the loop variable inside the 
loop wasn't supported; however at some point post 2.0 (?) that was lost.


To my mind, this is the kind of efficiency hack/potential cause of confusion 
that Rev should sacrifice in favour of avoiding confusion.  I'd love to see it 
sorted once and for all.  Votes are currently all centered on #3036 - I'd urge 
adding your votes there to help push this issue up RunRev's (post-2.9) 
priority list.


- 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


Re: Sheepshaver in Leopard...

2008-03-11 Thread Joe Lewis Wilkins

Thanks, Colin,

Right now, I'm a little concerned at the speed with which everything  
will run, but we'll see, since the SheepSaver site says something  
about 1/8th native speed.


Joe Wilkins

On Mar 11, 2008, at 9:56 AM, Colin Holgate wrote:


At 9:12 AM -0700 3/11/08, Joe Lewis Wilkins wrote:
Very interesting. How did you obtain the Mac ROM that (I think) is  
needed? And you were using what Mac OS?


I carefully followed the instructions on this page:

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

and the disc that worked for me was the Mac OS 8.5 CD.

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

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


Joe Lewis Wilkins
[EMAIL PROTECTED]



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


Re: Sheepshaver in Leopard...

2008-03-11 Thread Colin Holgate

At 9:12 AM -0700 3/11/08, Joe Lewis Wilkins wrote:
Very interesting. How did you obtain the Mac ROM that (I think) is 
needed? And you were using what Mac OS?


I carefully followed the instructions on this page:

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

and the disc that worked for me was the Mac OS 8.5 CD.

___
use-revolution mailing list
use-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: Should I have to check compiled programmes?

2008-03-11 Thread Thomas McGrath III

Ross,

I responded to this in the RR Forums this morning. I think you have  
something going on in the code or environment related issues. The  
compiler has been running smooth for a while now and I don't think  
your problem lies there.


You may want to check the obvious causes:
Library not installed/included
SubStack not check for inclusion
Pathname changed (Static versus Dynamic)
If then (if the environment is "Development" then...)
Also, Since you are working with numbers as labels I would look into  
the naming (not label) of these buttons. I would check if you are  
using a naming scheme that could be causing your problem.


Since your code is top secret maybe you can share what types of things  
you are doing behind the scenes with the code i.e. Loading a picture,  
URL, accessing an external data file, mySQL etc.


/quote
It's nothing clever - just an mouseUp
with generic code which is used by
a number of other buttons - which all
work. Just a matter of checking if the
label "12" is in a list "10,11,12" and
acting accordingly. It was in the list
and the other numbers were found.

As I said, it ran OK in the IDE so it's
something that happens during
compiling.
/quote


HTH

Tom McG

On Mar 9, 2008, at 12:52 AM, Ross Giddings wrote:


My app ran in RR but after I
compiled it I found that one
button wasn't responding to
mouseUp.

Other buttons with the same
code were OK.

I tested again in RR and found
nothing wrong.

When I compiled again the same
button worked.

Should I check my compiled app
for errors?  Feel I shouldn't
have to...


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

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


___
use-revolution mailing list
use-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: Sheepshaver in Leopard...

2008-03-11 Thread Joe Lewis Wilkins

Colin,

Very interesting. How did you obtain the Mac ROM that (I think) is  
needed? And you were using what Mac OS?


Joe Wilkins

On Mar 11, 2008, at 8:16 AM, Colin Holgate wrote:


At 11:45 AM -0400 1/31/08, Jim Carwardine wrote:
Hi Folks... Has anyone run Sheepshaver under Leopard yet?  Does it  
work?... Jim



Yes, and yes. I wanted to show the Expanded Books software to an NYU  
class, and managed to get HyperCard running on my MacBook Pro, 10.5.2.


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

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


Joe Lewis Wilkins
[EMAIL PROTECTED]



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


Re: Sheepshaver in Leopard...

2008-03-11 Thread Colin Holgate

At 11:45 AM -0400 1/31/08, Jim Carwardine wrote:
Hi Folks... Has anyone run Sheepshaver under Leopard yet?  Does it 
work?... Jim



Yes, and yes. I wanted to show the Expanded Books software to an NYU 
class, and managed to get HyperCard running on my MacBook Pro, 10.5.2.


___
use-revolution mailing list
use-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: Moderator help please...

2008-03-11 Thread Eric Chatonet

Hello Ross,

Le 9 mars 08 à 07:33, Ross Giddings a écrit :


My submission gets a reply
stating "by non-member"  I
assumed that when I subscribed
I became a member.

What do I have to do to become
a member?

Ross


Welcome to this list.
Your first send did show up here.
But it's difficult to reply:
Is it an affirmation or a question?
As for me, if standalones may have problems (due to some missing  
inclusions or, of course, my code :-), I did not encounter the issue  
you report.


Best regards from Paris,
Eric Chatonet.

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



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


Re: Arrays and Recursion: Scrabble with Revolution

2008-03-11 Thread Mark Schonewille

Hi John,

Probably, you are using a slightly older version of Revolution. A nice  
addition to the Scrabble stack would have been a version check to see  
if private handlers are supported. You did the right thing, changing  
the private handlers into "public" (or should I say generic?) ones.


Best regards,

Mark Schonewille

--

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

A large collection of scripts for HyperCard, Revolution, SuperCard and  
other programming languages can be found at http://runrev.info





On 9 feb 2008, at 10:49, John Stone wrote:



Hi, I just downloaded the scrabble stack from the rev news letter
and on running it I got the message

executing at 9:42:52 AM
TypeFunction: error in function handler
Object  card id 1002
Linereturn permuteSequence(pAvailableLetters)
HintpermuteSequence

so i made the function permuteSequence 'non' private then it works  
fine,
don't know why this is as I have lots to learn, any help on why this  
fixes

the prob will be appreciated
Thanks for this stack, I am certainly going to learn lots from 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: Database Encryption

2008-03-11 Thread Trevor DeVore

On Feb 5, 2008, at 1:54 PM, Ross Giddings wrote:


A simple way to prevent unauthorized
access to a database is to encrypt
the relevant part of the file header
so that it's not recognized as a db
outside your programme.

Decrypt the header programmatically
inside your app and encrypt it on
closing.


Just be aware that since you are modifying the file on disk anyone can  
open your database file while it is open in your application or make a  
copy of it while it is open in your application and then open it  
whenever they would like (at least with SQLite).


Regards,

--
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com-www.screensteps.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: Loading random files

2008-03-11 Thread Mark Smith
Alan, if you have a list of files, words or anything else, for that  
matter, called 'tList"


put any line of tList into tFile

will choose a line at random.

However, bear in mind that the choices are not guaranteed to be ones  
not already made, so you may want to do something like this:


put random(the number of lines in tList) into tLine
put line tLine of tList into tFile

delete line tLine of tList -- make sure it doesn't get chosen again

Best,

Mark

On 24 Jan 2008, at 20:45, Alan Nielsen wrote:

I'm working on an experimental design in which figures will be  
displayed,

and the subjects given a choice of two words to describe the figure.

The figures, and words however, have to be randomly selected from my
database of figures and words

How would I go about having a new random figure loaded in a figure  
window
everytime a stack opened? Obviously, the same thing is needed for  
words;

can I have a button display a random word from a list of words?

Cheers

___
use-revolution mailing list
use-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: Sorting a large field of data

2008-03-11 Thread bjdevlin

Have you tried putting the field's contents into a variable, sort the
contents of the variable, then put the sorted contents  back into the field?

Bernard


David Coker wrote:
> 
> Even while using "wait 1 with messages", when I begin the sort routine
> on my smaller machine, it runs the CPU up to 100 percent and any other
> interaction with the program causes the interface elements to
> completely white out. Once the sort is finished, CPU goes back and the
> interface is ready to use again during the remaining operations.
> 
> 
> Thanks,
> David
> 

-- 
View this message in context: 
http://www.nabble.com/Sorting-a-large-field-of-data-tp15925286p15925360.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: More Socket Problems.........

2008-03-11 Thread Alex Tweedly

Dave wrote:

Opps!

Just realized that the IP Addresses are wrong in the example, in the 
real app it's ok. I forgot that my router munges the the LAN IP 
Addresses, so where I've put 192.168.1.101, read 192.168.1.87 and 
where 192.168.1.102 read 192.168.1.105.


Another question is:

Why do I get a read error and not a write error:

socketError: 192.168.1.87:6000|looktowindward Error 54 reading socket

I'm not reading on the Client, I'm trying to try data.

You don't get a read error. You get a socket error (-- Connection reset 
by peer. This occurs when an established connection is shut down for 
some reason by the remote computer.) which the error string misleadingly 
indicates was a read error. This probably comes from your system (which 
OS etc. are you using ?), and is merely passed along by Rev.


It probably does happen when you try to write to the socket after it has 
been closed.


I'd recommend adding a 'socketClosed' handler and see if that helps ...



Questions:

Why do I sometimes not get a socketError or a socketTimeout ?

Why does it sometimes repeat (as it should) for a few times and then 
stop?


Don't know :-(  but try adding the socketClosed handler and see if that 
helps. I have also asked some questions / made some suggestions below.

If it doesn't, resend this log

Here is the code:

The mouseUp handler are in the main stack of the app and the


The following is including in the App using the "start using" command:


--  StartServer

function StartServer theServerPortNumber,theClientAllowList

  get DebugLogString("StartServer - Accept:" && theServerPortNumber)

  put theClientAllowList into sgServerClientAllowList
  accept connections on theServerPortNumber with message 
"ServerContactedByClient"


  return empty
end StartServer


--  ServerContactedByClient

on ServerContactedByClient theIPAddress
  local myClientIPAddress
  local myResult

  put the result into myResult


what do you expect 'the result' to contain at this point ?
  get DebugLogString("ServerContactedByClient:" && theIPAddress && 
myResult)


  if myResult <> empty then
breakpoint
exit ServerContactedByClient
  end if

  set the itemDelimiter to ":"
  put item 1 of theIPAddress into myClientIPAddress

  if myClientIPAddress is not among the lines of 
sgServerClientAllowList then
get DebugLogString("ServerContactedByClient, Bad Client:" && 
theIPAddress)

close socket theIPAddress
I'd recommend a 'exit ServerContactedByClient" at this point - otherwise 
you are about to read from a socket you just closed.

  end if

  read from socket theIPAddress for kPacketCountSize chars with 
message "ServerReceivedPacketSize"


end ServerContactedByClient



--  ServerReceivedPacketSize

on ServerReceivedPacketSize theIPAddress,thePacketSize
  local myResult
  local myPacketData
  local myPacketID
  local myPacketCommand
  local myConnectionID

  put the result into myResult


again, what do you expect in 'the result' here ?
  get DebugLogString("ServerReceivedPacketSize:" && theIPAddress && 
thePacketSize && myResult)


  if myResult <> empty then
get DebugLogString("ServerReceivedPacketSize, Error:" && myResult)
breakpoint
  end if

  read from socket theIPAddress for thePacketSize chars
  put the result into myResult
  put it into myPacketData

Note this is a blocking read. That will normally work OK (since the 
client sends the packet size followed by the data), but it is not 
robust. If the client was forced to split the data into different 
packets (e.g. if the data was relatively large), and the subsequent 
packet was lost in the network (i.e needed to be NAK'ed and then 
retransmitted), then this could cause your handler to block for an 
arbitrarily long period - up to the timeout interval.


It's up to you, but I would NEVER do a blocking read - I'd simply do

  read from socket theIPAddress for thePacketSize chars with message 
"ServerReceivedPacketData"


and put most of the following code into that new handler (finishing, of 
course with another "read from ... ServerReceivedPacketSize")
  get DebugLogString("ServerReceivedPacketSize, Packet Data:" && 
myPacketData && myResult)


  if myResult <> empty then
get DebugLogString("ServerReceivedPacketSize, Error:" && myResult)
breakpoint
  end if

  --
  --  Get the Message Content
  --
  put item 1 of myPacketData into myPacketID
  put item 2 of myPacketData into myPacketCommand

  if myPacketID = "$SYS" then
if myPacketCommand = "Connect" then
  put item 3 of myPacketData into myConnectionID

 end if

  end if

end ServerReceivedPacketSize


--  StartClient

function StartClient theServerList,theConnectionID

  set the socketTimeoutInterval to (2 * 1000)
  put theServerList into sgConnectToServerList
  repeat for each line myIPAddress in sgConnectToServerList
send "StartOneClient myIPAddress,theConnectionID" to me in 0 seconds
  end repeat

  return empty
end StartClient

I notice that StartOneClient really only does 'o

Re: UI performance and large data set in Table Object

2008-03-11 Thread bjdevlin

To be frank, Rev's native table object leaves an awful lot to be desired. 
Quite a few people on this list ended up writing their own table object
instead.  I wrote one with resizable columns and column-click sorting that
was based on a normal scrolling field.  It was lightening fast with
thousands of rows.  

Chipp has made his table control publicly available:
http://www.altuit.com/webs/altuit2/RunRevArchived/Archives.htm and look for
'altFldHeader Control'.  It may well turn out that this serves your needs
better than Rev's table object.

Bernard


mfstuart wrote:
> 
> I also tried the Scrolling Field and compared it to the Table Field, using
> 20,844 lines - big difference, where the Scrolling Field won in it's
> performance of no degradation of stack resize.
> But I've never used this object before, because I lose the formatting of
> columnar presentation.
> 
> If I use this object, is there a way to set it to columnar appearance?
> And isn't it when you check the table property for this object, it changes
> everything back to a Table Field?
> 

-- 
View this message in context: 
http://www.nabble.com/UI-performance-and-large-data-set-in-Table-Object-tp15618647p15629164.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: Split is Behaves Unexpectedly?

2008-03-11 Thread Web Admin Himalayan Academy

Mark Smith wrote:

However, the solution is very simple:

repeat for each line tLine in tList
  put tLine into tempLine
  
 end repeat   

Excellent! I knew it was something simple... split is too important to 
be broken.  And I can understand the contraints (if you think of it from 
a binary point of view.. pointers and all...)


Thanks Mark...



On 19 Feb 2008, at 12:37, Björnke von Gierke wrote:

Yes this is completely counter intuitive, and completely stupidly 
broken from a user perspective:

http://quality.runrev.com/qacenter/show_bug.cgi?id=3036

On 19 Feb 2008, at 03:15, chris bohnert wrote:


from the docs on repeat foreach:

 Important!  You cannot change the labelVariable in a statement 
inside the
loop. Doing so will cause a script error. You can change the content 
of the

container, but doing so will probably produce unexpected results.


--
cb

On Feb 18, 2008 7:40 PM, Sivakatirswami <[EMAIL PROTECTED]> wrote:


go stack url
"http://www.himalayanacademy.com/runrev/stacks/TestSplitData.rev";

turns out it is skipping every other line in the input data.






___
use-revolution mailing list
use-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: Make a cheap web server with simple no-CGI read write on port 80

2008-03-11 Thread delorme

Hope it is more readable
___

Hi from France!

The idea of this cheap html server came from "chat server" demo stack.
I tried, it works quite fine.
Next is a sum-up:

On Openstack
.  accept connections on port 80 with message GotAConnection

on GotAConnection aSocket
.  read from socket aSocket for 1 line
.  analyze received line (GET or POST)
.  read from socket aSocket with message GotNextLines

on GotNextLines aSocket , ReceivedLines
.  Analyze ReceivedLines
.  Do any processing you want with the user request
.  Make TheHtmlAnswer from pre-made file + replaced text (wanted GET file ou
POST answer)
.  write TheHtmlAnswer to socket 

Any distant web browser then gets the requested .html files (as forms with
submit buttons), or POST anwsers after button clicks (submits) in previous
sent forms.

Is'nt life easy?
The only limit is that only html text is replied (no image) because no
Apache server is used.
Also have to record socket connections context in a gSocketConnectionsTable
because many connections are available (which .htm file must be sent back
when GotNextLines?).
Thank you for your feedback and own return on experience about making a web
server from Revolution.

Jean-Marc
-- 
View this message in context: 
http://www.nabble.com/Make-a-cheap-web-server-with-simple-no-CGI-read-write-on-port-80-tp15434481p15434490.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


Arrays and Recursion: Scrabble with Revolution

2008-03-11 Thread John Stone

Hi, I just downloaded the scrabble stack from the rev news letter
and on running it I got the message 

executing at 9:42:52 AM
TypeFunction: error in function handler
Object  card id 1002
Linereturn permuteSequence(pAvailableLetters)
HintpermuteSequence

so i made the function permuteSequence 'non' private then it works fine, 
don't know why this is as I have lots to learn, any help on why this fixes
the prob will be appreciated
Thanks for this stack, I am certainly going to learn lots from it
-- 
View this message in context: 
http://www.nabble.com/Arrays-and-Recursion%3A-Scrabble-with-Revolution-tp15370112p15370112.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: Repeat statement

2008-03-11 Thread Thomas McGrath III

That sure is short... and will work for what I was doing too. Thanks.

I am still trying to remember how repeat for each worked with  
deleting blank lines. ???



Thanks again

Tom

On Feb 5, 2008, at 9:58 PM, J. Landman Gay wrote:


Thomas McGrath III wrote:

OK, Here's an easy one that I can't remember for the life of me.
What is the best repeat to delete blank lines in a list?


The best repeat is a one-liner. :)

  filter tList without empty


___
use-revolution mailing list
use-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: Repeat statement

2008-03-11 Thread Thomas McGrath III

That sure is short... and will work for what I was doing too. Thanks.

I am still trying to remember how repeat for each worked with  
deleting blank lines. ???



Thanks again

Tom

On Feb 5, 2008, at 9:58 PM, J. Landman Gay wrote:


Thomas McGrath III wrote:

OK, Here's an easy one that I can't remember for the life of me.
What is the best repeat to delete blank lines in a list?


The best repeat is a one-liner. :)

  filter tList without empty


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

2008-03-11 Thread Thomas McGrath III

David,

That page loads fine in my revBrowser app.I also tried my own iGoogle  
page.  But i have noticed a few buggy crashes during development. The  
thing for me was that I MAY not have taken care of all closeRevBRowser  
calls during the development process.


I believe if the Safari or EI browser is upgraded than this would  
effect the Rev browser.



HTH

Tom

Mac OS10.5.1 2.4 GHz Intel Core 2 Duo
4 GB 667 MHz DDR2 SDRAM

On Feb 1, 2008, at 12:16 PM, David Bovill wrote:

Having some problems with revBrowser - I get a repeated crash using  
the

"Browser Sampler.rev" stack - or the stacks I am coding. I get it when
viewing my Google Home page - that's not the search engine but the
personalised home page with the widgets in I am not sure which  
url to
give as it sues my loin credentials to display my personalised page  
- can
someone check "http://www.google.co.uk/ig?hl=en"; in revBrowser on  
other

platforms / systems?

In general I'd like to know what the stability issues are for the  
embedded
browser. Any one know how it works - that is I know it uses the  
relevant web
kits on windows and macOS - but are these embedded in the external -  
or as I
suspect part of the operating system that the external interfaces  
with - in
other words if the operating system is upgraded - are features  
added / fixes

made that would effect revBrowser - or is it all part of the external.





Thomas McGrath III
[EMAIL PROTECTED]

Mac OS10.5.1 2.4 GHz Intel Core 2 Duo
4 GB 667 MHz DDR2 SDRAM



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


Sheepshaver in Leopard...

2008-03-11 Thread Jim Carwardine
Hi Folks... Has anyone run Sheepshaver under Leopard yet?  Does it  
work?... Jim


Jim Carwardine,
President & CEO
OYF Consulting
Ph. 902.823.2339 / 866.601.2339
Fx. 902.823-2139

StrategicDoing™: Execution depends on employees.
Strategic Partner with HiringSmart Canada Ltd.
--



___
use-revolution mailing list
use-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: Fixed Width Fonts #2

2008-03-11 Thread Mark Swindell


On Jan 27, 2008, at 3:54 PM, Scott Rossi wrote:


Recently, Mark Swindell wrote:


Is there for Rev to determine which system fonts are of fixed width?
If not directly, then indirectly?  Comparing widths of "i" and "w" on
a font by font basis?  How might this work?


Tried your idea using the following:  Created two 18pt text fields,  
put "W"

into fld 1, "I" into field 2, ran the following function:

  return (formattedWidth of fld 1 = formattedWidth of fld 2)

Results were false with Rev's default font, true with Monaco and  
Apple Mono

(OS X).

Seems like a valid direction.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design



Scott,

Thanks for your help.  Curious thing, though.  I created a script  
( below) which works fine when I run it line by line in the debugger,  
and _sometimes_ when I run it from a button, and then the next time 
(s), from the same button, it just chugs along and and returns  
nothing.  Any ideas?


on mouseUp
global gFixedWidthFonts

put empty into field "fixedWidth" of cd 1 of stack "FixedWidth"
put "i" into field "skinnyLetter" of cd 1 of stack "FixedWidth"
put "w" into field "fatLetter" of cd 1 stack "FixedWidth"

put the fontnames into vAvailableFonts
sort lines of vAvailableFonts

repeat with x = 1 to the number of lines of vAvailableFonts 
set the textfont of field "skinnyLetter" to line x of  
vAvailableFonts
set the textfont of field "fatLetter" to line x of  
vAvailableFonts


wait .05 seconds -- needs time to evaluate, maybe? dunno
put the formattedwidth of fld "skinnyLetter" into vSkinny
put the formattedwidth of fld "fatLetter" into vFat

if  vSkinny = vFat then
put line x of vAvailableFonts &return after field  
"FixedWidth" of cd 1 of stack "FixedWidth"

end if

end repeat

   put field "FixedWidth" into gFixedWidthFonts
end mouseUp
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Moderator help please...

2008-03-11 Thread Ross Giddings

My submission gets a reply
stating "by non-member"  I
assumed that when I subscribed
I became a member.

What do I have to do to become
a member?

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


Should I have to check compiled programmes?

2008-03-11 Thread Ross Giddings

My app ran in RR but after I
compiled it I found that one
button wasn't responding to
mouseUp.

Other buttons with the same
code were OK.

I tested again in RR and found
nothing wrong.

When I compiled again the same
button worked.

Should I check my compiled app
for errors?  Feel I shouldn't
have to...


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


Database Encryption

2008-03-11 Thread Ross Giddings

A simple way to prevent unauthorized
access to a database is to encrypt
the relevant part of the file header
so that it's not recognized as a db
outside your programme.

Decrypt the header programmatically
inside your app and encrypt it on
closing.



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


Loading random files

2008-03-11 Thread Alan Nielsen
I'm working on an experimental design in which figures will be displayed,
and the subjects given a choice of two words to describe the figure.

The figures, and words however, have to be randomly selected from my
database of figures and words

How would I go about having a new random figure loaded in a figure window
everytime a stack opened? Obviously, the same thing is needed for words;
can I have a button display a random word from a list of words?

Cheers

___
use-revolution mailing list
use-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: negative numbers in menus. Possible or not?

2008-03-11 Thread bjdevlin

the 'backslash' doesn't work, but strangely enough, this has the desired
appearance:

"/--"

Bernard


Eric Chatonet wrote:
> 
> No time to test it but it would appear consistent to use anti-slash  
> (\-) as it is used for some other meaningful signs in menus to make  
> them 'harmless'?
> If it does not work, it should be requested as an enhancement :-)
> 

-- 
View this message in context: 
http://www.nabble.com/negative-numbers-in-menus.-Possible-or-not--tp15044392p15050417.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: Putting Encryption Libraries in Different Folder

2008-03-11 Thread Bob Sneidar
I need to use an encryption method when asking the user for a  
password, but since the ask password command is not a function, I  
cannot use that in any calls to revdb. I have to save to a variable  
which exposes my password to anyone with a bit of expertise.


If the ask password command was implemented as a function, I could use  
it in revdatabaseconnect() as one of the arguements. Since the MySQL  
is only taking cleartext passwords I would need to use the ask  
password clear method, but as a function.


Just sayin'. :-)

Bob Sneidar
IT Manager
Logos Management
Calvary Chapel CM

On Jan 22, 2008, at 11:26 AM, Trevor DeVore wrote:


Hi,

I'm using encrypt/decrypt on Windows. If I place both the  
libeay32.dll and ssleay32.dll files in the same directory as the  
executable then everything works as expected (the cipherNames  
returns valid ciphers). I'm hoping to put the files in another  
folder though.


I thought $REV_SSL_PATH would do the trick since the encrypt/decrypt  
doc entries reference but I'm not having any luck. I've tried the  
following:


* Setting $REV_SSL_PATH to the directory where the two files reside.
* Setting $REV_SSL_PATH to the path of libeay32.dll and putting  
ssleay32.dll in the executable folder.
* Setting $REV_SSL_PATH to the path of ssleay32.dll and putting  
libeay32.dll in teh executable folder.
* Setting $REV_SSL_PATH to the path to libeay32.dll & cr & the path  
to ssleay32.dll.


None of the above work. Anyone know how to put the encryption  
libraries in a developer specified directory?


Thanks,

--
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com-www.screensteps.com

Email has been scanned for viruses by Altman Technologies' email  
management service - www.altman.co.uk/emailsystems

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


RevZip

2008-03-11 Thread -= JB =-

I was just playing around with the RevZip command and
when I try to open a Zip file the result says it is not a zip
file.  If I check the file info it says it is a zip file.

Also I don't see any command to open a file that is not a
zip archive and compress it unless I already have a zip
archive open.

Is RevZip used only for some special RevZip files or is
it for any Zip Archive?

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