Re: Bacground color of tabbed button

2007-02-16 Thread Sarah Reichelt

> The background color for the stack can be changed by the user, which
> chnges the background color of the tabbed button, but by varying
> amounts, so I can't hard-wire either a color or a color difference. I
> just need a way to find the real color of a certain area of the
> window.

It's so ugly it hurts, but:

   put the screenmouseloc into tLoc
   set the screenmouseloc to x,y -- the location you need to read
   put the mousecolor into tColor -- this is the color
   set the screenmouseloc to tLoc

It happens so fast I don't even need to lock the screen, but you might
want to test on slower machines to make sure.

I vaguely remember someone else had another way to do it but I can't
recall what it was. Scott Raney suggested the above when I asked about
the same thing some years ago.


Sigh!

Thanks Jacque, after I emailed the question I worked this one out but
it was so awful that I hoped there was a better way...

Ah well, at least it works.

For anyone wanting to know the full details, here is the full script I use:

   put the topleft of btn "Tabs" into tL
   put the screenmouseloc into tOldMouse
   add 10 to item 1 of tL
   add 15 to item 2 of tL  -- move right & down to avoid the corner
   set the screenmouseloc to globalloc(tL)
   put the mousecolor into tCol
   set the screenmouseloc to tOldMouse
   set the backcolor of fld "Status" to tCol

After setting the backColor or the stack, you can't do this instantly
as it takes some time for the tabbed backgroound to be updated. I call
this 5 ticks after setting the backcolor and that seems fine. 1 tick
worked most of the time on my 2 GHz iMac, so hopefully 5 will be safe.
I might push it out to 10 as the field I need to set will not be
visible when this change is happening.

Thanks,
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: Bacground color of tabbed button

2007-02-16 Thread J. Landman Gay

Sarah Reichelt wrote:


The background color for the stack can be changed by the user, which
chnges the background color of the tabbed button, but by varying
amounts, so I can't hard-wire either a color or a color difference. I
just need a way to find the real color of a certain area of the
window.


It's so ugly it hurts, but:

  put the screenmouseloc into tLoc
  set the screenmouseloc to x,y -- the location you need to read
  put the mousecolor into tColor -- this is the color
  set the screenmouseloc to tLoc

It happens so fast I don't even need to lock the screen, but you might 
want to test on slower machines to make sure.


I vaguely remember someone else had another way to do it but I can't 
recall what it was. Scott Raney suggested the above when I asked about 
the same thing some years ago.


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


Bacground color of tabbed button

2007-02-16 Thread Sarah Reichelt

Hi All,

If I have a tabbed button on OS X,  I get a nice 3D border around a
space of a slightly different color to the background of my stack.
This is a nice effect, but how can I find out what the color of that
area is?

I need to put an opaque field on a tab's background, but I want it's
background to have the same color. It's opaque becasue it is hiding
other things, but I want it to look as if it is transparent.

The background color for the stack can be changed by the user, which
chnges the background color of the tabbed button, but by varying
amounts, so I can't hard-wire either a color or a color difference. I
just need a way to find the real color of a certain area of the
window.

TIA<
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: AltSQlite3 Demo error

2007-02-16 Thread Chipp Walters

Sounds like your dll is corrupt or not complete. Try redownloading or
contact [EMAIL PROTECTED]

best,
Chipp
___
use-revolution mailing list
use-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 create a single line entry field?

2007-02-16 Thread Jim Schaubeck
Tiemo,
I dealt with this issue this as well.  I did what others have suggested:

on enterInField
-- do something (click or send mouseup or other command), or nothing just to 
stop the enter key
end enterInField

on returnInField
-- do something (click or send mouseup or other command), or nothing just to 
stop the enter key
end returnInField

To deal with the multiple lines I did this:

put line 1 of cd fld x into cd fld x -- gets rid of multipple lines in field x

This gets rid of extra lines that were entered possibly by a paste command 
since a return key would not work based on the above code.  But the above code 
does not stop a return being pasted into the text by the user.


Jim...




On Friday, February 16, 2007, at 10:08AM, "Tiemo Hollmann TB" <[EMAIL 
PROTECTED]> wrote:
>Hello,
>
>Probably a simple newbee question:
>
>1. how can I realize a single line field, where the user can enter text and
>commits with enter key?
>
>In my standard scenario the enter key makes a CR into the field, so that the
>text breaks and disappears in the unvisible line 1 of 2 of my textfield
>(because it has only 1 line visible)
>
> 
>
>I have a handler:
>
>on rawkeyUp keyCode
>
>in the field, where I handle the key entries. But even if I try to capture
>the keyCode 65293 ( EnterKey) and break the rawkeyUp, revolution puts the CR
>into the field.
>
> 
>
>Is there a field property "single line field" or something like that?
>
> 
>
>2. is there a chance to set the location of the ask and answer dialog,
>instead of default centred?
>
> 
>
>Thank you
>
>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: libURL: load unload bug?

2007-02-16 Thread Dave Cragg


On 16 Feb 2007, at 20:49, David Bovill wrote:


To confirm - issueing "libUrlResetAll" fixes the problem.

But what is the problem ??? I am loading thumbnails into my  
application
asynchronously using the "load with message" command. As each  
thumbnail
comes over I get the url from the cache and put the data into the  
thumbnail
image finally unloading the url so as to clear the image from the  
cache
memory. Seems all to work fine except that every so often with  
loads of 100

images well the cache gets mucked up - here are the scripts:

setprop image_Loaded photoURL
   put the long id of the target into thumbView
   load url photoURL with message "image_DisplayLoaded"
end image_Loaded

on image_DisplayLoaded someURL, someStatus
   put url someURL into someImage
   set the image_Value of me to someImage
   unload url someURL
end image_DisplayLoaded

setprop image_Value someImage
   put the short id of the image_Object of me into imageObjectID
   put someImage into image id imageObjectID of me
end image_Value

Perhaps I am not checking the status before unloading? Should not  
cause this

problem but still... ?



I can't say for sure what the problem is, but you probably should  
check the status at the beginning of the image_DisplayLoaded handler.


