Who owns old icons?

2008-08-02 Thread Richmond Mathewson
Having converted the HC icons into JPGs and PNGs I should like to put them 
somewhere more accessible than buried on my moribund website (Updated it last 3 
years ago as it serves almost no purpose); maybe on a Yahoo group, or elsewhere.

However, I don't know the legal status of these .jpg and .png images, and don't 
really want a large fruit breathing down my neck.

Would be glad if someone who knows could advise.

[It might also be useful to consider the old icons buried in Mac OS 6 and so on]

sincerely, Richmond Mathewson.



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



  __
Not happy with your email address?.
Get the one you really want - millions of new email addresses available now at 
Yahoo! http://uk.docs.yahoo.com/ymail/new.html
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Standalone - Using stack as DB

2008-08-02 Thread Scott Morrow

Peter,
I think a common variation is to have a standalone application (which  
most long-timers try to put minimal code into), a program main  
stack (perhaps with substacks) which can also be a stack file that  
the standalone loads first to establish the interface (and doesn't  
need to be saved), and data files which can also be substacks.  Then  
just the data substacks need to be involved with the save process.   
Keeping the data separate from the everything else has been consistent  
advice on this list.


Scott Morrow

Elementary Software
(Now with 20% less chalk dust!)
web   http://elementarysoftware.com/
email [EMAIL PROTECTED]
--
On Aug 2, 2008, at 1:35 AM, Peter Alcibiades wrote:



Yes, very true.  This is, now its pointed out, obviously the  
underlying
source of my power off/saving problem.  Its also an argument against  
using
the traditional splash stack and then a real program + data stack,  
is it
not?  One should rather have a program main stack, and then data  
substacks.
No need ever to save the program stack since it never changes, just  
save the

data stacks as changed.  Is this what you usually do?


Eric Chatonet wrote:



I should have added that this way of doing never mix any line of code
with user's data in the same file.  And I think it important.




--
View this message in context: 
http://www.nabble.com/Re%3A-Standalone---Using-stack-as-DB-tp18756589p18787268.html
Sent from the Revolution - User mailing list archive at Nabble.com.

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

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









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


Re: Retrieving text within 2 tags

2008-08-02 Thread Björnke von Gierke
I use two different methods for getting text within tags. One gives  
the first tag, the second gives every tag. The second one allows to  
put every single occurrence into an element of an array, which is  
highly useful in some cases. Also, neither change anything in the  
original Data, removing the necessity to have it in memory twice.  
Finally, due to the nature of html, they allow the open tag to contain  
parameters, as many html tags can look like this: div name=content  
width=20px



For getting a single block of text that occurs only once, I'd use this:

on mouseUp
   put url http://whatever is correct for you/ into theData
   put myText into theTag
   put offset(  theTag, theData)+the number of chars in theTag +  
1 into theStart

   put offset(/  theTag  , theData)-1 into theEnd
   put char theStart to theEnd of theData
end mouseUp


I normally use a repeat loop to get stuff within all tags of a certain  
sort, with setting line- and itemdelimiter. However, this is  
conceptually a bit strange:


on mouseUp
   put url http://whatever is correct for you/ into theData
   put myText into theTag
   set the linedelimiter to 
   set the itemdelimiter to 
   put  into theResult
   put false into tagIsOpen
   repeat for each line theLine in theData
  if tagIsOpen then
 if item 1 of theLine is (/  theTag) then
put false into tagIsOpen
next repeat
 end if
 put   theLine after theResult
  end if
  if char 1 to (the number of chars in theTag) of theLine is  
theTag then

 put item 2 to -1 of theLine after theResult
 put true into tagIsOpen
  end if
   end repeat
   put theResult
end mouseUp

On 2 Aug 2008, at 01:34, mfstuart wrote:



Hi all,

RunRev: 2.90
OS: WinXP

How would I retrieve text that is within 2 tags, that has been put  
into a

