A mini-stack to automatically download most recent main stack?

2010-09-21 Thread Jim Schaubeck
Since its release, I use the web pluggin for most of my apps but there are
so many inconsistencies that I'm thinking of writing a small client app
that, once launched, goes out to where I store the real app/stack and
downloads it and runs it (or tells the little stack all of the parameters
that need changing to make it like the big stack) all automatically.  Sort
of like the weblet does but without the browser.  A small app will sit on
every machine that I want the "real" app to run on.  This way I can make
tweaks to the real app without having to upgrade everyone's client app.  I'm
sure it's not tough but I am but a novice compared to most on this list J

 

Anyone ever do something like this and if so, can you provide ideas as to
how you went about it?

 

Thank for any suggestions

 

________

jim schaubeck

714.321.4499

 

___
use-revolution mailing list
use-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 totally make Kevin's day

2010-09-13 Thread Jim Schaubeck
Apple's decision may be good news for Runrev but I hope their change of
heart does not distract Runrev from cleaning up RevWeb and releasing
it...please?  It just stinks having to use all of these 'groups' vs multiple
stacks.  The option menu's need help too.  RevWeb is such a great
feature...just needs some clean-up.

________
jim schaubeck
714.321.4499

-Original Message-
From: use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of Bob Sneidar
Sent: Monday, September 13, 2010 9:39 AM
To: How to use Revolution
Subject: Re: how to totally make Kevin's day

Personally, I hate being in a damned if you do/damned if you don't
situation. If someone makes a mistake in judgement or treats me unfairly,
but later relents, I think it's my part to forgive them and move on. I think
if I were married to someone and she was so unhappy that nothing I did
seemed to please her, I would tell her that she just needs to move on. I
don't think it's any different in business relationships. 

Bob


On Sep 10, 2010, at 8:54 PM, Chipp Walters wrote:

> Jacque,
> 
> It occurred to me today that Apple has actually pissed off (can I say
that?)
> both sides of developers now. Originally, there were the XCode devs and
the
> 'others.' Of course XCoders didn't mind, and many were openly happy the
> 'others' were getting the boot. "More for ME," they chimed with knowing
wink
> and a smile. Many defended Apple by citing the protection of the
platform's
> integrity, first to market advantage, and lack of proper API support,
etc..
> They were on Apple's side fanning away.
> 
> Now, with the change, it seems like both sides would be disappointed. I
know
> as a frustrated developer BEFORE, I'm not any more of an Apple fan just
> because they change their mind like a newborn changes diapers. Heck, their
> fickleness cost me business.
> 
> But, what about all the poor Xcode developers and Apple apologists who
> vigorously defended? I would think they might be a bit upset-- or at least
> now think twice before jumping on any license grenade for Apple's sake
> again.
> 
> I guess what I'm saying here, is even if SJ likes the developers, I'm not
at
> all sure he's as loved as he once may have been.
> 
> On Thu, Sep 9, 2010 at 3:32 PM, J. Landman Gay
wrote:
> 
>> 
>> When everything fell through this last spring, an ex-Apple employee told
me
>> he thought Apple would reverse its decision because, while the customers
>> don't matter as much to Steve Jobs, the developers absolutely do. He
>> predicted that developers would leave and Jobs would notice.
>> 
>> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

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

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


RE: How can I direct revGoURL to a specific browser?

2010-07-24 Thread Jim Schaubeck
I am having the same issue with revlets.  They work 100% in IE but maybe 85%
in Firefox.  Is there a certain discipline I should be using when writing
code for revlets so they work in revlets supported browsers?


jim schaubeck
714.321.4499

-Original Message-
From: use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of J. Landman Gay
Sent: Wednesday, July 21, 2010 10:03 PM
To: How to use Revolution
Subject: Re: How can I direct revGoURL to a specific browser?

On 7/21/10 4:52 PM, Bill Vlahos wrote:
> Jacqueline,
>
> My Rev app is working great and doing exactly what I want. The
> problem is the web page only works in IE and I have no control over
> what browser the user has set as their default. If it isn't IE, then
> the page doesn't work correctly.
>
> It is the page itself that doesn't work in Firefox.

I see. There isn't much you can do. Some web developers still write 
IE-specific pages that no other operating systems can view, and a good 
chunk of the Windows population can't see those either. About all you 
can do is rewrite the web page so it doesn't use IE-specific elements. 
Most sites are doing that now, as they should.

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


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


RE: Datagrid column/cell coloring

2010-06-24 Thread Jim Schaubeck
Thank you Josep.  I took your advice and went through the lesson but added
some experiments and I figured out how to check for a condition, change the
textColor and also interrupt the pBoolean handler which was changing the
color back to black.  That's the part I was missing.

Thanks for your comments, they helped me!

____
jim schaubeck
714.321.4499

-Original Message-
From: use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of JosepM
Sent: Wednesday, June 23, 2010 5:49 PM
To: use-revolution@lists.runrev.com
Subject: RE: Datagrid column/cell coloring


Hi Jim,

Maybe you can customize the behavior for the columns that need to colorize.
In the columns options at bottom you have one button to add a custom
behavior for the selected col. Change the FillData for the column.

Salut,
Josep
-- 
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Datagrid-column-cell-coloring
-tp2260342p2266364.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


RE: Datagrid column/cell coloring

2010-06-23 Thread Jim Schaubeck
I found out what is causing the color to not stay red.  The "setprop
dgHilite pBoolean"

Still working through the learning process :-)

________
jim schaubeck
714.321.4499


-Original Message-
From: use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of Jim Schaubeck
Sent: Wednesday, June 23, 2010 12:04 PM
To: 'How to use Revolution'
Subject: RE: Datagrid column/cell coloring

I have this script in the "My Default Column Behavior" btn script


on FillInData pData
   -- This message is sent when the Data Grid needs to populate
   -- this template with the column data. pData is the value to be
displayed.
   set the text of the long id of me to pData ## temp workaround for
  CheckForPercent  <---Added a command to Trevor's original
script
end FillInData


private command CheckForPercent  <- This is the command
script
   if the dgColumn of me is "Col 2" and the text of me <20 then
  answer "trigger"-- For testing  <  I get this
response on one of my cell containing "9"
  set the foregroundColor of me to "red"  <  BUT the
text does not get set to "red"
   else
  set the foregroundColor of me to "black"
   end if
end CheckForPercent


I get the answer box saying "trigger" but the text in the field does not get
set to red

Anyone know why???


jim schaubeck
714.321.4499


-Original Message-
From: use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of Jim Schaubeck
Sent: Wednesday, June 23, 2010 11:16 AM
To: 'How to use Revolution'
Subject: RE: Datagrid column/cell coloring

I saw that lesson but I do not want to apply the colorization decision in my
code to every cell in the datagrid.  How do I decipher what column and/or
what row pData is from?


jim schaubeck
714.321.4499


-Original Message-
From: use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of JosepM
Sent: Friday, June 18, 2010 4:04 PM
To: use-revolution@lists.runrev.com
Subject: Re: Datagrid column/cell coloring


Hi,

Check this lesson, you can found how to color cells and control the data.

http://revolution.screenstepslive.com/spaces/revolution_tools/manuals/datagr
id/lessons/4202-How-Do-I-Override-the-Default-Behavior-For-Rendering-Data-to
-a-Cell-
4202-How-Do-I-Override-the-Default-Behavior-For-Rendering-Data-to-a-Cell- 


Salut,
Josep
-- 
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Datagrid-column-cell-coloring
-tp2260342p2260834.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


___
use-revolution mailing list
use-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: Datagrid column/cell coloring

2010-06-23 Thread Jim Schaubeck
I have this script in the "My Default Column Behavior" btn script


on FillInData pData
   -- This message is sent when the Data Grid needs to populate
   -- this template with the column data. pData is the value to be
displayed.
   set the text of the long id of me to pData ## temp workaround for
  CheckForPercent  <---Added a command to Trevor's original
script
end FillInData


private command CheckForPercent  <- This is the command
script
   if the dgColumn of me is "Col 2" and the text of me <20 then
  answer "trigger"-- For testing  <  I get this
response on one of my cell containing "9"
  set the foregroundColor of me to "red"  <  BUT the
text does not get set to "red"
   else
  set the foregroundColor of me to "black"
   end if
end CheckForPercent


I get the answer box saying "trigger" but the text in the field does not get
set to red

