Re: Desperate for a solution (£20 for anyon e who can sort out this problem)

2006-01-19 Thread Sarah Reichelt
To load your image, you use something like:
   set the text of image "target" to URL ("binfile:" & tFileName)

This may not be a problem, but you might try:
  set the filename of image "target" to tFileName

The size of the Target stack is not being set correctly for the size
of the image inside it, so you might want to make sure the two match.
Also, when rotating, make sure to adjust the stack width & height as
well as the image's.

I had a quick test and it worked fine (OS X) but I made two changes. I
used "open printing with dialog" and I used "print card 1 of stack
"Target".

Sorry, but I don't have time for any more tests.

Cheers,
Sarah




On 1/20/06, Jason (Polydiam) <[EMAIL PROTECTED]> wrote:
> Hi
>
> I've been trying for days and days to figure out this problem. But I am now
> desperate for a solution (I need it within the next 6 hours for a demo).
>
> I'm offering £20 (via paypal) for the person who is able to come up with the
> best solution to this problem. The problem occurs is when rotating an Image
> then printing it out to fixed coordinates on the paper.
>
> >>I would greatly appreciate help with my program.
>
> >>http://www.polydiam.com/runrev/imagepr.rev
>
> >>When you open an image then print it out, it works fine. If you take a 2mp
> >>image and print it out, it shows up fantastic.
> >>However...
> >>The problem is, when you open an image, then rotate it, then print it, the
> >>image somehow disappears into a small square, and it doesn't print out
> >>properly.
>
> >>If anyone could take a look at my stack, I would be so grateful!
>
> >>Thank you
>
> >>Jason
>
>
> ___
> use-revolution mailing list
> use-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: Desperate for a solution ( £ 20 for anyone who can sort out this problem)

2006-01-19 Thread Jim Ault
As you can tell, I don't work with images and printing in Rev.  I gave it a
quick shot, and it looks like you need to try the 'export snapshot' then
bring that in as a image which is already rotated.

Too many variables to do a quick fix.  Sorry I could not be of more help.

Jim Ault
Las Vegas


On 1/19/06 9:09 PM, "Jason (Polydiam)" <[EMAIL PROTECTED]> wrote:

> Hi
> 
> I've been trying for days and days to figure out this problem. But I am now
> desperate for a solution (I need it within the next 6 hours for a demo).
> 
> I'm offering £20 (via paypal) for the person who is able to come up with the
> best solution to this problem. The problem occurs is when rotating an Image
> then printing it out to fixed coordinates on the paper.
> 
>>> I would greatly appreciate help with my program.
> 
>>> http://www.polydiam.com/runrev/imagepr.rev
> 
>>> When you open an image then print it out, it works fine. If you take a 2mp
>>> image and print it out, it shows up fantastic.
>>> However...
>>> The problem is, when you open an image, then rotate it, then print it, the
>>> image somehow disappears into a small square, and it doesn't print out
>>> properly.
> 
>>> If anyone could take a look at my stack, I would be so grateful!
> 
>>> Thank you
> 
>>> Jason
> 
> 
> ___
> use-revolution mailing list
> use-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: Desperate for a solution ( £ 20 for anyone who can sort out this problem)

2006-01-19 Thread Jim Ault
After taking a bit of time to look at your code...

Why are you doing the following?

FIRST
 if the width of image "Target Image" on stack "Target" > the height of
image "Target Image on stack "Target"

THEN using the STACK height?
 if the height of stack "Target" >= the width of stack "Target"
then
  set the printRotated to false
else
  set the printRotated to true
end if
- you don't seem to ever change this while rotating the images

Jim Ault
Las Vegas

On 1/19/06 9:09 PM, "Jason (Polydiam)" <[EMAIL PROTECTED]> wrote:

> Hi
> 
> I've been trying for days and days to figure out this problem. But I am now
> desperate for a solution (I need it within the next 6 hours for a demo).
> 
> I'm offering £20 (via paypal) for the person who is able to come up with the
> best solution to this problem. The problem occurs is when rotating an Image
> then printing it out to fixed coordinates on the paper.
> 
>>> I would greatly appreciate help with my program.
> 
>>> http://www.polydiam.com/runrev/imagepr.rev
> 
>>> When you open an image then print it out, it works fine. If you take a 2mp
>>> image and print it out, it shows up fantastic.
>>> However...
>>> The problem is, when you open an image, then rotate it, then print it, the
>>> image somehow disappears into a small square, and it doesn't print out
>>> properly.
> 
>>> If anyone could take a look at my stack, I would be so grateful!
> 
>>> Thank you
> 
>>> Jason
> 
> 
> ___
> use-revolution mailing list
> use-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: Desperate for a solution ( £ 20 for anyone who can sort out this problem)

2006-01-19 Thread Jim Ault
Not sure about your details and what your are not getting to work correctly,
but the docs may have an answer...

printRotated property  (global)
Platform support:  
Introduced in version 1.0
Specifies whether Revolution prints in landscape mode or portrait mode.

set the printRotated to {true | false}
set the printRotated to true

See also: answer printer command, print command, printRowsFirst property,
printScale property
Description  Use the printRotated property to print wide pages.
Value: The printRotated is true or false.
By default, the printRotated property is set to false.
Comments:
If the printRotated property is set to false, printing is done in portrait
mode--the short sides of the paper are the top and bottom of the printed
page.
If the printRotated is true, the direction of the printed output is rotated
90 degrees, so the long sides of the paper are the top and bottom.
  Tip:  On Mac OS systems, to set the orientation of the printout, use the
answer printer command to display the Page Setup dialog box.

Jim Ault
Las Vegas

On 1/19/06 9:09 PM, "Jason (Polydiam)" <[EMAIL PROTECTED]> wrote:

> Hi
> 
> I've been trying for days and days to figure out this problem. But I am now
> desperate for a solution (I need it within the next 6 hours for a demo).
> 
> I'm offering £20 (via paypal) for the person who is able to come up with the
> best solution to this problem. The problem occurs is when rotating an Image
> then printing it out to fixed coordinates on the paper.
> 
>>> I would greatly appreciate help with my program.
> 
>>> http://www.polydiam.com/runrev/imagepr.rev
> 
>>> When you open an image then print it out, it works fine. If you take a 2mp
>>> image and print it out, it shows up fantastic.
>>> However...
>>> The problem is, when you open an image, then rotate it, then print it, the
>>> image somehow disappears into a small square, and it doesn't print out
>>> properly.
> 
>>> If anyone could take a look at my stack, I would be so grateful!
> 
>>> Thank you
> 
>>> Jason
> 
> 
> ___
> use-revolution mailing list
> use-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: Amazing, strange, and mystifying - SOLVED

2006-01-19 Thread Jim Ault
An update on 'spooky' Rev incident.
SOLVED  -- Rev is definitely NOT the culprit
My working version of a stack that had script-only changes is, indeed,
correctly saved to my hard drive.

The culprit is SPOTLIGHT, which is a Mac OSX feature new with Tiger versions
(10.4+).  Here is why the insidious nature of Spotlight bit me.

1.  Spotlight is an indexer that works automatically on every text, pdf,
doc, spreadsheet, html file (and more) as well as files and folders.  It
cannot be turned off.

2.  I was using Rev to process text files into recombined tab-delimited
files.  Many megabytes, but simple stuff.

3.  At the completion of part of the run, Spotlight now took over to index
all of this malarky, bringing my processor to its knees.  After several
minutes of letting this process complete, I read the docs, declared the
folders containing the text files as 'private', therefore avoiding any
further indexing.

4.  Because my working stack was in one of these private folders. ANY kind
search of the hard drive for files and folders would not list these.  Who
thought of this feature??  I can see turning off indexing of file
contents, but the file and folder search as well??

What the docs did not make clear is that the privacy would apply to more
than file contents.

5.  Using my other tool, Path Finder, (a marvelous tool by the way),  I was
able to solve different mystery and then the light came on!  The working
file was there all along.

Bottom line -- my faith in Rev is restored, my plugin is actually a very
good tool for being able to revert to any previous version of my scripts, my
hard drive will be organized a bit differently, and I will definitely put
Spotlight on a shorter leash.  It is overkill for most anything I need.

In addition, I am adding the altArchive plugin to my repertoire, as a good
business practice.  Whew.  Ah, yes, "Learning at the Speed of Sand --
running quickly through the hour glass, as I miss a deadline or two."


On 1/19/06 7:38 PM, "Jim Ault" <[EMAIL PROTECTED]> wrote:

> On 1/19/06 3:47 PM, "Mark Swindell" <[EMAIL PROTECTED]> wrote:
>> This is kind of spooky, no?  Has the behavior been reproduced or does
>> it still appear random?
>> Mark
> 
> Spooky is a good word.
> Appears only to have been yesterday, the 18th.  Not reproduced since.  I am
> starting to use the altArchive plugin to make auto backups.  Not sure if
> this will only backup the "static, unchanged" version or the progressive
> ones am hoping for.
> 
> I created the following plugin:  SaveWithScriptPI.rev added to altPlugins
> toolbar.  Works like a charm.  I feel better.
> 
> on saveWithScriptBkup   --1.19.06  Mac OSX version
>   put the short name of the topStack into stk
>   put the mainStack of stack stk into stk
>   revSave stk
>   --then put the script in another folder
>   put "file:" & specialFolderPath("docs") &"/scriptsRev/" into pathh
>   get the short name of the topStack
>   put pathh & the seconds & it & "SCPT.txt" into pathhFN
>   put the script of this stack into url pathhFN
> end saveWithScriptBkup
> 
> 
> --using the seconds gives automatic script versioning without doing the
> altArchive of the whole stack file each time.  I like doing frequent saves
> while scripting, sometimes 4 or 5 saves in 5 minutes.
> 
> This will work for my programming style, which is to do most all of my
> scripts in the stack script container, using buttons and fields as
>  on mouseup
>do the short name of me
> end mouseup
> 
> on mouseDown
>   do (the short name of me & "Down")
> end mouseDown
> 
> I will let you know if any thing else of note happens.
> 
> Jim Ault


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


