Re: A Standalone Win Build Problem

2007-01-21 Thread Bill Marriott
Just an idea -- turn ClearType on, on the Windows platform.

Control Panel--> Display--> Appearance Tab--> Effects-->

[x] Font Smoothing: ClearType

"Charles Szasz" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
>I finally completed my project. I compiled for both the Macintosh and 
>Windows. The Mac version looks true to what was on my Mac laptop.  However, 
>the Windows version of my project does not show any of the  text I used in 
>label and buttons cannot be seen. And if you enter  text or numbers in the 
>entry fields they cannot be seen! I used Arial  fonts throughout the 
>project. How can I correct this problem.



___
use-revolution mailing list
use-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: html to pure text

2007-01-21 Thread Phil Davis
This is also a good way to make sure 'entity' chars display correctly in the 
field of a cross-platform Rev app regardless of the platform. Set up the field 
text on your favorite platform, store the htmlText of the field in a custom 
property; then upon openStack (or whatever your trigger is) set the htmlText of 
the field to what's in the custom prop. This bypasses the need for using 
macToIso() and isoToMac() functions.


Phil Davis


Mark Smith wrote:
Well, assuming that you want to display the text, if your HTML in a 
variable "someHtml" then you can

set the htmlText of fld "someField" to someHtml.

Best,

Mark

On 21 Jan 2007, at 20:26, R. Hillen wrote:


Hello list,

I suspect, there is a very simple solution, which I dont´t find:

How to transcode "&" to "&"  or "ß" to "ß"?

Thank you in advance,

Richard

___
use-revolution mailing list
use-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: Is it possible with rev

2007-01-21 Thread Hershel Fisch

> I don't know much about the auto dialer requirements but I would think you
> could start with modem:
> 
> Mac
> open file "modem:"
> write "ATZ" to file "modem:"
> write "ATDT800889" to file "modem:"
> --- in the docs where you write, read, etc
> 

I tried the above and played around a bit and all it did is created a file
in my RR folder named "modem\" and put the above into it.
What I understand is that it needs to be located the modem port or file in
order to do that
Thanks, Hershel

___
use-revolution mailing list
use-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: Load and stacks...

2007-01-21 Thread Dave Cragg


On 21 Jan 2007, at 19:16, David Bovill wrote:

I have not used "load" much... just starting some experiments. Am I  
right
that you can "load" stacks and then go to the url and it will fetch  
the

stack from the cache?


That's right. But don't be misled by thinking this is a special  
feature of stacks that are downloaded by "load url". You can "go" to  
any stack whose file data is held in any kind of "data container"  
such as a variable, custom property or url. The following will work too:


on mouseUp
  answer file ""
  if it is not empty then
put url ("binfile:" & it) into tStackData
go tStackData
  end if
end mouseUp

As any data retrieved by "load url" is held in a cache, and as  
subsequent calls using "get url" will retrieve the data from the  
cache, using "go url "http://whatever/whatever.rev"; is just taking  
advantage of the above feature. (What I'm trying to say is that "load/ 
get url" wasn't designed with the idea of opening stacks in mind. The  
ability to do that is just a consequence of an already existing  
feature.)




The other thing I cannot figure out is how to find out the name of  
the file

in the cache


Do you mean the name of the file, or the name of the stack? The  
cachedUrls() function will return of the currently cached URLs. I  
don't know of a straightforward way to get the name of a stack in the  
url cache. Possible ways are to "toplevel" the url and then  
immediately get the name of the topStack, or write the url to a local  
file and get the stack name from the file.



(and where the cache is).


It's just a local script variable in the libUrl script.


 It would be
nice to store the cache somewhere permanent and take advantage of  
the asynch

load.


You could use libUrlDownloadToFile to do an asynchronous load  
directly to a file instead of the cache. Or in the callback message  
for load, save the url to a local file. For example:


load url myUrl with message "loaded"

on loaded pUrl, pStatus
  if pStatus = "cached" then
put url pUrl into url ("binfile:" & pathToLocalFile)
  end if
  unload url pUrl
end loaded

Cheers
Dave



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


Re: Is it possible with rev