I see a possible problem if the load has failed for some reason, and  
then you immediately do a "get url". In this case, the "get url" will  
try to retrieve the data directly from the server, and may well fail  
too as it's to the same url. Something like:


on image_DisplayLoaded someURL, someStatus
  if someStatus is "cached" then  
put url someURL into someImage
set the image_Value of me to someImage
unload url someURL
  else
unload url someURL
## do some error handling here
## error message, etc.
  end if
end image_DisplayLoaded

I'm not saying this is the problem, but it might be good to eliminate  
this possibility first.


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


Re: libURL: load unload bug?

2007-02-16 Thread David Bovill

To confirm - issueing "libUrlResetAll" fixes the problem.

But what is the problem ??? I am loading thumbnails into my application
asynchronously using the "load with message" command. As each thumbnail
comes over I get the url from the cache and put the data into the thumbnail
image finally unloading the url so as to clear the image from the cache
memory. Seems all to work fine except that every so often with loads of 100
images well the cache gets mucked up - here are the scripts:

setprop image_Loaded photoURL
   put the long id of the target into thumbView
   load url photoURL with message "image_DisplayLoaded"
end image_Loaded

on image_DisplayLoaded someURL, someStatus
   put url someURL into someImage
   set the image_Value of me to someImage
   unload url someURL
end image_DisplayLoaded

setprop image_Value someImage
   put the short id of the image_Object of me into imageObjectID
   put someImage into image id imageObjectID of me
end image_Value

Perhaps I am not checking the status before unloading? Should not cause this
problem but still... ?
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Script Profiler instructions

2007-02-16 Thread J. Landman Gay
Since the Script Profiler stack I just uploaded to RevOnline expects you 
to be a mind-reader, I thought I'd provide brief instructions. This is 
definitely a development tool with a minimal UI. Here is how to use it.


1. Open the stack as you would any other. You can put it in the plugins 
folder if you want and choose it from the Plugins menu. The stack will 
choose a default script to display when it opens.


2. Use the popdown menu buttons to choose the stack and object you want 
to examine. Choose the handler name you want to specifically want to test.


3. Click the "Start Profile" button at the top right of the stack.

4. Either execute handlers normally by using the stack you are testing, 
or else click the "Send Message" button at the bottom of the stack to 
specifically send the message you choose in the popdown button. When 
testing a single handler, clicking the button is the easiest way to 
execute the handler.


5. The message will be sent and executed, and the profiler display will 
change to show the number of calls and total execution time for each 
line of the handler being tested. Times are relative and depend on the 
traceDelay property. The shorter the traceDelay, the faster the times 
will be. TraceDelay is a global Revolution property which defaults to 
500 miliseconds. You can set a different delay from the message box to 
change the relative times.


Statistics are cumulative. Every time you run the handler, times and 
number of calls are added to the previous test results. You can re-run 
the same handler multiple times to get a cumulative average of relative 
times.


6. When you are done testing, click the "Stop Profile" button. The stack 
will no longer watch for messages.


7. If you want to clear the current display, click "Clear Profile". This 
resets the numbers to zero so that new tests are not added to the 
statistics from previous tests.


The "Edit Script" buttton does what you'd expect, and opens the script 
of the object currently being tested.


The "Done" button closes the stack.

The "Help" button does nothing; it is linked to the MetaCard IDE. But 
the above is a fair approximation of that info.


--
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: A hard challenge anyone?

2007-02-16 Thread J. Landman Gay

David Bovill wrote:

I downloaded it Jacque - but having some problems using it - could it be
clashing with something - Galaxy? Or does it need to be opened in a certain
way?


Can you describe what doesn't work? You should just be able to open it 
normally with the "Open" command in the File menu. It should load a 
default script from the topmost stack, which you can change using the 
popdown buttons.


I admit this was a very fast port -- it took me maybe ten minutes -- and 
I haven't used it much or checked it extensively. There could very well 
be something wrong. I also don't know how it would interact with Galaxy.


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


SoCal RUG: Thanks

2007-02-16 Thread Richard Gaskin
Many thanks to all who attended the SoCal Rev User Group meeting we had 
Monday night, and a special thank you to those who presented here.


We wound up having three presentations:

- Josh Mellicker showed his Green Bongo distributed project management 
system, using Rev as a front-end for a remote MySQL DB


- Bill Vlahos gave us a sneak preview of a new U3 app he's working on

- Richard Herz showed us the latest edition of his wonderful ReactorLab, 
a distributed courseware system


Many folks stayed late, some as late as 1:30AM. Good Rev times. :)

Although Richard Herz drove all the way up from San Diego to be there, 
the Longest Drive to the Meeting Award this time went to Jim Ault, who 
was in town from Las Vegas.  Thanks for coming to the meeting, Jim.


If you're in Southern California and would like to join us, feel free to 
sign up at the SoCal RUG Yahoo Group:



I'm not sure when the next meeting will be, but we'll keep ya' posted.

--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: An effective way to Localize my Revolution Projects for Multiple Languages

2007-02-16 Thread Richard Gaskin

Lynn Fredricks wrote:

The one downside to almost any method is that you still have to go through
and look at your interface to make sure what you've swapped fits. Text
expansion can increase your strings by 20-50%.


This raises a third reason to consider a very important feature: 
resolution independence.


The other two are Windows' long-standing feature to allow the user to 
turn on Large Fonts, and Apple's recent transition to support resolution 
independence across the board.


All three areas represent a need for more dynamic resizing of controls, 
yet all three are currently out of reach for Rev developers.


Do we have any word from the mother ship on how these will be handled in 
the future?


--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.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


libURL: load unload bug?

2007-02-16 Thread David Bovill

What could this be?

I have found that on occasion urls cease to work and this time rather than
quiting and starting again I took a look at what it could be... I found that
while some urls still worked a few returned very fast and empty - one of
them was an image and one www.google.com. Testig the image url in a browser
proved that the image was there. It looked like it was a problem with the
url cache so I wrote this script:

   repeat for each line someURL in the cachedurls
   unload url someURL
   end repeat
   put the cachedurls