Desperate for a solution (£20 for anyone who can sort out this problem)

2006-01-19 Thread Jason (Polydiam)
Hi

I've been trying for days and days to figure out this problem. But I am now
desperate for a solution (I need it within the next 6 hours for a demo).

I'm offering £20 (via paypal) for the person who is able to come up with the
best solution to this problem. The problem occurs is when rotating an Image
then printing it out to fixed coordinates on the paper.

>>I would greatly appreciate help with my program.

>>http://www.polydiam.com/runrev/imagepr.rev

>>When you open an image then print it out, it works fine. If you take a 2mp
>>image and print it out, it shows up fantastic.
>>However...
>>The problem is, when you open an image, then rotate it, then print it, the
>>image somehow disappears into a small square, and it doesn't print out
>>properly.

>>If anyone could take a look at my stack, I would be so grateful!

>>Thank you

>>Jason


___
use-revolution mailing list
use-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: Amazing, strange, and mystifying

2006-01-19 Thread Jim Ault
On 1/19/06 3:47 PM, "Mark Swindell" <[EMAIL PROTECTED]> wrote:
> This is kind of spooky, no?  Has the behavior been reproduced or does
> it still appear random?
> Mark

Spooky is a good word.
Appears only to have been yesterday, the 18th.  Not reproduced since.  I am
starting to use the altArchive plugin to make auto backups.  Not sure if
this will only backup the "static, unchanged" version or the progressive
ones am hoping for.

I created the following plugin:  SaveWithScriptPI.rev added to altPlugins
toolbar.  Works like a charm.  I feel better.

on saveWithScriptBkup   --1.19.06  Mac OSX version
  put the short name of the topStack into stk
  put the mainStack of stack stk into stk
  revSave stk
  --then put the script in another folder
  put "file:" & specialFolderPath("docs") &"/scriptsRev/" into pathh
  get the short name of the topStack
  put pathh & the seconds & it & "SCPT.txt" into pathhFN
  put the script of this stack into url pathhFN
end saveWithScriptBkup


--using the seconds gives automatic script versioning without doing the
altArchive of the whole stack file each time.  I like doing frequent saves
while scripting, sometimes 4 or 5 saves in 5 minutes.

This will work for my programming style, which is to do most all of my
scripts in the stack script container, using buttons and fields as
 on mouseup
   do the short name of me
end mouseup

on mouseDown
  do (the short name of me & "Down")
end mouseDown

I will let you know if any thing else of note happens.

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


Standalone Quit Menu

2006-01-19 Thread Steve Wagenseller
I'm trapping the Quit message from the menubar via a shutdownrequest  
handler, but in the standalone, something curious occurs. The first  
time I choose "Quit" I can get the trap script to run (basically, an  
"Are you sure?" prompt along with some save options). The second time  
I choose Quit from the menu, the trap is not implemented.


I am not passing the handler along, it sits at the stack level, and I  
am using an "exit to top" to get out of the shutdownrequest handler  
when "Cancel" is chosen.


Have any of you experienced this strange problem -- that the trap  
only works once -- and do you have suggestions?


--Steve
___
use-revolution mailing list
use-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: stopping an on-screen timer

2006-01-19 Thread Alex Tweedly

Richard Gaskin wrote:


Good idea -- here's a handler Peter might find handy:

It can be considered impolite to comment on other people's code 
offerings. It must therefore be doubly impolite to make remarks about 
what they've said in the comments in their code. But hey - why let that 
stop me :-)



--
-- fwKillPendingMessage
--
-- Cancels the message named in pMessage.
-- If pMessage contains the word "all" then
-- all pending messages are cancelled.


I read that comment and thought
"I wonder what else he's using pMessage for that he needed to make it a 
'contains' test ?"

I expected to see a script line like
  if pMessage contains "all" then 


--
on fwKillPendingMessage pMessage
  put the pendingMessages into tList
  repeat for each line tMsg in tList
if (pMessage is "all") or (pMessage is among the items of tMsg) then
  cancel (item 1 of tMsg)
end if
  end repeat
end fwKillPendingMessage


So then I felt a bit silly :-)
But I might suggest changing the comment to be more like
 
-- if pMessage is "all" then all pending messages are deleted.


Are there any implications of deleting all pendingMessages when working 
in the IDE ?


--
Alex Tweedly   http://www.tweedly.net



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.20/234 - Release Date: 18/01/2006

___
use-revolution mailing list
use-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: stopping an on-screen timer

2006-01-19 Thread Richard Gaskin

Sarah Reichelt wrote:

What is the best way to display a timer on the screen and then have it
stoppable?

Something like the following would work for the timer

on UpdateTimer
   -- update the display
   send UpdateTimer to me in 1 sec
end UpdateTimer

My question is how best to stop the timer?

Is it better to look for the UpdateTimer message in the pendingMessages and
cancel it?


I prefer the pendingMessages method and I don't store the ID of the
message and cancel that because I am never sure that catches all the
messages. So just loop through the pendingMessages cancelling any and
all that match your handler name.


Good idea -- here's a handler Peter might find handy:

--
-- fwKillPendingMessage
--
-- Cancels the message named in pMessage.
-- If pMessage contains the word "all" then
-- all pending messages are cancelled.
--
on fwKillPendingMessage pMessage
  put the pendingMessages into tList
  repeat for each line tMsg in tList
if (pMessage is "all") or (pMessage is among the items of tMsg) then
  cancel (item 1 of tMsg)
end if
  end repeat
end fwKillPendingMessage



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


Re: stopping an on-screen timer

2006-01-19 Thread Sarah Reichelt
> What is the best way to display a timer on the screen and then have it
> stoppable?
>
> Something like the following would work for the timer
>
> on UpdateTimer
>-- update the display
>send UpdateTimer to me in 1 sec
> end UpdateTimer
>
> My question is how best to stop the timer?
>
> Is it better to look for the UpdateTimer message in the pendingMessages and
> cancel it?

I prefer the pendingMessages method and I don't store the ID of the
message and cancel that because I am never sure that catches all the
messages. So just loop through the pendingMessages cancelling any and
all that match your handler name.

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


Re: Amazing, strange, and mystifying

2006-01-19 Thread Mark Swindell
This is kind of spooky, no?  Has the behavior been reproduced or does 
it still appear random?

Mark

On Jan 19, 2006, at 4:21 AM, Jerry Muelver wrote:


From: "Jim Ault"
I restarted my Mac (G5 dual, plenty of hard drive space, 10.4.2, rev 
2.6.1),

launched Rev,  reopened the stack, and there was no part of the new
scripting that I had done... none.  Yes I do frequent saves, I have 
searched

the drives for every version of this stack... there is only this *one
version*  so I am not accidentally opening the back up [which is 
located on

another computer]


Thought it was just me. Yesterday, I opened a stack to work on it, and 
found that it had nothing in it from previous days' work. It was easy 
to recognize that changes had not "taken" because I had changed the 
stack's name earlier, and the stack's titlebar now came up with the 
old name. Rev 2.6.1, Linux Ubuntu 5.04.


No answers I'm just commiserating

 Jerry
___
use-revolution mailing list
use-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: stopping an on-screen timer

2006-01-19 Thread Richard Gaskin

Peter T. Evensen wrote:
A button or other user action, i.e., hitting return in a field to enter 
an answer.  I just wasn't sure if using a global was the best 
solution I tend to dislike using globals.


The only practical downside to globals is that they can be set from 
anywhere.  With a little care in naming them so they're unlikely to be 
confused with anything else there should be no harm.


You could also use a global propery, but the downside there is that it's 
persistent, so if you use that you'll want to include a way to reset its 
default value in a StripAndShip handler before you build the standalone.


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




At 05:00 PM 1/19/2006, you wrote:

What triggers the stop?

If it's a button, you could use a global easily enough:

on mouseUp
  global gTimerActive
  put false into gTimerActive
end mouseUp

on UpdateTimer
  global gTimerActive
  --
  -- update the display
  --
  -- also added a safety check here on the odd chance that
  -- this routine is called more than once between updates;
  -- with a one-second interval it's probably not needed,
  -- but with short intervals it can be handy, and does no
  -- harm if it's not needed:
  if gTimerActive is not "false" \
   AND "UpdateTimer" is not in the pendingMessages then
 send "UpdateTimer" to me in 1 sec
  end if
end UpdateTimer



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


moving from hypercard to revolution

2006-01-19 Thread megmenard
I have a couple of questions regarding moving from Hypercard to Dreamcard
Revolution.  First, I am encountering script errors trying to use a "find"
button within the card when imported to Dreamcard and I would like to know how
to "comment out the handlers" before I import my stacks to Rev; how is this
done?  Lastly, how does one rewrite the handler into Revolution after I
importing from Hypercard?  I would greatly appreciate any and all help.  Thank
you.

Sincerely,
Megan Menard

___
use-revolution mailing list
use-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 remove a carriage return from a field?

2006-01-19 Thread Alex Tweedly

Lynch, Jonathan wrote:

Hi Claire, 


If you are building a file name, you might need to watch out for more
than just linefeeds.

Filenames generally should be limited to letters, numbers, and
underscore (hyphen is usually ok too)

 


Don't forget to allow "." (period, full stop) as well.

On WinXP, you can also use "=", "@" and probably a whole lot of others.

--
Alex Tweedly   http://www.tweedly.net



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.20/234 - Release Date: 18/01/2006

___
use-revolution mailing list
use-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: stopping an on-screen timer

2006-01-19 Thread Peter T. Evensen
A button or other user action, i.e., hitting return in a field to enter an 
answer.  I just wasn't sure if using a global was the best solution I 
tend to dislike using globals.


At 05:00 PM 1/19/2006, you wrote:

What triggers the stop?

If it's a button, you could use a global easily enough:

on mouseUp
  global gTimerActive
  put false into gTimerActive
end mouseUp