2007-01-21 Thread Hershel Fisch
On 1/18/07 11:55 PM, "Jim Ault" <[EMAIL PROTECTED]> wrote:

> 
> On 1/18/07 7:19 PM, "Brent Anderson" <[EMAIL PROTECTED]> wrote:
> 
>> Sarah, you're right that it would be accessible through AppleScript,
>> but I believe the question was if it was possible or not.
>> 
>> Touch-Tone dialing via speaker is definitely possible and you could
>> probably do it in a few minutes. Modem dialing, however, is a
>> different story. Revolution does have full driver support, so I'd
>> assume that you could, but I don't know where you'd begin in sending
>> touch-tone messages across the modem.
> I don't know much about the auto dialer requirements but I would think you
> could start with modem:
I goggled around a bit, this is the most I came up with but I don't see it
working
Thanks, Hershel
> 
> Mac
> open file "modem:"
> write "ATZ" to file "modem:"
> write "ATDT800889" to file "modem:"
> --- in the docs where you write, read, etc
> 
> Win uses com1:
> 
> To set the port parameters (such as baud rate, handshaking, and parity), set
> the serialControlString property before opening the port with the open file
> command.
> 
> To read data from the modem port, use the read from file command, specifying
> the keyword modem: as the file to read from.
> 
> Looks like it might do the job.
> 
> Jim Ault
> Las Vegas
> 
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

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

2007-01-21 Thread Dan Shafer

Charles,

While it's a little hard for me to be sure what you're trying to do here, I
think I get it. At least this should get you headed in the right direction.

Faced with the task I think you're asking about, I'd do the following:

1. Lock the screen
2.  Hide the appropriate elements on each of the cards to be printed. (You
can use "hide button 1 of card 43" for example without navigating to the
card in question.
3.  Use open printing to set up a batch print job.
4.  Order the printing of the three cards in a loop or just by separate
print commands
5.  Close printing to force the queue to print.
6.  Show the hidden controls
7.  Unlock the screen if necessary

Make sense?
Dan

On 1/21/07, Charles Szasz <[EMAIL PROTECTED]> wrote:


I have been using Dan Shafer's excellent book on printing has help me
a great deal iwith my project. But I have a question. I have three
cards that I want to print. Each card has a button that has to be
hidden and one card has a group three radio buttons that have to be
hidden. I am using lock screen and unlock screen with the hide and
show commands to hide the buttons and radio buttons. Here is my
question, how do I incorporate printing each card with different
elements to be hidden and shown in the printing script that is in one
print button?




Charles Szasz
[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


Re: last char

2007-01-21 Thread Ken Ray
On Sun, 21 Jan 2007 23:39:46 +0100 (MET), Klaus Major wrote:

> Hi Robert,
> 
>> I have a list that is separated by commas and need to check to make sure
>> that the last char is not a comma I tried this but does not remove the
>> comma, it does however see that the last char is a comma, just not sure how
>> to remove it?
>> 
>> 
>> IF last char of colnames is comma THEN
>delete last char of colnames
>>  END IF

Yeah, I have a generic fuction called "KLC" (kill last character) that 
does it... like this:

  put KLC(colnames,",") into colnames


function KLC pWhat, pChar
  if char -1 of pWhat = pChar then delete char -1 of pWhat
  return pWhat
end KLC

HTH,

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


A Standalone Win Build Problem

2007-01-21 Thread Charles Szasz
I finally completed my project. I compiled for both the Macintosh and  
Windows. The Mac version looks true to what was on my Mac laptop.  
However, the Windows version of my project does not show any of the  
text I used in label and buttons cannot be seen. And if you enter  
text or numbers in the entry fields they cannot be seen! I used Arial  
fonts throughout the project. How can I correct this problem.



Charles Szasz
[EMAIL PROTECTED]



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


Re: StackRunner and MySQL

2007-01-21 Thread Rishi Viner
On Thursday 18 January 2007 06:47, Sieg Lindstrom wrote:
> Thanks for the suggestion, Ken. I tried it as follows. StackRunner is in
> the same folder that contains the folder "Externals." Here's the syntax I
> used...
>
> revSetDatabaseDriverPath "/Externals/Database Drivers"
>
> That didn't fix the problem. Any other suggestions?

Not sure if you have the right syntax here. Should it be looking relevant to 
the StackRunner path or the actual stack path (which may be different). 
Anyway, following your example you would want to drop the leading "/" 
wouldn't you?

try:
revSetDatabaseDriverPath "Externals/Database Drivers"

Good luck,

Rishi.
___
use-revolution mailing list
use-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: Is it possible with rev

2007-01-21 Thread Hershel Fisch
On 1/18/07 9:29 PM, "Richard Gaskin" <[EMAIL PROTECTED]> wrote:

> Hershel Fisch wrote:
>> Hi all I'v an beautiful phone dialer and wroks, written in real basic, is it
>> possible to do it with RR?
>> http://www.macronsoft.com/pages/en/products.html
> 
> Looks like a nifty tool.
> 
> I'm probably just missing something obvious here, but if it's already
> written and shipping with RB what's the benefit of rebuilding with Rev?
I do just don't feel like rewriting my rev app to RB because of this thing.
Hershel

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

2007-01-21 Thread Klaus Major

Hi Robert,

I have a list that is separated by commas and need to check to make  
sure

that the last char is not a comma I tried this but does not remove the
comma, it does however see that the last char is a comma, just not  
sure how

to remove it?


IF last char of colnames is comma THEN

   delete last char of colnames

 END IF


:-)


Thanks

Rob


Regards

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

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


last char

2007-01-21 Thread Robert Mann
I have a list that is separated by commas and need to check to make sure
that the last char is not a comma I tried this but does not remove the
comma, it does however see that the last char is a comma, just not sure how
to remove it?

 

IF last char of colnames is comma THEN 

   replace last char with empty in colnames

 END IF

 

 

Thanks

Rob

___
use-revolution mailing list
use-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: use-revolution Digest, Vol 40, Issue 30

2007-01-21 Thread Reinhold Venzl-Schubert

Hello Brent,

I had studied thoroughly the database library of Revolution and the
SQL-Tutorial before. But that did not saved me from going a wrong way.

Unfortunately I became aware of it, when I worked some time at
my database junction. Creating the db, filling it, selecting  
information and

at least changing them.

Now I use revDataFromQuery too and hope I will be more successful.

Thanks for your suggestion!
Reinhold



Am 19.01.2007 um 16:26 schrieb [EMAIL PROTECTED]:


Hello.

Although there are many database functions provided with Revolution,
I prefer opening a connection and making SQL calls using
revDataFromQuery. A full tutorial on SQL can be found at
www.w3schools.com/sql/ that goes over everything you need to know to
work with any SQL database.

Thanks,
Brent Anderson
CMSEC


On Jan 18, 2007, at 5:32 PM, Reinhold Venzl-Schubert wrote:


Hi,

I need a small lesson in using database:

1. I created a db (using SQLite3) with several fields. One of them
is a boolean field. It is corresponding to a checkbox button in the
card of my stack. Only one record of the database is displayed on
the card.

2. I built a query that selects some of the records of my db and
sorts them by some fields.

3. With a forward and backward button >revdb_movenext(recordSetID)<
and >revdb_moveprev(recordSetID)< I navigate through the records of
the recordSet.

4. With a script >set the hilite of btn "checkbox" to
revdb_columnbynumber(recordSetID,5)< I display the database fields
of the actual record in the fields of my card.

5. Then I wrote a script for the checkbox button >revdb_execute
(recordSetID,tSQL)< with tSQL like: >UPDATE my_db SET checkbox =
"true"  < and so on. I tested it with the SQLite Database
Browser: the changes have been saved.

6. When I use my forward and backward button, to switch to the next
record and then back to the changed record I do not see the change
in my field or in my special case, the checkbox is not hilited.

7. When I close the current cursor (recordSet) and make a new query
the checkbox is hilited.

I learned that the UPDATE-script changes the database but it do not
change the cursor (recordSet).
But the forward/backward button do not display the content of the
database but the content of the current cursor (recordSet).

- How can I get the content of the database?
- Do I have to make a new query after every change of fields?
- Or is it better to use the revdb_query funktion only to get a
sorted list of primary keys of the wanted records and to use the
revdb_querylist funktion to display the content of the db fields on
the card?

I am rather confused.

Reinhold


___
use-revolution mailing list
use-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: html to pure text

2007-01-21 Thread Mark Smith
Well, assuming that you want to display the text, if your HTML in a  
variable "someHtml" then you can

set the htmlText of fld "someField" to someHtml.

Best,

Mark

On 21 Jan 2007, at 20:26, R. Hillen wrote:


Hello list,

I suspect, there is a very simple solution, which I dont´t find:

How to transcode "&" to "&"  or "ß" to "ß"?

Thank you in advance,

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


html to pure text

2007-01-21 Thread R. Hillen

Hello list,

I suspect, there is a very simple solution, which I dont´t find:

How to transcode "&" to "&"  or "ß" to "ß"?

Thank you in advance,

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


ANN: JPEGCompress 2.8

2007-01-21 Thread Derek Bump

Fellow Developers,

I have finally released JPEGCompress 2.8!

Made with Runtime Revolution (and a few other programs as well), this 
version includes some much needed improvements like better batch 
processing, improved QuickTime support and Image Effects.


While not a specific RunRev utility, I would appreciate any feedback 
regarding the software and any errors you may encounter.


  http://www.dreamscapesoftware.com/products/jpegcompress/

Thanks to everyone for the help, and thanks to the folks at RunRev for 
making such an excellent development environment!



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

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


Rev Printing Problem

2007-01-21 Thread Charles Szasz
I have been using Dan Shafer's excellent book on printing has help me  
a great deal with my project. But I have a question. I have three  
cards that I want to print. Each card has a button that has to be  
hidden and one card has a group three radio buttons that have to be  
hidden. I am using lock screen and unlock screen with the hide and  
show commands to hide the buttons and radio buttons. Here is my  
question, how do I incorporate printing each card with different  
elements to be hidden and shown in the printing script that is in one  
print button?



Charles Szasz
[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


Load and stacks...

2007-01-21 Thread David Bovill

I have not used "load" much... just starting some experiments. Am I right
that you can "load" stacks and then go to the url and it will fetch the
stack from the cache?

The other thing I cannot figure out is how to find out the name of the file
in the cache (and where the cache is). Has anyone hacked this? It would be
nice to store the cache somewhere permanent and take advantage of the asynch
load.
___
use-revolution mailing list
use-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: Is this a bug?

2007-01-21 Thread David Bovill

On 20/01/07, Chipp Walters <[EMAIL PROTECTED]> wrote:


And Dave has demonstrated EXACTLY my problem with this. The simple fact
is,
I am creating grouped widgets, which I have differently named components
within, which I would like to be able to address.



I have gone through using names (the problem you have now) - then ids (don"t
work when you copy the object to another stack = new id, - id indexes
automatically updated - a pain - and at the moment I use long ids and
getprop handlers - which seems to be working OK. I am not quite sure hw to
use simple names at the moment - my inclination is to leave this up to the
user and allow them to rename them as they see fit to make it easy for them
to use the components in a natural way - the trick is then to have a "meta"
way to refer to the "views" and their classes.

Mark, your example also demonstrates the power of same named instances of

object. I guess it all boils down to each of us trying our best to create
reusable grouped components, each with the same codebase. A most difficult
task.



I have  a library of components I call views and a way of automatically
keeping  an index of all instances of  the views so that they can then be
all updated . I use newgroup and deletegroup messages  and search down
througn the groups for nested compnents.

For instance, take altFldHeader which creates column headers for fields.

( go URL "http://www.gadgetplugins.com/altplugins/altFldHeader.rev"; )

While it's been stable now for years, modifying old altFldHeaders still is
a
problem as each instance has all of the code embedded in the group. The
same
is true for many of my so called 'objects.' A benefit of this approach is
it's easy to do exception programming and track code as well with
everything
being neatly packaged in a group. A big drawback is when you want to
modify
the codebase, you have to replace each group, especially if you end up
adding a new control.



If you are looking at this Chipp - I'd appreciate some feedback on the way I
am doing it _ I've got a copy of altFldHeader  as a view that I made a while
back now as a test on principle.


Separating the 'object' into a GUI library group and a background library

has it's own set of problems as well. You need to carefully track what
libraries are still being used. For instanec, they have to be inited from
a
startup handler, so now you have at the minimum 3 different places for
custom object 'pieces': the library stack script, the GUI control group,
and
a piece of init code in startup.



At the moment "views" (the GUI control group) can use libraries - and
therefore have a dependency property for this. I think the only way is to
have a global database of keeping track of the connections such as these and
using system events to ensure they are kept up to date. That is a "model" of
these connections kept in memory.



You also need to be very careful using 'the
target' and if you have other system handlers, you'll need to make sure
they
don't interfere, as they're called ALL THE TIME, instead of only when
needed. I'm not crazy about this approach, unless you're coding something
like libURL



A naming convention like uRIP is the only way to go here at the moment for
libraries - I use over 20 libraries at the moment and have renamed all the
handlers (nearly) to fit the naming convention. I am intrigued at the moment
by how useful naming conventions are - as they also allow scripts to
auto-magically use the names to refer to other properties - I picked this up
from the MVC frameworks like RubyOnRails. For instance in you have a
property like "view_Colour" a script can automatically look for a property
called "view_Colours" to draw a menu or check for a legal value.
___
use-revolution mailing list
use-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: Is this a bug?

2007-01-21 Thread Mark Wieder
Chipp-

Saturday, January 20, 2007, 5:50:28 PM, you wrote:

> Mark, your example also demonstrates the power of same named instances of
> object. I guess it all boils down to each of us trying our best to create
> reusable grouped components, each with the same codebase. A most difficult
> task.

Indeed. I've resorted to using the long id of objects in order to sort
things out. This mostly works, as long as you keep things dynamic so
you don't get stuck with referring to an object that has since been
placed inside another group.

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


Re: Drag-Scrolling

2007-01-21 Thread Scott Morrow

Scott,
Thank you so much!  That did the trick beautifully and I'm sure saved  
me a bunch of time.


-Scott Morrow

Elementary Software
(Now with 20% less chalk dust !)
web http://elementarysoftware.com/
email   [EMAIL PROTECTED]

-

On Jan 20, 2007, at 12:40 PM, Scott Rossi wrote:


Recently, Scott Morrow wrote:


As an alternative to grabbing the scroll bars of the group I would
like to be able to scroll a group of objects by clicking in the
middle of the group and dragging.  This hadn't seemed like it should
be that tricky but I'm bumping my head.  Any suggestions?


Hey Scott:

I just found the following among some test stacks -- maybe it's  
close to

what you're looking for.

  go url "http://www.tactilemedia.com/download/dragscroll.rev";

Regards,

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


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

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



___
use-revolution mailing list
use-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: calling a remote function..

2007-01-21 Thread David Bovill

The pity is you cannot use arrays with getprop and setprop handlers - that
is you cant pass them as parameters to getprop and setprop handlers. This
would completely overcome the limitations regarding the number of params you
can use with getprop and setprop handlers and alow more elegant syntax for
general message passing.
___
use-revolution mailing list
use-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: Is this a bug?

2007-01-21 Thread Mark Wieder
Phil-

Saturday, January 20, 2007, 2:57:59 PM, you wrote:

> Admittedly, basing processing on the object name isn't the only way to do the
> above - just thought I would put my signature positive spin on yet another 
> thing
> that can be an issue in certain contexts.  :o)

That's actually quite clever. It wouldn't have occured to me to use
the object name that way. Of course, you're cheating by doing things
the Right Way: using the id of the object to generate a unique
identifier, then using the name as Just Another Property. You could
just as easily have set a custom property and said

switch (the uTagType of grp id tTargetID)

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


Printing question

2007-01-21 Thread Charles Szasz
I have been using Dan Shafer's excellent book on printing has help me  
a great deal iwith my project. But I have a question. I have three  
cards that I want to print. Each card has a button that has to be  
hidden and one card has a group three radio buttons that have to be  
hidden. I am using lock screen and unlock screen with the hide and  
show commands to hide the buttons and radio buttons. Here is my  
question, how do I incorporate printing each card with different  
elements to be hidden and shown in the printing script that is in one  
print button?





Charles Szasz
[EMAIL PROTECTED]



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


Re: matchText

2007-01-21 Thread Gordon Tillman

Howdy Robert,

On Jan 21, 2007, at 11:14, Robert Mann wrote:


Don't think I am getting the syntext correct this is returning nothing
matchText("tword1","^tword$")
tword1 and tword are both variables



Yep for the second argument to the matchText() function, you need to  
construct the regular expression so that it contains "^" as the first  
character, followed by the contents of your variable, followed by the  
"$" character.  In RR you can concatenate strings with the "&"  
operator, so you could do something like this for your second argument:


"^ & tword & "$"

For your first argument, you would just your tword1 by itself.  If  
you put it in quotes like in your example, you are matching the  
literal string "tword1".


--g
___
use-revolution mailing list
use-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: Is this a bug?

2007-01-21 Thread Tereza Snyder


On Jan 20, 2007, at 4:57 PM, Phil Davis wrote:


Mark Wieder wrote:

Chipp-
Saturday, January 20, 2007, 6:57:21 AM, you wrote:
'avoid time wasting confusion', then why even allow controls or  
objects with

the same name?
Yep - this has bothered me for a long time, too. I'd certainly  
support
a referendum to disallow objects with the same name, but I'm  
afraid it

would break backward compatibility. VB supports object instancing in
the form of group "America"[2], but I don't care much for the syntax.
But the same-named object thing can sometimes be used to advantage.  
Consider this:


on mouseUp
  put the groupIDs of this cd into tGroupList
  repeat for each line tTargetID in tGroupList
switch (short name of grp id tTargetID)
case "Section"
  doSectionStuff tTargetID
  break
case "Page"
  doPageStuff tTargetID
  break
case "Chapter"
  doChapterStuff tTargetID
  break
end switch
  end repeat
end mouseUp



I use Phil's suggested strategy - of having multiple objects with the  
same name, and using the name as a kind of visible and easily  
scriptable 'type' property - all the time. I find it a great  
convenience. In addition, when I deploy compound objects that I want  
to update and refine (like Chipp's AltFldHeader), I append a suffix  
to the control name of each instance, e.g. MyComplexGroup_1, and  
update the groups with a utility script that locates and replaces all  
the groups in a project stack. The tricky part was getting the layer  
right, preserving the size, and transferring custom properties. But  
now that the work is done, I just click a button in the stack where I  
develop the group and presto! all instances are updated.


It does take a bit of discipline though, to be strict about naming.

I too long for the day when we have real custom controls!

t

-
Tereza Snyder

   Califex Software, Inc.
   www.califexsoftware.com

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


Re: altFont etc.

2007-01-21 Thread Klaus Major

Hi Bill,


Klaus,
I just had a crash with Rev on Windows and the appropriate  
crashlog  file

is a "*.DMP" file of more than 12 (twelve!) MB!!!???
Is this the file I am supposed to attach to my bugzilla, ehm "Rev   
quality

center" report?
Yes. You probably have your Rev crash report setting set to  
"Medium" which
is why it's giving you such a big file. (No wonder they didn't  
include a
"Large" option!) At the small setting, I'm finding my crash files  
to be

about 50K in size.


I see, thanks!


As step 8 of the "create a new report" instructions say:
"You can supply a URL to large files (>500K) such as sample stacks and
detailed crash logs."

This is because you cannot "attach" a file larger than that (i.e.:  
upload it
directly) to the Quality Control Center. Of course, I would  
compress the

file to a .zip archive before putting it on your server.


OK, the bug is reproducable, so I will set the crash setting to small  
and let it crash again :-)



Regards

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

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


RE: matchText

2007-01-21 Thread Robert Mann
Don't think I am getting the syntext correct this is returning nothing
matchText("tword1","^tword$")
tword1 and tword are both variables


Thanks
Rob

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gordon Tillman
Sent: Sunday, January 21, 2007 10:42 AM
To: How to use Revolution
Subject: Re: matchText

On Jan 21, 2007, at 09:23, Robert Mann wrote:

> but I just relized that it is also selecting any strings that have  
> that
> pattern, is there a way to only select exact matches?

Robert you just need to add a bit to the regular expression part to  
tell it that you want to match the entire string.

For example:

matchText("record_id","^record_id$")  -- returns true

But

matchText("orig_record_id","^record_id$")  -- returns false

The "^" at the start of the regex binds whatever follows to the very  
beginning of the string. The "$" at the end of the regex binds  
whatever comes before it to the very end of the string.

--gordy
___
use-revolution mailing list
use-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: Is this a bug?

2007-01-21 Thread Bill Marriott
Chipp,

> And Dave has demonstrated EXACTLY my problem with this. The simple fact 
> is,
> I am creating grouped widgets, which I have differently named components
> within, which I would like to be able to address.

Can't you name your groups "America[1]" and so on? If you need to make it 
easier to process with chunk expressions, you could name them "America 1" 
and use word 1, word 2.

- Bill 



___
use-revolution mailing list
use-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: Is this a bug?

2007-01-21 Thread Bill Marriott
Scott,

> That's weird -- I didn't even know this syntax was permitted.

Actually when I was trying this stuff out I got an error,

Script compile error:
Error description: Function: missing ')'

when using

put exists (btn "UFOs" in grp "America")

from the message box.

Anyway about the original question -- the exists function works if you take 
out the "group" aspect. So I don't think this is a bug. 



___
use-revolution mailing list
use-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: AltFont External On Intel Mac

2007-01-21 Thread Bill Marriott
Yes I'm having the same problem! The alFont external says it's universal 
binary, but doesn't load in my standalone... Ideas?

>  I was trying to work with the AltFont external, but I couldn't get it to
> load as an external, while I was successful with the other externals.  I
> looked at the AltFont bundle, and discovered it was PPC.  I have been able
> to get it to work by forcing Revolution to run under Rosetta, but that is
> definitely not a solution I would like use permanently .  Is there any 
> other
> solution to this, or is there a Universal Binary external somewhere?



___
use-revolution mailing list
use-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: altFont etc.

2007-01-21 Thread Bill Marriott
Klaus,

> I just had a crash with Rev on Windows and the appropriate crashlog  file 
> is a "*.DMP" file of more than 12 (twelve!) MB!!!???
>
> Is this the file I am supposed to attach to my bugzilla, ehm "Rev  quality 
> center" report?

Yes. You probably have your Rev crash report setting set to "Medium" which 
is why it's giving you such a big file. (No wonder they didn't include a 
"Large" option!) At the small setting, I'm finding my crash files to be 
about 50K in size.