Anyone know why???


jim schaubeck
714.321.4499


-Original Message-
From: use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of Jim Schaubeck
Sent: Wednesday, June 23, 2010 11:16 AM
To: 'How to use Revolution'
Subject: RE: Datagrid column/cell coloring

I saw that lesson but I do not want to apply the colorization decision in my
code to every cell in the datagrid.  How do I decipher what column and/or
what row pData is from?


jim schaubeck
714.321.4499


-Original Message-
From: use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of JosepM
Sent: Friday, June 18, 2010 4:04 PM
To: use-revolution@lists.runrev.com
Subject: Re: Datagrid column/cell coloring


Hi,

Check this lesson, you can found how to color cells and control the data.

http://revolution.screenstepslive.com/spaces/revolution_tools/manuals/datagr
id/lessons/4202-How-Do-I-Override-the-Default-Behavior-For-Rendering-Data-to
-a-Cell-
4202-How-Do-I-Override-the-Default-Behavior-For-Rendering-Data-to-a-Cell- 


Salut,
Josep
-- 
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Datagrid-column-cell-coloring
-tp2260342p2260834.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


___
use-revolution mailing list
use-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: Datagrid column/cell coloring

2010-06-23 Thread Jim Schaubeck
I saw that lesson but I do not want to apply the colorization decision in my
code to every cell in the datagrid.  How do I decipher what column and/or
what row pData is from?


jim schaubeck
714.321.4499


-Original Message-
From: use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of JosepM
Sent: Friday, June 18, 2010 4:04 PM
To: use-revolution@lists.runrev.com
Subject: Re: Datagrid column/cell coloring


Hi,

Check this lesson, you can found how to color cells and control the data.

http://revolution.screenstepslive.com/spaces/revolution_tools/manuals/datagr
id/lessons/4202-How-Do-I-Override-the-Default-Behavior-For-Rendering-Data-to
-a-Cell-
4202-How-Do-I-Override-the-Default-Behavior-For-Rendering-Data-to-a-Cell- 


Salut,
Josep
-- 
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/Datagrid-column-cell-coloring
-tp2260342p2260834.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


Datagrid column/cell coloring

2010-06-18 Thread Jim Schaubeck
Regarding the DataGrid, can someone point me in the right direction for
setting a cell's text color (in a certain column) based on the value of the
data in each cell of that column.  I don't want to evaluate the entire grid,
just cells in a particular column.  I see how to set the color of an entire
row and also each cell in the entire grid...I need to be more specific with
the coloring.

 

IE: A particular columns' name is "Closing Percent".  Any cell in that
column with a number <25 I would like to set the textColor red (vs black)

 

Thanks for any help folks

 

________

jim schaubeck

714.321.4499

 

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

2010-06-14 Thread Jim Schaubeck
Sorry...I meant "ask password clear" :-)

________
jim schaubeck
714.321.4499


-Original Message-----
From: Jim Schaubeck [mailto:jimschaub...@yahoo.com] 
Sent: Monday, June 14, 2010 7:59 PM
To: 'How to use Revolution'
Subject: RE: ask password

Try "ask clear password" 

ask password (w/o the word clear) will encrypt the input thereby encrypting
the contents of "it"

____
jim schaubeck
714.321.4499


-Original Message-
From: use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of Justin Sloan
Sent: Monday, June 14, 2010 9:38 AM
To: use-revolution@lists.runrev.com
Subject: ask password

Hello all,

I am trying to use the "ask password" command to mask the password input
that eventually gets sent to the *nix shell. Problem is, when the user puts
in their password, "it" returns seemingly random characters instead of the
unmasked password. Any ideas?___
use-revolution mailing list
use-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: ask password

2010-06-14 Thread Jim Schaubeck
Try "ask clear password" 

ask password (w/o the word clear) will encrypt the input thereby encrypting
the contents of "it"

________
jim schaubeck
714.321.4499


-Original Message-
From: use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of Justin Sloan
Sent: Monday, June 14, 2010 9:38 AM
To: use-revolution@lists.runrev.com
Subject: ask password

Hello all,

I am trying to use the "ask password" command to mask the password input
that eventually gets sent to the *nix shell. Problem is, when the user puts
in their password, "it" returns seemingly random characters instead of the
unmasked password. Any ideas?___
use-revolution mailing list
use-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: Printing in a revlet

2010-05-14 Thread Jim Schaubeck
Blank page with Safari 4.0.5 (on W7).  Results are the same as IE


jim schaubeck
714.321.4499


-Original Message-
From: use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of Jim Schaubeck
Sent: Friday, May 14, 2010 9:20 AM
To: 'How to use Revolution'
Subject: RE: Printing in a revlet

I have tried IE (8.0) with no luck.  Same blank page print-out.  (Preview is
also blank)

________
jim schaubeck
714.321.4499


-Original Message-
From: use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of J. Landman Gay
Sent: Thursday, May 13, 2010 9:29 PM
To: How to use Revolution
Subject: Re: Printing in a revlet