memory variable?
The text originated from a web site, using command put url theURL  
into

tData.
Such as:

MyText
This is some text I would like to
retrieve. It is on many lines
and all the text has to be return
within the tags.

Also, the text could have HTML formatting in it.
/MyText

I don't know how to use the XML commands in rev as yet (a  
possibility), so I

would like to use the text chunk commands to do so.

TIA.
Mark Stuart
--
View this message in context: 
http://www.nabble.com/Retrieving-text-within-2-tags-tp18784278p18784278.html
Sent from the Revolution - User mailing list archive at Nabble.com.

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

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


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


Re: Standalone - Using stack as DB

2008-08-02 Thread Eric Chatonet

Bonjour Peter,

Actually, splash stack architecture is the best one because it allows  
you to run you app/exe and Rev IDE simultaneously with the same project.
You test the app and correct in the IDE: at next launch of the app,  
you'll use changes made in the IDE because most of your code is not  
in the splash stack but in separate stack files. e.g. without having  
to rebuild an app/exe.


Now as for user data, external files are a good choice but you can  
use stacks also assuming there is not any code in these stacks and  
they are simple containers you are able to restore (from a template  
stack kept in a custom property for instance).


Le 2 août 08 à 10:35, Peter Alcibiades a écrit :

Yes, very true.  This is, now its pointed out, obviously the  
underlying
source of my power off/saving problem.  Its also an argument  
against using
the traditional splash stack and then a real program + data stack,  
is it
not?  One should rather have a program main stack, and then data  
substacks.
No need ever to save the program stack since it never changes, just  
save the

data stacks as changed.  Is this what you usually do?


Eric Chatonet wrote:



I should have added that this way of doing never mix any line of code
with user's data in the same file.  And I think it important.