on UpdateTimer
  global gTimerActive
  --
  -- update the display
  --
  -- also added a safety check here on the odd chance that
  -- this routine is called more than once between updates;
  -- with a one-second interval it's probably not needed,
  -- but with short intervals it can be handy, and does no
  -- harm if it's not needed:
  if gTimerActive is not "false" \
   AND "UpdateTimer" is not in the pendingMessages then
 send "UpdateTimer" to me in 1 sec
  end if
end UpdateTimer


Peter T. Evensen
http://www.PetersRoadToHealth.com
314-629-5248 or 888-628-4588 


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

2006-01-19 Thread J. Landman Gay

Michael Fitzgerald wrote:

Hello,
I am an old low-to-mid-level HyperCarder who is trying to upgrade stacks 
to Studio.  When I print, the preview and the output are always down and 
to the right.  I e-mailed support and they sent me here.  How do I 
adjust the print margins on a card? I have tried it from my printer, but 
that hasn't worked so far.  Any help would be appreciated.  Thanks, Mike


I don't know if you got an answer to this, but your note just showed up 
on the list.


See the "printmargins" property in the docs. This tells Revolution how 
much margin to use. Note that if your printer also sets margins, the 
printer area will be added to the Revolution margin setting.


Also, note that the entire card will print. If you have left white space 
at the edges or top of the card, that will visually add to the margins. 
To print your card objects at the top-left margin, either the objects 
must be abutted at the very edges of the card, or you should set smaller 
printmargins to allow for the card's white space.


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


Re: stopping an on-screen timer

2006-01-19 Thread Richard Gaskin

Peter T. Evensen wrote:
What is the best way to display a timer on the screen and then have it 
stoppable?


Something like the following would work for the timer

on UpdateTimer
  -- update the display
  send UpdateTimer to me in 1 sec
end UpdateTimer

My question is how best to stop the timer?

Is it better to look for the UpdateTimer message in the pendingMessages 
and cancel it?
Have a global variable indicating the timer is active and only send the 
UpdateTimer to me if it is active?


What triggers the stop?

If it's a button, you could use a global easily enough:

on mouseUp
  global gTimerActive
  put false into gTimerActive
end mouseUp

on UpdateTimer
  global gTimerActive
  --
  -- update the display
  --
  -- also added a safety check here on the odd chance that
  -- this routine is called more than once between updates;
  -- with a one-second interval it's probably not needed,
  -- but with short intervals it can be handy, and does no
  -- harm if it's not needed:
  if gTimerActive is not "false" \
   AND "UpdateTimer" is not in the pendingMessages then
 send "UpdateTimer" to me in 1 sec
  end if
end UpdateTimer


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


stopping an on-screen timer

2006-01-19 Thread Peter T. Evensen
What is the best way to display a timer on the screen and then have it 
stoppable?


Something like the following would work for the timer

on UpdateTimer
  -- update the display
  send UpdateTimer to me in 1 sec
end UpdateTimer

My question is how best to stop the timer?

Is it better to look for the UpdateTimer message in the pendingMessages and 
cancel it?
Have a global variable indicating the timer is active and only send the 
UpdateTimer to me if it is active?


What have other people used?

Peter T. Evensen
http://www.PetersRoadToHealth.com
314-629-5248 or 888-628-4588 


___
use-revolution mailing list
use-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 remove a carriage return from a field?

2006-01-19 Thread Sarah Reichelt
On 1/19/06, Claire Bradin Siskin <[EMAIL PROTECTED]> wrote:
> In my stack, the user enters identifying information into a field,
> and this text is used to build a filename for ftp upload. This works
> fine as long as the user does not enter a carriage return at the end
> of the field. If the user does press "enter," this messes up the
> upload. How can I script it so that any carriage returns are removed
> from the field?
>
> Suggestions for actual scripts would be very much appreciated since I
> am a newbie. :-)
>

If you set the autoTab for the field to true (check "Tab on Return" in
the Inspector) and make sure it is only high enough to fit one line,
then any attempt to enter a new line will just be like tabbing to the
next field.

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


RE: How to remove a carriage return from a field?

2006-01-19 Thread Lynch, Jonathan
Hi Claire, 

If you are building a file name, you might need to watch out for more
than just linefeeds.

Filenames generally should be limited to letters, numbers, and
underscore (hyphen is usually ok too)

You can be strict about this using the keydown and rawkeydown handlers.
It would look like this:

On RawKeyDown pKey
  Put "abcdefghijklmnopqrstuvwxyz1234567890_-" into tCharList
  If ((the commandkey is down) and (numtochar(pkey)="v")) or (pKey =
65379) then
Put the clipboarddata["text"] into tPastedText
Repeat for each char tChar in tPastedText
  If tChar is in tCharList then put tChar after tNewPastedText
End repeat
Put tNewPastedText into the selection
  Else
Pass rawkeydown
  End if
End RawKeyDown

On Keydown pKey
  Put "abcdefghijklmnopqrstuvwxyz1234567890_-" into tCharList
  If pKey is in tCharList then pass keydown
End keydown


A couple notes
1) it is untested, let me know if it does not work and I will fix it for
you.
2) 65379 is the raw key number for the insert key on a typical windows
keyboard. This might be different on your keyboard.

Good luck,

Jonathan


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Martin
Baxter
Sent: Thursday, January 19, 2006 4:38 PM
To: How to use Revolution
Subject: Re: How to remove a carriage return from a field?

Claire Bradin Siskin wrote:
> In my stack, the user enters identifying information into a field, and

> this text is used to build a filename for ftp upload. This works fine
as 
> long as the user does not enter a carriage return at the end of the 
> field. If the user does press "enter," this messes up the upload. How 
> can I script it so that any carriage returns are removed from the
field?
> 
> Suggestions for actual scripts would be very much appreciated since I
am 
> a newbie. :-)
> 
> Thanks very much,

or this field script:

on closefield
   put line 1 of me into me
end closefield

Martin
___
use-revolution mailing list
use-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: card margins

2006-01-19 Thread SimPLsol
Mike,
This command should fix it:

set the printMargins to "0,0,0,0"

Check out the command in the docs.
Paul Looney
___
use-revolution mailing list
use-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: B&W PICT images transformation to JPEG

2006-01-19 Thread Chipp Walters

Frédéric,

You might try export snapshot and be sure and set the JPEQquality to a 
high number like 90.


-Chipp

Frédéric RINALDI wrote:

Did someone already deal with B&W PICT images transformation to JPEG?
Once the PICT image is loaded in an image object, using "export image  X 
to file Y as JPEG"
creates the exported JPEG file, but quality is totally downgraded to  
dithered B&W...

Any solution there?


___
use-revolution mailing list
use-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: auto searching technique

2006-01-19 Thread Lynch, Jonathan
There is a way you can do the same thing on keydown, rather than keyup,
to make it appear a bit more responsive:

Local lastkeys

On Keydown k
  Send "Checkme k" to me in 0 seconds
Pass keydown