and checked that the cache was empty - still no joy with the urls that were
causing the problem. Next I edited the script of the internet library (added
a space) in order to kill the local variables that cache the url's and hey
presto the url"s worked again ???

Is there an occasional problem with unload? In that empty url's perhaps
resulting from faulty calls are not cleared with an unload call? Or should I
call something like "libUrlResetAll" - not documented AFAIK to reset things?
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: A hard challenge anyone?

2007-02-16 Thread David Bovill

I downloaded it Jacque - but having some problems using it - could it be
clashing with something - Galaxy? Or does it need to be opened in a certain
way?

On 16/02/07, Richard Gaskin <[EMAIL PROTECTED]> wrote:


J. Landman Gay wrote:

> Richard Gaskin wrote:
>> Conceivably, MC's profiler could be extracted and used in any IDE. It's
>> just a question of getting the time to do that.
>
> You must be getting old, Richard. :) I did that about a year ago and
> posted the stack for use with Rev. It's on my site, though I admit there
> is no public link to it.
>
> 
>
> I've also just uploaded it to RevOnline; see screen name "Jacque" to
> download it from there.

Excellent, Jacque.  Thank you.

It's nice to see MC's open source X11 license paying dividends for the
community.

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


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


Re: An effective way to Localize my Revolution Projects for Multiple Languages

2007-02-16 Thread Jim Ault
On 2/16/07 11:14 AM, "Derek Bump" <[EMAIL PROTECTED]> wrote:

> Klaus Major wrote:
>> Drum Roll!
>> Nothing sucks like the ELECTROLUX!
> 
> LOL... Yup, I would like to avoid mistakes like that (which may explain
> why Electrolux was bought out).
> 
Actually, it was sucked up by a competitor

Jim Ault
Las Vegas


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


RE: An effective way to Localize my Revolution Projects for Multiple Languages

2007-02-16 Thread Lynn Fredricks
> > - Placing all text in a file, and then just translating the file to 
> > multiple languages when building the standalone would be preferred, 
> > but that would require some massive scripting to populate 
> button and 
> > field labels, etc.
> > ...
> > Any ideas? ... Please!
> 
> I've used the above technique in the past.  I used a minimal 
> numeric tag system where each control label in the app 
> referenced an ID in an external text file: <1001>xyz 
> text at startup.  You could use a named tag as
> well: Willkommen.

Scott's method resembles "classical" style translation methods (I say
classical because its what I did when I used to have a localization business
in the early '90s) and it works well. Get a unique numeric identifier, then
orchestrate a "string swap". Apple's old Appleglot tool was pretty good at
that.

The one downside to almost any method is that you still have to go through
and look at your interface to make sure what you've swapped fits. Text
expansion can increase your strings by 20-50%.

Its best if you can come up with a clean text file that you can hand to a
translator without having to give them your application, then let them
eyeball the finished product so that it makes sense within the application.

I strongly recommend avoiding pure machine translation. Even the best MT
makes for poor reading.

Best regards,

Lynn Fredricks
Worldwide Business Operations
Runtime Revolution Ltd
http://www.runrev.com
 

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


Re: An effective way to Localize my Revolution Projects for Multiple Languages

2007-02-16 Thread Derek Bump

Klaus Major wrote:

Drum Roll!
Nothing sucks like the ELECTROLUX!


LOL... Yup, I would like to avoid mistakes like that (which may explain 
why Electrolux was bought out).


Well, I'm going to be on a little vacation for the next two days, but 
Thank you Klaus, Scott and Richard for your helpful suggestions and 
incite.  I will be thinking of ways to implement what you have all 
suggested and hopefully I can come up with a way that I feel comfortable 
with.



Derek Bump
Dreamscape Software
http://www.dreamscapesoftware.com/



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


Re: An effective way to Localize my Revolution Projects for Multiple Languages

2007-02-16 Thread Klaus Major

Hi Richard,


...
And of course it pays to have a native speaker do the actual  
translation, esp. one who is also expert in the domain the  
application supports.  On our project this for that was easy, since  
one of the company owners is an Australian doctor.  But the last  
thing you want to do is come up with unclear or misleading quasi- 
translations, or even embarrassing ones like when Chevrolet rolled  
out a car for Spanish-speaking markets named "Nova". :)


LOL! :-)

The best "faux-pas" ever made in my opinion was a scandinavian vacuum  
cleaner company

that wanted to conquer the american market with this great slogan:

Drum Roll!
Nothing sucks like the ELECTROLUX!

:-D


 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com


Best

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

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


Re: A hard challenge anyone?

2007-02-16 Thread Richard Gaskin

J. Landman Gay wrote:

Richard Gaskin wrote: 
Conceivably, MC's profiler could be extracted and used in any IDE. It's 
just a question of getting the time to do that. 


You must be getting old, Richard. :) I did that about a year ago and 
posted the stack for use with Rev. It's on my site, though I admit there 
is no public link to it.




I've also just uploaded it to RevOnline; see screen name "Jacque" to 
download it from there.


Excellent, Jacque.  Thank you.

It's nice to see MC's open source X11 license paying dividends for the 
community.


--
 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: An effective way to Localize my Revolution Projects for Multiple Languages

2007-02-16 Thread Richard Gaskin

Derek Bump wrote:

Now before I start down my typical path of re-inventing the wheel, I 
felt I should ask this question of the list, just to see if anyone has 
found an effective way of working with Localized (multiple-language) 
projects.


I have never done any work with creating localized projects.  I know 
that I will end up mutilating the native languages via the Google 
Translator, but I figure that a 90% translated program is better than a 
program that isn't used because it's not in a person's main language.


- Property profiles are nice, but it means that I have to store all of 
the language data for each object within a profile, making it harder to 
make changes to the text.


- Placing all text in a file, and then just translating the file to 
multiple languages when building the standalone would be preferred, but 
that would require some massive scripting to populate button and field 
labels, etc.


- Also, I have to roll my own dialogs that don't return the name of what 
button was pushed, but instead a number, as the number doesn't need to 
be translated. (Ex:  0=Cancel,1=OK)