Best regards from Paris,
Eric Chatonet.

Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: [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: RevMail strange behaviour in 3.0.0 (dp 9) and leopard

2008-08-02 Thread Mark Schonewille

Hi Till,

It is very well possible that revMail is broken, but I am not sure  
that we're supposed to discuss 3.0 on the use list.


Anyway, starting with Rev 2.9, I was trying to use revGoURL instead,  
but this didn't work either because the body of the message is  
encoded incorrectly. Currently, whenever I need to open an e-mail in  
my mail programme, I use revGoURL in Rev 2.8.1. I believe the syntax  
looks like this:


revGoURL [EMAIL PROTECTED] 
subject=foo[EMAIL PROTECTED]body=hello world.


You might want to report your problem to the quality center if no one  
has done so yet and let's hope that it gets fixed with the next release.


--

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

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


Op 2-aug-2008, om 14:48 heeft Till Bandi het volgende geschreven:



revMail [EMAIL PROTECTED] works fine in version 2.9.

But in Version 3.0 I get [EMAIL PROTECTED]Content-Type:text/ 
plain;charset=utf-8 in the to-Line. (Apple Mail). If I add the  
other parameters of the revMail command (Syntax: revMail address 
[,ccAddress[,mailSubject[,messageBody]]]), as long as the  
parameters are empty I still get the same indication of the font  
etc. When I put one (blank or any) character into the second, third  
or fouth parameter then the to- line in Mail is correct.


Can anyone confirm this or has an explanation? (I am working with  
the swiss-german localisation.)


Till



___
use-revolution mailing list
use-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: RevMail strange behaviour in 3.0.0 (dp 9) and leopard

2008-08-02 Thread Kenji Kojima

revmail does not make a Japanese mail in Version 2.9 on MacOS.
It works fine in V.2.8.

go to url http://www.kenjikojima.com/runrev/bugs/revmailTest.rev;
I reported it.
http://quality.runrev.com/qacenter/show_bug.cgi?id=6521
--
Kenji Kojima
http://www.kenjikojima.com/




On Aug 2, 2008, at 8:48 AM, Till Bandi wrote:



revMail [EMAIL PROTECTED] works fine in version 2.9.

But in Version 3.0 I get [EMAIL PROTECTED]Content-Type:text/ 
plain;charset=utf-8 in the to-Line. (Apple Mail). If I add the  
other parameters of the revMail command (Syntax: revMail  
address[,ccAddress[,mailSubject[,messageBody]]]), as long as the  
parameters are empty I still get the same indication of the font  
etc. When I put one (blank or any) character into the second, third  
or fouth parameter then the to- line in Mail is correct.


Can anyone confirm this or has an explanation? (I am working with  
the swiss-german localisation.)


Till

___
use-revolution mailing list
use-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: RevMail strange behaviour in 3.0.0 (dp 9) and leopard

2008-08-02 Thread Klaus Major

Hi Till,


revMail [EMAIL PROTECTED] works fine in version 2.9.

But in Version 3.0 I get [EMAIL PROTECTED]Content-Type:text/ 
plain;charset=utf-8 in the to-Line. (Apple Mail). If I add the  
other parameters of the revMail command (Syntax: revMail  
address[,ccAddress[,mailSubject[,messageBody]]]), as long as the  
parameters are empty I still get the same indication of the font  
etc. When I put one (blank or any) character into the second, third  
or fouth parameter then the to- line in Mail is correct.


Can anyone confirm this or has an explanation? (I am working with  
the swiss-german localisation.)


I have no problems with RevMail in 2.9 on a Mac, but on windows, see  
my bugreport:

http://quality.runrev.com/qacenter/show_bug.cgi?id=6432

Not tested with 3.0 yet.


Till


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: My Notepad Style Project

2008-08-02 Thread H Baric
Hi Jan,

Thanks for the one-liner, one to remember!

I tried to drag drop text into my field from other sources before trying 
your script, and it works! So would I still need to use it and why? In a 
standalone will it still work without the script?

Thanks for your advice!

Heather

- Original Message - 
From: Jan Schenkel [EMAIL PROTECTED]
To: How to use Revolution use-revolution@lists.runrev.com
Sent: Friday, August 01, 2008 9:43 PM
Subject: Re: My Notepad Style Project


--- H Baric [EMAIL PROTECTED] wrote:
 Hi all, this is my first post. Hope it works!

 I'm making a very simple Text File Editor, based
 pretty much exactly on Window's Notepad, for the
 sake of learning.

 I've been trying to find a way to set the Edit field
 to non-formatted text when copying and pasting text
 from web-pages and other applications for example.

 What would be the best way to ensure that the
 editing field cannot be formatted in any way (like
 Notepad and other basic text editors)?

 Is it possible? How (and where) would I script this?
 Thanks in advance :)

 Cheers,
 Heather


Hi Heather,

Welcome to the Revolution community - you'll be sure
to receive lots of help as you're getting to know the
product we all love.

The one-line solution to strip the style information
from a text field is:
put the text of field MyField into field MyField

Now, if you want this to happen whenever the user
pastes more text into a field or drags-and-drops from
another field or another application, you'd have a
script similar to this:
##
on pasteKey
  send StripStyles to me in 0 milliseconds
  pass pasteKey
end pasteKey
on dragDrop
  send StripStyles to me in 0 milliseconds
  pass dragDrop
end dragDrop
on StripStyles
  -- save the current selection
  put the selectedChunk of me into tSelectedChunk
  -- strip the style information
  put the text of me into me
  -- restore the selection
  select tSelectedChunk
end StripStyles
##

Hope this helped,

Jan Schenkel.

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

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



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

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


Re: My Notepad Style Project

2008-08-02 Thread H Baric
Hi Eric,

Thanks again! See my last note about drag n drop - seems to work by itself 
without any script?!