Jim Schaubeck wrote:
> Thanks Jacqueline.  I do hope that some sort of solution (or even work
> around) is found for printing within revlets.  End users view printing as
> one of those things that magically just work (can't blame them).  However,
I
> know it's harder than it looks.

The person who submitted a support ticket also said that revlets won't 
print on IE. Can you confirm? I think I need to write up a bug report 
and the more info, the better. If anyone else has info about revlet 
printing on any other browsers/platforms, that'd be good to know too.

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


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


___
use-revolution mailing list
use-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: Printing in a revlet

2010-05-14 Thread Jim Schaubeck
I have tried IE (8.0) with no luck.  Same blank page print-out.  (Preview is
also blank)


jim schaubeck
714.321.4499


-Original Message-
From: use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of J. Landman Gay
Sent: Thursday, May 13, 2010 9:29 PM
To: How to use Revolution
Subject: Re: Printing in a revlet

Jim Schaubeck wrote:
> Thanks Jacqueline.  I do hope that some sort of solution (or even work
> around) is found for printing within revlets.  End users view printing as
> one of those things that magically just work (can't blame them).  However,
I
> know it's harder than it looks.

The person who submitted a support ticket also said that revlets won't 
print on IE. Can you confirm? I think I need to write up a bug report 
and the more info, the better. If anyone else has info about revlet 
printing on any other browsers/platforms, that'd be good to know too.

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


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


RE: Printing in a revlet

2010-05-13 Thread Jim Schaubeck
Thanks Jacqueline.  I do hope that some sort of solution (or even work
around) is found for printing within revlets.  End users view printing as
one of those things that magically just work (can't blame them).  However, I
know it's harder than it looks.

________
jim schaubeck
714.321.4499


-Original Message-
From: use-revolution-boun...@lists.runrev.com
[mailto:use-revolution-boun...@lists.runrev.com] On Behalf Of J. Landman Gay
Sent: Thursday, May 13, 2010 3:59 PM
To: How to use Revolution
Subject: Re: Printing in a revlet

Jim Schaubeck wrote:
> Is anyone able to tell me how I can have web users print a card or a web
> page from a revlet?  I get blank pages when using Firefox and card
printing
> does not work (at least I have not been successful in getting it to work).
> I could use a step by step guide if someone knows where to point me.
 >
 > HP (AMD Quad),Win7 64, Firefox, Rev Studio 4.0


This came up in the tech queue too and I need to check on it more. But 
printing doesn't work in Firefox on a Mac either. It does in Safari.

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


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


Printing in a revlet

2010-05-13 Thread Jim Schaubeck
Is anyone able to tell me how I can have web users print a card or a web
page from a revlet?  I get blank pages when using Firefox and card printing
does not work (at least I have not been successful in getting it to work).
I could use a step by step guide if someone knows where to point me.

 

HP (AMD Quad),Win7 64, Firefox, Rev Studio 4.0

 

This is a real problem for me L

 



jim schaubeck

714.321.4499

 

___
use-revolution mailing list
use-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: RunRevPlanet SpellCheck Stack - User Defined dictionaries?

2009-08-21 Thread Jim Schaubeck
When I wrote my own spell check, I had to erase some rather 
uncomfortable words out of the 120,000 word dictionary I used.  Some 
interesting words came up under "suggested" spellings :-( .  But adding 
dictionaries is very useful.  IE different medical, commercial terms, 
etc.  However I'm not familiar with the Runrev spell check stack.


Sivakatirswami wrote:
Does anyone know if RunRevPlanet SpellCheck Stack  has the option to 
install user defined dictionaries independently of the main 
dictionary, to which words can be added in the spell checking process?



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


Accessing Google Spreadsheets with RunRev

2009-06-18 Thread Jim Schaubeck
Folks,
Has anyone had success in accessing cell data with google docs from within your 
scripts?  I've researched Googles API reference URL (fairly straightforward) 
and here is their reference format for 'Cell-based feed':
http://spreadsheets.google.com/feeds/cells/key/worksheetId/visibility/projection/cellId

Here's my simple script:
on mouseup
  put URL 
"http://spreadsheets.google.com/feeds/cells/rXtefVGMQhHdB4U2saE2Qxw/1/public/basic/R1C1";
 into cd fld "data"
end mouseup

I wish to get the test data in cell A1 (which is "120") into cd fld "data" but 
I get a long response.  If I get this right I plan to extract other data from 
spreadsheets I use for my company.  I think I have the formatting close to 
correct because if I change any of it, I get an error msg instead of the loang 
response (which I intentioally left out of this email).

Has anyone tried to access google spreadsheets using their API's?

As always folks, thankyou for any feedback
Jim Schaubeck
___
use-revolution mailing list
use-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: Runrev on the web

2009-04-22 Thread Jim Schaubeck
Thanks George.  That's sounds right.  The September announcement you're
talking about is the reason I updated my subscription.  I also just
registered for the webinar tomorrow for OnRev to get more familiar.  I
did not know about the plugin...that could be challenging but workable.  My 
concern
about OnRev is response time and cost.  Go Daddy is the best I've seen and 
priced well.

Thanks again George

Jim...




From: George C Brackett 
To: How to use Revolution 
Sent: Wednesday, April 22, 2009 8:51:01 AM
Subject: Re: Runrev on the web

You may be thinking about the Rev plugin, to be introduced in September at the 
Edinburgh conference.  This is a web plugin (like Quicktime or Flash) that 
permits embedding actual Rev stacks in web pages.  The current alpha version is 
already quite capable.  To be clear, a user must download and install the free 
plugin to see the output from the stack, but then the experience they get from 
the stack is largely indistinguishable from what they would see from running 
the stack or its standalone on the desktop.  (I'm sure there will be a few 
limitations, but I have run a number of my own little educational stacks under 
the plugin with no problems at all.)

George

On Apr 22, 2009, at 11:43 AM, Jim Schaubeck wrote:

Just so I understand, using runrev for applications on the web "requires" us to 
use the runrev service currently priced at 499.00 for life?  I know there are 
ways to do it with CGI's etc (not experienced enough to do that...yet).  What I 
was hoping for (and the reason I upgraded my subsription early) was the promise 
of getting runrev on the web.  After purchasing the early upgrade (my fault for 
not waiting) I learned about "On-Rev".  Don't get me wrong...I like 
RunRev...good stuff...but I use GoDaddy as my provider/hoster and also like 
them.  Is there a way to get runrev on the web without using On-rev?  Can 
someone sent me a link where they are doing that?

As always, thank you folks!!

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


Runrev on the web

2009-04-22 Thread Jim Schaubeck
Just so I understand, using runrev for applications on the web "requires" us to 
use the runrev service currently priced at 499.00 for life?  I know there are 
ways to do it with CGI's etc (not experienced enough to do that...yet).  What I 
was hoping for (and the reason I upgraded my subsription early) was the promise 
of getting runrev on the web.  After purchasing the early upgrade (my fault for 
not waiting) I learned about "On-Rev".  Don't get me wrong...I like 
RunRev...good stuff...but I use GoDaddy as my provider/hoster and also like 
them.  Is there a way to get runrev on the web without using On-rev?  Can 
someone sent me a link where they are doing that?

As always, thank you folks!!

Jim...
___
use-revolution mailing list
use-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: Tags in dialog boxes and the command: resetAll

2009-03-20 Thread Jim Schaubeck
Thank you Jim.  Very good feedback and references  Particularly the plugin 
reference.  Much appreciated !!

 Jim...




From: Jim Bufalini 
To: How to use Revolution 
Sent: Friday, March 20, 2009 7:56:32 AM
Subject: RE: Tags in dialog boxes and the command: resetAll

Hi Jim,

I see Sara already correctly responded to both of your questions. I just
wanted to add...

> I have two questions that I thought i would ask together.  If I should
> send two emails let me know :)
> The first question: When I use tags in the answer box to bold the text
> like: ...answer "Hello World... it works great.  However, when I
> add multiple lines: ...answer "Hello World & cr & cr & "I'm
> Back"... the cr's do not get recognized in the code.  It's as if they
> were not entered.  When I take out the tags, everything is good.  Any
> help would be great!

Technically, this should be Hello World which would give you
the equivalent of a .

Also, there is a free Plugin that Eric Chatonet wrote called Encoded Text
Picker that's available towards the bottom of this page
http://www.sosmartsoftware.com/?r=revolution&l=en where you can just type in
plain text and then switch to either the HTML tab or URLEncoded tab. In the
HTLM tab is all your tags done for you. It allows for bolding and italics
and links and color (basics supported by Rev HTML).

You can then just hit the copy button and paste either the formatted plain
text into a field, or copy the HTML and then set the HTMLText of a field or
use it quoted say with an answer command.

> Second question: I'm doing a lot of URL ftp stuff and I read that the
> resetAll command helps during develpoment.  I noticed that if I don't
> use the resetAll command during develpoment, rev will "go away" for
> awhile then come back.  Should I leave the resetAll command in the
> standalone?  The rev dictionary mentions the resetAll command for dev
> only.

Like Sarah, I also use resetAll in standalones, despite the warnings. ;-)

Aloha from Hawaii,

Jim Bufalini

___
use-revolution mailing list
use-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: Tags in dialog boxes and the command: resetAll

2009-03-19 Thread Jim Schaubeck
Outstanding Sarah!   The  works great!! And I like the "one thing at a time 
approach" also.  I'll stick with the resetAll where I have it

 Jim..






From: Sarah Reichelt 
To: How to use Revolution 
Sent: Thursday, March 19, 2009 6:08:26 PM
Subject: Re: Tags in dialog boxes and the command: resetAll

On Fri, Mar 20, 2009 at 11:02 AM, Jim Schaubeck  wrote:
> I have two questions that I thought i would ask together.  If I should send 
> two emails let me know :)
> The first question: When I use tags in the answer box to bold the text like: 
> ...answer "Hello World... it works great.  However, when I add 
> multiple lines: ...answer "Hello World & cr & cr & "I'm Back"... the 
> cr's do not get recognized in the code.  It's as if they were not entered.  
> When I take out the tags, everything is good.  Any help would be great!

Becasue the text is now html, not plain text, your CR's have no
effect. You will need to use html line breaks  instead..


> Second question: I'm doing a lot of URL ftp stuff and I read that the 
> resetAll command helps during develpoment.  I noticed that if I don't use the 
> resetAll command during develpoment, rev will "go away" for awhile then come 
> back.  Should I leave the resetAll command in the standalone?  The rev 
> dictionary mentions the resetAll command for dev only.

I know the docs say to use resetAll for development testing only, but
I have to confess that I put it in my apps and use it whenever there
is a connection problem as I am then starting again from a clean
slate. The only downside that I can see is that all the connection
settings get reset too, so you need to reset the httpHeaders etc. I
think you have to reset any status or logging messages too.

If you have multiple simultaneous connections, then it would really be
a bad thing as it would close all connections not just the one giving
the problems, but I prefer to get one thing at a time.

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


Tags in dialog boxes and the command: resetAll

2009-03-19 Thread Jim Schaubeck
I have two questions that I thought i would ask together.  If I should send two 
emails let me know :)
The first question: When I use tags in the answer box to bold the text like: 
...answer "Hello World... it works great.  However, when I add multiple 
lines: ...answer "Hello World & cr & cr & "I'm Back"... the cr's do not 
get recognized in the code.  It's as if they were not entered.  When I take out 
the tags, everything is good.  Any help would be great!