On checkme K
  put k after lastkeys
  put the long name of field "fruits" into thelist
  set the hilitedline of thelist to (lineoffset(lastkeys&k, thelist) 
  send "clearme" to me in 3 seconds 
end checkme

on clearme
  put empty into lastkeys
end clearme


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of MisterX
Sent: Thursday, January 19, 2006 4:31 PM
To: 'How to use Revolution'
Subject: RE: auto searching technique

Hi Devin

here's a quicky off the top of my stackhead ;)

-- card script or a field script where you type
local lastkeys

on keyup k
  put k after lastkeys
  put the long name of field "fruits" into thelist
  set the hilitedline of thelist to (lineoffset(lastkeys&k, thelist) 
  send "clearme" to me in 3 seconds
end keyup

on clearme
  put empty into lastkeys
end clearme

cheers
Xavier
http://monsieurx.com

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Devin Asay
> Sent: Thursday, 19 January, 2006 20:38
> To: How to use Revolution
> Subject: auto searching technique
> 
> I know this has been discussed before, but I'm not having any 
> luck in the archives, and I can't reach Rev Online for some 
> reason. :-(
> 
> Has anyone developed a handler for doing an active search for 
> a line in a combo box popup while typing in the combo box? So 
> if my combo box contains a list like this, in alphabetical order:
> 
> Apple
> Banana
> Cantelope
> Grape
> Kiwi
> Orange
> Peach
> Pear
> Pineapple
> Plum
> Raspberry
> Strawberry
> Watermelon
> 
> And I start typing "p", the list pops up with the first item 
> beginning with "p" hilited. Or more accurately, the first 
> item beginning with 'p' with everything after 'p' hilited. 
> Then as I continue to type "pi", Pineapple is (partially) 
> highlighted. Sort of like auto-complete in a web browser url 
> field or my Mail program's address field.
> 
> I know this can be done, but it's eluding me at the moment.
> 
> Devin
> 
> Devin Asay
> Humanities Technology and Research Support Center Brigham 
> Young University
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage 
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

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


___
use-revolution mailing list
use-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 delete ponctuation in a textfield

2006-01-19 Thread Lynch, Jonathan
Excellent.

So, you are excluding certain characters. I think what you have is the best 
approach for your needs.

There are many other ways. Replacetext could do it. You could go through all 
sorts of convolutions to do it with Intersect. I am sure there are other 
methods too.

Rev is very flexible that way.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christian Langers
Sent: Thursday, January 19, 2006 4:06 PM
To: How to use Revolution
Subject: Re: how to delete ponctuation in a textfield

Hi Jonathan,

I tried your functions and I think they are pretty ccol for small  
texts...

I work with texts over 30 000 words...

I tried this (after some research) :

put "[EMAIL PROTECTED]&*()><.`?/{}'[]|\=-_-'°§..."'" into tPoncts

 repeat for each char thisChar in tPoncts
replace thisChar with empty in tVar
 end repeat
 replace quote with empty in tVar
 replace comma with empty in tVar

which speeded up the filtering;

I think : filter ... with "[A-Z0-9]" does the same thing but it  
depends (eg. Hello' is return as it is)


thanks for your input ;-)


Christian


Le 19 janv. 06 à 20:43, Lynch, Jonathan a écrit :

> You are going to get a million different approaches to how to do  
> this...
>
> Do you wish to exclude certain particular bits of punctuation, or  
> do you
> wish to include only characters that are letters and numbers?
>
> Here is a function for the inclusion approach:
>
>
> Function NumCharOnly pText
>   Repeat for each char tChar in pText
> If tChar is in "abcdefghijklmnopqrstuvwxyz1234567890" then
>   Put tChar after tReturnText
> End if
>   End repeat
>   Return tReturnText
> End NumCharOnly
>
>
>
> Here is a function for the exclusion approach:
>
>
> Function ExcludePunct pText
>   Repeat for each char tChar in pText
> If tChar is not in "[EMAIL PROTECTED]&*()><.,`?/{}[]|\=-_" and tChar <>  
> quote
> then
>   Put tChar after tReturnText
> End if
>   End repeat
>   Return tReturnText
> End ExcludePunct
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of  
> Christian
> Langers
> Sent: Thursday, January 19, 2006 2:27 PM
> To: use-revolution use Revolution
> Subject: how to delete ponctuation in a textfield
>
> Does anybody know how to remove any ponctuation from text ?
>
> any regex filtering ?
>
> Thanks in advance,
>
>
> Christian
>
> Luxembourg
> ___
> use-revolution mailing list
> use-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: How to remove a carriage return from a field?

2006-01-19 Thread Martin Baxter

Claire Bradin Siskin wrote:
In my stack, the user enters identifying information into a field, and 
this text is used to build a filename for ftp upload. This works fine as 
long as the user does not enter a carriage return at the end of the 
field. If the user does press "enter," this messes up the upload. How 
can I script it so that any carriage returns are removed from the field?


Suggestions for actual scripts would be very much appreciated since I am 
a newbie. :-)


Thanks very much,


or this field script:

on closefield
  put line 1 of me into me
end closefield

Martin
___
use-revolution mailing list
use-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: auto searching technique

2006-01-19 Thread MisterX
Hi Devin

here's a quicky off the top of my stackhead ;)

-- card script or a field script where you type
local lastkeys

on keyup k
  put k after lastkeys
  put the long name of field "fruits" into thelist
  set the hilitedline of thelist to (lineoffset(lastkeys&k, thelist) 
  send "clearme" to me in 3 seconds
end keyup

on clearme
  put empty into lastkeys
end clearme

cheers
Xavier
http://monsieurx.com

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Devin Asay
> Sent: Thursday, 19 January, 2006 20:38
> To: How to use Revolution
> Subject: auto searching technique
> 
> I know this has been discussed before, but I'm not having any 
> luck in the archives, and I can't reach Rev Online for some 
> reason. :-(
> 
> Has anyone developed a handler for doing an active search for 
> a line in a combo box popup while typing in the combo box? So 
> if my combo box contains a list like this, in alphabetical order:
> 
> Apple
> Banana
> Cantelope
> Grape
> Kiwi
> Orange
> Peach
> Pear
> Pineapple
> Plum
> Raspberry
> Strawberry
> Watermelon
> 
> And I start typing "p", the list pops up with the first item 
> beginning with "p" hilited. Or more accurately, the first 
> item beginning with 'p' with everything after 'p' hilited. 
> Then as I continue to type "pi", Pineapple is (partially) 
> highlighted. Sort of like auto-complete in a web browser url 
> field or my Mail program's address field.
> 
> I know this can be done, but it's eluding me at the moment.
> 
> Devin
> 
> Devin Asay
> Humanities Technology and Research Support Center Brigham 
> Young University
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage 
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

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


Refer to button in group

2006-01-19 Thread liamlambert

:-)
Liam Lambert
[EMAIL PROTECTED]
IRELAND


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


Jobs & Here We Go Again

2006-01-19 Thread Mathewson
1. Surely if somebody wants a job doing (i.e. a piece of
software written to do something) from their point of view
it really doesn't matter if it is written in RunRev, Lisp,
Zilog or Humpy-Pumpy as long as it does what the client
wants?

2. Hey . . . we had "Lets all tell RR how to do their job"
before the New Year: so why not be equally 'painful' this
year and flood the use-list with job-supplications (hence
my 'also')!

On a serious note . . . go to

http://groups.yahoo.com/group/revjobseekers/

a Yahoo Group I have set up for desperate type like myself!

Love, Abuse, and 'can't somebody offer me a job' Richmond
Mathewson
__
See Mathewson's software at:

http://members.maclaunch.com/richmond/default.html
___
---
The Think Different Store
http://www.thinkdifferentstore.com/
For All Your Mac Gear
---
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


[OT] Print job

2006-01-19 Thread FlexibleLearning
I have a 90Mb pdf file generated by Rev measuring 45" x 18.5". To print  this 
I am being quoted "silly money" by sources in the UK... £60 is the best I  
can find (say $100 or 85 euro).
 
Does anyone have a source that could do the print job (10 off) for a better  
price?
 
Many thanks. Off-list replies might be good, unless it's something of  others 
would find useful also.
 
/H
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Job opportunities

2006-01-19 Thread Klaus Major

Hi David,


Guess it depends!

If you get don't get one then it isn't, if you do then it is!


that's actually an hard-to-beat argument :-D

OK, sorry for being in doubt!

I'd like to stay using RunRev, and, since, VERY few people have  
even heard of it, then this seems like the best place to try and  
obtain one!


All the Best
Dave


Hi all,

...
although I am also desparately looking for some jobs, I don't  
think this is the

right place for a job market.
Is it? :-)

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


I am also looking for jobs/project work/assistance using Rev and I am  
an officially approved Rev-expert ;-)


I can also offer training for Rev, but this may only be of relevance  
for folks in germany.
On the other hand, if you also pay the ticket I will train you in  
Irkutsk or anywhere else.


Even "Hackensack, Arkansas"!
Sorry for the cheap joke, I'm sure this is a very nice place :-D


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


[OT] Rosetta benchmarks

2006-01-19 Thread Richard Gaskin


Macworld magazine has a page showing benchmarks for apps running under 
Rosetta on the new iMac:



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


Re: how to delete ponctuation in a textfield

2006-01-19 Thread Christian Langers

Hi Jonathan,

I tried your functions and I think they are pretty ccol for small  
texts...


I work with texts over 30 000 words...

I tried this (after some research) :

put "[EMAIL PROTECTED]&*()><.`?/{}’[]|\=-_–'°§…“‘" into tPoncts

repeat for each char thisChar in tPoncts
replace thisChar with empty in tVar
end repeat
replace quote with empty in tVar
replace comma with empty in tVar

which speeded up the filtering;

I think : filter ... with "[A-Z0-9]" does the same thing but it  
depends (eg. Hello' is return as it is)



thanks for your input ;-)


Christian


Le 19 janv. 06 à 20:43, Lynch, Jonathan a écrit :

You are going to get a million different approaches to how to do  
this...


Do you wish to exclude certain particular bits of punctuation, or  
do you

wish to include only characters that are letters and numbers?

Here is a function for the inclusion approach:


Function NumCharOnly pText
  Repeat for each char tChar in pText
If tChar is in "abcdefghijklmnopqrstuvwxyz1234567890" then
  Put tChar after tReturnText
End if
  End repeat
  Return tReturnText
End NumCharOnly



Here is a function for the exclusion approach:


Function ExcludePunct pText
  Repeat for each char tChar in pText
If tChar is not in "[EMAIL PROTECTED]&*()><.,`?/{}[]|\=-_" and tChar <>  
quote

then
  Put tChar after tReturnText
End if
  End repeat
  Return tReturnText
End ExcludePunct


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of  
Christian

Langers
Sent: Thursday, January 19, 2006 2:27 PM
To: use-revolution use Revolution
Subject: how to delete ponctuation in a textfield

Does anybody know how to remove any ponctuation from text ?

any regex filtering ?

Thanks in advance,


Christian

Luxembourg
___
use-revolution mailing list
use-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 to remove a carriage return from a field?

2006-01-19 Thread Eric Chatonet

Welcome to this list, Claire,

If you want a carriage return typed responding as you like, just  
insert a returnInField handler in the script of your field:


on returnInField
  Validate -#
end returnInField
--
on enterInfield
  Validate -#
end enterInfield
--
on Validate
   local tUrl
   -
  put target into tUrl
  -- the text that the user entered
  etc.
end Validate

If you need some more help, don't hesitate to ask this list :-)

Le 19 janv. 06 à 03:40, Claire Bradin Siskin a écrit :

In my stack, the user enters identifying information into a field,  
and this text is used to build a filename for ftp upload. This  
works fine as long as the user does not enter a carriage return at  
the end of the field. If the user does press "enter," this messes  
up the upload. How can I script it so that any carriage returns are  
removed from the field?


Suggestions for actual scripts would be very much appreciated since  
I am a newbie. :-)


Best Regards from Paris,
Eric Chatonet
 
--

http://www.sosmartsoftware.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


Re: set the cursor to hand when on links

2006-01-19 Thread André . Bisseret

Hello Éric,
and thank you for your kind attention to my problem.

In fact, there is a problem with the new script : as soon as the mouse 
enter any field, I get an error message ; it seems to concern the line  
"case "field" is in the target and "link" is in the textStyle of the 
mouseText" ; meanwhile, as expected, the cursor is keeping the default 
form except  on a link in the field, where it takes the hand form.  Il 
will study that a bit later.


Anyway, my problem is solved with the first script you send to me ; it 
works well.
I am learning a lot about "mouseMove" and the "switch" structure which 
I didn't use before.

Thanks again
All the bests from Grenoble,
André


Le Wednesday, 18 Jan 2006, à 16:39 Europe/Paris, Eric Chatonet a écrit :


Hi André,

Your reply made me understand that, when empty, the mouseChunk could 
pop up an error while the mouseText does not.

Then here a simplified script:

on mouseMove
  switch
  case "button" is in the target
ShowHandCursor #
break
  case "field" is in the target and "link" is in the textStyle of the 
mouseText

ShowHandCursor #
break
  default
ResetCursor #
  end switch