Any ideas? ... Please!


My gandfather used to say, "When a designer is faced with two equally 
compelling options, find a way to do both."


Custom properties are handy because they bind the data to the object, 
keeping everything together in a world in which it's wise to assume 
everything will change at some point or another as the product evolves.


But as you note, it would be cumbersome to edit the data there. So don't 
 do that. :)


Instead, you could make a tool which extracts the language elements 
relevant for a translator to work on, presents them in a convenient 
editing interface right inside the program so they can understand the 
context, and stores those back again into the object properties.


One of the larger products I've worked on in recent years was a medical 
database for both US and UK markets, and while they're both "English" 
there are a great many differences between the dialects, esp. in the 
medical profession.


We used the approach I described above, and we've been delighted with 
how fast Rev can walk through all objects to insert the appropriate text 
on preOpenCard.  Never even notice the difference.


We found that it was helpful during development to keep all work in one 
language (we used US English, since that was how the project started), 
and did the translation work as the last step in the process.


Commands follow suit:  all command names are in the base language (for 
us it was US English), and only the label property of controls is 
changed so the name remains intact.


The only tricky items are background fields.  Because the same object 
can contain different text across multiple cards, we found it helpful to 
store the data in the card rather than the field object.  We used custom 
property sets named for the desired language, with the element key being 
the field's short ID (e.g., "USEnglish[4433]").


And of course it pays to have a native speaker do the actual 
translation, esp. one who is also expert in the domain the application 
supports.  On our project this for that was easy, since one of the 
company owners is an Australian doctor.  But the last thing you want to 
do is come up with unclear or misleading quasi-translations, or even 
embarrassing ones like when Chevrolet rolled out a car for 
Spanish-speaking markets named "Nova". :)


--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: An effective way to Localize my Revolution Projects for Multiple Languages

2007-02-16 Thread Scott Rossi
Recently, Derek Bump wrote:

> Now before I start down my typical path of re-inventing the wheel, I
> felt I should ask this question of the list, just to see if anyone has
> found an effective way of working with Localized (multiple-language)
> projects.
> ...
> - Placing all text in a file, and then just translating the file to
> multiple languages when building the standalone would be preferred, but
> that would require some massive scripting to populate button and field
> labels, etc.
> ...
> Any ideas? ... Please!

I've used the above technique in the past.  I used a minimal numeric tag
system where each control label in the app referenced an ID in an external
text file: <1001>xyz text at startup.  You could use a named tag as
well: Willkommen.

I disagree that this requires massive scripting.  IMO, the flexibility
outweighs the required scripting efforts, especially if you need multiple
languages and have to share the translation docs with 3rd party translators.
A text file is way easier to manage than forcing someone to get into Rev's
IDE.

You'll probably want to use Unicode -- my understanding is the current
Unicode implementation is a bit limited in Rev but I believe searching the
mail archives may help address some of the issues you might run into.

BTW, if you decide to go this route, remember to have translators use a
simple text editor (ie WordPad, NotePad, etc).  Do not allow the use of Word
or any other heavyweight text editor since these apps may add formatting
garbage to the text which will make text parsing difficult.

Other folks may offer different suggestions.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com


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


Re: An effective way to Localize my Revolution Projects for Multiple Languages

2007-02-16 Thread Klaus Major

Hi,


Hi Derek,

Now before I start down my typical path of re-inventing the wheel,  
I felt I should ask this question of the list, just to see if  
anyone has found an effective way of working with Localized  
(multiple-language) projects.


I have never done any work with creating localized projects.  I  
know that I will end up mutilating the native languages via the  
Google Translator, but I figure that a 90% translated program is  
better than a program that isn't used because it's not in a  
person's main language.


- Property profiles are nice, but it means that I have to store  
all of the language data for each object within a profile, making  
it harder to make changes to the text.


- Placing all text in a file, and then just translating the file  
to multiple languages when building the standalone would be  
preferred, but that would require some massive scripting to  
populate button and field labels, etc.


- Also, I have to roll my own dialogs that don't return the name  
of what button was pushed, but instead a number, as the number  
doesn't need to be translated. (Ex:  0=Cancel,1=OK)


Any ideas? ... Please!


Custom property sets!!! :-)

Depending on the size of the project I use either the stacks cp set  
every cards cp sets

or even every (relevant) objects cp set.


Sorry, forgot to mention that I set these language values (labels  
etc) on openstack or opencard

depending on the project.


Regards

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

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


Re: An effective way to Localize my Revolution Projects for Multiple Languages

2007-02-16 Thread Klaus Major

Hi Derek,

Now before I start down my typical path of re-inventing the wheel,  
I felt I should ask this question of the list, just to see if  
anyone has found an effective way of working with Localized  
(multiple-language) projects.


I have never done any work with creating localized projects.  I  
know that I will end up mutilating the native languages via the  
Google Translator, but I figure that a 90% translated program is  
better than a program that isn't used because it's not in a  
person's main language.


- Property profiles are nice, but it means that I have to store all  
of the language data for each object within a profile, making it  
harder to make changes to the text.


- Placing all text in a file, and then just translating the file to  
multiple languages when building the standalone would be preferred,  
but that would require some massive scripting to populate button  
and field labels, etc.


- Also, I have to roll my own dialogs that don't return the name of  
what button was pushed, but instead a number, as the number doesn't  
need to be translated. (Ex:  0=Cancel,1=OK)


Any ideas? ... Please!


Custom property sets!!! :-)

Depending on the size of the project I use either the stacks cp set  
every cards cp sets

or even every (relevant) objects cp set.

And writing a little tool for managing/editing/writing back all these  
cp sets is a snap with Rev :-)


As for the dialogs I simply change the LABEL of the buttons in the  
dialogs so "Cancel"

stays "cancel" "OK" stays "OK" etc... in every language.

Hope that helps.


Derek Bump
Dreamscape Software
http://www.dreamscapesoftware.com/


Best

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

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


Re: How to create a single line entry field?

2007-02-16 Thread Devin Asay