HA, not as easy as I'd hoped re the selectedX functions! Well I've been 
reading and trying out all the docs and tutes about Text processing etc 
today (on and off as I have a young child to care for) and still scratching 
my head about how to go about it exactly. I also haven't had a lot of sleep 
and all these concepts are still so new, like: geeez Chunks? Makes me want 
to throw up everytime I see that word HAHA! So maybe I'll get it out again 
and give it more thought tomorrow. I'm determined to work it out myself 
though, so no need to reply okay, until I beg for a hint ;)

I'm onto a new task tonight before I ZZZzzz, but that's my next post... :D

Cheers,
Heather :)

- Original Message - 
From: Eric Chatonet [EMAIL PROTECTED]
To: How to use Revolution use-revolution@lists.runrev.com
Sent: Friday, August 01, 2008 8:20 PM
Subject: Re: My Notepad Style Project


Bonjour Heather,

Glad to help you :-)
Your handler is perfect.

About inserting or replacing text have a look at selectedField,
selectedChunk and selectedText functions in the docs.
When you will master that you might think about implementing drag and
drop text into your Edit field:
Then you will have something more powerful than Note Pad :-)

Le 1 août 08 à 12:14, H Baric a écrit :

 Hi Eric, thanks for your help, it works perfectly :)

 Well, this is what I ended up using (in the stack script)
 Can you see if there is any problem writing it like this?
 I'm still VERY new to scripting :D:

 on commandKeyDown pKey

if pKey = v then

   if the clipboard is text then

   put the clipboardData[text] into field Edit

   end if

else pass commandKeyDown

 end commandKeyDown


 Yes, and er now to work out how to  handle the replacing etc. Ack.
 So many
 things to think about isn't there hehe... :D

 Heather

 - Original Message -
 From: Eric Chatonet [EMAIL PROTECTED]
 To: How to use Revolution use-revolution@lists.runrev.com
 Sent: Friday, August 01, 2008 6:47 PM
 Subject: Re: My Notepad Style Project


 Bonjour Heather,

 Welcome to the list :-)

 First you have to check the clipboard contents to accept text only:
 if the clipboard is text then...
 Then use the clipboardData[text] that is unformatted text:
 put the clipboardData[text] into fld  Edit field

 To handle the paste shortcut:

 on commandKeyDown pKey
if pKey = v then...
else pass commandKeyDown
 end commandKeyDown

 You can use the pasteKey message also but it will work in a
 standalone only.
 Last but not least, you'll have to struggle with the selectedChunk to
 paste at the right place or replace some selected text.
 Good luck :-)

 Le 1 août 08 à 10:27, H Baric a écrit :

 Hi all, this is my first post. Hope it works!

 I'm making a very simple Text File Editor, based pretty much
 exactly on Window's Notepad, for the sake of learning.

 I've been trying to find a way to set the Edit field to non-
 formatted text when copying and pasting text from web-pages and
 other applications for example.

 What would be the best way to ensure that the editing field cannot
 be formatted in any way (like Notepad and other basic text editors)?

 Is it possible? How (and where) would I script this? Thanks in
 advance :)

 Cheers,
 Heather


Best regards from Paris,
Eric Chatonet.

Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: [EMAIL PROTECTED]/



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

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


Re: My Notepad Style Project

2008-08-02 Thread Eric Chatonet

Bonjour Heather,

Le 2 août 08 à 16:22, H Baric a écrit :


seems to work by itself
without any script?!


You are right but styles are not stripped as NotePad does it.
Rev makes your life easy but sometimes you have to add some snippets ;-)

Best regards from Paris,
Eric Chatonet.

Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: [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


Getting the text content of a HTML page

2008-08-02 Thread H Baric
Hi again *blush*

Okay, this is no doubt something very simple even though I've searched through 
the docs but can't find exactly how to do this seemingly straightforward task:

* Get the text only from a web page - no html tags, no formatting etc.

I can get the html doc to appear in my field by using:

   put url http://www.thePage.com; into thePage

   put thePage into field The Page


(is that correct?) If so, now what? :D

Is there an in-built way to do this, or do I need to write a script that kills 
all the everything between these tags tags?!

Thanks so much for your patience of a no0o0obi who's trying real hard to learn 
all the basics but should be sleeping.
Heather :)
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