end mouseMove
--
on mouseLeave
  ResetCursor #
end mouseLeave
--
on ShowHandCursor
  set the cursor to hand
  lock cursor
end ShowHandCursor
--
on ResetCursor
  unlock cursor
end ResetCursor

Best Regards from Paris,
Eric Chatonet




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


Can Dreamcard do a search program?

2006-01-19 Thread johnaskins
Can I use Dreamcard to develop a text search application for my personal use? 
I'm not a programmer but am willing to learn. The app needs to be able to find 
docs containing text strings and then allow the list of documents resulting
from the search to be further searched. My platform is Mac G5.

Thanks for any tips. 

John Askins


___
use-revolution mailing list
use-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 remove a carriage return from a field?

2006-01-19 Thread Lynch, Jonathan
Put this in the field:

On rawkeydown pKey
  If numtochar(pKey) <> linefeed then pass rawkeydown
End rawkeydown



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Claire
Bradin Siskin
Sent: Wednesday, January 18, 2006 9:41 PM
To: use-revolution@lists.runrev.com
Subject: How to remove a carriage return from a field?

In my stack, the user enters identifying information into a field, 
and this text is used to build a filename for ftp upload. This works 
fine as long as the user does not enter a carriage return at the end 
of the field. If the user does press "enter," this messes up the 
upload. How can I script it so that any carriage returns are removed 
from the field?

Suggestions for actual scripts would be very much appreciated since I 
am a newbie. :-)

Thanks very much,
-- 
Claire Bradin Siskin
http://edvista.com/claire/
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


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


Re: How to remove a carriage return from a field?

2006-01-19 Thread Klaus Major

Hi Claire,

In my stack, the user enters identifying information into a field,  
and this text is used to build a filename for ftp upload. This  
works fine as long as the user does not enter a carriage return at  
the end of the field. If the user does press "enter," this messes  
up the upload. How can I script it so that any carriage returns are  
removed from the field?


Suggestions for actual scripts would be very much appreciated since  
I am a newbie. :-)


you could add a "dummy" script to that field:

on enterinfield
  ##
end enterinfield

on returninfield
  ##
end returninfield


This way the user can hit ENTER or RETURN "until the cows come home"
but that will not appear in the field :-)


Thanks very much,
--
Claire Bradin Siskin
http://edvista.com/claire/


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: set the cursor to hand when on links

2006-01-19 Thread Eric Chatonet

Hi André,

Your reply made me understand that, when empty, the mouseChunk could  
pop up an error while the mouseText does not.

Then here a simplified script:

on mouseMove
  switch
  case "button" is in the target
ShowHandCursor #
break
  case "field" is in the target and "link" is in the textStyle of  
the mouseText

ShowHandCursor #
break
  default
ResetCursor #
  end switch
end mouseMove
--
on mouseLeave
  ResetCursor #
end mouseLeave
--
on ShowHandCursor
  set the cursor to hand
  lock cursor
end ShowHandCursor
--
on ResetCursor
  unlock cursor
end ResetCursor

Best Regards from Paris,
Eric Chatonet

Le 18 janv. 06 à 13:27, Eric Chatonet a écrit :


Bonjour André,

Place these handlers in the script of your stack.
They will manage everywhere the hand cursor for buttons and text  
links at the same time :-)


on mouseMove
  switch
  case "button" is in the target
ShowHandCursor #
break
  case "field" is not in the target
  case the mouseText = empty -- important!
exit mouseMove
break
  case "link" is in the textStyle of the mouseChunk
ShowHandCursor #
break
  default
ResetCursor #
  end switch
end mouseMove
--
on mouseLeave
  ResetCursor #
end mouseLeave
--
on ShowHandCursor
  set the cursor to hand
  lock cursor
end ShowHandCursor
--
on ResetCursor
  unlock cursor
end ResetCursor

FYI: Your script does not work because the mouseText can be empty  
then the style of the mouseText = the style of nothing and you get  
an error :-)

Right?

Best Regards from Paris,
Eric Chatonet

Le 18 janv. 06 à 12:53, André.Bisseret a écrit :

I would like the cursor become "hand" instead" of "arrow" when the  
mouse is on the links I have in locked flds.

(just like it happens in the "see also" in the Rev documentation).

For buttons I succeeded with the following handlers in the stack  
script :

on mouseEnter
  if word 1 of the target is "button" then
set the lockCursor to true
set the cursor to hand
  end if
end mouseEnter

on mouseLeave
  if word 1 of the target is "button" then
  set the lockCursor to false
end if
end mouseLeave

(is there a simpler way to do that ?)

But I don't find how to do the same for the links in my locked  
fields ;

My last trial was :

on mouseWithin
  if word 1 of the target is "field" then
if the style of the mouseText is "link" then
  set the lockCursor to true
  set the cursor to hand
end if
  end if
end mouseWithin

but it does'nt work


 
--

http://www.sosmartsoftware.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


How to remove a carriage return from a field?

2006-01-19 Thread Claire Bradin Siskin
In my stack, the user enters identifying information into a field, 
and this text is used to build a filename for ftp upload. This works 
fine as long as the user does not enter a carriage return at the end 
of the field. If the user does press "enter," this messes up the 
upload. How can I script it so that any carriage returns are removed 
from the field?


Suggestions for actual scripts would be very much appreciated since I 
am a newbie. :-)


Thanks very much,
--
Claire Bradin Siskin
http://edvista.com/claire/
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


B&W PICT images transformation to JPEG

2006-01-19 Thread Frédéric RINALDI

Did someone already deal with B&W PICT images transformation to JPEG?
Once the PICT image is loaded in an image object, using "export image  
X to file Y as JPEG"
creates the exported JPEG file, but quality is totally downgraded to  
dithered B&W...

Any solution there?
Thanks
Frédéric RINALDI___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Mail Problems Fixed

2006-01-19 Thread Mark Waddingham

Hi all,

As you may have noticed (with a sudden influx of messages from the  
list - including duplicates) - the mail problem has been fixed. There  
is no need to resend messages as it would appear that mail hasn't  
been lost - it was just delayed.


Thank you for your patience,

Mark.

--
 Mark Waddingham ~ [EMAIL PROTECTED] ~ http://www.runrev.com
   Runtime Revolution ~ User-Centric Development Tools


___
use-revolution mailing list
use-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 delete ponctuation in a textfield

2006-01-19 Thread Lynch, Jonathan
You are going to get a million different approaches to how to do this...

Do you wish to exclude certain particular bits of punctuation, or do you
wish to include only characters that are letters and numbers?

Here is a function for the inclusion approach:


Function NumCharOnly pText
  Repeat for each char tChar in pText
If tChar is in "abcdefghijklmnopqrstuvwxyz1234567890" then
  Put tChar after tReturnText
End if
  End repeat
  Return tReturnText
End NumCharOnly



Here is a function for the exclusion approach:


Function ExcludePunct pText
  Repeat for each char tChar in pText
If tChar is not in "[EMAIL PROTECTED]&*()><.,`?/{}[]|\=-_" and tChar <> 
quote
then
  Put tChar after tReturnText
End if
  End repeat
  Return tReturnText
End ExcludePunct


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Christian
Langers
Sent: Thursday, January 19, 2006 2:27 PM
To: use-revolution use Revolution
Subject: how to delete ponctuation in a textfield

Does anybody know how to remove any ponctuation from text ?

any regex filtering ?

Thanks in advance,


Christian

Luxembourg
___
use-revolution mailing list
use-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: File/Picture Chooser Widgets available for Windows XP

2006-01-19 Thread Bob Warren

Thanks Xav!

Yes, when the picture widget's preview picture is shown, it flashes. 
This is because the picture is loaded at normal size first, to get the 
aspect, and is then (usually) reduced to a smaller size, in the correct 
ratio, for display in the preview. Obviously, the normal and very simple 
solution to this is to hide the picture while this is taking place, and 
only show it again when it is ready. However, when I do this, Rev crashes!


During the development of this project, many examples of this kind have 
occurred. The great problem is that a great many things appear to work 
normally, but that within a certain context, they don't. For example, it 
would be very easy to demonstrate in a test stack that loading and 
re-sizing a picture box invisibly before showing it works 100%. The 
difficult part is explaining why it doesn't work in my program!


Temporarily, I have left the preview picture visible, until I can find a 
workaround that does not cause Rev to crash.


Once the dust has settled during this initial phase, I would like to 
raise some of the issues arising from the project with the Rev 
community, to see whether bugs ought to be reported or whether 
workarounds can be found. Another example: In the test stack I have 
provided, there is a shell call to the widget EXEs. I say "shell" 
because when I tried the simpler "launch" command with the widget EXEs, 
it would work sometimes, but not others. So I tried "launching" another 
program in a test stack, and it worked perfectly every time!


Thanks again for your feedback.
To the other Windows XP users, PLEASE test my widgets and let me know 
what happens!


Regards,
Bob

MisterX wrote:


Bob

works perfectly here - the exes...

well, almost... some flashing updates here or there...

both the exes works like a charm... 

winxp... 1gb ram, 3GHz... rev 261 


cheers
Xav

 


-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of 
Bob Warren

Sent: Wednesday, 18 January, 2006 17:37
To: use-revolution@lists.runrev.com
Subject: Re: File/Picture Chooser Widgets available for Windows XP

Dear Windows XP Users (and others),

This is a quick status report on the testing of the file and 
picture chooser widgets available for download at


http://www.howsoft.com/downloads/runrev .

On my machines, these widgets work perfectly. However, for 
some reason yet to be discovered, they do not work on Ken 
Ray's machine. In order to help with the diagnosis, I have 
released a copy of the file chooser stack to him.


In the meantime, I suggest that the widgets as they stand 
should be used for testing purposes, but not for distribution 
in any way. I need to discover whether the difficulty on 
Ken's machine is an isolated incident or whether it 
represents the tip of an iceberg.


So far, Ken has been extremely helpful. But what I need at 
this moment is for other Windows XP users to test the widgets 
and to tell me how they behave on their machines and their 
particular flavour of Windows XP.


