Re: The Art of Dissolving Splash Screens

2007-06-27 Thread Scott Kane

From: "Tiemo Hollmann TB" <[EMAIL PROTECTED]>

Just for my interest, what is the advantage of using a separate splash 
stack instead of using a splash card or splash image/graphic in mainstack? 
There

must be some, which I don't see.


If you are using stacks a a file format for data storage it's a handy way of 
creating, loading etc of the data while the splash is showing.  It has other 
uses in that you can put back and front scripts in there to inject into your 
other stacks (particularly file based ones etc) making the external stacks 
self healing.


Scott 


___
use-revolution mailing list
use-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: Linux and After

2007-06-27 Thread Scott Kane

From: "Sarah Reichelt" <[EMAIL PROTECTED]>

Bob seems to be back, so everyone needs to be careful. Unfortunately, 
trying to help him can be very harmful.




I replied with earnest not realizing it was him.   When you first pointed 
this out I was very angry at him for a while for sucking me in.  Then I went 
to his website (and I don't mind if he quotes me in big red letters across 
the length and breadth of the internet on this one) and downloaded some of 
his software into a VM (one can't be to careful).  I then realized, on 
running said software, why he is having so much of an issue with programming 
and felt sorry for him rather than angry anymore.  It isn't the programming 
language that's at fault, it's him, based on how his software runs.  He not 
only breaks every HIG rule on Windows - he even uses *Lime* colored labels 
for his UI.   Programming 101.  Lime labels are the hallmark of complete 
newbs - emphatically so when combined with black backgrounds.  The obvious 
exceptions being some multi-media applications and games.


>

Scott Kane
Moderator comp.software.shareware.*

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


AW: The Art of Dissolving Splash Screens

2007-06-27 Thread Tiemo Hollmann TB
Just for my interest, what is the advantage of using a separate splash stack
instead of using a splash card or splash image/graphic in mainstack? There
must be some, which I don't see.
Thanks
Tiemo


-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Scott Kane
Gesendet: Donnerstag, 28. Juni 2007 08:32
An: How to use Revolution
Betreff: Re: The Art of Dissolving Splash Screens

From: "Sivakatirswami" <[EMAIL PROTECTED]>

> on closeSplash
>   hide this stack with visual effect dissolve
>   wait 1 second # adding this wait did not help
>   open stack tLocation
> end closeSplash

Here's what I do...

On PreOpenStack
  send DissolveSplash to me in 2 seconds
end PreOpenStack

on DissolveSplash

repeat while the blendlevel of this stack < 100

set the blendLevel of this stack to the blendLevel of this stack + 1

end repeat

set the visible of stack "Your Main Stack" to true -- or any other method 
you are using.

Close this Stack

end DissolveSplash





Scott Kane

___
use-revolution mailing list
use-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: The Art of Dissolving Splash Screens

2007-06-27 Thread Scott Kane

From: "Sivakatirswami" <[EMAIL PROTECTED]>


on closeSplash
  hide this stack with visual effect dissolve
  wait 1 second # adding this wait did not help
  open stack tLocation
end closeSplash


Here's what I do...

On PreOpenStack
 send DissolveSplash to me in 2 seconds
end PreOpenStack

on DissolveSplash

repeat while the blendlevel of this stack < 100

set the blendLevel of this stack to the blendLevel of this stack + 1

end repeat

set the visible of stack "Your Main Stack" to true -- or any other method 
you are using.


Close this Stack

end DissolveSplash





Scott Kane

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


Differences in Usage Between Platforms: Was:Striped Background in OS X Revisited

2007-06-27 Thread Scott Kane

From: "J. Landman Gay" <[EMAIL PROTECTED]>

I'm interested in learning more about this, being mostly Mac-oriented 
myself. Could you (or anyone) sketch out what you see as the differences 
in behavior and general usage between the platforms?


That's a facinating but very deep question.  I could write pages!   
However I'll resist the temptation and summarize some of most significant 
things and we can discuss other things later on...


First and foremost we can look at how Steve J steers the ship.  I think his 
perspective on computing in general is the key.  The Apple vs PC adds make 
this very clear but the most succinct example is the IPod.  "A thousand 
songs in your pocket" was the opening marketing gambit.  Simple. Elegant and 
right to the point and more importantly - *fun*!!   Think now about the 
Apple vs PC adds and you'll notice the emphasis is largely on getting it 
done simply without complication.  "It just works".  The Apple OSX UI is 
simple.  It expands the classic Mac interfaces and, to my mind, streamlines 
them.  Most often when I talk about this PC programmers (and technically I 
am one of them) yell at me that the OSX (i.e. Aqua) UI is "just eye candy". 
This is all to often the only argument that is levelled and it is in fact 
the crux.  The "eye candy" is what makes the experience so darn nice.  It's 
simple and elegant.  Compare a Windows program to a Mac program.  Windows 
programmers, no disrespect meant, write incredibly complex and deep 
programs.  Everything goes in there.  This is great if you are a computer 
programmer or tech type (maybe - as there are plenty of programmers and tech 
types who prefer a Mac) but for average users all to often they never use 
all the functions.  Creating a deeply complex application on a Mac is quite 
a challenge (I'm reffering to a program exceeding 150,000 lines of code not 
including that generated automatically by RAD IDE's).  The Mac interface 
seems to limit one in the available options for doing it without breaking 
the HIG.  However - as one studies the Mac and really gets into the HIG one 
finds this isn't as much a problem as one might first believe - but that's 
not the point here.  The point here is that every aspect of the Mac UI is 
about the "user experience".  Aqua is pleasing to the eye.  Grey (Windows 
prior to Vista) is utilitarian.  It actually is fun to use a Mac.  So it 
tends to attract people who just want to "get on with it" and "have fun". 
Windows Vista literally rips bleeding chunks off the Mac paradigm in an 
attempt to access this market segement - and fails.  Vista does lots of cool 
fun things - but it falls short of being really "fun".  Mac icons are chunky 
(in a nice way) with smooth drawing and are very clear (the defaults being 
larger in size than a pre-Vista desktop).  This ties directly to usability 
as it is easy to identify as opposed to the Windows 32 x 32 standard icons 
(now larger on Vista).  Vista even adopted the slight angling of the Mac 
icons and light source.  Again this is to create a "fun" factor and probably 
to a larger extent increase identification and therefore usability.


When a Windows 3.11 or below user ran a program they would know to explore 
the program menu of a new program.  Just like Mac users know to explore the 
menu.  Windows 95 + users tend to have no such concept.  This is because 
Windows 3.11 and before has a menu structure like the Mac.  It was always 
there and adapted when you loaded a program.  I have taught IT with Windows 
machines over the years at TAFE colleges here as well as running beta tests 
for my various software products over the years.  Overwhelmingly Windows 
users now ignore the menu (and accellerators and other keyboard shortcuts) 
and search the toolbar.  Time and time again I've been told the program 
needs such and such a feature.  The feature is there - but it's not on the 
toolbar and therefore the user intuits it as not present.


Psychology of usage really is the key to this issue though, and probably the 
most generally interesting.  On a PC you are supposed to *work*.  The PC 
market is flooded with utilties, office suits and even programming 
languages.  I'm yet to hear a PC user, however, wax lyrically over an FTP 
tool like Mac users do over Transport.  You never see the wars on the PC 
platform like you see from Mac users over Mac Soup.  On Windows you can 
break just about any HIG rule with impunity.  Most users simply don't get it 
the way Mac people do.  This of course is risky as your original widget 
control might not be intuitive and may cost you sales from confusion - but 
generally not because you broke the HIG as such.   I learnt this on the Mac 
very quickly however because one beta tester said (and all the other Mac 
users responded in kind) "we don't want no stinking Windows program".  My 
software relied heavily on the Treeview control on Windows and the toolbar 
paradigm.  My Mac users rejected the treeview outright (al

Re: Any Good Using QTVR in Rev Tutorials?

2007-06-27 Thread Jim Sims


On Jun 28, 2007, at 7:50 AM, Judy Perry wrote:

Was in a complete panic this afternoon because I couldn't get one  
of Scott
Rossi's cool-looking gauge things to work.  Felt like a complete  
idiot.



I used to always feel like an idiot whenever I looked at Scott's work.
The trick for me now is to feel inspired instead of hopeless;-)
Scott does fantastic work.

sims
Custom Software Development
www.EZPZapps.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: Any Good Using QTVR in Rev Tutorials?

2007-06-27 Thread Judy Perry
Thanks, Jim.  Will do.

Was in a complete panic this afternoon because I couldn't get one of Scott
Rossi's cool-looking gauge things to work.  Felt like a complete idiot.

Then noted that, after several frantic emails to Scott, I had mispelled
*gauge*

@;-)

Judy

On Thu, 28 Jun 2007, Jim Sims wrote:

>
> On Jun 28, 2007, at 7:43 AM, Judy Perry wrote:
>
> > I have a QTVR movie made from stitched panoramic images.  Works
> > fine in QT
> > in that you can zoom in and out, and move left and right by using the
> > mouse.
> >
> > How can I get it to do likewise in Rev on a Mac?  Does it involve
> > setting
> > the pan and tilt properties?
>
>
> See Also: nodes property, pan property, tilt property, zoom property
>
>
> sims
> Custom Software Development
> www.EZPZapps.com
>
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>

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


Re: Any Good Using QTVR in Rev Tutorials?

2007-06-27 Thread Jim Sims


On Jun 28, 2007, at 7:43 AM, Judy Perry wrote:

I have a QTVR movie made from stitched panoramic images.  Works  
fine in QT

in that you can zoom in and out, and move left and right by using the
mouse.

How can I get it to do likewise in Rev on a Mac?  Does it involve  
setting

the pan and tilt properties?



See Also: nodes property, pan property, tilt property, zoom property


sims
Custom Software Development
www.EZPZapps.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


Any Good Using QTVR in Rev Tutorials?

2007-06-27 Thread Judy Perry
Or even suggestions?

I have a QTVR movie made from stitched panoramic images.  Works fine in QT
in that you can zoom in and out, and move left and right by using the
mouse.

How can I get it to do likewise in Rev on a Mac?  Does it involve setting
the pan and tilt properties?

TIA,

Judy


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


The Art of Dissolving Splash Screens

2007-06-27 Thread Sivakatirswami

I know I could just use Ken Ray's Stack runner, but I'm interested in the
art of splash screens that load a "mainstack"

I can't get my splash screen to appear and then gracefully
dissolve before showing the main stack (which needs to save data)

In fact, the splash screen stack doesn't even make an appearance
-- which is cool in a way, but if you wanted to the do the "branding"
thing and have it appear a bit before hand... it's not happening.)

What am I doing wrong here? Looks simple enough

local tLocation

on openstack
  put the effective filename of me into tLocation
  set the itemdel to "/"
  delete item -1 of tLocation
  put "/data/Morph-Text.rev" after tLocation
  send "CloseSplash" to me in 2 seconds

end openstack

on closeSplash
  hide this stack with visual effect dissolve
  wait 1 second # adding this wait did not help
  open stack tLocation
end closeSplash


Sivakatirswami
www.himalayanacademy.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: Linux and After

2007-06-27 Thread Sarah Reichelt

This appears to be another post to the list from "Last Post" Bob. To
paraphrase the late great Douglas Adams: "Ah. This must be some new
meaning of the word "last" I was previously unaware of."

Bob seems to be back, so everyone needs to be careful. Unfortunately,
trying to help him can be very harmful.

Regards,
Sarah


On 6/28/07, Bob Warren <[EMAIL PROTECTED]> wrote:

A few of my hopes:

1. Rev have committed themselves to substantiating their support for
Linux which began about 2 years ago. Quite right. No self-respecting RAD
programming system can do without it nowadays. I hope that release 2.9
that is planned to actualize Linux is the best release ever.

2. Thereafter, I hope that Rev's production becomes regularized and is
therefore more comfortable for those doing the production.

3. I hope that fewer bugs are produced and that beta testing is quicker
and simpler for everyone.

4. I hope that bugfixes can be returned to users as soon as they are ready.

5. I hope that documentation is even more complete, so that users
(especially new ones) can maintain their dignity by not having to ask
for personal help regarding simple fundamentals.

6. I hope that Rev's product is as successful in the future as we all
know it has the potential to be.

7. I hope that as a result of achieving the above, discussion about
these aspects will no longer be necessary.

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: character to justify text#2

2007-06-27 Thread J. Landman Gay

Fred moyer wrote:

I'm not at all a pro at scripting, and I wrote it for my own use, so the 
scripting is pretty tortured, plus I can't guarantee that there aren't 
any more bugs(!)


Very nice, thanks for sending it out. I originally fed it some 
weirdly-wrapped text with lots of too-long words in it, which caused the 
scrolling field do some pretty weird things, but if you give it text in 
normal paragraph blocks, it works great.


Into my scrapbook it goes with the other one. :)