Tiemo,

On Feb 16, 2007, at 11:07 AM, Tiemo Hollmann TB wrote:


Hello,

Probably a simple newbee question:

1. how can I realize a single line field, where the user can enter  
text and

commits with enter key?


Open the field's property inspector and check the box labeled "Tab on  
Return". That sets the field's autoTab property to true.


2. is there a chance to set the location of the ask and answer dialog,
instead of default centred?


I recall a discussion of this on the list a few months back but  
forget the outcome.


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


AW: How to create a single line entry field?

2007-02-16 Thread Tiemo Hollmann TB
Eric,
I appreciate you helpful tip!
Tiemo

> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:use-revolution-
> [EMAIL PROTECTED] Im Auftrag von Eric Chatonet
> Gesendet: Freitag, 16. Februar 2007 19:20
> An: How to use Revolution
> Betreff: Re: How to create a single line entry field?
> 
> Hi Tiemo,
> 
> The "How to master user's data entries in a field" tutorial might
> help you:
> You will access this tutorial through "Tutorials Picker" a free
> plugin that interfaces with the So Smart Software website in order to
> display all available tutorials stacks directly from the web.
> You will find it by going to http://www.sosmartsoftware.com/.
> Revolution/Plugins or Tutorials section.
> At the moment, 20 tutorials are available through "Tutorials Picker".
> Of course, If you prefer you can only download the tutorial you wish
> from the website.
> 
> Hope this helps.
> 
> Best Regards from Paris,
> Eric Chatonet
> 
> --
> http://www.sosmartsoftware.com/[EMAIL PROTECTED]/
> 
> Le 16 févr. 07 à 19:07, Tiemo Hollmann TB a écrit :
> 
> > Hello,
> >
> > Probably a simple newbee question:
> >
> > 1. how can I realize a single line field, where the user can enter
> > text and
> > commits with enter key?
> >
> > In my standard scenario the enter key makes a CR into the field, so
> > that the
> > text breaks and disappears in the unvisible line 1 of 2 of my
> > textfield
> > (because it has only 1 line visible)
> >
> >
> >
> > I have a handler:
> >
> > on rawkeyUp keyCode
> >
> > in the field, where I handle the key entries. But even if I try to
> > capture
> > the keyCode 65293 ( EnterKey) and break the rawkeyUp, revolution
> > puts the CR
> > into the field.
> >
> >
> >
> > Is there a field property "single line field" or something like that?
> >
> >
> >
> > 2. is there a chance to set the location of the ask and answer dialog,
> > instead of default centred?
> >
> >
> >
> > Thank you
> >
> > 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


AW: How to create a single line entry field?

2007-02-16 Thread Tiemo Hollmann TB
Phil,thank you also,
Thank you for your welcome!
Tiemo

> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:use-revolution-
> [EMAIL PROTECTED] Im Auftrag von Phil Davis
> Gesendet: Freitag, 16. Februar 2007 19:18
> An: How to use Revolution
> Betreff: Re: How to create a single line entry field?
> 
> Hi Tiemo,
> 
> There's a message sent to fields whenever you type RETURN or ENTER in the
> field:
> 
> on enterInField
>-- trap message
> end enterInField
> 
> on returnInField
>-- trap message
> end returnInField
> 
> 
> If you put these handlers in the script of your one-line field, the
> problem will
> go away.
> 
> Welcome to Rev!
> Phil Davis
> 
> 
> 
> Tiemo Hollmann TB wrote:
> > Hello,
> >
> > Probably a simple newbee question:
> >
> > 1. how can I realize a single line field, where the user can enter text
> and
> > commits with enter key?
> >
> > In my standard scenario the enter key makes a CR into the field, so that
> the
> > text breaks and disappears in the unvisible line 1 of 2 of my textfield
> > (because it has only 1 line visible)
> >
> >
> >
> > I have a handler:
> >
> > on rawkeyUp keyCode
> >
> > in the field, where I handle the key entries. But even if I try to
> capture
> > the keyCode 65293 ( EnterKey) and break the rawkeyUp, revolution puts
> the CR
> > into the field.
> >
> >
> >
> > Is there a field property "single line field" or something like that?
> >
> >
> >
> > 2. is there a chance to set the location of the ask and answer dialog,
> > instead of default centred?
> >
> >
> >
> > Thank you
> >
> > 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

___
use-revolution mailing list
use-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: How to create a single line entry field?

2007-02-16 Thread Tiemo Hollmann TB
Mark
1) oh, so easy!
2) I'll give it a try

Thank you! Tiemo

> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:use-revolution-
> [EMAIL PROTECTED] Im Auftrag von Mark Schonewille
> Gesendet: Freitag, 16. Februar 2007 19:19
> An: How to use Revolution
> Betreff: Re: How to create a single line entry field?
> 
> Hi Tiemo,
> 
> 
> 1)
> 
> on enterInField
>-- do something
> end enterInField
> 
> or
> 
> on returnInField
>-- do something
> end enterInField
> 
> 
> 2)
> 
> Recently, I set the lof of an invisible stack to the screenloc and
> made it the active window before using the answer command. This was
> to set the loc of the answer windows to the screenloc on Windows.
> 
> You could also add a preOpenStack handler to the answer and ask
> dialog stack, which sets the loc of the stack to a property:
> 
> on preOpenStack
>-- existing part of script here if necessary
>set the loc of me to cCustomLoc
> end preOpenStack
> 
> You can now set the loc before using the answer command:
> 
> on foo
>set the cCustomLoc of stack "Answer Dialog" to the screenLoc
>answer "Hello World"
> end foo
> 
> You might want to search the mail list archives for more solutions. I
> know there are.
> 
> Best,
> 
> Mark
> 
> --
> 
> Economy-x-Talk
> Consultancy and Software Engineering
> http://economy-x-talk.com
> http://www.salery.biz
> 
> Get your store on-line within minutes with Salery Web Store software.
> Download at http://www.salery.biz
> 
> Op 16-feb-2007, om 19:07 heeft Tiemo Hollmann TB het volgende
> geschreven:
> 
> > Hello,
> >
> > Probably a simple newbee question:
> >
> > 1. how can I realize a single line field, where the user can enter
> > text and
> > commits with enter key?
> >
> > In my standard scenario the enter key makes a CR into the field, so
> > that the
> > text breaks and disappears in the unvisible line 1 of 2 of my
> > textfield
> > (because it has only 1 line visible)
> >
> >
> >
> > I have a handler:
> >
> > on rawkeyUp keyCode
> >
> > in the field, where I handle the key entries. But even if I try to
> > capture
> > the keyCode 65293 ( EnterKey) and break the rawkeyUp, revolution
> > puts the CR
> > into the field.
> >
> >
> >
> > Is there a field property "single line field" or something like that?
> >
> >
> >
> > 2. is there a chance to set the location of the ask and answer dialog,
> > instead of default centred?
> >
> >
> >
> > Thank you
> >
> > 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