System 6 icons as JPEGS.

2008-08-02 Thread Richmond Mathewson
Retro-Fetishists can now download Mac OS System 6 icons as JPEGS:

http://mail.maclaunch.com/richmond/SysSix.zip

Don't shoot me I'm only the piano player.

sincerely, Richmond Mathewson.


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



  __
Not happy with your email address?.
Get the one you really want - millions of new email addresses available now at 
Yahoo! http://uk.docs.yahoo.com/ymail/new.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


Richmond's HC Bits Bobs

2008-08-02 Thread Richmond Mathewson
Richmond's HC Bits  Bobs 
Where I'm going to put HC findings from now on. 
http://tech.groups.yahoo.com/group/RsHYPERCARD/

More of my rubbish!

sincerely, Richmond Mathewson.



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



  __
Not happy with your email address?.
Get the one you really want - millions of new email addresses available now at 
Yahoo! http://uk.docs.yahoo.com/ymail/new.html
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Getting the text content of a HTML page

2008-08-02 Thread H Baric
Hi Jacqueline,

Thank you, I tried it this way and it displays it as a page rather than a 
html doc, which is interesting actually! But images and some formatting, as 
well as the embedded stylesheet/css at the beginning still shows up in the 
field.

I don't mind what happens though, it's all so fascinating. With each 
experiment, I'm learning / discovereing new things and that's the main goal 
anyway! :)

Cheers,
Heather ZzZzz

- Original Message - 
From: J. Landman Gay [EMAIL PROTECTED]
To: How to use Revolution use-revolution@lists.runrev.com
Sent: Sunday, August 03, 2008 12:59 AM
Subject: Re: Getting the text content of a HTML page


H Baric wrote:
 Hi again *blush*

 Okay, this is no doubt something very simple even though I've searched 
 through the docs but can't find exactly how to do this seemingly 
 straightforward task:

 * Get the text only from a web page - no html tags, no formatting etc.

One simple way is:

  set the htmltext of fld fieldname to the text of fld fieldname

It isn't perfect but it suffices for most things.

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

___
use-revolution mailing list
use-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: Getting the text content of a HTML page

2008-08-02 Thread Eric Chatonet

Hi Heather,

So simple ;-)
I don't think that, some day, there will be a built-in function for  
retrieving plain text from html because html evolves every day and as  
you pointed it out, the code snippet I sent does not take CSS into  
account: it was written three years ago :-(

If you enhance it, please share ;-)
The way that Jacque was talking about is interesting when you want to  
parse the text 'invisibly' but is not satisfying for displaying it.

Unfortunately: it would so simple :-)

Good luck and prefer knitting code than sweaters :-)

Le 2 août 08 à 17:19, H Baric a écrit :


Well, you know I could have thought of that!
So simple and obvious really isn't it!
I mean, I could have just asked my two year old instead!

:-o
:-|

Well, I was going to just take myself to bed when I saw all that  
code, but

at least I could understand it, and so decided to just tried it out...

And it works except - all the CSS remains! (Anyone ever heard of  
linked

stylesheets sheesh!)

So rather than add a million more lines to the script (would it  
ever be
complete!), I'm thinking I shall give up for now, at least until  
tomorrow
when I am well slept, and can think up nice little incomplicated  
things to

create for the purpose of keeping the old brain cells alive.

Thanks for your help again Eric.

Heather, who is determined to be a programmer when she grows up.
At 36yrs though, she is wondering if she should just stick to  
knitting.
on knitOne ; select chunk of wool ; tie it in a knot ; create  
noose ; end

knitOne

- Original Message -
From: Eric Chatonet [EMAIL PROTECTED]
To: How to use Revolution use-revolution@lists.runrev.com
Sent: Sunday, August 03, 2008 12:33 AM
Subject: Re: Getting the text content of a HTML page