As step 8 of the "create a new report" instructions say:

"You can supply a URL to large files (>500K) such as sample stacks and 
detailed crash logs."

This is because you cannot "attach" a file larger than that (i.e.: upload it 
directly) to the Quality Control Center. Of course, I would compress the 
file to a .zip archive before putting it on your server. 



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

2007-01-21 Thread Gordon Tillman

On Jan 21, 2007, at 09:23, Robert Mann wrote:

but I just relized that it is also selecting any strings that have  
that

pattern, is there a way to only select exact matches?


Robert you just need to add a bit to the regular expression part to  
tell it that you want to match the entire string.


For example:

matchText("record_id","^record_id$")  -- returns true

But

matchText("orig_record_id","^record_id$")  -- returns false

The "^" at the start of the regex binds whatever follows to the very  
beginning of the string. The "$" at the end of the regex binds  
whatever comes before it to the very end of the string.


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


matchText

2007-01-21 Thread Robert Mann
I was using the following to match text

matchText(tword1,tword)

but I just relized that it is also selecting any strings that have that
pattern, is there a way to only select exact matches?

example

tword1= record_id

tword = record_id

 

matchtext returns

record_id

orig_record_id

 

only want it to return

record_id

 

Thanks

Rob

 

___
use-revolution mailing list
use-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: Extracting text from PDF