Second question: I'm doing a lot of URL ftp stuff and I read that the resetAll 
command helps during develpoment.  I noticed that if I don't use the resetAll 
command during develpoment, rev will "go away" for awhile then come back.  
Should I leave the resetAll command in the standalone?  The rev dictionary 
mentions the resetAll command for dev only.

 
Thanks folks,Jim...

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

2009-02-09 Thread Jim Schaubeck
In a new stack with no objects, I tried:
set the editbg of this stack to true
then:
put the editbg of this stack
resulted in "false" (just like you mentioned)

However, after I added two buttons, grouped them, then set the group to behave 
as a bg, I entered into the msg box, "set the editbg to true" and "put the 
editbg of this stack" resulted in "true"

I didn't do a whole lot of testing but thought I would check a few things to 
see if it helped

 Jim...






From: "dunb...@aol.com" 
To: use-revolution@lists.runrev.com
Sent: Monday, February 9, 2009 3:54:14 PM
Subject: newbie

I am trying to learn to drive. Not going well, in spite of private tutoring 
from Jackie.

I have a stack open. I write in the msg box:

set the editbg of this stack to "true"

I then write in the msg box:

answer the editbg of this stack.

I always get "false" as the answer.

Tried the long name of the stack. No difference. The stack has nothing near 
any sort of reserved name.

These (what must be) utterly basic problems are killing me.

Help.




**
A Good Credit Score is 700 or Above. See yours in just 2 easy 
steps! 
(http://pr.atwola.com/promoclk/10075x1218550342x1201216770/aol?redir=http://www.freecreditreport.com/pm/default.aspx?sc=668072%26hmpgID=62%26bcd=fe
bemailfooterNO62)
___
use-revolution mailing list
use-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: URL "binfile..." command seems to corrupt my mp3 files (re-creatable)

2009-01-09 Thread Jim Schaubeck
Thanks for the reply Stephen.  Jan helped me get the URL command working but I 
did look into the revCopyFile command.  In the rev dictionary under revCopyFile 
and I saw this:   put URL "binfile:/Disk/myfile" into URL 
"binfile:/Disk/Folder/myfile".  Once I saw that, I fumbled with the URL 
command.  Thanks again !





From: stephen barncard 
To: How to use Revolution 
Sent: Friday, January 9, 2009 8:40:26 PM
Subject: Re: URL "binfile..." command seems to corrupt my mp3 files  
(re-creatable)

Looks like your code should work. However have you tried 'revCopyFile'  ?

2009/1/9 Jim Schaubeck 

> I have an interesting situation.  The following simple script maintains mp3
> file integrity (I can play it from both old and new folders)
>
> put URL "binfile:C:/Documents and Settings/Jim
> Schaubeck/Desktop/test1/testing.mp3" into URL "binfile:C:/Documents and
> Settings/Jim Schaubeck/Desktop/test2/testing.mp3" -- plays fine but I can
> not control filename.mp3
>
> However, the following script will copy the file but I can not play the
> newly created mp3 in folder test2 (the mp3 file gets corrupted)
>
> put "testing.mp3" into tempvar
> put URL "binfile:C:/Documents and Settings/Jim Schaubeck/Desktop/test1/" &
> tempvar into URL "binfile:C:/Documents and Settings/Jim
> Schaubeck/Desktop/test2/testing.mp3"
>
> This script moves the file but the mp3 file gets corrupted.
> What am I missing?  My end game is to have flexibility in changing mp3 file
> names and locations. The 'URL' keyword or 'rename' command both look like
> they can do what I want (almost)
>
> Jim...
> ___
>
-- 
Stephen Barncard
-
San Francisco
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-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: URL "binfile..." command seems to corrupt my mp3 files (re-creatable)

2009-01-09 Thread Jim Schaubeck
Jan, You are correct my friend.  That worked...Thank you !!

 





From: Jan Schenkel 
To: How to use Revolution 
Sent: Friday, January 9, 2009 9:44:04 PM
Subject: Re: URL "binfile..." command seems to corrupt my mp3 files 
(re-creatable)

--- Jim Schaubeck  wrote:
> I have an interesting situation.  The following
> simple script maintains mp3 file integrity (I can
> play it from both old and new folders)
> 
> put URL "binfile:C:/Documents and Settings/Jim
> Schaubeck/Desktop/test1/testing.mp3" into URL
> "binfile:C:/Documents and Settings/Jim
> Schaubeck/Desktop/test2/testing.mp3" -- plays fine
> but I can not control filename.mp3
> 
> However, the following script will copy the file but
> I can not play the newly created mp3 in folder test2
> (the mp3 file gets corrupted)
> 
> put "testing.mp3" into tempvar
> put URL "binfile:C:/Documents and Settings/Jim
> Schaubeck/Desktop/test1/" & tempvar into URL
> "binfile:C:/Documents and Settings/Jim
> Schaubeck/Desktop/test2/testing.mp3"
> 
> This script moves the file but the mp3 file gets
> corrupted.
> What am I missing?  My end game is to have
> flexibility in changing mp3 file names and
> locations. The 'URL' keyword or 'rename' command
> both look like they can do what I want (almost)
> 
> Jim...
> 