Re,

Le 2 août 08 à 16:31, H Baric a écrit :

* Get the text only from a web page - no html tags, no formatting  
etc.


LOL
This is a case that needs some additional code snippet as I said in a
previous email :-)

put StripTags(thePage) into field The Page
-
function StripTags pHtml -- returns the meaningful text from a web  
page

   local tRegex,tPrevText
   constant kHtml =
eacute;,agrave;,ccedil;,gt;,lt;,ecirc;,egrave;,copy;,#149;,# 
39

;,middot;,amp;
   constant kConvertedHtml = é,à,ç,,,ê,è,©,•,',·,
   -
   replace return with space in pHtml
   replace numtochar(13) with empty in pHtml
   replace tab with empty in pHtml
   -
   put replacetext(pHtml,(?Usi)SCRIPT.*/SCRIPT,) into pHtml
   put replacetext(pHtml,(?Usi)STYLE.*/STYLE,) into pHtml
   put replacetext(pHtml,(?Usi)\?.*\?,) into pHtml
   -
   replace nbsp; with space in pHtml
   replace BR with return in pHtml
   replace p with return in pHtml
   -
   put  [^]* into tRegex
   put replacetext(pHtml,tRegex,) into pHtml
   put replacetext(pHtml,tRegex,) into pHtml
   -
   repeat until tPrevText is pHtml
 put pHtml into tPrevText
 put replacetext(pHtml, +,space) into pHtml
 put replacetext(pHtml,^ ,) into pHtml
   end repeat
   -
   replace (space  return) with return in pHtml
   replace (return  space) with return in pHtml
   filter pHtml without empty
   -
   replace quot; with quote in pHtml
   repeat with i = 1 to the number of items of kHtml
 replace item i of kHtml with item i of kConvertedHtml in pHtml
   end repeat
   -
   return pHtml
end StripTags

Best regards from Paris,
Eric Chatonet.




Best regards from Paris,
Eric Chatonet.

Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
Email: [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: Getting the text content of a HTML page

2008-08-02 Thread Andres Martinez

Hello Jacqueline

I am using this htmltext for the first time because I want to have  
links that work in a text field.


Links are shown with a different color that changes when clicked. But  
no browser window opens and no page is retrieved.


Any thoughts?

Regards,
Andres Martinez
www.baKno.com

On Aug 2, 2008, at 10:59 AM, J. Landman Gay wrote:


H Baric wrote:

Hi again *blush*
Okay, this is no doubt something very simple even though I've  
searched through the docs but can't find exactly how to do this  
seemingly straightforward task:
* Get the text only from a web page - no html tags, no formatting  
etc.


One simple way is:

set the htmltext of fld fieldname to the text of fld fieldname

It isn't perfect but it suffices for most things.

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


___
use-revolution mailing list
use-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] How Far Will I Sink To Attract Attention?

2008-08-02 Thread Richmond Mathewson
Pretty Far:

http://groups. yahoo.com/ group/RsHYPERCAR D/surveys? id=2742988 

Go on, I dare you, take a walk on the wild side (as in WILD CARD) and vote!

Love, Richmond Mathewson.

PS. I'm on holiday throughout August, so expect more nausea!



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



  __
Not happy with your email address?.
Get the one you really want - millions of new email addresses available now at 
Yahoo! http://uk.docs.yahoo.com/ymail/new.html
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: HC icons as Jpegs.

2008-08-02 Thread François Chaplais


Le 1 août 08 à 21:03, Eric Chatonet a écrit :


Bonjour Lynn et Richmond and Charles,

Le 1 août 08 à 19:04, Lynn Fredricks a écrit :


Hi Richmond,


Here are the HyperCard icons in a convenient ZIP file as JPGs:

http://mail.maclaunch.com/richmond/HCICONS.zip


Thanks man :-)


I need to be enlightened:
But don't take it bad :-)