2007-01-21 Thread Kay C Lan

On 1/12/07, Jan Schenkel <[EMAIL PROTECTED]> wrote:



If this is Mac-only, you might be able to AppleScript
another application to get this information -
Preiew.app doesn't seem to be scriptable, but perhaps
another application could do the trick.



Richard, if you are still looking for a solution, and it can be Mac only,
have a look at TextEdit. It will open pdf files and is AppleScriptable. It
wont work for all pdfs but if you are working with a 'standard' pdf that
TextEdit will handle then it is easy to get the text into Rev. The company I
work for produces reports in pdf and they are always in the same format that
TextEdit will open and extract 100% of the text, no errors.

Problems can arise if there are columns, tables, or text under images that
is incorrectly places in the body of the text in the TextEdit version.

HTH
___
use-revolution mailing list
use-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: Pic-a-POD and Wikipedia Picture of the day woes

2007-01-21 Thread Dom
private answer sent
___
use-revolution mailing list
use-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: (no subject)

2007-01-21 Thread Robert Mann
Thanks 
I looked at that site but did not find a way to filter it so I just ran the
complete query then filtered it after seems to work fine

Thanks
Rob

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Trevor DeVore
Sent: Sunday, January 21, 2007 1:01 AM
To: How to use Revolution
Subject: Re: (no subject)