An effective way to Localize my Revolution Projects for Multiple Languages

2007-02-16 Thread Derek Bump
Now before I start down my typical path of re-inventing the wheel, I 
felt I should ask this question of the list, just to see if anyone has 
found an effective way of working with Localized (multiple-language) 
projects.


I have never done any work with creating localized projects.  I know 
that I will end up mutilating the native languages via the Google 
Translator, but I figure that a 90% translated program is better than a 
program that isn't used because it's not in a person's main language.


- Property profiles are nice, but it means that I have to store all of 
the language data for each object within a profile, making it harder to 
make changes to the text.


- Placing all text in a file, and then just translating the file to 
multiple languages when building the standalone would be preferred, but 
that would require some massive scripting to populate button and field 
labels, etc.


- Also, I have to roll my own dialogs that don't return the name of what 
button was pushed, but instead a number, as the number doesn't need to 
be translated. (Ex:  0=Cancel,1=OK)


Any ideas? ... Please!


Derek Bump
Dreamscape Software
http://www.dreamscapesoftware.com/

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


Re: How to create a single line entry field?

2007-02-16 Thread Eric Chatonet

Hi Tiemo,

The "How to master user's data entries in a field" tutorial might  
help you:
You will access this tutorial through "Tutorials Picker" a free  
plugin that interfaces with the So Smart Software website in order to  
display all available tutorials stacks directly from the web.

You will find it by going to http://www.sosmartsoftware.com/.
Revolution/Plugins or Tutorials section.
At the moment, 20 tutorials are available through "Tutorials Picker".
Of course, If you prefer you can only download the tutorial you wish  
from the website.


Hope this helps.

Best Regards from Paris,
Eric Chatonet
 
--

http://www.sosmartsoftware.com/[EMAIL PROTECTED]/

Le 16 févr. 07 à 19:07, Tiemo Hollmann TB a écrit :


Hello,

Probably a simple newbee question:

1. how can I realize a single line field, where the user can enter  
text and

commits with enter key?

In my standard scenario the enter key makes a CR into the field, so  
that the
text breaks and disappears in the unvisible line 1 of 2 of my  
textfield

(because it has only 1 line visible)



I have a handler:

on rawkeyUp keyCode

in the field, where I handle the key entries. But even if I try to  
capture
the keyCode 65293 ( EnterKey) and break the rawkeyUp, revolution  
puts the CR

into the field.



Is there a field property "single line field" or something like that?



2. is there a chance to set the location of the ask and answer dialog,
instead of default centred?



Thank you

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: How to create a single line entry field?

2007-02-16 Thread Mark Schonewille

Hi Tiemo,


1)

on enterInField
  -- do something
end enterInField

or

on returnInField
  -- do something
end enterInField


2)

Recently, I set the lof of an invisible stack to the screenloc and  
made it the active window before using the answer command. This was  
to set the loc of the answer windows to the screenloc on Windows.


You could also add a preOpenStack handler to the answer and ask  
dialog stack, which sets the loc of the stack to a property:


on preOpenStack
  -- existing part of script here if necessary
  set the loc of me to cCustomLoc
end preOpenStack

You can now set the loc before using the answer command:

on foo
  set the cCustomLoc of stack "Answer Dialog" to the screenLoc
  answer "Hello World"
end foo

You might want to search the mail list archives for more solutions. I  
know there are.


Best,

Mark

--

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

Get your store on-line within minutes with Salery Web Store software.  
Download at http://www.salery.biz


Op 16-feb-2007, om 19:07 heeft Tiemo Hollmann TB het volgende  
geschreven:



Hello,

Probably a simple newbee question:

1. how can I realize a single line field, where the user can enter  
text and

commits with enter key?

In my standard scenario the enter key makes a CR into the field, so  
that the
text breaks and disappears in the unvisible line 1 of 2 of my  
textfield

(because it has only 1 line visible)



I have a handler:

on rawkeyUp keyCode

in the field, where I handle the key entries. But even if I try to  
capture
the keyCode 65293 ( EnterKey) and break the rawkeyUp, revolution  
puts the CR

into the field.



Is there a field property "single line field" or something like that?



2. is there a chance to set the location of the ask and answer dialog,
instead of default centred?



Thank you

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: A hard challenge anyone?

2007-02-16 Thread J. Landman Gay

Richard Gaskin wrote:

Conceivably, MC's profiler could be extracted and used in any IDE. It's 
just a question of getting the time to do that.




You must be getting old, Richard. :) I did that about a year ago and 
posted the stack for use with Rev. It's on my site, though I admit there 
is no public link to it.




I've also just uploaded it to RevOnline; see screen name "Jacque" to 
download it from there.


--
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: How to create a single line entry field?

2007-02-16 Thread Phil Davis

Hi Tiemo,

There's a message sent to fields whenever you type RETURN or ENTER in the field:

on enterInField
  -- trap message
end enterInField

on returnInField
  -- trap message
end returnInField


If you put these handlers in the script of your one-line field, the problem will 
go away.


Welcome to Rev!
Phil Davis



Tiemo Hollmann TB wrote:

Hello,

Probably a simple newbee question:

1. how can I realize a single line field, where the user can enter text and
commits with enter key?

In my standard scenario the enter key makes a CR into the field, so that the
text breaks and disappears in the unvisible line 1 of 2 of my textfield
(because it has only 1 line visible)

 


I have a handler:

on rawkeyUp keyCode

in the field, where I handle the key entries. But even if I try to capture
the keyCode 65293 ( EnterKey) and break the rawkeyUp, revolution puts the CR
into the field.

 


Is there a field property "single line field" or something like that?

 


2. is there a chance to set the location of the ask and answer dialog,
instead of default centred?

 


Thank you

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


How to create a single line entry field?

2007-02-16 Thread Tiemo Hollmann TB
Hello,

Probably a simple newbee question:

1. how can I realize a single line field, where the user can enter text and
commits with enter key?

In my standard scenario the enter key makes a CR into the field, so that the
text breaks and disappears in the unvisible line 1 of 2 of my textfield
(because it has only 1 line visible)

 

I have a handler:

on rawkeyUp keyCode

in the field, where I handle the key entries. But even if I try to capture
the keyCode 65293 ( EnterKey) and break the rawkeyUp, revolution puts the CR
into the field.

 

Is there a field property "single line field" or something like that?

 

2. is there a chance to set the location of the ask and answer dialog,
instead of default centred?

 

Thank you

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


AltSQlite3 Demo error

2007-02-16 Thread Harry Parshall
When I run the SQLite3 Demo there is a popup error message;

The application or DLL D:\...\dbsqlite3.dll is not a valid Windows image. Please
check this against your installation diskette.

I'm not sure how to fix this problem since there is no installation diskette. I
looked through the newsgroup postings and the website www.sqlite.org but did not
see anything related to this problem. Does anyone know what the error means? Is
the DLL actually bad?

--Harry


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


Re: A hard challenge anyone?

2007-02-16 Thread Richard Gaskin

David Bovill wrote:

On 15/02/07, Richard Gaskin  wrote:

> How would the profiler fit in - I didn't even think the thing worked :)
Profiling wouldn't be part of a code base reporter per se, but it's a
great way to identify runtime bottlenecks.

MC's works, but its UI is ugly and it's painfully slow.  Jacque tells me
there's a way to speed it up in one line, but alas I haven't had the
time to dig into it.


OK - I think I am got the wrong end of this. I was thinking of property
profiles - from your and Jacques reply it seems like we are talking about
something much more interesting what does the MC profiler actually do /
generate?


Yeah, I never felt "profile" was the best term for Rev's property sets, 
but I have to admit I haven't thought of a better one.


Code profiling is a way of obtaining performance measurements.  In MC, 
it shows the number of times each handler in a script was called, and 
the total amount of time spent in that handler.


Because it takes up so much time on its own, the times shown are best 
used for relative measurements.  But even that has been useful to me in 
showing me where time gets spent, and where I need to optimize.


The number of times a handler has been called can be useful too, esp. if 
your code is complex and it's not immediately self-evident what gets 
called when.  I'll admit that I've had two cases where I had handlers 
called redundantly, and the profiler helped me spot those right away.


Conceivably, MC's profiler could be extracted and used in any IDE. It's 
just a question of getting the time to do that.


--
 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: Writing messages to the Command Line (stdout)

2007-02-16 Thread Derek Bump

Luis wrote:
Is it strictly necessary to have shell access for this? I'm thinking in 
terms of 95 and 98 compatibility, which I'll admit I'm not that familiar 
with as concerns RunRev.
Maybe you could get away with emulating it through a window that happens 
to look like a shell terminal...
If you _need_ input you could 'emulate' a DOS-GUI (remember those...!) 
and have point and click access instead of concerning yourself with 
parsing the text.


Well, yes, it is necessary.  I'm adding command line access to some of 
my program's feature-set because I had paying customers request it. 
Faking the output could do more harm than good.



Derek Bump
Dreamscape Software
http://www.dreamscapesoftware.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: INNER JOIN help

2007-02-16 Thread Dave Cragg


On 16 Feb 2007, at 12:04, Robert Mann wrote:


Yes Ruslan you are correct typo on my part

select * from table1 INNER JOIN table2 where table2.record_id =  
record_id;


any ides as to how I add the other 8 tables to the statement?

Table3, table4, table5, table6, table7, table8, table9, table10
All have the same PK of record_id


Would this do:

SELECT * from table1
JOIN table2
JOIN table3
JOIN table4
. etc.
USING(record_id)

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


RE: INNER JOIN help

2007-02-16 Thread Robert Mann
Yes Ruslan you are correct typo on my part

select * from table1 INNER JOIN table2 where table2.record_id = record_id;

any ides as to how I add the other 8 tables to the statement?

Table3, table4, table5, table6, table7, table8, table9, table10
All have the same PK of record_id

Or is there a better why to combine info from 10 tables into one using SQL?

Thanks
Rob

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ruslan
Zasukhin
Sent: Friday, February 16, 2007 2:43 AM
To: use-revolution
Subject: Re: INNER JOIN help

On 16/2/07 1:32 AM, "Robert Mann" <[EMAIL PROTECTED]> wrote:

> Trying to write an INNER Join SQL statement for 10 tables that only
returns
> one record base on PK record_id
> 
> select * from table1 INNER JOIN table2 where table2.record_id is
record_id;

Must be not IS but =

where table2.record_id = record_id;

 
> the above works for 2 tables looking for help as to how I would add the
> other 8 tables to the sql statement?


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

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

[I feel the need: the need for speed]


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

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


Multiple Format Sound conversion on a Mac

2007-02-16 Thread Richmond Mathewson
Cop a load of this:

http://www.waveformsoftware.com/

and check 'SoX Wrap'

it converts from all sorts of formats to all sorts of
formats

'tis FREE!

sincerely, Richmond Mathewson



Save the last dance for me, and don't slip in the dogs mess on 
the way over to take my hand.




___ 
What kind of emailer are you? Find out today - get a free analysis of your 
email personality. Take the quiz at the Yahoo! Mail Championship. 
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk 
___
use-revolution mailing list
use-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 sounds to MP3