The sooner I get this issue solved, the sooner I can get to 
work on the Linux versions and arrange for a conversion to 
MAC. RR sadly lacks a picture chooser with preview, so 
whatever you can do to help would be of potential benefit to all.


Thanks guys.

Regards,
Bob

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

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






 




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


how to delete ponctuation in a textfield

2006-01-19 Thread Christian Langers

Does anybody know how to remove any ponctuation from text ?

any regex filtering ?

Thanks in advance,


Christian

Luxembourg
___
use-revolution mailing list
use-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: Mactel/Rosetta

2006-01-19 Thread Richard Gaskin

Chipp Walters wrote:

Richard Gaskin wrote:

The Intel iMacs are shipping now, and the test kits from Apple have 
been available for the last 9 months.


It seems reasonable that someone at RunRev has run Rev under Rosetta 
and can report what we can expect from that while we wait for the 
ultimate goal of universal binaries.


I suppose the same thing could be said by all of our customers as they 
too may expect for us as their 'developer' to have tested our code 
against Rosetta.


True, but since 90% of what we do is driven by the engine, that seems 
like a good place to start.


Kevin's comment was very helpful (thank you Kevin!):

   We haven't as yet tested every last feature, but
   certainly it runs under Rosetta.  Bear in mind
   that Apple originally announced shipping in the
   middle of this year, so we have a little catching
   up to do for full compatibility.  You won't have
   too long to wait though.

Based on the tasty tidbit at 
, I 
probably won't get a new Mac until the second revision arrives (I 
generally avoid the first series of any radically changed architecture 
anyway, but that brief article gives even more reason to wait).


In the meantime it's comforting to know that there are no glaring 
hitches with Rosetta, and that things are full steam ahead for universal 
binaries.


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


Re: set the cursor to hand when on links

2006-01-19 Thread André . Bisseret

Bonjour Éric,
and thanks a lot for your quick answer ; "magnifique"  ; your set of 
handlers is very nice and works perfectly.
I must familiarize with "switch, case and break" which, if I am not 
wrong, did not exist in HyperCard.



Le Wednesday, 18 Jan 2006, à 13:27 Europe/Paris, Eric Chatonet a écrit :


FYI: Your script does not work because the mouseText can be empty then 
the style of the mouseText = the style of nothing and you get an error 
:-)

Right?
Not really ! because when I put the following handler directly in the 
script of a fld that includes links it works well :

---
on mouseWithin
if the textStyle of the mouseText is "link" then
set the lockCursor to true
set the cursor to hand
else
 set the lockCursor to false
end if
end mouseWithin
---
I mean, the "else" part include (and accepts without error) the case 
where the mouseText is empty.
It was when I put such an handler in the stack script (with "if word 1 
of the target is "field") that it did'nt work !!??


Anyway my problem is solve and again, thank you very much !

"Bien cordialement" from Grenoble
André



___
use-revolution mailing list
use-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: File/Picture Chooser Widgets available for Windows XP

2006-01-19 Thread MisterX
Bob

No I hadn't tried - just the standard usage test. 

But changing them ini's don't see to work either ;)
Filters ini don't seem to work either...

cheers
Xavier




> -Original Message-
> From: Bob Warren [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, 18 January, 2006 21:57
> To: [EMAIL PROTECTED]; use-revolution@lists.runrev.com
> Subject: Re: File/Picture Chooser Widgets available for Windows XP
> 
> Xav:
> 
> Ken reported that when he tried altering the INI parameters 
> to change the size of the widget's window, etc., not all the 
> parameters were correctly actioned. Have you tried altering 
> these parameters? If so, were they all actioned correctly?
> 
> Thanks,
> Bob
> 
> 
> 
> MisterX wrote:
> 
> >Bob
> >
> >works perfectly here - the exes...
> >
> >well, almost... some flashing updates here or there...
> >
> >both the exes works like a charm... 
> >
> >winxp... 1gb ram, 3GHz... rev 261
> >
> >cheers
> >Xav
> >
> >  
> >
> >>-Original Message-
> >>From: [EMAIL PROTECTED]
> >>[mailto:[EMAIL PROTECTED] On Behalf Of Bob 
> >>Warren
> >>Sent: Wednesday, 18 January, 2006 17:37
> >>To: use-revolution@lists.runrev.com
> >>Subject: Re: File/Picture Chooser Widgets available for Windows XP
> >>
> >>Dear Windows XP Users (and others),
> >>
> >>This is a quick status report on the testing of the file 
> and picture 
> >>chooser widgets available for download at
> >>
> >>http://www.howsoft.com/downloads/runrev .
> >>
> >>On my machines, these widgets work perfectly. However, for 
> some reason 
> >>yet to be discovered, they do not work on Ken Ray's 
> machine. In order 
> >>to help with the diagnosis, I have released a copy of the 
> file chooser 
> >>stack to him.
> >>
> >>In the meantime, I suggest that the widgets as they stand should be 
> >>used for testing purposes, but not for distribution in any 
> way. I need 
> >>to discover whether the difficulty on Ken's machine is an isolated 
> >>incident or whether it represents the tip of an iceberg.
> >>
> >>So far, Ken has been extremely helpful. But what I need at 
> this moment 
> >>is for other Windows XP users to test the widgets and to 
> tell me how 
> >>they behave on their machines and their particular flavour 
> of Windows 
> >>XP.
> >>
> >>The sooner I get this issue solved, the sooner I can get to work on 
> >>the Linux versions and arrange for a conversion to MAC. RR 
> sadly lacks 
> >>a picture chooser with preview, so whatever you can do to 
> help would 
> >>be of potential benefit to all.
> >>
> >>Thanks guys.
> >>
> >>Regards,
> >>Bob
> >>
> >>___
> >>use-revolution mailing list
> >>use-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: Amazing, strange, and mystifying

2006-01-19 Thread Jerry Muelver

From: "Jim Ault"
I restarted my Mac (G5 dual, plenty of hard drive space, 10.4.2, rev 
2.6.1),

launched Rev,  reopened the stack, and there was no part of the new
scripting that I had done... none.  Yes I do frequent saves, I have 
searched

the drives for every version of this stack... there is only this *one
version*  so I am not accidentally opening the back up [which is located 
on

another computer]


Thought it was just me. Yesterday, I opened a stack to work on it, and found 
that it had nothing in it from previous days' work. It was easy to recognize 
that changes had not "taken" because I had changed the stack's name earlier, 
and the stack's titlebar now came up with the old name. Rev 2.6.1, Linux 
Ubuntu 5.04.


No answers I'm just commiserating

 Jerry 


___
use-revolution mailing list
use-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: Refer to button in group

2006-01-19 Thread Klaus Major

Hi Chipp and Liam,


Hi Liam,

Just thought I'd throw this in.
I like to use:

if the hilitedbutton of grp "whichState" is 3 then
you can also check the hilitedButtonName of a group


IF the referred buttons are radiobuttons! :-)


liamlambert wrote:

I want to check the state of a button from outside the group
How do I refer to a button in the group


best,

Chipp


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: Job opportunities

2006-01-19 Thread David Burgun

Guess it depends!

If you get don't get one then it isn't, if you do then it is!

I'd like to stay using RunRev, and, since, VERY few people have even 
heard of it, then this seems like the best place to try and obtain 
one!


All the Best
Dave


Hi all,


Hi All,

I have finished the project I was working on and am now looking for 
a new project! I have around 2 years experience using RunRev on 
Macintosh 8/9/X and Windows, and over 20 years experience in C/C++ 
on Macintosh and Windows and Cross platform work in general.


If you have a project that might be of interest it would be good to 
hear from you! I can send my CV on request.


All the Best
Dave



At present my "Day Job" (running an EFL scholl for Primary
Kids) is part time; so am looking for any type of work with
regard to Runtime Revolution. I can also furnish a full CV.

sincerely, Richmond Mathewson


although I am also desparately looking for some jobs, I don't think 
this is the

right place for a job market.

Is it? :-)


Best

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

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

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


___
use-revolution mailing list
use-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: Refer to button in group

2006-01-19 Thread Klaus Major

Hi Liam,


I want to check the state of a button from outside the group
How do I refer to a button in the group

the (group id 1053 ) is

on mouseUp

if the HILITE of button "cash" of grp id 1053  = true then

 put fld "total" into fld "cashTotal"
 end if
end mouseUP


But you only need the grp identifier if there are more than one buttons
named "cash" on this card.

Hint to save some typing:
If you omit a boolean value (true or false) then the engine will  
presume you mean -> true


...
if the HILITE of button "cash" of grp id 1053 then
...

Looks like the engine is an optimist ;-)


Thanks
ee


 :-)


Liam Lambert
[EMAIL PROTECTED]
IRELAND


Best

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

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


Re: set the cursor to hand when on links

2006-01-19 Thread Eric Chatonet

Bonjour André,

Place these handlers in the script of your stack.
They will manage everywhere the hand cursor for buttons and text  
links at the same time :-)


on mouseMove
  switch
  case "button" is in the target
ShowHandCursor #
break
  case "field" is not in the target
  case the mouseText = empty -- important!
exit mouseMove
break
  case "link" is in the textStyle of the mouseChunk
ShowHandCursor #
break
  default
ResetCursor #
  end switch
end mouseMove
--
on mouseLeave
  ResetCursor #
end mouseLeave
--
on ShowHandCursor
  set the cursor to hand
  lock cursor
end ShowHandCursor
--
on ResetCursor
  unlock cursor
end ResetCursor

FYI: Your script does not work because the mouseText can be empty  
then the style of the mouseText = the style of nothing and you get an  
error :-)

Right?

Best Regards from Paris,
Eric Chatonet

Le 18 janv. 06 à 12:53, André.Bisseret a écrit :

I would like the cursor become "hand" instead" of "arrow" when the  
mouse is on the links I have in locked flds.

(just like it happens in the "see also" in the Rev documentation).

For buttons I succeeded with the following handlers in the stack  
script :

on mouseEnter
  if word 1 of the target is "button" then
set the lockCursor to true
set the cursor to hand
  end if