It's a matter of operator priorities and
parenthesizing to get the desired behaviour. What you
wrote is the equivalent of:
##
put "testing.mp3" into tempvar
put (URL "binfile:C:/Documents and Settings/Jim
Schaubeck/Desktop/test1/") & tempvar into URL
"binfile:C:/Documents and Settings/Jim
Schaubeck/Desktop/test2/testing.mp3"
##
And what you want is:
##
put "testing.mp3" into tempvar
put URL ("binfile:C:/Documents and Settings/Jim
Schaubeck/Desktop/test1/" & tempvar) into URL
"binfile:C:/Documents and Settings/Jim
Schaubeck/Desktop/test2/testing.mp3"
##
Computers are very good at doing what we tell them to
do, not what we want them to do :-)

Jan Schenkel.

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

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


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


URL "binfile..." command seems to corrupt my mp3 files (re-creatable)

2009-01-09 Thread Jim Schaubeck
I have an interesting situation.  The following simple script maintains mp3 
file integrity (I can play it from both old and new folders)

put URL "binfile:C:/Documents and Settings/Jim 
Schaubeck/Desktop/test1/testing.mp3" into URL "binfile:C:/Documents and 
Settings/Jim Schaubeck/Desktop/test2/testing.mp3" -- plays fine but I can not 
control filename.mp3

However, the following script will copy the file but I can not play the newly 
created mp3 in folder test2 (the mp3 file gets corrupted)

put "testing.mp3" into tempvar
put URL "binfile:C:/Documents and Settings/Jim Schaubeck/Desktop/test1/" & 
tempvar into URL "binfile:C:/Documents and Settings/Jim 
Schaubeck/Desktop/test2/testing.mp3"

This script moves the file but the mp3 file gets corrupted.
What am I missing?  My end game is to have flexibility in changing mp3 file 
names and locations. The 'URL' keyword or 'rename' command both look like they 
can do what I want (almost)

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


Spell check in a text field (how do I)

2008-12-11 Thread Jim Schaubeck
What are some of the ways I can write a stack which has spellchecking
for the users in the text fields?  I have Rev 3.0 Studio (XP) and will
deploy on windows.  Thanks folks!
Jim...
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Spell Check script

2008-09-29 Thread Jim Schaubeck
Hi folks,

I would like to add a "spellcheck" option to the text fields that the user
fills out.  Probably about 50 words are entered in each field with about 10
fields.  I've searched through past emails and runrev posts and found OSX
possibilities but nothing for Windows.  If I have to, I have the words from
ubuntu's built-in dictionary (93,000 words) that I could use for my own
spellcheck script but I would only do a matching type of script and not
recommend words like other (and better) spellcheckers do.  I'm wondering if
anyone out there knows of a runrev spell check script that works for
windows.

 

Thanks for any comments,

Jim.

 

___
use-revolution mailing list
use-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: Invisible volume slider on audio player

2008-09-11 Thread Jim Schaubeck
Thanks for the response Chipp,
I have QT installed and I just upgraded to 7.5.5 to make sure.  I still have
the problem (if it helps, these are all wav files).  However, I may not be
*using* QT in runrev (I don't really know how I would find out) but I do
have it and launched it successfully.  This raises another question.  How
would it work on Linux systems without QT?  I'm writing the runrev app with
XP but I will deploy it on a ALIX 3c3 card with imedia Linux.  I can live
without the volume adjust as I can script that but I can't live without the
audio players.  They allow me to play more than one sound simultaneously.

Jim...


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chipp Walters
Sent: Thursday, September 11, 2008 8:39 PM
To: How to use Revolution
Subject: Re: Invisible volume slider on audio player

Do you have QuickTime installed? I am on XP and Rev 3.0 and don't see the
problem--but then again I'm using QT.
___
use-revolution mailing list
use-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


Invisible volume slider on audio player

2008-09-11 Thread Jim Schaubeck
Using a visible audio player, I do not see the volume adjust slider when I
click the little speaker icon on the player to adjust he volume.  The player
works fine and in fact the volume is getting adjusted as I drag the mouse up
and down.  But, the little "indicator ball" does not appear.  FYI.I use XP
Pro, Rev 3.0

 

If I move the player close to the left side of the card, I can see the
slider on the desktop.  I just can't see it on the card.weird.

 

Any ideas?

 

Jim.

 

 

 

 

___
use-revolution mailing list
use-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: Sound adjustment on a player

2008-09-03 Thread Jim Schaubeck
Mark, Sorry for the REALLY long delay
I appreciate your response.  I tried the Buffer setting and that setting
actually made things even tougher.  The player had no response after setting
buffer to true.  I do have QuickTime loaded on my PC (and working).  I still
have the same issue where the players' volume bar does not show up on the
card.  It will, however, show up on the desk top if I move the player far
enough to the left side of the current card/stack.  So the volume bar is
actually there all of the time...just "under" the stack.  Just to make sure,
I moved the player "To the Front" with no luck.

Jim...

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark
Schonewille
Sent: Monday, April 14, 2008 10:33 AM
To: How to use Revolution
Subject: Re: Sound adjustment on a player

Hi Jim,

Do you have QuickTime installed? If not, controls are not supported  
without QT.

If yes, maybe changing the alwaysBuffer of the player helps.

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 5-apr-2008, om 8:07 heeft Jim Schaubeck het volgende geschreven:
> I'm writing a Music on Hold server with players.  On the visible  
> players,
> I'm not able to use the sound adjustment on the left side (in IDE  
> mode).
> The volume bar shows for a split second but disappears.  Oddly, if  
> you click
> and hold, you can actually adjust the volume but you can't see what  
> you are
> adjusting it to.  I'm using XP pro with rel 2.9.
>
>
>
> Has anyone else seen this?
>
>
>
> Jim.
>
___
use-revolution mailing list
use-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: Working with csv files that are 5000 lines or more

2008-04-21 Thread Jim Schaubeck
Ken,
I finally had a chance to catch up on use-rev emails...thank you for
pointing out the "best practices".  My exact situation was addressed on part
I.  I also learned something about the "is among" vs "is in" commands

I must also tell you I learned that setting mouse to cursor slows things
down...had no idea on that either.

I see you on a lot of emails doing cool stuff so I appreciate you spending
your valuable time answering the questions

Thanks again,
Jim...

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ken Ray
Sent: Wednesday, April 09, 2008 10:40 PM
To: How to use Revolution
Subject: Re: Working with csv files that are 5000 lines or more

> Brian,
> Holy smokes this is much better!!  Not even a second vs 2 minutes.  I've
been
> schooled...much appreciated!

If you are interested in some other "best practices" on getting the best
performance in your code, check out these tips:

Increasing Script Performance, Part I
http://www.sonsothunder.com/devres/revolution/tips/scrp005.htm

Increasing Script Performance, Part II
http://www.sonsothunder.com/devres/revolution/tips/scrp006.htm

Increasing Script Performance, Part III
http://www.sonsothunder.com/devres/revolution/tips/scrp007.htm

Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/


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

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


Sound adjustment on a player

2008-04-14 Thread Jim Schaubeck
I'm writing a Music on Hold server with players.  On the visible players,
I'm not able to use the sound adjustment on the left side (in IDE mode).
The volume bar shows for a split second but disappears.  Oddly, if you click
and hold, you can actually adjust the volume but you can't see what you are
adjusting it to.  I'm using XP pro with rel 2.9.

 

Has anyone else seen this?

 

Jim.

___
use-revolution mailing list
use-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: Working with csv files that are 5000 lines or more

2008-04-09 Thread Jim Schaubeck
Thank you Richard.  Great feedback.  That makes complete sense as to why repeat 
for each line is lightning fast

 
On Wednesday, April 09, 2008, at 06:36PM, "Richard Gaskin" <[EMAIL PROTECTED]> 
wrote:
>Jim Schaubeck wrote:
> > Very good feedback for me.  You are correct , the method I was
> > using was very slow (I had no idea).
>
>Superficially the two main forms of repeat look very similar, but under 
>the hood they do very different things.
>
>When you do this:
>
>repeat with i = 1 to the number of lines of tData
>get line i of tData
>end repeat
>
>...that second line has to count the lines from 1 to i each time through 
>the loop.  That's why you saw the increasing slowdown the farther it got 
>into the data.
>
>But when you do this:
>
>repeat for each line tLine in tData
>   get tLine
>end repeat
>
>...then the engine makes the assumption that the data in tData won't be 
>changing, so it doesn't need to count as it goes.  Instead it parses as 
>it goes, automatically putting the value of each line into tLine each 
>time through the loop.
>
>For data sets with just 5000 records, or even 50,000 records, you 
>probably don't need an RDBMS to handle them.
>
>In cases where you're processing all records in sequence you probably 
>don't even need an array.  Arrays are lightning fast for random access, 
>such as when you have a list of keys and you need to retrieve their 
>values.  But the split and combine commands are very computationally 
>intensive, so for sequential processing of the full data set the 
>overhead of split and combine usually benchmarks as taking longer than 
>simply using "repeat for each" on the delimited text.
>
>My WebMerge customers regularly process data sets in the hundreds of 
>thousands of lines, and write me happy notes about how good the 
>performance is. :)
>
>I wish I could take credit for it, but really it's all Scott Raney, the 
>fella who owned the engine at the time the "repeat for each" form was 
>added. It's a godsend.
>
>-- 
>  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: Working with csv files that are 5000 lines or more

2008-04-09 Thread Jim Schaubeck
Terry,
Very good feedback for me.  You are correct , the method I was using was very 
slow (I had no idea).  The repeat for each line is "femto" seconds!  Very nice. 
 I appreciate all of the other information as well...it will help me later

Thank you,
Jim...

 
On Wednesday, April 09, 2008, at 06:07PM, "Terry Judd" <[EMAIL PROTECTED]> 
wrote:
>Hi Jim,
>
>Take a look at the 'repeat for each line' repeat structure. It's much faster 
>than the 'repeat with i = 1 to the number of lines in' method you're 
>probably already using.
>
>So for example, if you wanted to iterate through every line and every item in 
>each line you would do something like...
>
>answer file "Select a data file to parse:"
>put url ("file:"&it) into tData
>put 0 into tRecordNum
>repeat for each line tRecord in tData
>  add 1 to tRecordNum
>  -- this keeps a record of what line you're up to (if you need it)
>  -- do something to your line data here if required
>  put 0 into tItemNum
>  repeat for each item tItem in tRecord
>add 2 to tItemNum
>-- this keeps a record of what item you're up to (if you need it)
>-- do something to your item data here if required
>  end repeat
>end repeat
>
>You'll find this method is VERY fast and shoudn't suffer from any noticeable 
>slowdown. Just don't try to manipulate tData within the repeat loops. If you 
>need to modify it, either create a copy of it and work on that or 'build' a 
>new one on the fly as you iterate through the lines and items within the 
>repeat loops.
>
>However, if all you want to do is find one or more instances of a particular 
>items you are probably better off going with a routine based on the lineOffset 
>function. Finding a partial match is easy...
>
>put lineOffset("xzy","tData") into tLineNum
>if tLineNum > 0 then
>  -- you've got a match in line tLineNum
>  -- iterate through the items to find the position of the one you're after
>  -- or use the itemOffset function to track it down
>end if
>
>If you need to find a complete match (i.e. the whole item) then first add a 
>comma to the beginning and end of each line in tData...
>
>put CR before tData
>put CR after tData
>-- so you start and end with a blank line
>replace CR with CR&","
>-- puts a comma at the start of each line
>replace CR&"," with ","&CR&","
>-- put a comma at the end of each line
>delete line 1 of tData
>delete last line of tData
>-- get rid of those empty lines
>put lineOffset(",xyz,",tData) into tLineNum
>
>...and then take it from there
>
>HTH,
>
>Terry...
>
>-Original Message-
>From: [EMAIL PROTECTED] on behalf of Jim Schaubeck
>Sent: Thu 4/10/2008 10:35 AM
>To: use-revolution@lists.runrev.com
>Subject: Working with csv files that are 5000 lines or more
> 
>My next project is reading in a csv file as large as 7000 lines with 60 items 
>per line.  The "read file..." and "put it into tempvar" command work very 
>quickly.  When I search the data in tempvar, the repeat command works quickly 
>for the first 1000 lines or so then things slow down dramatically.  I tested 
>it with a scrollbar being updated for every line and 1000 seems to be the 
>break point.  Using "Find..." in excel works very quickly but the same file in 
>my stack is slow.  I'll be loading my app onto 20 or so other users so a 
>database may not be an option unless I can load it into the stack (never tried 
>to include an actual database in my apps).
>
>Any ideas on how to search through csv files that are 2000 to 7000 lines?
>
>Thanks in advance
>Jim...
>___
>use-revolution mailing list
>use-revolution@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your subscription 
>preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
>___
>use-revolution mailing list
>use-revolution@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your subscription 
>preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Working with csv files that are 5000 lines or more