On Jan 20, 2007, at 11:34 AM, Robert Mann wrote:

> Thanks Trevor,
> I got this working but is there a way to do this for selected columns
> Something like
>
> gfields is a list of fields separated by comma
>
>
> put "SHOW "& gfields &" COLUMNS FROM `" & gtable & "`" into theSQL
>
> this does not work get
>
> revdberr,You have an error in your SQL syntax; check the manual that
> corresponds to your MySQL server version for the right syntax to  
> use near
> '(addyrmodperm_id,tunername)COLUMNS FROM `addyrmodsize_permission`'  
> at line
> 1

I haven't tried filtering before but maybe you can get some ideas  
from this page:



-- 
Trevor DeVore
Blue Mango Learning Systems - www.bluemangolearning.com
[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


Re: calling a remote function..

2007-01-21 Thread Jim Ault
On 1/20/07 6:51 AM, "David Bovill" <[EMAIL PROTECTED]> wrote:

> Now what would be great would be if you could use arrays to marshall the
> data, but unfortunately arrays cannot be passed as params

I am using arrays all the time and do the following when I want to 'delimit'
an array for a variety of reasons.

put userDataArray into pVar
combine tempVar using cr and tab

send "updateLog pVar"


--and on the other end
split pVar using cr and tab
put pVar into userLogArr

Split and combine are very fast in my experience.

Of course you can now purge pVar before sending by:
put userDataArray into pVar
combine tempVar using cr and tab
filter pVar with "*desiredDataRows*"
filter pVar without "*unNeededDataRows*"
send "updateLog pVar"


Another (array.combine + filter) technique is to:

set the itemDel to tab
put tab into t
get dataArray
combine it using cr and tab
filter it with ("*"&t& "toDo" &t&"*")
repeat for each line LNN in it
   --maintenance  task here
  put "done" into item 3 of dataArray[item 1 of LNN]
   
end repeat
--discard (it) since we are done updating
-- assumes "toDo" is in a tab-delim column of the array element

maryJohnArrive.jpg t 640 t 480 t toDo t resize t Party Photos t 1/1/07 t

Jim Ault
Las Vegas


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


Re: altFont etc.

2007-01-21 Thread Klaus Major

Hi Chipp,


Hi Klaus,

altFont on Windows installs the font as long as the app is running,  
but then

removes it when it quits. I forget how the Mac works, but I expect the
documentation has the info.


thank you very much for the info, that's what I guessed, but was not  
sure.


Anyone any hint on my other question below?
The 12 MB DMP crashlog file on windows?


best,
Chipp



...
Another question:
I just had a crash with Rev on Windows and the appropriate crashlog
file is a "*.DMP" file of more than 12 (twelve!) MB!!!???

Is this the file I am supposed to attach to my bugzilla, ehm "Rev
quality center" report?

Thanks in advance.
...


Regards

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

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