end mouseEnter

on mouseLeave
  if word 1 of the target is "button" then
  set the lockCursor to false
end if
end mouseLeave

(is there a simpler way to do that ?)

But I don't find how to do the same for the links in my locked  
fields ;

My last trial was :

on mouseWithin
  if word 1 of the target is "field" then
if the style of the mouseText is "link" then
  set the lockCursor to true
  set the cursor to hand
end if
  end if
end mouseWithin

but it does'nt work


 
--

http://www.sosmartsoftware.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


Re: File/Picture Chooser Widgets available for Windows XP

2006-01-19 Thread Bob Warren
Great! Thanks very much Alex. I think you've just defined #2 for me! 
Just about everything you asked for is desirable. I'll keep your list, 
and when the times comes I'll try to include as much as I can. As you 
will appreciate, at the moment I need to concentrate on achieving the 
stability of #1 in its current primitive form, but as soon as I can I 
will return to the task of improving the widgets.


Please do experiment with the INI parameters and let me know whether 
they work OK on your machine.


I hope you don't mind if I post this reply to the list, as I think most 
other potential users will be interested in the features you have asked 
for.  Also, your much appreciated interest might encourage others to try 
out this first version of the widgets. OK?


Regards,
Bob


Alex Tweedly wrote:


Bob Warren wrote:


Dear Windows XP Users (and others),

This is a quick status report on the testing of the file and picture 
chooser widgets available for download at


http://www.howsoft.com/downloads/runrev .

Hi Bob. I've started testing, but haven't yet experimented with 
changing the .ini values. However, I do have some suggestions 


One Bug (imho) : fix what happens when user hits TAB and shift-TAB

TAB should step the focus through the various controls. Currently it 
moves focus from folder-list to file-list and then to "Cancel", but 
although focus is on cancel, it leaves the most recent file 
highlighted. Goes nowhere after the filter-list (Windows would 
normally cycle back to first control). shift-TAB is apparently ignored.


some suggestions (these would be almost essential for me):

allow more flexible filters  (see Rev docs)
   should at least allow, e.g.
 *.jpg;*.jpeg JPEG files but would be even better to allow 
the full flexibility allowed by "answer file"


allow multi-file selection (with ctrl and shift click, or shift+arrow)

accept up-arrow and down-arrow keys in folder and file lists

clicking on a different directory should remove the preview of the photo

suggestions (these would be nice):

RETURN should be equivalent to clicking OK
 (or cancel if that's your preferred default - but there should be 
a default).

accept page-up and page down in folder and file lists
accept up/down arrow in filter list
allow "incremental search" in folder and file lists
 (or at least initial letter selection)
make the preview optional (it's noticeably slow on 6Mb files, esp 
across the wifi network :-)

allow left/right arrow to select between disks (a c d etc.)
make the window be sizable
allow user to change space allocation between list windows (or change 
the space automatically ??)








___
use-revolution mailing list
use-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: File/Picture Chooser Widgets available for Windows XP

2006-01-19 Thread Alex Tweedly

Bob Warren wrote:


Dear Windows XP Users (and others),

This is a quick status report on the testing of the file and picture 
chooser widgets available for download at


http://www.howsoft.com/downloads/runrev .

Hi Bob. I've started testing, but haven't yet experimented with changing 
the .ini values. However, I do have some suggestions 


One Bug (imho) : fix what happens when user hits TAB and shift-TAB

TAB should step the focus through the various controls. Currently it 
moves focus from folder-list to file-list and then to "Cancel", but 
although focus is on cancel, it leaves the most recent file highlighted. 
Goes nowhere after the filter-list (Windows would normally cycle back to 
first control). shift-TAB is apparently ignored.


some suggestions (these would be almost essential for me):

allow more flexible filters  (see Rev docs)
   should at least allow, e.g.
 *.jpg;*.jpeg JPEG files  
   but would be even better to allow the full flexibility allowed by 
"answer file"


allow multi-file selection (with ctrl and shift click, or shift+arrow)

accept up-arrow and down-arrow keys in folder and file lists

clicking on a different directory should remove the preview of the photo

suggestions (these would be nice):

RETURN should be equivalent to clicking OK
 (or cancel if that's your preferred default - but there should be 
a default).

accept page-up and page down in folder and file lists
accept up/down arrow in filter list
allow "incremental search" in folder and file lists
 (or at least initial letter selection)
make the preview optional (it's noticeably slow on 6Mb files, esp across 
the wifi network :-)

allow left/right arrow to select between disks (a c d etc.)
make the window be sizable
allow user to change space allocation between list windows (or change 
the space automatically ??)





--
Alex Tweedly   http://www.tweedly.net



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.20/233 - Release Date: 18/01/2006

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


auto searching technique

2006-01-19 Thread Devin Asay
I know this has been discussed before, but I'm not having any luck in  
the archives, and I can't reach Rev Online for some reason. :-(


Has anyone developed a handler for doing an active search for a line  
in a combo box popup while typing in the combo box? So if my combo  
box contains a list like this, in alphabetical order:


Apple
Banana
Cantelope
Grape
Kiwi
Orange
Peach
Pear
Pineapple
Plum
Raspberry
Strawberry
Watermelon

And I start typing "p", the list pops up with the first item  
beginning with "p" hilited. Or more accurately, the first item  
beginning with 'p' with everything after 'p' hilited. Then as I  
continue to type "pi", Pineapple is (partially) highlighted. Sort of  
like auto-complete in a web browser url field or my Mail program's  
address field.


I know this can be done, but it's eluding me at the moment.

Devin

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

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


Re: Sharing applications

2006-01-19 Thread André . Bisseret
I have had the same problem recently  (somebody from RunRev helped me, 
so its my turn !)

Here are some possibilities :
1- The DreamCard Player is not multiPlatforms ;  your friend needs the 
DreamCard Player for PC (those for Mac does not work on Windows)
2 - Try to set the DreamCard Player on "Run in non-secure mode" (the 
default setting is "secure mode"). To do that, clic on the little 
"Revolution" icon, on top right of the window "revOnline Viewer" that 
appear when you launch the player. There, you get a little dialog box 
"Preferences" wher you can choose "non-secure mode".
3 If you keep having trouble with DreamCard Player, then try 
StackRunner ; it is more simple, it has no secure mode, and it works 
well.

 You can download it at :
http://www.sonsothunder.com/devres/revolution/downloads/StackRunner.htm
here again, choose the right version (for windows).

good luck
André

Le Saturday, 7 Jan 2006, à 22:34 Europe/Paris, David Mendriski a écrit :

I wrote an application to drill Italian verbs. I wanted to share it 
with a lady in my class.  I gave her a copy of my application and a 
copy of the Dreamcard Player.  I have a Macintosh (iMac) on which I 
developed the app.  She has a PC.  She said she cannot get the program 
to open or function.  What do I not know?  (Not in general, but about 
this problem) Thanks.


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


Mail problems

2006-01-19 Thread Kevin Miller
Hi Everyone,

At present an unknown gremlin in our mailing system is causing some messages
to get dropped.  We are working to resolve this and hope to have it fixed
soon.  In the mean time, if you don't see your message come through to the
list, or don't get a response from a message sent directly to one of us,
please resend your message.  Apologies for any inconvenience.

Kind regards,

Kevin

Kevin Miller ~ [EMAIL PROTECTED] ~ http://www.runrev.com/
Runtime Revolution - User-Centric Development Tools

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


Sharing applications

2006-01-19 Thread David Mendriski
I wrote an application to drill Italian verbs. I wanted to share it  
with a lady in my class.  I gave her a copy of my application and a  
copy of the Dreamcard Player.  I have a Macintosh (iMac) on which I  
developed the app.  She has a PC.  She said she cannot get the  
program to open or function.  What do I not know?  (Not in general,  
but about this problem) Thanks.


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


card margins

2006-01-19 Thread Michael Fitzgerald

Hello,
When I try to print it moves the text down and right.  I tried 
adjusting the Print Margins on my Epson CX4800 (from my eMac 1GHz) to 
'0' on all sides- that did not do it.  When I inspect 'Size and 
Position' on my card - it will not 'activate' and allow me to change 
the 'Location' of the card (which I imagine should be '0' and '0'.  Any 
help would be appreciated.

Thanks, Mike

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


Re: Combo Box and Hilited Pick

2006-01-19 Thread Thomas McGrath III

Jeff,

set the menuHistory of button "PayType" to 1

-- or 2 etc. coinciding to the item you want

from the docs:
Description
Use the menuHistory property to change the selected item in a menu,  
or to find out which menu item is currently selected.


Value:
The menuHistory of a button is an integer between 1 and the number of  
menu items in the menu.


By default, the menuHistory property of newly created buttons is set  
to 1.


Comments:
When you set the menuHistory property, a menuPick message is sent to  
the button.


If the button's menuMode is "comboBox", setting its menuHistory also  
changes the button's label to the new menu item.



hth

Tom

On Jan 11, 2006, at 8:13 PM, Jeff Honken wrote:


I have a combo Box.  The box has several items in it.  When I choose
what item has been picked I use:

get the selectedText of btn "PayType"

How do I "set" the button for a menu choice?  I have items such as PPO
and HMO in the combo box choices.

I'm looking for something like:

Set the selectedText of btn "PayType" to "PPO"

But I would like it to work.  Jeff


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

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


Thomas J McGrath III
[EMAIL PROTECTED]

Lazy River Software™ - http://www.lazyriversoftware.com

Lazy River Metal Art™ - http://www.lazyriversftware.com/metal.html

Meeting Wear™ - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.html







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


Print Margins

2006-01-19 Thread Michael Fitzgerald

Hello,
I am an old low-to-mid-level HyperCarder who is trying to upgrade 
stacks to Studio.  When I print, the preview and the output are always 
down and to the right.  I e-mailed support and they sent me here.  How 
do I adjust the print margins on a card? I have tried it from my 
printer, but that hasn't worked so far.  Any help would be appreciated. 
 Thanks, Mike


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


Re: Jobs & Here We Go Again

2006-01-19 Thread Mark Talluto
What I like about Rev is that you can create a full application with  
one individual.  You can compete against much larger teams using  
those other languages.  With that in mind, all of us here can be  
quite successful working on applications that we come with  
individually.  What I am trying to say is, take a good look at the  
world around you.  It is begging for software to improve someone's  
life.  The vertical market type applications to be created are  
endless.  Once you reach into the pond with all those fish, you will  
never be hungry again.


Everyone here is very talented.  Take a look at some of the private  
sector markets and pick one.  Learn everything you can about it and  
talk to people in that field.  They will hand you applications  
ideas.  Your hardest job will be to pick one of them because the list  
will be quite abundant.  You will never be happier after you make  
that first application.  Freedom awaits!



Mark Talluto
--
CANELA Software
http://www.canelasoftware.com

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


Need help rotating then printing, keeping quality (.rev included)

2006-01-19 Thread Jason (Polydiam)
Hi

I would greatly appreciate help with my program.

http://www.polydiam.com/runrev/imagepr.rev

If you could download it, I've made it on XP.

When you open an image then print it out, it works fine. However.

The problem is, when you open an image, then rotate it, then print it, the
image somehow disappears into a small square, and it doesn't print out
properly.

If anyone could take a look at my stack, I would be so grateful!

Thank you

Jason

___
use-revolution mailing list
use-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: File/Picture Chooser Widgets available for Windows XP

2006-01-19 Thread Bob Warren
Thanks to your valuable feedback, I now know what tasks are immediately 
ahead in order to make the widgets acceptable for your use. I'll be 
going offline for a while now to concentrate on getting these things 
sorted out as soon as possible, and I'll let you know as soon as the 
widgets are hopefully "ready" again.


My aim for #1 is to give Windows XP users a simple, stable and 
acceptable pair of widgets. This involves:


1) Getting rid of "Ken's bug" so that on computers where it appears the 
user has no further trouble either running the widgets or altering the 
INI parameters effectively.