2008-04-09 Thread Jim Schaubeck
Brian,
Holy smokes this is much better!!  Not even a second vs 2 minutes.  I've been 
schooled...much appreciated!

Thank you,
Jim...

 
On Wednesday, April 09, 2008, at 06:04PM, "Brian Yennie" <[EMAIL PROTECTED]> 
wrote:
>Jim,
>
>Try this revised script with "repeat for each":
>
>on mouseUp
>   set cursor to watch
>   put cd fld "test" into tempvar
>   set the itemDel to tab
>   put 0 into addvar
>   repeat for each line L in (line 2 to -1 of tempvar)
> if item 15 of L is "FL" then add 1 to addvar--simple test for speed
>   end repeat
>   answer addvar
>end mouseUp
>>
>
>---
>Brian Yennie
>
>
>___
>use-revolution mailing list
>use-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: Working with csv files that are 5000 lines or more

2008-04-09 Thread Jim Schaubeck
Mark,
Thank you for the quick response.  I have not tried your idea but i will work 
on it now.  Your approach seems to be very close to what I was doing (as you 
suspected, I used the repeat with x = 2 to the number of lines etc

If your approach is many times faster, that could be the trick

Thank you
Jim...

 
On Wednesday, April 09, 2008, at 05:52PM, "Mark Smith" <[EMAIL PROTECTED]> 
wrote:
>Jim, are you using a 'repeat for' loop? In this kind of situation,  
>they can be many, many times faster than 'repeat with n = 1 to the  
>number of lines'.
>
>Another option might be to split the data into an array:
>
>put url ("file:" & someCSVfile) into tData
>split tData by return  -- now you have an array, one line per  
>element, the elements numbered 1 to 7000
>
>repeat for each line L in the keys of tData
>   if whatYourSearchingFor is in tData[L] then
> either do what you need to with tData[L] or
> put L & comma after listOfLinesThatMatchTheSearchCriteria
>   end if
>end repeat
>
>Best,
>
>Mark
>
>On 10 Apr 2008, at 01:35, Jim Schaubeck wrote:
>
>> My next project is reading in a csv file as large as 7000 lines  
>> with 60 items per line.  The "read file..." and "put it into  
>> tempvar" command work very quickly.  When I search the data in  
>> tempvar, the repeat command works quickly for the first 1000 lines  
>> or so then things slow down dramatically.  I tested it with a  
>> scrollbar being updated for every line and 1000 seems to be the  
>> break point.  Using "Find..." in excel works very quickly but the  
>> same file in my stack is slow.  I'll be loading my app onto 20 or  
>> so other users so a database may not be an option unless I can load  
>> it into the stack (never tried to include an actual database in my  
>> apps).
>>
>> Any ideas on how to search through csv files that are 2000 to 7000  
>> lines?
>>
>> Thanks in advance
>> Jim...
>> ___
>> use-revolution mailing list
>> use-revolution@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your  
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>___
>use-revolution mailing list
>use-revolution@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your subscription 
>preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Working with csv files that are 5000 lines or more

2008-04-09 Thread Jim Schaubeck
John,
Thank you for the response
If I can figure out how to do this I will try it next.  I've tried Mysql (via 
Navicat) and the sort command work quite quickly.  So the db approach looks 
promising and I know the rev docs say "anything over 2000 records is best 
handled with a db".  I do not know (yet) how to use the internal db of runrev.  
I'll explore this