What is this HC nostalgia?



shared memories? Culture? Things museums are made for?

François
___
use-revolution mailing list
use-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: HC icons as Jpegs.

2008-08-02 Thread Lynn Fredricks
  I need to be enlightened:
  But don't take it bad :-)
 
  What is this HC nostalgia?
 
 
 shared memories? Culture? Things museums are made for?

Related to this - how many of you have very ancient macs sitting about, or
some of the older weird ones/peripherals?

We have an ancient SE/30 and a PowerCD. The PowerCD was cool because you
could view Kodak PhotoCDs (the older, high resolution ones) on your
television. Even has a remote. And HyperCard runs very nicely on the SE/30.

Best regards,

Lynn Fredricks
President
Paradigma Software
http://www.paradigmasoft.com

Valentina SQL Server: The Ultra-fast, Royalty Free Database Server 

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


Re: HC icons as Jpegs.

2008-08-02 Thread Jim Ault

On 8/2/08 3:01 PM, Lynn Fredricks [EMAIL PROTECTED] wrote:
 shared memories? Culture? Things museums are made for?
 
 Related to this - how many of you have very ancient macs sitting about, or
 some of the older weird ones/peripherals?

My 128K Mac is in the garage.
Bought with 800K floppy upgrade + 800K external floppy
+ trackball-10 key pad by MacAlley
There was no hard drive available.
Purchased in Raleigh, NC.

2 Mb Dove RAM upgrade fills the back of the case.
Added exhaust fan for cooling
Uses Roger Bates RamDisk+ to create
400K system memory and 1.6K working memory

Can't run any later than System 5.1

Runs Excel 1.0, Word 1.0, ResEdit.
Appletalk connection allows output to a network laser printer.

Jim Ault
Las Vegas


On 8/2/08 3:01 PM, Lynn Fredricks [EMAIL PROTECTED] wrote:

 I need to be enlightened:
 But don't take it bad :-)
 
 What is this HC nostalgia?
 
 
 shared memories? Culture? Things museums are made for?
 
 Related to this - how many of you have very ancient macs sitting about, or
 some of the older weird ones/peripherals?
 
 We have an ancient SE/30 and a PowerCD. The PowerCD was cool because you
 could view Kodak PhotoCDs (the older, high resolution ones) on your
 television. Even has a remote. And HyperCard runs very nicely on the SE/30.
 
 Best regards,
 
 Lynn Fredricks
 President
 Paradigma Software
 http://www.paradigmasoft.com
 
 Valentina SQL Server: The Ultra-fast, Royalty Free Database Server
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-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: Standalone - Using stack as DB

2008-08-02 Thread Richard Gaskin

Scott Morrow wrote:
I think a common variation is to have a standalone application (which  
most long-timers try to put minimal code into), a program main  
stack (perhaps with substacks) which can also be a stack file that  
the standalone loads first to establish the interface (and doesn't  
need to be saved), and data files which can also be substacks.  Then  
just the data substacks need to be involved with the save process.   
Keeping the data separate from the everything else has been consistent  
advice on this list.


Yep, that's how I work.  I've come to love using stack files for data 
storage.  They give me all the flexibility I've enjoyed with my own 
custom formats but I don't need to worry about parsing the file, since 
the built-in routines for getting and setting properties make it dirt 
simple to stuff any data I need discretely.


Extra bonus points:  simply setting the password of the data file makes 
the data unreadable to other apps.  Sometimes I do this with hard-wired 
passwords just for modest on-disk protection.  If I need user-managed 
security I use either fwPack/fwUnpack 
(http://www.revjournal.com/tutorials/handy-handlers-005.html) for very 
modest security, or Rev's encryption externals for industrial-strength 
security.


And a nice extra:  in those rare cases when a save is interrupted, the 
engine has automatically made a backup of the last good save (the ~* 
copy), which has made a couple of my end-users very happy to learn about. :)


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