2) Minimizing all "flashing" effects which are particularly apparent on 
slower machines.


3) Allowing the operator to re-size the widgets manually, and to move 
the central division between the left and right panes.


4) Removing the last picture previewed when the operator clicks on the 
folders list in the left pane.


4) Eliminating the functions of keys which do not lead to a useful result.

5) Important "etceteras" as they arise.

My aim for #2 is to incorporate improvements suggested by Alex and 
others, and some of my own. For example, I have already paved the way 
for allowing the user to include his own background picture (usually 
some coloured pattern): this would also involve allowing the user to 
alter the colour of the text, to provide a satisfactory contrast.


As soon as I finish #1 for Windows XP, I will begin work on #1 for 
Linux, simultaneously working on #2 for Windows. Quite possibly, when #1 
for Linux is ready, much of the work achieved on #2 for Windows can be 
transferred immediately to Linux. Finally, I can arrange for #2 of Linux 
to be adapted to MAC (or another option would be to arrange the adaption 
of #1 to MAC as soon as it is ready, and then do #2 afterwards).


I'll probably be back online again if I need help over the technical 
aspects.


Regards,
Bob

___
use-revolution mailing list
use-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: Calendar and Time Schedule

2006-01-19 Thread Lynch, Jonathan
You can also check out the Calendar substack in Task Mage.
www.workmage.com

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Charles
Hartman
Sent: Wednesday, January 18, 2006 8:07 PM
To: How to use Revolution
Subject: Re: Calendar and Time Schedule

Daniels & Mara, timegadget.

Charles Hartman

On Jan 18, 2006, at 7:13 PM, Jeff Honken wrote:

> Has anyone created a scheduling app and would share how they did it.
> I'm starting a project that will require a calendar and a time  
> element.
> When a particular date is chosen a time grid needs to be  
> displayed.  It
> then needs to allow the user to schedule that block of time.  It
> basically needs to work like the Calendar in Microsoft's outlook.  Any
> help would be greatly appreciated.  Jeff
>
>
> ___
> use-revolution mailing list
> use-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


ebay api

2006-01-19 Thread Thomas Seewald

Hello,

I am using pearl for accessing the api of ebay.

Some time ago i tested revolution once again for https and this time  
it works without certificate.


Now i try to build the easiest connection to the ebay api --   to get  
the ebaytime


But it does not work.

To control i tried it with shell and wget and with curl

But these two programms aren´t able to support lines longer then 255  
characters.
I simulated on my own server the form and compared what the pearl  
program and revolution send.


It looks to be the same, only the order of the headerlines are  
different and i am not able to sort them the way pearl does.


As I do not find anything on this forum about somebody using the api  
my quetion is:


does anybody know a possibility to do https post via shell or  
applescript from revolution.


This programm has to be able to set custom headers, too.

Internette Grüße von Thomas Seewald

Thomas Seewald PBS-Versand
Dölzschener Ring 36a
01187 Dresden

Tel. 0351 8 567 992
Fax & Voicebox bei http://www.web.de:  01212-5-138-53-265
Fax (falls Web.de nicht will) 0351 8567993
[EMAIL PROTECTED]
[EMAIL PROTECTED]

Bankverbindung
Ostsächsische Sparkasse Dresden
BLZ 85050300
KTO 4120566817


IBAN DE42 8505 0300 4120 5668 17
BIC (SWIFT) OSDD DE81

Wenn Ihre Ware 2 Werktage nach Versenden der Überweisungsbestätigung  
nicht bei Ihnen eingetroffen ist, dann informieren Sie uns bitte.



___
use-revolution mailing list
use-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: Refer to button in group

2006-01-19 Thread Klaus Major

Hi Liam,


Hi every one

They are radiobuttons and thanks for your
input I love to see the different ways people do things.


Fine, but the syntax that Chipp suggested does ONLY work for
"radiobuttons"!

My solution is a more general approach and will work with all
kind of buttons, especially "checkboxes" :-)


Thank's
Liam :-)


Best from germany

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


Refer to button in group

2006-01-19 Thread liamlambert

Hi every one

They are radiobuttons and thanks for your
input I love to see the different ways people do things.
Thank's
Liam :-)


> Just thought I'd throw this in.
> I like to use:
>
> if the hilitedbutton of grp "whichState" is 3 then
> you can also check the hilitedButtonName of a group

IF the referred buttons are radiobuttons! :-)

> liamlambert wrote:
>> I want to check the state of a button from outside the group
>> How do I refer to a button in the group
>
> best,
>
> Chipp

Liam Lambert
[EMAIL PROTECTED]
IRELAND


___
use-revolution mailing list
use-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: set the cursor to hand when on links

2006-01-19 Thread Eric Chatonet

Hi André,

Your reply made me understand that, when empty, the mouseChunk could  
pop up an error while the mouseText does not.

Then here a simplified script:

on mouseMove
  switch
  case "button" is in the target
ShowHandCursor #
break
  case "field" is in the target and "link" is in the textStyle of  
the mouseText

ShowHandCursor #
break
  default
ResetCursor #
  end switch
end mouseMove
--
on mouseLeave
  ResetCursor #
end mouseLeave
--
on ShowHandCursor
  set the cursor to hand
  lock cursor
end ShowHandCursor
--
on ResetCursor
  unlock cursor
end ResetCursor

Best Regards from Paris,
Eric Chatonet

Le 18 janv. 06 à 13:27, Eric Chatonet a écrit :


Bonjour André,

Place these handlers in the script of your stack.
They will manage everywhere the hand cursor for buttons and text  
links at the same time :-)


on mouseMove
  switch
  case "button" is in the target
ShowHandCursor #
break
  case "field" is not in the target
  case the mouseText = empty -- important!
exit mouseMove
break
  case "link" is in the textStyle of the mouseChunk
ShowHandCursor #
break
  default
ResetCursor #
  end switch
end mouseMove
--
on mouseLeave
  ResetCursor #
end mouseLeave
--
on ShowHandCursor
  set the cursor to hand
  lock cursor
end ShowHandCursor
--
on ResetCursor
  unlock cursor
end ResetCursor

FYI: Your script does not work because the mouseText can be empty  
then the style of the mouseText = the style of nothing and you get  
an error :-)

Right?

Best Regards from Paris,
Eric Chatonet

Le 18 janv. 06 à 12:53, André.Bisseret a écrit :

I would like the cursor become "hand" instead" of "arrow" when the  
mouse is on the links I have in locked flds.

(just like it happens in the "see also" in the Rev documentation).

For buttons I succeeded with the following handlers in the stack  
script :

on mouseEnter
  if word 1 of the target is "button" then
set the lockCursor to true
set the cursor to hand
  end if
end mouseEnter

on mouseLeave
  if word 1 of the target is "button" then
  set the lockCursor to false
end if
end mouseLeave

(is there a simpler way to do that ?)

But I don't find how to do the same for the links in my locked  
fields ;

My last trial was :

on mouseWithin
  if word 1 of the target is "field" then
if the style of the mouseText is "link" then
  set the lockCursor to true
  set the cursor to hand
end if
  end if
end mouseWithin

but it does'nt work


 
--

http://www.sosmartsoftware.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


"Rev brings a smile to my face more often than any other development environment."

2006-01-19 Thread Alex Tweedly


That subject line, or something like it, was a quote from Dan Shafer, 
and I couldn't help thinking about it this morning.


I wrote and use my own address book app (because I needed to handle some 
unusual synchronization needs). It works fine, but it did lack an 
"incremental search" feature - finally decided today it was time to 
implement it.


Took 5 minutes, and 4 lines of code to get a decent implementation.

And another 2 minutes and another 4 lines of code to get a "good" 
implementation.


(It isn't yet a "great" feature - and I don't know if I'll get around to 
doing that, because I suspect it will be a lot more work. And I'd be 
doing it for the satisfaction of making it a great feature, not for the 
sake of the benefits it would bring.)


[Apologies to Runtime Rev Support, who may have wondered why I sent this 
email to them yesterday.]


--
Alex Tweedly   http://www.tweedly.net



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.20/233 - Release Date: 18/01/2006

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