Jim...

 
On Wednesday, April 09, 2008, at 05:51PM, "John Tregea" <[EMAIL PROTECTED]> 
wrote:
>Dear Jim,
>
>Rather than reading the file, could you import it into the "internal" database 
>within Rev and then undertake your data manipulation? The database engine will 
>be more optimised for large table sorts etc.
>
>Regards
>
>John
>-Original Message-
>From: Jim Schaubeck [mailto:[EMAIL PROTECTED]
>Sent: Thursday, April 10, 2008 10:35 AM
>To: use-revolution@lists.runrev.com
>Subject: Working with csv files that are 5000 lines or more
>
>My next project is reading in a csv file as large as 7000 lines with 60 items 
>per line. The "read file..." and "put it into tempvar" command work very 
>quickly. When I search the data in tempvar, the repeat command works quickly 
>for the first 1000 lines or so then things slow down dramatically. I tested it 
>with a scrollbar being updated for every line and 1000 seems to be the break 
>point. Using "Find..." in excel works very quickly but the same file in my 
>stack is slow. I'll be loading my app onto 20 or so other users so a database 
>may not be an option unless I can load it into the stack (never tried to 
>include an actual database in my apps).Any ideas on how to search through csv 
>files that are 2000 to 7000 lines?Thanks in 
>advanceJim...___use-revolution 
>mailing [EMAIL PROTECTED] visit this url to subscribe, unsubscribe and manage 
>your subscription 
>preferences:http://lists.runrev.com/mailman/listinfo/use-revo!
 lution
>___
>use-revolution mailing list
>use-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: Working with csv files that are 5000 lines or more

2008-04-09 Thread Jim Schaubeck
Ian,
Here's the script:

on mouseUp
  set cursor to watch
  put cd fld "test" into tempvar
  set the itemDel to tab
  put 0 into addvar
  repeat with x = 2 to the number of lines in tempvar
if item 15 of line x of tempvar is "FL" then add 1 to addvar--simple test 
for speed
  end repeat
  answer "addvar"
end mouseUp

There are 5500 lines in tempvar with 60 or so items in each row.  the data 
starts out in cd fld "test" but that put into tempvar is very quick.

Jim...

 
On Wednesday, April 09, 2008, at 05:51PM, "Ian Wood" <[EMAIL PROTECTED]> wrote:
>
>On 10 Apr 2008, at 01:35, Jim Schaubeck wrote:
>
>> When I search the data in tempvar, the repeat command works quickly  
>> for the first 1000 lines or so then things slow down dramatically.
>
>How are you doing the repeat? I'm just wondering if you've somehow got  
>code in there that is going through the previous lines, therefore  
>getting slower and slower as it goes through the process.
>
>Ian
>___
>use-revolution mailing list
>use-revolution@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your subscription 
>preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Working with csv files that are 5000 lines or more

2008-04-09 Thread Jim Schaubeck
My next project is reading in a csv file as large as 7000 lines with 60 items 
per line.  The "read file..." and "put it into tempvar" command work very 
quickly.  When I search the data in tempvar, the repeat command works quickly 
for the first 1000 lines or so then things slow down dramatically.  I tested it 
with a scrollbar being updated for every line and 1000 seems to be the break 
point.  Using "Find..." in excel works very quickly but the same file in my 
stack is slow.  I'll be loading my app onto 20 or so other users so a database 
may not be an option unless I can load it into the stack (never tried to 
include an actual database in my apps).

Any ideas on how to search through csv files that are 2000 to 7000 lines?

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


Volume control in visible player flashes on then off and stays off

2008-04-04 Thread Jim Schaubeck
I'm writing a Music on Hold server with players.  On the visible players,
I'm not able to use the sound adjustment on the left side (in IDE mode).
The volume bar shows for a split second but disappears.  Oddly, if you click
and hold, you can actually adjust the volume but you can't see what you are
adjusting it to.  Using a button to set the filename of the player with a
.wav file.  Everything works fine but the volume control.  I'm using XP pro
with rel 2.9.

 

Has anyone else seen this?

 

Jim.

 

___
use-revolution mailing list
use-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: Anyone interested in learning more about Rev on Rockets?

2008-02-25 Thread Jim Schaubeck
...
So, if you're interested, holler at me or Andre, or just respond here. If
there are enough folks, we'll create a few free ROR tutes. Just let us know!

-Chipp


This would be great...you have my vote !

Jim...


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


RE: Import as Control

2008-01-28 Thread Jim Schaubeck
Folks,

I figured it out:  Application Browser

 

I read the manual closer, dah !

 

Jim.

 

From: Jim Schaubeck [mailto:[EMAIL PROTECTED] 
Sent: Sunday, January 20, 2008 9:31 PM
To: 'use-revolution@lists.runrev.com'
Subject: Import as Control

 

I'm using "Import as Control" to get audio files into my stack.  Is there a
list where I can see which files (in my case, wav. Files) have been imported
already?  Similar to the Custom Properties window that lists the various
CP's in an object.  I'm importing about 500 very short wav files into a
stack and would like to keep track of them.  I tried re-importing expecting
an error that it has already been done but did not get one.

 

Thanks folks,

Jim.

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

2008-01-19 Thread Jim Schaubeck
Thank you Richard...that worked for me!

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Richard Gaskin
Sent: Friday, January 18, 2008 3:40 PM
To: How to use Revolution
Subject: Re: An interesting project?

Jim Schaubeck wrote:
> Can someone point me in the direction of learning how to use player
objects
> to play sounds simultaneously?

1. Put two players on a card.
2. Assign a different audio file to each.
3. Run this in a button:

on mouseUp
   start player 1
   start player 2
end mouseUp


-- 
  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 interesting project?

2008-01-18 Thread Jim Schaubeck
Can someone point me in the direction of learning how to use player objects
to play sounds simultaneously?

I'm interested in doing this as well with RR.  Is there a simple stack that
shows the concept?

Thanks all,
Jim...

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Scott Rossi
Sent: Thursday, January 17, 2008 9:29 AM
To: Revolution Mail List
Subject: Re: An interesting project?

Recently, Andres Martinez wrote:

> As far as I know RR cannot play two simultaneous sounds.

Using player objects, you can play several sounds simultaneously (one sound
assigned to each player).

You can also play an imported sound and a player simultaneously.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design


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

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


I just bit the bullet and bought the Studio Bundle

2008-01-16 Thread Jim Schaubeck
I'm a novice at RunRev but I do enjoy creating applications.  I wish I was
experienced enough to do it for a living (I'm getting there)

 

Some people like to read a good book.I like to use RunRev.for hours

 

Looking forward to the bundle

 

Jim Schaubeck.

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


Filtering Columns in Tables

2007-04-05 Thread Jim Schaubeck
Hello all,
I'm trying to code a way so a user can click on the title of a particular 
column in a table field to select filters for that column.  Much like you can 
use a spreadsheet and add filter boxes in the header cells to select the 
specific contents for that column.  After selecting the particular contents, 
the spreadsheet will now only show the lines that have that same data in the 
filtered column.  I want to duplicate that look in a rev app  The tough part 
for me is I have 30 columns & need horizontal scrolling.  This eliminates 
stationary buttons that would do this easily.  The buttons in the spreadsheet 
move horizontally while scrolling.  Do you folks have any ideas how to do this?

Jim...
___
use-revolution mailing list
use-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 images to MySQL using Read/Write

2007-02-26 Thread Jim Schaubeck
Bill and Stephen,
I'll take your advise.  I want to do the right thing.  But I'm not sure how...I 
have a Mac mini running the MySQL now.  Do I need another server to run the 
process for the image files?  I have no problem getting one just want to know 
if that is best.  Also, What type of server app should I use if not MySQL?  
FTP? etc  I just learned about  MySQL (seems pretty straight forward) so I can 
learn another program.  Just need to know which one.

Pointers on reading material is very much appreciated as well...I know you guys 
are busy with your own projects so I appreciate the help ! :)

Jim...

 
On Monday, February 26, 2007, at 08:07AM, "Bill Marriott" <[EMAIL PROTECTED]> 
wrote:
>Stephen is right. BLOBs are slow and stress your server more than necessary.
>
>- A lot of web hosts don't care so much about how much disk space or 
>bandwidth you use, but are very unhappy when you cause high CPU load. 
>Storing images within a MySQL db is a recipe for high CPU usage.
>
>- Databases aren't optimized for image storage and retrieval. Binary files, 
>especially a bunch of them, will cause the database to have bits stored in a 
>very inefficient way, physically, causing: needless fetch operations; a 
>completely defeated cache; poor memory usage on the server; and slowdowns in 
>general.
>
>
>"Stephen Barncard" wrote:
>> Why do you want to store images in MySQL? I know it can be done but Blobs 
>> can be tricky and I imagine that big binaries slow down the SQL server 
>> quite a bit.
>
>
>
>___
>use-revolution mailing list
>use-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: Loading images to MySQL using Read/Write

2007-02-26 Thread Jim Schaubeck
Ken,
Your script works.  The only thing that have to do which seems a little strange 
is emptying the image before writing a newer one to it.  For some reason the 
new one can not overwrite the old one...must be emptied first

Thanks Again!
Jim...

 
On Sunday, February 25, 2007, at 11:18PM, "Ken Ray" <[EMAIL PROTECTED]> wrote:
>On Sun, 25 Feb 2007 22:28:00 -0800, Jim Schaubeck wrote:
>
>> on mouseup
>>   ask file "Select an Image file"
>>   put it into tempvar
>>   --
>>   open file tempvar for binary read
>>   read from file tempvar until end
>>   put it into imagevar -- I'm hoping imagevar this would have the 
>> data I need to store in MySQL
>>   close file tempvar
>>   --
>>   open file "tempImageFile" for write
>
>You need to use "binary write" here, I think... 
>
>>   write imagevar to file "tempImageFile" at 1
>>   close file "tempImageFile"
>>   --
>>   set the fileName of image "image1" to "tempImageFile"
>> end mouseUp
>
>Also, wouldn't it be easier to do:
>
>on mouseUp
>  ask file "Select an Image File"
>  put it into tempVar
>  if tempVar <> "" then
>put url ("binfile:" & tempVar) into imageVar
>-- then the test
>put imagevar into url ("binfile:tempImageFile")
>set the fileName of image "image1" to "tempImageFile"
>  end if
>end mouseUp
>
>
>Ken Ray
>Sons of Thunder Software, Inc.
>Email: [EMAIL PROTECTED]
>Web Site: http://www.sonsothunder.com/
>___
>use-revolution mailing list
>use-revolution@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your subscription 
>preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
___
use-revolution mailing list
use-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 images to MySQL using Read/Write

2007-02-26 Thread Jim Schaubeck
Ken,
Thanks for your response.  I can not get your suggeted script to work either.  
I had my hopes up as I have wotking on this for the last 6 hours now with no 
luck.  It just seems to easy and should work perfectly

Jim...

 
On Sunday, February 25, 2007, at 11:18PM, "Ken Ray" <[EMAIL PROTECTED]> wrote:
>On Sun, 25 Feb 2007 22:28:00 -0800, Jim Schaubeck wrote:
>
>> on mouseup
>>   ask file "Select an Image file"
>>   put it into tempvar
>>   --
>>   open file tempvar for binary read
>>   read from file tempvar until end
>>   put it into imagevar -- I'm hoping imagevar this would have the 
>> data I need to store in MySQL
>>   close file tempvar
>>   --
>>   open file "tempImageFile" for write
>
>You need to use "binary write" here, I think... 
>
>>   write imagevar to file "tempImageFile" at 1
>>   close file "tempImageFile"
>>   --
>>   set the fileName of image "image1" to "tempImageFile"
>> end mouseUp
>
>Also, wouldn't it be easier to do:
>
>on mouseUp
>  ask file "Select an Image File"
>  put it into tempVar
>  if tempVar <> "" then
>put url ("binfile:" & tempVar) into imageVar
>-- then the test
>put imagevar into url ("binfile:tempImageFile")
>set the fileName of image "image1" to "tempImageFile"
>  end if
>end mouseUp
>
>
>Ken Ray
>Sons of Thunder Software, Inc.
>Email: [EMAIL PROTECTED]
>Web Site: http://www.sonsothunder.com/
>___
>use-revolution mailing list
>use-revolution@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your subscription 
>preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
___
use-revolution mailing list
use-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: Please test this...takes 2 seconds

2007-02-25 Thread Jim Schaubeck


I just tryed it on an XP machine and it works fine.  No problems

Jim...

 
On Sunday, February 25, 2007, at 11:36PM, "Chipp Walters" <[EMAIL PROTECTED]> 
wrote:
>Can someone please check this and verify on the release 2.8 and WinXP?
>
>Create a new stack
>Drag a Scrolling Field onto it
>open the message box and type the word "test"
>double-click it to select the word "test"
>Ctrl-C to copy it
>Now put the cursor in the Scrolling Field and type Ctrl-V to paste
>Or try to paste using menus?
>
>I can't paste. I've tried on 2 different WinXP machines. This is a
>problem as I like to cut and paste a lot during development. Others on
>the improve list don't see this problem, but I don't know if they're
>testing on XP.
>
>TIA,
>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
>
>
___
use-revolution mailing list
use-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 images to MySQL using Read/Write

2007-02-25 Thread Jim Schaubeck
The Read/Write and URL commands are driving me sort of nuts.  I am trying to 
store image files into MySQL fields without using the imageData (which gets 
very large but I got it working).  Instead, I thought of reading the original 
image file, store that read into the MySQL field.  When I retrieve it, I would 
write it to a temp file x and set the empty image to the filename of x.  
Sounded simple enough (too simple I guess).  Here's the test stack I was trying 
prove the theory with:


on mouseup
  ask file "Select an Image file"
  put it into tempvar
  --
  open file tempvar for binary read
  read from file tempvar until end
  put it into imagevar -- I'm hoping imagevar this would have the data I need 
to store in MySQL
  close file tempvar
  --
  open file "tempImageFile" for write
  write imagevar to file "tempImageFile" at 1
  close file "tempImageFile"
  --
  set the fileName of image "image1" to "tempImageFile"
end mouseUp


I know I could have set the fileName of the image to the origianl ask file 
result but I wanted to do the read/Write to see if I could duplicate the file 
contents and load it into another file and use the new file as the fileName.  
That would prove out the theory (I think).  Does the Read/Write commands do a 1 
for 1 read/write?

If read/write is not the way to go, any other ideas on how to store Jpegs to a 
MySQL field?

Thanks for your help,
Jim...
___
use-revolution mailing list
use-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: Multi-user stack question

2007-02-09 Thread Jim Schaubeck
Thanks everyone for helping with this!  I didn't know the first thing  
about databases but with your help, some reading and many hours of  
keyboard time, I ended up using mysql on a mac-mini.  I must  
say...this program does rock!  Did you ever just get darn proud of  
getting something working?  very cool...the problem is find cooler to  
add and I don't finish the details of the last feature I was working  
on...I have to set deadlines for myself.


I using Navicat to make MySQL a bit easier to work with (there's free  
tools but I'm green enough).  I had to work out some firewall issues  
and VPN stuff causing error msgs but got past that (I work for Cisco  
and there's no shortage of folks around to help with that!)
I saw Trevor's stack but I stuck with standard SQL code in RunRev.   
So far, I'm just using SELECT/WHERE, ADD, DELETE,  UPDATE/SET.  The  
rest of the work of editing, searching, etc is done via RunRev once I  
have the data from the table.  RunRev does all of the heavy lifting.


Thanks again folks !!  You are very helpful.  I hope I can give back  
to this list some day,

Jim




On Dec 13, 2006, at 7:21 PM, Kay C Lan wrote:


On 12/10/06, Mark Wieder <[EMAIL PROTECTED]> wrote:



Normally I would say altSQLite would be a great choice for this app,



Are you sure about this.?

I was under the impression that altSQLite ( I guess soon to be  
revSQLite) is
an embedded 'single instance' database. How would you propose to  
handle the

multi-user networked environment that Jim mentioned?

Just wondering if there is more to altSQLite than I understand.

Waiting for 2.7.5 and altSQLite might not get Jim any closer to a
solution:-)
___
use-revolution mailing list
use-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: Open and Closing MySQL

2007-01-20 Thread Jim Schaubeck


Found the answer...open an closing db in mysql after each script is 
fine...sorry for the newbie question.  The learning is going just fine!

Jim...

 
On Friday, January 19, 2007, at 01:51PM, "Jim Schaubeck" <[EMAIL PROTECTED]> 
wrote:
>Folks,
>Is it good practice to close a connection to a database right after you use it 
>(MySQL)?  I don't have a problem writing the SQL every time, I just want to 
>make sure it doesn't hurt anything if I did it that way.
>
>Also, is there any more documentation somewhere on the rev commands for SQL?
>
>Thanks for the help,
>Jim...
>___
>use-revolution mailing list
>use-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


Open and Closing MySQL

2007-01-19 Thread Jim Schaubeck
Folks,
Is it good practice to close a connection to a database right after you use it 
(MySQL)?  I don't have a problem writing the SQL every time, I just want to 
make sure it doesn't hurt anything if I did it that way.

Also, is there any more documentation somewhere on the rev commands for SQL?

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


Trevor's Recipe project

2006-12-29 Thread Jim Schaubeck
Has anyone used the recipes project with MySQL?

I use MySQL 5 on OSX 10.4 as the MySQL Server with Navicat (seems to work 
fine).  I created and imported a quick .txt file using the "bar" (|) as the 
delimiter.  It loads fine and I can build a RunRev project with Database Query 
Builder to access and change the data.  I do rthis from a Windows XP laptop 
(where the RunRev is).  Looking through the threads here I gather that the 
Query Builder is not exactly the way to go but to use Trevor's Library.  
(Thanks Trevor and Sarah for the pointer)  So, I downloaded it and am trying 
the "recipes" database project but can not get it working.  I feel that once I 
get it working, I can start adjusting and learning more from it.

Can someone give me pointers.  What's the trick to properly loading and running 
the "recipes" database?

Thanks,
Jim...
___
use-revolution mailing list
use-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: Multi-user stack question

2006-12-09 Thread Jim Schaubeck
Mark,
Thanks for responding!

How do I get RunRev to be multi-user?  (w/o using a DB)

I started using mysql with Navicat to test and I found myself putting hours 
into figuring it out.  If I could right a 100% RunRev app for everyone on my 
team that would be great.  But, if I have to use a database to get the 
multi-user feature, in your opinion, which DB  is the easiest to get going 
(windows based but I can run the db on mac if needed).

Thanks Mark

Jim...

 
On Friday, December 08, 2006, at 09:53PM, "Mark Wieder" <[EMAIL PROTECTED]> 
wrote:
>Jim-
>
>Friday, December 8, 2006, 8:42:08 PM, you wrote:
>
>> Do I need to use a database (mysql,filemaker, etc) for this?
>
>You don't need to use a database for this, but for something that size
>I think you'll be happier with the result if you do. I have a smaller
>app that I just converted from being a card-based database system to
>using a mysql backend and it's now smaller and faster. The database
>linkage isn't hard to work out, but don't bother with the QueryBuilder
>junk - my advice would be to get Trevor DeVore's database library and
>start from there.
>
>-- 
>-Mark Wieder
> [EMAIL PROTECTED]
>
>___
>use-revolution mailing list
>use-revolution@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your subscription 
>preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Multi-user stack question

2006-12-08 Thread Jim Schaubeck
Folks,
I'm writing a stack to build a database of customers for our Sales and System 
Engineering team.  Will be much  less than a couple thousand cards with about 
100 or so various unique fields and pulldown buttons per card.  I can do it 
easily with RunRev but I want the database or stack to be accessed and 
modifiable from multiple folks on a private network.  I'm familiar with RunRev 
(prev Hypercard/Supercard stuff) but I am not familiar with using RunRev 
w/databases.

Do I need to use a database (mysql,filemaker, etc) for this?
Is the multi-user requirement the only reason for the separate database or can 
I use just RunRev AND multi-user?

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