2007-02-16 Thread Mark Smith
You're right, of course, and iTunes is mainly what I use, it's just  
that I've had QtAmateur fro a while and thought I had missed something.


Incidentally, I found this:

http://www.thalictrum.com/index.php?pageid=6&artid=6

which installs the Lame mp3 encoder, pre-compiled and ready to go on  
OS X, which gives us the possibility of encoding to mp3 using shell  
commands.

And it's free.

Best,

Mark


On 16 Feb 2007, at 10:33, Richmond Mathewson wrote:


iTunes:

http://www.apple.com/itunes/

can do this, and its FREE!

sincerely, Richmond Mathewson



Save the last dance for me, and don't slip in the dogs mess on
the way over to take my hand.




___
The all-new Yahoo! Mail goes wherever you go - free your email  
address from your Internet provider. http://uk.docs.yahoo.com/ 
nowyoucan.html

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

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


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

2007-02-16 Thread Klaus Major

Hi Richmond, old sports :-)


iTunes:
http://www.apple.com/itunes/
can do this, and its FREE!


C'mon, that is definitively TOO obvious!!! :-D


sincerely, Richmond Mathewson


Best from germanski

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

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


Re: A hard challenge anyone?

2007-02-16 Thread David Bovill

On 15/02/07, Richard Gaskin <[EMAIL PROTECTED]> wrote:



> How would the profiler fit in - I didn't even think the thing worked :)

Profiling wouldn't be part of a code base reporter per se, but it's a
great way to identify runtime bottlenecks.

MC's works, but its UI is ugly and it's painfully slow.  Jacque tells me
there's a way to speed it up in one line, but alas I haven't had the
time to dig into it.



OK - I think I am got the wrong end of this. I was thinking of property
profiles - from your and Jacques reply it seems like we are talking about
something much more interesting what does the MC profiler actually do /
generate?
___
use-revolution mailing list
use-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 sounds to MP3

2007-02-16 Thread Richmond Mathewson
iTunes:

http://www.apple.com/itunes/

can do this, and its FREE!

sincerely, Richmond Mathewson



Save the last dance for me, and don't slip in the dogs mess on 
the way over to take my hand.




___ 
The all-new Yahoo! Mail goes wherever you go - free your email address from 
your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Writing messages to the Command Line (stdout)

2007-02-16 Thread Luis

Hiya,

Is it strictly necessary to have shell access for this? I'm thinking in 
terms of 95 and 98 compatibility, which I'll admit I'm not that familiar 
with as concerns RunRev.
Maybe you could get away with emulating it through a window that happens 
to look like a shell terminal...
If you _need_ input you could 'emulate' a DOS-GUI (remember those...!) 
and have point and click access instead of concerning yourself with 
parsing the text.


Cheers,

Luis.


Derek Bump wrote:
I'm trying to make one of my programs command-line accessable, so the 
following would result in a command being executed...


  myprogram.exe -action "path/to/infile.ext" "path/to/outfile.ext"

The action would result in the program performing the action and then 
quitting before the interface ever loads.  So far I am able to achieve 
this, but I would like to be able to write a message to the 
console/shell when the action is complete.  The message would be like 
the following...


  MyProgram (c) 2007 My Company
  Successfully -actioned "path/to/infile.ext" as "path/to/outfile.ext"

Or more simply, the following command...

  myprogram.exe -help

resulting in:

  MyProgram (c) 2007 My Company

  -action "infile" "outfile"
  -another action "infile" "outfile"

The target operating system for this type of behavior is Windows, and I 
would like to be able to handle all flavors of Windows (95,98,XP,Vista, 
etc.).  Does anyone have any guidance on how I write to the shell/console?



Derek Bump
Dreamscape Software
http://www.dreamscapesoftware.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: SFW conversion

2007-02-16 Thread Klaus Major

Hi Mark,


How do you get QTamateur to convert to mp3?


there is a LAME MP3 Encoder plug-in available for QuickTime.
After installing this one QT can export to MP3.

Sorry do not have an URL at ahnd but I'm sure GOOGLE will find it  
when you look for:

"LAME" "MP3" "QuickTime"


best,

Mark


Regards

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

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


Re: OT: MACDRAFT story/endorsement

2007-02-16 Thread Kay C Lan

On 2/16/07, Chipp Walters <[EMAIL PROTECTED]> wrote:



Question, how long did it take the first Mac to boot using those 400K
Twiggy drives?
Answer: Less than 30 seconds, unbelievable.

Bummer...Seems like 3 steps forward, 4 steps back.



Also trying to steer the thread away from Mac v Win but more just computers
generally, I put forward an argument recently, on another list, that we are
actually taking big steps backward as far as our computer experience is
concerned. This is based purely on the 'max RAM' to 'maximum document size'
ratio.

Although Moore's Law might convince us that computers are getting faster and
faster, we all actually know that it is RAM that provides the best bang for
the buck.

Back in '87 I bought a computer which had a max RAM of 512K and most
documents I produced were normally 16K to 32K, occasionally ending up a
whopping 64K.

Today my desktop has a max RAM of 8GB, but I regularly work on 16GB+ video
files!

So the ratios are:

87 - 8/1
07 - 1/2

Which of course explains why it takes forever to render video but back in
'87 it never took more than a moment to do anything.

Thankfully though Rev projects and most everything else we do are much
smaller so we generally do have a very healthy Ram/document size ratio:-)
___
use-revolution mailing list
use-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: INNER JOIN help

2007-02-16 Thread Ruslan Zasukhin
On 16/2/07 1:32 AM, "Robert Mann" <[EMAIL PROTECTED]> wrote:

> Trying to write an INNER Join SQL statement for 10 tables that only returns
> one record base on PK record_id
> 
> select * from table1 INNER JOIN table2 where table2.record_id is record_id;

Must be not IS but =

where table2.record_id = record_id;

 
> the above works for 2 tables looking for help as to how I would add the
> other 8 tables to the sql statement?


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

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

[I feel the need: the need for speed]


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