--
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: Striped Background in OS X Revisited

2007-06-27 Thread J. Landman Gay

Scott Kane wrote:
The way most Mac users interface with 
their desktop is very different to how Windows users do it.


I'm interested in learning more about this, being mostly Mac-oriented 
myself. Could you (or anyone) sketch out what you see as the differences 
in behavior and general usage between the platforms?


--
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: Linux and After

2007-06-27 Thread Scott Kane

From: "Bob Warren" <[EMAIL PROTECTED]>

5. I hope that documentation is even more complete, so that users 
(especially new ones) can maintain their dignity by not having to ask for 
personal help regarding simple fundamentals.


It is my hope that new users (and all users) can drop the whole concept of 
it being undignified to ask for personal help regarding fundementals or 
otherwise.  Nobody knows it all.  Nobody.  But accumulated knowledge and 
study are what the entire IT industry (programmers and otherwise) thrive on 
and is the best path usually to innovation.


Just my AU five cents worth.

Scott Kane 


___
use-revolution mailing list
use-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: Striped Background in OS X Revisited

2007-06-27 Thread Scott Kane
- Original Message - 

Some of the most loyal MS enthusiasts have set them back the farthest. I 
remember reading an early Windows C programming book by a leading MS API 
author (Pretzold maybe?) who described the then-new Windows GUI as if it 
were some sort of necessary evil that was going to require a lot more work 
from developers than DOS, rather than as a revolution to be embraced.


Yes.  That was pretty much the consensus at that time.  A lot of it came 
from the incredible overhead needed in managing windows instead of overlays 
(which was trivial in DOS).  It wasn't until tools like VB, Delphi and later 
C++ Builder that this became easier (easier than in DOS actually) to manage 
windows etc.


Fortunately for both the Windows-only crowd and us multi-platform folks, 
MDI is fading away.  The Win guidelines released shortly after Win 95 
officially deprecated MDI, although in their classic Do As I Say Not As I 
Do form they've used it for years since.  But the reasoning given for the 
deprecation was sound:  MDI is a sort of mixed metaphor, and in testing 
users find it measurably more confusing than SDI or multi-pane 
alternatives.


It's fading for certain - but the core desktop is still based on the 
principle which causes many issues.  To design single interfaces with one 
window that has mutiple functions (imbedded windows) takes a lot of coding 
for most languages - as opposed to Rev where it is automatic due to the 
stack and card paradigm.


It may take a while to see the eventual purging of legacy MDIs from common 
use, but it bodes well for us multi-platform types:


Indeed.  One of the biggest challenges in designing a complex cross platform 
UI is how differently each platform address' it.  On a Mac the menu bar is a 
known and expected quantity and part of the Mac "experience".  All users 
know it can (and probably does) contain additional tools and modules. 
However on Windows (and to some degree *nix) the menu is frequently ignored 
as toolbars tend to rule and users fail to intuit the menu bar.


Apple's already standardized on Intel processors and multi-button mouse 
functionality.  When the Windows crowd drops MDI completely and Apple 
moves the menu bar to the top of the window, most significant differences 
between GUIs will do away.  There will still be room for distinction, but 
it will be more like comparing different cars than comparing cars and 
trucks.


I'm not sure how this move from menu at top of desktop to menu at top of 
window is going to go over.  One of the things about the menu on window is 
the room for breaking standards and reducing intuition.  As a programmer I 
can see real benefits - but I'm not so sure users currently will see those 
same benefits.  The way most Mac users interface with their desktop is very 
different to how Windows users do it.  I'm not saying your wrong - rather 
it's fraught with some risk in usability.


As GUIs continue the inevitable adoption of universal standards, our work 
becomes ever easier.


That is certainly true.

That is, until something comes along that has such revolutionary new and 
compelling benefits over current GUIs as the GUI did over the command 
line.  Then we'll have another two decades of challenges until the world 
standardizes once again.


Indeed.  But I do wonder what that is.

Thanks.  With just a little visibility I'd like to believe that the two 
most pervasive hurdles to cross-platform HIG compliance (window 
backgrounds and system fonts) can be simple set-once-and-forget-about-it 
properties in v2.9.


Fonts are a very important one.  Rev renders fonts terribly in Windows IMHO 
but is superb under OSX.


To RunRev to do anything less would make life harder than it needs to be 
for their company.


I agree!

Scott 


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


Linux and After

2007-06-27 Thread Bob Warren

A few of my hopes:

1. Rev have committed themselves to substantiating their support for 
Linux which began about 2 years ago. Quite right. No self-respecting RAD 
programming system can do without it nowadays. I hope that release 2.9 
that is planned to actualize Linux is the best release ever.


2. Thereafter, I hope that Rev's production becomes regularized and is 
therefore more comfortable for those doing the production.


3. I hope that fewer bugs are produced and that beta testing is quicker 
and simpler for everyone.


4. I hope that bugfixes can be returned to users as soon as they are ready.

5. I hope that documentation is even more complete, so that users 
(especially new ones) can maintain their dignity by not having to ask 
for personal help regarding simple fundamentals.


6. I hope that Rev's product is as successful in the future as we all 
know it has the potential to be.


7. I hope that as a result of achieving the above, discussion about 
these aspects will no longer be necessary.


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: character to justify text#2

2007-06-27 Thread Ken Ray
On Wed, 27 Jun 2007 22:18:35 -0400, Fred moyer wrote:

> It's a low-tech solution to text justification that manipulates the 
> textsize of spaces. It doesn't justify on the fly like Brian's script 
> (very nice, Brian!) Rather, it justifies a finished field.

Sweet, Fred! I just tested it on a couple of fields, and it works great!

Thanks for the contribution,


Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: character to justify text#2

2007-06-27 Thread Ken Ray
On Wed, 27 Jun 2007 22:18:35 -0400, Fred moyer wrote:

> Hi:
> 
> I saw that I finally had something to contribute to the list and so 
> sent a script in -- just 20 minutes ago, and then immediately found a 
> bug in it,  plus noticed that some characters might not to paste 
> correctly (for example: the character for "is less than or equal 
> to".) I've written to the use-revolution-owner to kill the email; but 
> if it goes through, please disregard that script! Try this one 
> instead.

Whoops! Sorry, Fred... forget what I said in my response to your first 
post...


Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


re: character to justify text

2007-06-27 Thread Ken Ray
On Wed, 27 Jun 2007 21:08:53 -0400, Fred moyer wrote:

>   if fh ≤ FieldTextHeight then

Be carefuly with less-than-or-equal-to, greater-than-or-equal-to, or 
not-equals single character symbols. Although they might work on a Mac, 
they most likely won't work on Windows. Better to use the generic "<=", 
">=" and "<>".

Just FYI,

Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: character to justify text#2

2007-06-27 Thread Fred moyer

Hi:

I saw that I finally had something to contribute to the list and so  
sent a script in -- just 20 minutes ago, and then immediately found a  
bug in it,  plus noticed that some characters might not to paste  
correctly (for example: the character for "is less than or equal  
to".) I've written to the use-revolution-owner to kill the email; but  
if it goes through, please disregard that script! Try this one instead.


It's a low-tech solution to text justification that manipulates the  
textsize of spaces. It doesn't justify on the fly like Brian's script  
(very nice, Brian!) Rather, it justifies a finished field.


Here are some features:
   - doesn't require any special stack preparation (adding images, etc.)
   - preserves textstyles
   - allows the last straggling line in a paragraph to remain unjustified.
   - and it allows for hyphenation, which means that you don't end up  
having huge spaces between words. (Note: you might not even see this  
feature unless you are justifying thin text fields.)


I'm not at all a pro at scripting, and I wrote it for my own use, so  
the scripting is pretty tortured, plus I can't guarantee that there  
aren't any more bugs(!) Also, I do encounter issues with text that I  
paste into fields from the Web or even other Mac applications (where  
for example I find what looks like a space is actually numtochar(202).)


But I hope it might be useful to others.

Fred Moyer

-

Note:  it does add "-  " (dash and two spaces) inside hyphenated  
words. So, in order to get back to the original text, I suggest:


on GetRidOfHyphens fid
  put the htmlText of fld id fid into hText
  replace "-  " with "" in hText
  set the htmlText of fld id fid to hText
end GetRidOfHyphens

on justify fid
  set the cursor to watch
  lock screen
  set the fixedLineHeight of fld id fid to true
  set the backColor of char 1 to -1 of fld id fid to empty
  put the htmlText of fld id fid into hText
  replace "-  " with "" in hText
  set the htmlText of fld id fid to hText
  set the fixedLineHeight of fld id fid to true
  set the backColor of char 1 to -1 of fld id fid to empty
  put fld id fid into FieldPlainText
  ---set the textsize of char 1 to -1 of fld id fid to empty
  put the number of chars in FieldPlainText into numberOfCharsInFld
  put the effective textheight of fld id fid into FieldTextHeight
  put the effective textsize of fld id fid into EffectiveTextSize
  put empty into listofSpacesinThisLine
  put 1 into CurrChar
  put 1 into CharNoForFirstCharOfLine
  put empty into CharNoForLastSpaceInLine
  put trunc(EffectiveTextSize * .6) into SmallSpaceSize
  if SmallSpaceSize < 8 then put 8 into SmallSpaceSize
  ---put "yes" into isThereAMax
  --- = NO WHEN HYPHENATION IS NOT POSSIBLE AND YOU HAVE TO JUST GO  
FOR IT

  put 0 into charsToSkip
  --- NEXT LOOP MAKES ALL SPACES IN THE FIELD A BIT SMALLER THAN NORMAL
  repeat
put offset(" ",FieldPlainText,charsToSkip) into o
if o = 0 then exit repeat
set the textsize of char charsToSkip + o of fld id fid to  
SmallSpaceSize

put charstoSkip + o into charstoSkip
  end repeat
  repeat
put "normal" into status
--- try to find the current "line" meaning: which words take up  
one line

---put "yes" into isThereAMax
put char CurrChar of FieldPlainText into c
if c is in (" " & return) then
  put the formattedHeight of char CharNoForFirstCharOfLine to  
currChar of fld id fid into fh

  if fh <= FieldTextHeight then
if c = return then
  add 1 to currChar
  put empty into listofSpacesinThisLine
  put currChar into CharNoForFirstCharOfLine
else
  put currChar & "," after listofSpacesinThisLine
  put currChar into CharNoForLastSpaceInLine
  --- WE NEED TO STORE THIS VALUE BECAUSE WHEN WE GO OVER  
INTO TWO LINES, WE'LL NEED
  --- TO REMEMBER THE LAST SPACE CHAR  WHERE IT WAS JUST ONE  
LINE

  add 1 to currChar
end if
  else
--- ALL OF THE FOLLOWING HAPPENS IF THESE WORDS TAKE UP TWO  
LINES:

put last item of listofSpacesinThisLine into saveForHyphenation
delete last item of listofSpacesinThisLine
if listofSpacesinThisLine is empty then
  --- THERE ARE NO SPACES IN THIS LINE!
  --- WILL HAPPEN IF that line consists of only a return
  --- OR MAYBE A REALLY REALLY LONG WORD!
  --- SO START WITH THE NEXT LINE
  put empty into listofSpacesinThisLine
  put currChar + 1 into CharNoForFirstCharOfLine
  put CharNoForFirstCharOfLine into currChar
else
  --- STEP 1: MAKE SPACES BIGGER AND BIGGER UNTIL WE'RE INTO  
2 LINES

  put SmallSpaceSize into ts
  repeat
add 1 to ts
if ts > EffectiveTextSize * 2 and status = "normal" then
  --- WEIRD THINGS HAPPEN IF THE TEXTSIZE OF A SPACE  
GETS TOO BIG

  --- SO AT THIS POINT WE NEED TO HYPHENATE

  

Re: what gives with this function?

2007-06-27 Thread J. Landman Gay

Jim Lambert wrote:

Hi All,

Here's a function that goes either in the card script or the stack script.

function whatGives what
  return what
end whatGives

Make a field "myFld"
Make a button having this script:

on mouseUp
  put whatGives(random(999)) into fld "myFld"
end mouseUp

Click the button and random numbers appear in the field as expected.
But call the function from the message box:

put whatGives(random(999)) into fld "myFld"

and lo! nothing gets put in the field however the value returned from 
whatGives appears in the message box.

Why isn't the returned value placed in the field?
What gives?


I think it's just a limitation on single-line messages. Even if you 
split it up into two statements separated with a semicolon, it doesn't work:


 get whatGives(random(999)); put it into fld "myFld" -- fails

If you move it to the multi-line message box, the one-line statement 
above still doesn't work, but if you split it into two lines, it does:


 get whatGives(random(999))
 put it into fld "myFld"

The message box uses a "do" statement to execute its commands. As a 
guess, maybe there's a limitation on the number of nested functions the 
"do" command can handle simultaneously.


--
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: character to justify text

2007-06-27 Thread Fred moyer
I was just working on this justification problem 2 weeks ago and came  
up with the following low-tech solution that manipulates the textsize  
of spaces. This script:

   - doesn't require any special stack preparation (adding images, etc.)
   - preserves textstyles (except textsize.)
   - allows the last straggling line in a paragraph to remain unjustified.
   - and it allows for hyphenation, which means that you don't end up  
having huge spaces between words.


This solution doesn't justify on the fly like Brian's script (very  
nice, Brian!) There are also a few other bells and whistles I need to  
add. But if this script is helpful, please use it. Also there may be  
bugs in it -- I wrote it just for my own use. To use it just use  
"justify " and the short id of the field.


Note:  it does add "-  " (dash and two spaces) inside hyphenated  
words. So, in order to get back to the original text, I suggest this  
script:


on GetRidOfHyphens fid
  put the htmlText of fld id fid into hText
  replace "-  " with "" in hText
  set the htmlText of fld id fid to hText
end GetRidOfHyphens


on justify fid
  set the fixedLineHeight of fld id fid to true
  set the cursor to watch
  lock screen
  set the backColor of char 1 to -1 of fld id fid to empty
  put " " into strangeCharThatLooksLikeASpace
  put the htmlText of fld id fid into hText
  replace strangeCharThatLooksLikeASpace with " " in hText
  replace "-  " with "" in hText
  set the htmlText of fld id fid to hText
  set the fixedLineHeight of fld id fid to true
  set the backColor of char 1 to -1 of fld id fid to empty
  put fld id fid into FieldPlainText
  ---set the textsize of char 1 to -1 of fld id fid to empty
  put the number of chars in FieldPlainText into numberOfCharsInFld
  put the textheight of fld id fid into FieldTextHeight
  put the effective textsize of fld id fid into EffectiveTextSize
  put empty into listofSpacesinThisLine
  put 1 into CurrChar
  put 1 into CharNoForFirstCharOfLine
  put empty into CharNoForLastSpaceInLine
  put trunc(EffectiveTextSize * .6) into SmallSpaceSize
  if SmallSpaceSize < 8 then put 8 into SmallSpaceSize
  ---put "yes" into isThereAMax
  --- = NO WHEN HYPHENATION IS NOT POSSIBLE AND YOU HAVE TO JUST GO  
FOR IT

  put 0 into charsToSkip
  --- NEXT LOOP MAKES ALL SPACES IN THE FIELD A BIT SMALLER THAN NORMAL
  repeat
put offset(" ",FieldPlainText,charsToSkip) into o
if o = 0 then exit repeat
set the textsize of char charsToSkip + o of fld id fid to  
SmallSpaceSize

put charstoSkip + o into charstoSkip
  end repeat
  repeat
put "normal" into status
--- try to find the current "line" meaning: which words take up  
one line

---put "yes" into isThereAMax
put char CurrChar of FieldPlainText into c
if c is in (" " & return) then
  put the formattedHeight of char CharNoForFirstCharOfLine to  
currChar of fld id fid into fh

  if fh ≤ FieldTextHeight then
if c = return then
  add 1 to currChar
  put empty into listofSpacesinThisLine
  put currChar into CharNoForFirstCharOfLine
else
  put currChar & "," after listofSpacesinThisLine
  put currChar into CharNoForLastSpaceInLine
  --- WE NEED TO STORE THIS VALUE BECAUSE WHEN WE GO OVER  
INTO TWO LINES, WE'LL NEED
  --- TO REMEMBER THE LAST SPACE CHAR  WHERE IT WAS JUST ONE  
LINE

  add 1 to currChar
end if
  else
--- ALL OF THE FOLLOWING HAPPENS IF THESE WORDS TAKE UP TWO  
LINES:

put last item of listofSpacesinThisLine into saveForHyphenation
delete last item of listofSpacesinThisLine
if listofSpacesinThisLine is empty then
  --- THERE ARE NO SPACES IN THIS LINE!
  --- WILL HAPPEN IF that line consists of only a return
  --- OR MAYBE A REALLY REALLY LONG WORD!
  --- SO START WITH THE NEXT LINE
  put empty into listofSpacesinThisLine
  put currChar + 1 into CharNoForFirstCharOfLine
  put CharNoForFirstCharOfLine into currChar
else
  --- STEP 1: MAKE SPACES BIGGER AND BIGGER UNTIL WE'RE INTO  
2 LINES

  put SmallSpaceSize into ts
  repeat
add 1 to ts
if ts > EffectiveTextSize * 2 and status = "normal" then
  --- WEIRD THINGS HAPPEN IF THE TEXTSIZE OF A SPACE  
GETS TOO BIG

  --- SO AT THIS POINT WE NEED TO HYPHENATE

  --- FIND WORDTOBEHYPHENATED
  put char CharNoForLastSpaceInLine + 1 to currChar - 1  
of fieldPlainText into WordToBeHyphenated

  repeat for each item i in listofSpacesinThisLine
set the textsize of char i of fld id fid to  
SmallSpaceSize

  end repeat
  put 0 into hyphenTries
  put the htmltext of char CharNoForFirstCharOfLine to  
currChar - 1 of fld id fid into HTMLLinePlusExtraWord

  repeat
set the backcolor of char CharNoForLastSpa

Re: Texas Flood

2007-06-27 Thread Stephen Barncard

Jerry and Chipp, glad you guys are ok.
--


stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -



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


Re: CGI question: http "PUT" and "DELETE"

2007-06-27 Thread David Bovill

On 27/06/07, Andre Garzia <[EMAIL PROTECTED]> wrote:


it's fairly easy. If you're serving using apache just check the
$REQUEST_METHOD environment variable, it will contain the method used to
access your cgi.

Like:

switch $REQUEST_METHOD
case "POST"
-- do post stuff
break
case "PUT"
-- do put stuff
break
case "DELETE"
...

and so on...

hope I helped.



Yes indeed.

Does libUrl do http Put and Delete - put and delete examples are all ftp
that I can see?
___
use-revolution mailing list
use-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: PDF Manual

2007-06-27 Thread Ian Wood


On 27 Jun 2007, at 18:40, Richmond Mathewson wrote:


Remember, also, that you can use Safari to read PDFs.


You can, but I'm not sure what the benefit would be.

Either you don't have the Adobe Reader plug-in installed, in which  
case you are using *exactly* the same rendering engine as Preview but  
without the navigation controls, search, zoom functions etc. Or you  
have the Adobe Reader plug-in and are getting almost identical  
results to opening the file directly in Reader.


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


Re: Texas Flood

2007-06-27 Thread Mark Smith
I had a classic come-uppance about ten years ago. I was in Los  
Angeles during December, and there were some fairly heavy rains.  
There were power-cuts, the roads were flooded, cars were sliding  
around like snowboards -- chaos.
I and the other brits I was with were laughing at these silly  
angelenos who couldn't cope with a spot of rain - (which is all it  
was, by our standards).


I came home to London for xmas, and we had perhaps an inch of snow.  
The trains didn't run. Cars were sliding down hills straight into the  
backs of buses. People were stranded at work with no way home -  
people were stuck at home with no way to get to work -- chaos. I had  
to laugh some more


Glad you're all ok,

Mark





On 27 Jun 2007, at 21:31, Jerry Daniels wrote:

We drive like idiots in the rain. Every so many years it freezes  
and then we drive suicidally.


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

2007-06-27 Thread -= JB =-

Thanks, that is some good info to know.

-=>JB<=-

===
On Jun 27, 2007, at 10:40 AM, Richmond Mathewson wrote:


With all due respect to Apple's Preview I do find that
Adobe Reader tends to do a better job.

Remember, also, that you can use Safari to read PDFs.

sincerely, Richmond Mathewson



A Thorn in the flesh is better than a failed Systems Development  
Life Cycle.




  ___
Yahoo! Answers - Got a question? Someone out there knows the  
answer. Try it

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

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




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


Re: CGI question: http "PUT" and "DELETE"

2007-06-27 Thread Andre Garzia

David,
it's fairly easy. If you're serving using apache just check the
$REQUEST_METHOD environment variable, it will contain the method used to
access your cgi.

Like:

switch $REQUEST_METHOD
case "POST"
-- do post stuff
break
case "PUT"
-- do put stuff
break
case "DELETE"
...

and so on...

hope I helped.

Andre

On 6/27/07, David Bovill <[EMAIL PROTECTED]> wrote:


I want to create a Rev based CGI - and I know how it works with an http
"POST" or "GET" - but is there a way to do http "DELETE" and "PUT" (not
http) - and if so how do you write the cgi to handler these http requests?
___
use-revolution mailing list
use-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


what gives with this function?

2007-06-27 Thread Jim Lambert

Hi All,

Here's a function that goes either in the card script or the stack 
script.


function whatGives what
  return what
end whatGives

Make a field "myFld"
Make a button having this script:

on mouseUp
  put whatGives(random(999)) into fld "myFld"
end mouseUp

Click the button and random numbers appear in the field as expected.
But call the function from the message box:

put whatGives(random(999)) into fld "myFld"

and lo! nothing gets put in the field however the value returned from 
whatGives appears in the message box.

Why isn't the returned value placed in the field?
What gives?

Thanks In Advance,
Jim Lambert

P.S. OSX 10.3.9   Rev Studio Build 471 vers 2.8.1
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


[ANN] Scripter's Scrapbook 5.2.11 Update

2007-06-27 Thread FlexibleLearning

www.FlexibleLearning.com/ssbk 
or www.ssBk.co.uk


UPDATE  AVAILABLE
Thanks to continued feedback and the support of Scrapbook  users, an 
incremental update has been uploaded and is now  available. For full release 
notes 
including all improvements and bugfixes  see 
http://www.flexiblelearning.com/ssbk/ReadMe.html.



THE  SCRIPTER'S SCRAPBOOK v5.2.11
Update released 27-JUN-2007

This is mainly a maintenance release, but a few important issues have been  
addressed. The most important is full keyboard support for all Windows  users 
in Europe who rely on the AltGr modifier key for their language and  special 
characters. This has taken a long time to resolve. We hope you will try  the 
system again and enjoy the results.
 
We are also happy to announce version 1.2 of the Scripter's Scrapbook API  
with improvements to the command set, supported by an updated Handbook (both 
the 
 interactive version and the online documentation).


For full details  of all improvements and bugfixes, see the release notes at 
the above web page or  click the "What's New..." button when you check for an 
update.


YOUR  NEXT STEP
- Registered and Trial users should update through the Help menu or  in the 
Preferences.

- New users and those interested in reviewing the  changes since an earlier 
trial may obtain a free 30-day starter-kit at  www.FlexibleLearning.com/ssbk. 
You will be asked if you wish to obtain the most  recent version, and if there 
is one it can be automatically downloaded for  you.

- Full size screen shots for both Mac OSX and Windows XP are at  
www.FlexibleLearning.com/ssbk/preview including useful mouse shortcuts  
illustrations.


FEEDBACK
As always, if you have a moment to suggest  improvements or request 
additional features we would very much appreciate your  feedback at 
www.flexiblelearning.com/ssbkFeedback.htm


Hugh  Senior
FLCo
Home of the Scripter's Scrapbook 
 



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


Texas Flood

2007-06-27 Thread Jerry Daniels

Stephen,

Here in the Austin area (Central Texas) we've had rain almost every  
day for, well, it seems like a week now. The ground here is  
uncharacteristically water logged, so any new rain will pool and  
cause "flash" flooding rather quickly now.


Our streams (which as Chipp has pointed out) are usually dry this  
time of year and everything has a dusty or brown color to it. Not the  
case this Summer so far. I feel like I'm living in Houston...not a  
good thing for an Austin person to say, in terms of weather, anyway.


We are having no flooding here or in town where my son and daughter  
live. Like Chipp, we live on the Southwestern edge of the metro area.  
And there is no flooding here, either.


Thanks for your concern. We have had continuous power, internet and  
even some sunshine (today).


If you want to get a taste of Central Texas with lots of rain, just  
listen to Stevie Ray Vaughn's "Texas Flood"...he says it better than  
anyone. Well worth the purchase, btw. Central Texan's really just  
can't believe it will ever really rain. We drive like idiots in the  
rain. Every so many years it freezes and then we drive suicidally.


Best,

Jerry & Family

On Jun 27, 2007, at 8:23 AM, Stephen Barncard wrote:

There's a major flooding situation going on in Texas right now,  
around the Austin areait's really bad.


 I hope Chipp and Jerry are ok...


sqb
--


stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -



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

2007-06-27 Thread Chipp Walters

We're good here. Just NW of us received 19 inches of rain in 8 hours or so.
Wow. Texas weather is funny. Mostly by now all the grass is brown from lack
of rain, but this year we've finally gotten caught up. Good for the
livestock and pastures. Sounds like Jerry's alright too as he's SE of us and
has already emailed me today. Thanks for your concern, Stephen.

On 6/27/07, Stephen Barncard <[EMAIL PROTECTED]> wrote:


There's a major flooding situation going on in Texas right now,
around the Austin areait's really bad.

  I hope Chipp and Jerry are ok...


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

2007-06-27 Thread Jim Ault


On 6/27/07 11:31 AM, "Stephen Barncard" <[EMAIL PROTECTED]>
wrote:

>> With all due respect to Apple's Preview I do find that
>> Adobe Reader tends to do a better job.
> 
> Adobe takes forever to load. I'll stick with Preview...it's quick and
> light and has a wonderful print preview function.

Path Finder:preferences:applications => ckbox for open PDF in path finder
works a little quicker than Preview for me, and Print:Print preview opens in
Apple Preview

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


OT: Unit Tests

2007-06-27 Thread David Bovill

Ignore this if your not into this sort of thing - it's overkill for most
things - I'm just adding it as polish.

I have just started working on adding Unit Tests to the open source handler
library. I am just going to hack it right now by taking the basic framework
I had in my old offline library and essentially doing the same online using
Rev cgi's.

I've done a little research to catch up on the latest developments - but
nothing much has turned up so i am keeping it simple at the moment based
around - http://en.wikipedia.org/wiki/XUnit.

The idea I am working on at the moment is that the handlers are kept as text
files on the server and that these text files also include a full suite of
tests to run against the hander.

Changes or improvements to a handler can then be tested locally by fetching
the tests and data from the server, and if the new version passes the tests
uploaded where it will again be tested and run against the server before
committing it to subversion. The embedded test suite also includes internal
references to values used in the tests and the values of the results that
pass the tests. To make development of test easier there will be a Rev
client that allows creating and running simple scripts against the handler,
and throwing a bunch a default data at it. Finally if the handler has any
dependencies (ie it calls other handlers in the hierarchy) these are fetched
and added to the script - so that the whole test is self contained.

I'd like to add benchmarking and other features to this stack if there are
any samples knocking around that I can freely incorporate . Also if anyone
has any real experience of unit tests in other languages it would be good to
get some tips - in fact ideally the tests would be described in a
semi-language neutral way - so that the same test could be run against
various languages using the same data and speed, legibility and other
factors could be compared - but AFAIK these things remain language specific?
___
use-revolution mailing list
use-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: PDF Manual

2007-06-27 Thread Stephen Barncard

With all due respect to Apple's Preview I do find that
Adobe Reader tends to do a better job.


Adobe takes forever to load. I'll stick with Preview...it's quick and 
light and has a wonderful print preview function.




Remember, also, that you can use Safari to read PDFs.

sincerely, Richmond Mathewson


--


stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -



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


PDF Manual

2007-06-27 Thread Richmond Mathewson
With all due respect to Apple's Preview I do find that
Adobe Reader tends to do a better job.

Remember, also, that you can use Safari to read PDFs.

sincerely, Richmond Mathewson



A Thorn in the flesh is better than a failed Systems Development Life Cycle.



  ___
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.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: List Fields and clickLine

2007-06-27 Thread Ken Ray
On Wed, 27 Jun 2007 11:05:39 -0500, Randy Hengst wrote:

> Click to highlight the choices to make sure things work as expected, 
> then leave choice 1 or 2 highlighted and click in the blank area 
> below choice 3. Using very small increments, click in the blank space 
> below choice 3 and move up until it highlights. If choice 3 is put, 
> try again using smaller increments. There is an area just below the 
> line where choice 3 will highlight, but the clickline reports empty.

Rev used to have a bug where if you clicked in an area below the 
choices, the last choice would automatically highlight, but the 
clickLine will still be empty. This has been fixed, but it seems 
there's still this bug left over. Because of the earlier bug, I've 
always put in an explicit "set the hilitedLines of me to empty"  in my 
mouseDown trap when the clickLIne is empty. This is of course a 
workaround, and I still think you should log the bug in Bugzilla, but 
it works for me:

on mouseDown
  if the clickLine is empty then
set the hilitedLines of me to empty  --<< add this
beep
  else
put the value of the clickLine
  end if
end mouseDown

Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


CGI question: http "PUT" and "DELETE"

2007-06-27 Thread David Bovill

I want to create a Rev based CGI - and I know how it works with an http
"POST" or "GET" - but is there a way to do http "DELETE" and "PUT" (not
http) - and if so how do you write the cgi to handler these http requests?
___
use-revolution mailing list
use-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: PDF Manual

2007-06-27 Thread -= JB =-


On Jun 27, 2007, at 7:36 AM, Stephen Barncard wrote:


The MacOS installer could have done all of this for you -- move the  
files, set all your settings, and create a clean system.


MacOS X cannot be treated like Mac OS9 when it comes to moving  
files around. Permissions have to be just right. (it's UNIX, ok?)


The disk utility in Utilites can fix the permissions.

This is really beyond the scope of this list and all this info is  
online elsewhere.





stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -


I used the disk utility to fix the permissions and it didn't work.
Then I used my original OS X 10.4 to upgrade it didn't work.

Here is a simple fix that is not beyond the scope of any list.

In the finder go to the file you want to open.  Select it and
get the info.

Choose Open With:
I wanted to open a PDF file so it should have said Preview
for the application I want to use to open that type of file.

That is what it did say but when I looked at the list of apps
to choose from ColorSync was near the top.  I chose to
open with Preview even though it already was chosen.

Problem Solved.  Easy Fix!

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


Re: revDeleteFolder and revCopyFolder with Vista

2007-06-27 Thread Riccardo Linzitto

> Hmm - revCopyFolder works for me on Vista HP; I made a simple stack
> with one button:
> 
> on mouseUp
>   answer folder "Pick a folder:"
>   if it <> "" then
> revCopyFolder it,(it & "Copy")
>   end if
> end mouseUp
> 
> Clicked the button, selected a folder, and it worked - what are you
> experiencing?

The resulting error is due to the use of the folder Program Files in the
file path:

I am using a localized version of Vista in Italian language: I have this
system path c:\Programmi\...

If I use revCopyFolder "c:\Programmi\MyFolder", "c:\" it works
but 
if I use revCopyFolder "c:\Programmi\MyFolder", " c:\Programmi\MyFolder\a"
it doens't work and the result is 4.

The following command is ok:
revCopyFolder "c:\Programmi\MyFolder", " c:\Program Files\MyFolder\a"

Obviously it is not the same with XP.

I would like to avoid the problems about the virtualstore location that you
have explained in your post, by using C:\ as the default folder where the
application is installed. Is it a good idea?
Thanks
Riccardo


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


List Fields and clickLine

2007-06-27 Thread Randy Hengst

Hi All,

I've been lurking on the list for about a year and a half. During  
that time I've been translating stacks I made using HyperStudio --  
which used a logo-based scripting language -- into Rev. I pretty much  
can now create anything in Rev I could have made with HyperStudio.  
I've found (as you know) that Rev is much more powerful.


I've begun playing with list fields this past week and was able to  
create basic drag-lines-within-a-field -- script. With the help up  
Scott Rossi's getInLine stack, Jan Schenkel's dragDropList stack and  
the recent discussion about colorizing lines in a field (thanks to  
Jim Ault for sending his stack to me) I've been able to develop a  
nice working version.


However, I've noticed an anomaly that I thought I was causing be  
adding text and returns and removing characters in my list field.  
However, I've been able to reproduce the problem in a new list field  
with no additions beyond the default three choices.


Here's the problem. In a list field it is possible to highlight the  
last line without the clickline reading any data. I've been able to  
reproduce the problem this way. Create a new stack, create a list  
field, drag the height enough to have room for several blank lines --  
but don't add any lines of text to the default three choices. Use  
this script in the field:


on mouseDown
  if the clickLine is empty then
beep
  else
put the value of the clickLine
  end if
end mouseDown


Click to highlight the choices to make sure things work as expected,  
then leave choice 1 or 2 highlighted and click in the blank area  
below choice 3. Using very small increments, click in the blank space  
below choice 3 and move up until it highlights. If choice 3 is put,  
try again using smaller increments. There is an area just below the  
line where choice 3 will highlight, but the clickline reports empty.


I noticed the problem while using Rev 2.8.1 on a PowerBook G4 with  
OSX 10.4.10. I've also been able to reproduce the problem using Rev  
2.7.4


Any thoughts would be appreciated.

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


put or get URL

2007-06-27 Thread .




Yesterday my _put URL "website" into card field F1_ statement worked fine, as 
it has for several months.  I use it up front to test the connection.  
Unsophisticated, yes.  

Today, nothing happens.  I've tried resetAll and variations of Load and Get.  
Nothing.

URLstatus says "error", but I can't get the libURLErrorData.

___


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

2007-06-27 Thread -= JB =-

Thanks.

-=>JB<=-


On Jun 27, 2007, at 7:36 AM, Stephen Barncard wrote:


The file lost it's association with its application.
Open file info for the file and look for the "Open with" popup.

Your method of upgrading was probably to blame. In OSX you can't  
just finder-copy all the files back into a volume and expect them  
to all work. You need to use a utility like carbon copy cloner  
http://www.bombich.com/software/ccc.html  (free) or  
FoldersSynchronizer (paid) from root.


The MacOS installer could have done all of this for you -- move the  
files, set all your settings, and create a clean system.


MacOS X cannot be treated like Mac OS9 when it comes to moving  
files around. Permissions have to be just right. (it's UNIX, ok?)


The disk utility in Utilites can fix the permissions.

This is really beyond the scope of this list and all this info is  
online elsewhere.








I was going to try some of the ideas about text
justification and went to look in the manuel to
see how to resize images to fit & now my PDF
viewer shows something called the colorsync
utility.

I can hardly read my pdf files and it comes up
no matter what pdf I open.

I am not blaming this on Rev but I don't know
how to fix it.  I recently updated from OS X 3.9
to OS X 4.  It worked for awhile & then started
crashing.  I finally made a backup of my drive,
erased everything and did a new install.

Then I had to copy a lot of my files back to the
new drive.  I probably screwed something up
but I don't know what.

Anyone know how to get rid of the ColorSync
Utility when I open up a PDF file.  I can't read
the manuel this way.

thanks,
-=>JB<=-



--


stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -



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

2007-06-27 Thread Stephen Barncard

The file lost it's association with its application.
Open file info for the file and look for the "Open with" popup.

Your method of upgrading was probably to blame. In OSX you can't just 
finder-copy all the files back into a volume and expect them to all 
work. You need to use a utility like carbon copy cloner 
http://www.bombich.com/software/ccc.html  (free) or 
FoldersSynchronizer (paid) from root.


The MacOS installer could have done all of this for you -- move the 
files, set all your settings, and create a clean system.


MacOS X cannot be treated like Mac OS9 when it comes to moving files 
around. Permissions have to be just right. (it's UNIX, ok?)


The disk utility in Utilites can fix the permissions.

This is really beyond the scope of this list and all this info is 
online elsewhere.







I was going to try some of the ideas about text
justification and went to look in the manuel to
see how to resize images to fit & now my PDF
viewer shows something called the colorsync
utility.

I can hardly read my pdf files and it comes up
no matter what pdf I open.

I am not blaming this on Rev but I don't know
how to fix it.  I recently updated from OS X 3.9
to OS X 4.  It worked for awhile & then started
crashing.  I finally made a backup of my drive,
erased everything and did a new install.

Then I had to copy a lot of my files back to the
new drive.  I probably screwed something up
but I don't know what.

Anyone know how to get rid of the ColorSync
Utility when I open up a PDF file.  I can't read
the manuel this way.

thanks,
-=>JB<=-


--


stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -



___
use-revolution mailing list
use-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: Secrets of the filter command?

2007-06-27 Thread Joe Lewis Wilkins
Thanks, Jim. Glad to see you're hard at work close to midnight! I hit  
the sack early, but am now up and at em.


Joe Wilkins

On Jun 26, 2007, at 11:51 PM, Jim Ault wrote:


On 6/26/07 11:25 PM, "Joe Lewis Wilkins" <[EMAIL PROTECTED]> wrote:


Thanks for the reminder Jacqui and Jim. "Snake" was probably a name I
gave it; perhaps not, but it did "snake" through all of the scripts.
I didn't realize that the Rev. "Find and Replace..." is that
versatile; but, then, I've never tried it. (smile) Of course, one of
the reasons I didn't think it would be as useful is because I thought
that would mean treating each thing that was found in the same
manner. With the HC routine, you could edit the scripts in which the
item was found in any manner you wanted.

just double click on the line in the found list and edit to your  
hearts
content.  The list lets you see the number of script containers  
found, and

lets you choose which ones to bother with and in which order.

Editing is no different than HC, except that in Rev you will use  
the Find in

the script window to actually locate the strings you want to edit.

Jim Ault
Las Vegas


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

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


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


PDF Manuel

2007-06-27 Thread -= JB =-

I was going to try some of the ideas about text
justification and went to look in the manuel to
see how to resize images to fit & now my PDF
viewer shows something called the colorsync
utility.

I can hardly read my pdf files and it comes up
no matter what pdf I open.

I am not blaming this on Rev but I don't know
how to fix it.  I recently updated from OS X 3.9
to OS X 4.  It worked for awhile & then started
crashing.  I finally made a backup of my drive,
erased everything and did a new install.

Then I had to copy a lot of my files back to the
new drive.  I probably screwed something up
but I don't know what.

Anyone know how to get rid of the ColorSync
Utility when I open up a PDF file.  I can't read
the manuel this way.

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


Re: character to justify text

2007-06-27 Thread Stephen Barncard
There's a major flooding situation going on in Texas right now, 
around the Austin areait's really bad.


 I hope Chipp and Jerry are ok...


sqb
--


stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -



___
use-revolution mailing list
use-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: Striped Background in OS X Revisited

2007-06-27 Thread Björnke von Gierke


On 27 Jun 2007, at 03:31, Kay C Lan wrote:


On 6/26/07, Richard Gaskin <[EMAIL PROTECTED]> wrote:


and Apple
moves the menu bar to the top of the window,



It's all a bad dream, make it go away...It's all a bad dream, make it 
go

away... it's all a bad dream...;-)

Richard, this is the 2nd time you've mentioned this in about as many 
many

weeks. If anyone from Apple HIG is reading this PLEASE ignore.


Yes i noticed this too. My guess is that Richard believes that placing 
the menubar on top of the screen is loosing him speed. That might be 
true or not, but to me it is irrelevant. In my oppinion, GUI's are not 
mainly about speed, but about usability (seasoned CLI users always have 
been faster then the fastest GUI users in tests). The infinite 
clickable area size of the Mac OS menubar however is of course much 
more usable then a tiny stripe somewhere on the screen which Windows 
endorses.


Playing into this might also the difference in mouse speed acceleration 
used on Windows vs. that used on Mac OS. I always have to readjust my 
aiming for the difference. (I think Windows uses a linear one, whereas 
Mac OS is para- or hyperbolic).


--

official ChatRev page:
http://chatrev.bjoernke.com

Chat with other RunRev developers:
go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev";

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

2007-06-27 Thread Thomas McGrath III

JB,

The imageSource is a good way to go since a 1 pixel blank graphic  
will not display differently on different systems and the imageSource  
object does count as one character when counting characters in a field.


Check it out and see if it will work for you.

Tom McGrath

On Jun 27, 2007, at 12:05 AM, Jim Sims wrote:

On Jun 27, 2007, at 4:56 AM, -= JB =- wrote:

On Jun 26, 2007, at 7:07 PM, Stephen Barncard wrote:

It would be totally nuts, but have you thought about using  
HTMLTEXT and a single pixel transparent graphic?

stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -


I haven't really done much with HTML TEXT but that may be a way to  
go.


Might imageSource be of help?

"Use the imageSource property to display a picture or icon inside a  
text field."



sims

Custom Software Development
www.EZPZapps.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: character to justify text

2007-06-27 Thread Viktoras Didziulis
Hi, 
 
you can try adjusting the size of space characters like this: 
 
repeat with i=1 to the number of chars in fld "fText" 
set the textSize of char x of "fText" to y 
end repeat 
 
where char x is space character and y is a number between 4 and whatever the
upper limit is... If the fixedLineHeight of field is set to true, then the
only thing that changes would be the width of space character. 
 
The hard point here is to get a length of a text line in pixels so you could
calculate the necessary size of space character for each line. As I imagine
first you would need to find the longest line in the field and then justify
the remaining lines in relation to this maximum. 
 
Of course you may try creating an index of all possible characters and their
widths for different fonts and sizes, then get the length of line in
characters and use the index to sum up the length in pixels... Then find a
difference subtracting length of current string from maximum length,
counting number of spaces in a line and then calculate what size all space
characters should be set to compensate for the difference. 
 
In principle not so hard once you know a way to measure absolute length of
text string in pixels. 
 
All the best! 
Viktoras 
 
---Original Message--- 
 
From: Kay C Lan 
Date: 27/06/2007 05:43:10 
To: How to use Revolution 
Subject: Re: character to justify text 
 
On 6/27/07, -= JB =- <[EMAIL PROTECTED]> wrote: 
> 
> 
> The problem with making a font and 
> then using my own character it would change the character count. 
> Of course I could easily add the character and then subtract it but 
> who knows what other weird things I might find. 
 
 
One thought, if you're going to go to all the trouble of making your own 
font, is to include several versions of the space character, ie a 3 pixel 
space, a 4 pixel space, etc etc. Maybe accessible via spacebar = 3px, 
option+spacebar = 4px, shift+option+spacebar = 5px. Then I assume a simple 
'repeat for each' replacing each standard 3px space with a 4px space until 
you get to the required width, and if you replaced all in a line and it 
still wasn't wide enough you go on to 5px, 6px etc etc. 
 
That way the char count wouldn't change. 
 
Just a thought, but then again, the thought of creating a font from scratch 
seems pretty daunting to me ;-) 
___ 
use-revolution mailing list 
use-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


Cached by Google

2007-06-27 Thread Richmond Mathewson
"Twaddle" or not, my original posting under this
heading demonstrates, if nothing else, the large gap
between what is said about "protecting people's
rights" (and, despite Rawls and so on, one should
remember that 'rights' have no objective reality) and
what actually happens is vast.

There are a number of postings on the web floating
around about various things I got up to in Germany
about 20 years ago (!); I believe that they
misrepresent what I was doing quite badly. I saw them
first in 1993, and they are still around (they are to
do with my "previous life" as a cult-deprogrammer).

So, what do I do?

Well, they are there; and people can read them and
form their own opinions - I have no qualms about what
I did.
So, everytime somebody brings these matters up;
depending on the circumstances I either:

1. Say nothing and smile,

2. Say "Well I feel fine",

or

3. Go into a long and slightly pompus disquisition
about morality, laws and rights.

What is perhaps the most interesting fact about this
situation of mine is that I continue to lead a happy
life, while the miserable sausages who have been
posting incorrect things about me don't seem to be
doing so terribly well.

So, the fact that "sunny-Jim" has smeared "poo" around
the internet about various hard-working individuals
should not really fuss anybody unduly.

I suspect that all that "sunny-Jim" has done in the
long run is damaged himself.

After all; its "untrue poo": isn't it?

Outside it is a lovely day; I'm off for a walk in the
park, breathe the fresh air and watch the wonderful
panoply of life!

sincerely, Richmond Mathewson




A Thorn in the flesh is better than a failed Systems Development Life Cycle.




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