Re: Open from Context Menu

2005-01-21 Thread Derek Bump
The simplest way to accomplish this is the following...


global fileToOpen

on startup
put $1 into fileToOpen
end startup

on openStack
if fileToOpen is not empty then
-- Insert the code you are using
-- to open the file
end if
end openStack

I hope this helps.

Derek Bump
Dreamscape Software

Compress Images Easily with JPEGCompress
http://www.dreamscapesoftware.com
 

- Original Message - 
From: D.Rothe [EMAIL PROTECTED]
To: use-revolution@lists.runrev.com
Sent: Thursday, January 20, 2005 9:44 PM
Subject: Re: Open from Context Menu


 Ok, When I start the app (as standalone) I can import/open and display a
 .txt  file in a field by selecting it from a pulldown menu! Just like all
 text editors..
 
 The problem is getting the .txt file to display in the field by sending it
 to my app via  the right click 'Open with' method.
 Using this method starts the app but does not load the .txt file into the
 field!
 
 Cheers.Dwayne

 Hi Dwayne,

  Hi All,
  I created a simple textpad type application it's simple and works well
  for my purposes, however I am having trouble loading a txt
  file by using the right click 'Open with' method (win xp). Any
  ideas would be appreciated, it's certainly not a critical flaw but
  it would finish off the app 100%.

 what exactly is your problem???
 Does the import fail or what or the way HOW to do the import?

 A tiny bit of info would help us to help you :-)

  Cheers Dwayne

 Regards

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


 --
 
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 http://lists.runrev.com/mailman/listinfo/use-revolution
 
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Mac Menubar Again...

2005-01-21 Thread Alex Tweedly
Sarah Reichelt wrote:
The Mac menus DO respond to the mouseDown, but they don't know which 
menu has been selected.
If you have a mouseDown handler in the menubar's group, it will be 
triggered, but you will have to set ALL the menus at that point as you 
have no way of knowing which is going to be displayed. 

(In Mac's once the mouse button is clicked down in a menubar, it can 
be moved from side to side and will display any menus under the pointer.)
That's true on Windows as well - position mouse over a menu item, 
depress the left button, move mouse side-to-side and different menus 
will appear/disappear. As that happens, mouseDown events are sent to the 
relevant menu buttons (Rev 2.5, WinXP).

Sorry, don't have my Mac Mini yet, so I can't test it there 
-- Alex.
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.1 - Release Date: 19/01/2005
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Font engines and antialiased vector graphics

2005-01-21 Thread Alejandro Tejada
Hi Developers,

Probably this message belongs to the
improve-list, but anyway...

As many of you have already noticed,
one of the areas of interest for me
in computer programming are vector graphics.

If my memory serves well, RunRev is planning
for a future version of the engine include
antialiased vector graphics and i hope
that they include a font engine rendering 
(to have kerning pairs and justified
text as well).

Could the inclusion of both technologies
(antialiased vectors and rendering font engine)
in the engine, bring the total size of
the single executable engine to more than
2 megabytes???

I'm asking this because just today, i had become 
aware of the four times size increase of the 
Macromedia Flash plug-in for web browser:

http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_14266

From 103k to 588k... and i'm almost sure that
much of these 483k increase come from the
addition of Scripting to the swf format.

But they have nice antialiased vector and
font rendering since the beginning at only
103k...

Could this means that in 200k or less, RunRev
could add this capability to the engine

Looking in the web, i found these websites
about font rendering engines and antialiased
graphics:

http://www.typesolutions.com/

The source for the best font engine and font
rasterizer technology!
Founded in 1989 by Sampo Kaasila, lead engineer 
behind the TrueType technology while at Apple 
Computer, Inc.
This is wholly-owned subsidiary of Bitstream Inc.

http://www.freetype.org/index2.html
FreeType 2 is a GLP software font engine 
small, efficient, highly customizable and portable.

http://www.d-type.com/
Portable, high-performance and high-quality 
scalable font engine for smooth (anti-aliased) text 

If had to choose between antialised graphics
and a font rendering engine, my choice is obvious:

the font rendering engine... ;-)

al



=
Visit my site:
http://www.geocities.com/capellan2000/



__ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo 
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Same-size chunk replacements (was RunRev vs RealBasic)

2005-01-21 Thread Lynch, Jonathan
I am interested in creating a 3D object viewer - and I was planning to
write it in transcript.

I have been researching the equations, and thinking about everything I
can do to minimize processor time, including some schemes that would
increase memory usage, but reduce computations.

If I had to, I could write the math parts in VB, and try to create an
external - but I would rather not. VB drives me nuts.

This is just something I work on periodically, so at my present rate it
would probably take me a number of months to get it done.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Richard
Gaskin
Sent: Thursday, January 20, 2005 6:26 PM
To: How to use Revolution
Subject: Re: Same-size chunk replacements (was RunRev vs RealBasic)

Dar Scott wrote:
 
 On Jan 19, 2005, at 11:33 PM, Richard Gaskin wrote:
 
  I did write some compositing and blur/sharpen filters in
  transcript some time ago, but I don't know the details of
  the 'same-size chunk' replacements. Where can I find more info?

 All I know is what Dar posted here, but it sounded really tasty. 
 Apparently he made a suggestion to Scott Raney about ways to optimize

 operations in which a string of a given length is used to replace a 
 substring of the same length within a larger chunk.

 In previous versions a very generalized approach was used for all 
 replacement operations, requiring that the data be copied during the 
 replacement, which can be computationally expensive with large
chunks.

 Since the data being inserted is the same length as the data being 
 removed the handle size doesn't change, allowing the operation to
work 
 in-place, without copying.

 IIRC, Raney reported that the new method should improve speed by 
 roughly 4000 times for those cases.

 Dar - got the details for us?
 
 
 You got the important parts.
 
 For building a large string such as an image, the put-after command is

 fastest (1 or 2 microseconds on my Mac).  So, if you are doing color 
 shifting on an image, that is the best to go.
 
put newPixel after imageSoFar
 
 But if you are putting a small image over a large image or drawing
onto 
 an image or doing something that needs random access or a change to
only 
 part, then use same-size put-into (6 microseconds on my Mac).
 
put newPixel into char p to p+3 of imageSoFar
 
 This used to take very long on large images.  Now both of these are 
 small fixed time.  (Well, there is a tiny growth time every once in a 
 while for 'after' but it is only a microsecond on my computer, that
is, 
 it is fixed, too.)
 
 Anyway, use 'after' if you can, and make sure the chunk sizes match if

 you can't.
 
 This also very handy for binary arrays and matrices and such.
 
 I thought I had entered that as an enhancement into bugzilla, but
either 
 I goofed or it was changed.
 
 This is one of those things in which a fundamental enhancement or 
 performance improvement might open the doors to a scripting solution
to 
 what is on folks' wish lists.

Good info, thanks Dar.

Chipp, does any of this apply to your image processing routines?

Anyone else here interested in seeing if it's now feasible to write 
efficient image filters in native Transcript?

--
  Richard Gaskin
  Fourth World Media Corporation
  __
  Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: RunRev vs RealBasic (Richard Gaskin)

2005-01-21 Thread Lynch, Jonathan
It seems to me a more significant contest between the two systems would
be to assign the same project to two very experienced developers with
each development environment, and see who gets it finished quicker.

I cannot imagine many situations where productivity is not of great
significance. If a person can create a program in half the time of his
competitors, he can afford to charge less to his clients, and still make
a bigger profit.

This is not to say that Real Basic is not a fast development environment
- I honestly do not know that much about it one way or the other. I am
just saying that this particular contest misses the point for like 99
out of 100 programming situations.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chipp
Walters
Sent: Thursday, January 20, 2005 9:48 PM
To: How to use Revolution
Subject: Re: RunRev vs RealBasic (Richard Gaskin)

Hi David,

A quick Google shows you're the product manager for Real Basic. Guess 
that sorta slipped your sig ;-)

I certainly understand your desire to defend RB to the max.

I followed closely the previous RB-RR thread, and don't recall it as you

do. Perhaps we should discuss over lunch? (I'm in Austin, too!)

-Chipp


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.0 - Release Date: 1/17/2005

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Offset with 'charstoskip' doesn't work? [was RunRev vs RealBasic (Richard Gaskin)]

2005-01-21 Thread Michael D Mays
I thought I would see if I could solve the RB/Rev/SC challenge and 
tried this as a first attempt:

on mouseUp
  put fld 1 into sFld
  put fld 2 into tFld
  put  into fld 3
  -- put 0 into it --*1
  put zero into t --*2
  repeat with i= 1 to the number of lines in tFld
repeat
  -- get offset(line i of tFld,sfld,it) --*1
  get offset(line i of tFld,sfld,t) --*2
  put it into t --*2
  if it is zero then exit repeat
  put line i of tFldiitreturn after fld 3
end repeat
  end repeat
end mouseUp
but what happens is along the way it finds a search string in question 
at char 246674 and then finds it again at 250675 and then finds it 
again at 246674 then at 250675 then at 246674 then at 250675 ...

Is offset not working or am I not?
Michael
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Offset with 'charstoskip' doesn't work? [was RunRev vsRealBasic (Richard Gaskin)]

2005-01-21 Thread Alex Tweedly
Michael D Mays wrote:
I thought I would see if I could solve the RB/Rev/SC challenge and 
tried this as a first attempt:

on mouseUp
  put fld 1 into sFld
  put fld 2 into tFld
  put  into fld 3
  -- put 0 into it --*1
  put zero into t --*2
  repeat with i= 1 to the number of lines in tFld
repeat
  -- get offset(line i of tFld,sfld,it) --*1
  get offset(line i of tFld,sfld,t) --*2
  put it into t --*2
  if it is zero then exit repeat
  put line i of tFldiitreturn after fld 3
end repeat
  end repeat
end mouseUp
but what happens is along the way it finds a search string in question 
at char 246674 and then finds it again at 250675 and then finds it 
again at 246674 then at 250675 then at 246674 then at 250675 ...

Is offset not working or am I not?
It's you :-)
When you do the second search, t already contains an 'skip' value; the 
result from the offset search is relative to that.
So instead of
 put it into t
you should do
 add it to t

-- Alex.

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.1 - Release Date: 19/01/2005
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Opening custom files by Drag and Drop in standalone application

2005-01-21 Thread Alejandro Tejada
Hi Developers,

Before sending an attachment to bugzilla,
i want to recap the whole issue, for your
additions, confirmations and corrections:

Begin Report

Problem:
When i drag and drop a Rev or MC stack to a
Windows standalone i had created, it opens the
application and the stack dropped over
the executable.

Workaround:
(posted by Frank D. Engels jr.)
Under Windows, you would need to check 
the $1 variable when starting
the standalone, if a stack is
specified, close it right away, 
display an error message, and quit.

(code tested by Alejandro Tejada)

-- use this code in the card script
-- of the first card in the mainstack
-- of the standalone executable

on startup
lock messages 
-- by locking messages, you
-- do not give permission to dropped stacks
-- to execute any script...

if $1 is not empty
then
answer Please, open this application by double
clicking it's shorcut or the executable file and then
drag and drop your file inside the application's open 
window or click the Open file button within the 
application window.
quit
end if

end startup

Problems of this workaround:
(Ken Ray)
The problem is that the document stack always 
displays before you can do anything about it, 
so it looks funky.

(Alejandro Tejada)
And your file association are rendered
useless, because when you double click
on a document associated to your standalone
application, you trigguer this startup handler
and your application only shows a message and close.

End of Report

What additional information needs this report?

Richard Gaskin wrote:

This is strange, as I'd thought the only way 
for an app to be able to open documents dropped 
on it is to assign acceptable file types to it 
in the Windows registry.

If you're not making that registry entry how 
does the OS know to allow your app to accept 
drops of those files?

Honestly, i don't know... but in Windows
if i drop a stack over any executable created 
with MC or RR, the stack opens and the application 
is launched.

Richard Gaskin wrote:

Bugzilla has one of the ugliest UIs ever, 
but after a few posts it becomes acceptable.

I'll give it a try. :-)

al

=
Visit my site:
http://www.geocities.com/capellan2000/




__ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Should Runtime Revolution have an accreditation course?

2005-01-21 Thread Lynch, Jonathan
Just wondering...

Would it be helpful for RunRev (or someone who works outside of RunRev
but is approved by them) to offer an online Runtime Revolution training
course. Those who take the course, and make an A in it, would then be
officially accredited.

I can see benefits and disadvantages for such a thing. What are y'alls
thoughts? 
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: font engines

2005-01-21 Thread Meitnik

In a message dated 1/21/05 11:16:13 AM, 
[EMAIL PROTECTED] writes:


 http://www.freetype.org/index2.html
 FreeType 2 is a GLP software font engine
 small, efficient, highly customizable and portable.
 -- I would love RR to support Freetype! Yes, a proper font engine is the tool 
to fix several font problems in RR. 

Andrew


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Mac Menubar Again...

2005-01-21 Thread Frank Leahy
Chipp,
To each menubar group I add this function:
on mouseDown
  UpdateMenus
  pass mouseDown
end mouseDown
where UpdateMenus is a handler that updates all the menus in the 
menubar group.

And in each stack I have something similar to this (changing the stack 
name as needed), so that it updates the menus when a command/control 
key is used:

on RawKeyDown
  if the short name of this stack contains List of Albums then
if the commandKey is down then
  UpdateMenus
end if
  end if
  pass RawKeyDown
end RawKeyDown
This seems to work fine on both Mac and Windows (but now that I think 
about it, I wonder if this gets called if you use the keyboard to 
browse a menu on Windows).

-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
On Jan 21, 2005, at 4:28 PM, [EMAIL PROTECTED] 
wrote:

Date: Fri, 21 Jan 2005 17:03:57 +1000
From: Sarah Reichelt [EMAIL PROTECTED]
Subject: Re: Mac Menubar Again...
To: How to use Revolution use-revolution@lists.runrev.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=US-ASCII; format=flowed
The Mac menus DO respond to the mouseDown, but they don't know which
menu has been selected.
If you have a mouseDown handler in the menubar's group, it will be
triggered, but you will have to set ALL the menus at that point as you
have no way of knowing which is going to be displayed. (In Mac's once
the mouse button is clicked down in a menubar, it can be moved from
side to side and will display any menus under the pointer.)
Cheers,
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RAD contest...;-)

2005-01-21 Thread Meitnik

In a message dated 1/21/05 11:16:13 AM, 
[EMAIL PROTECTED] writes:


 It seems to me a more significant contest between the two systems would
 be to assign the same project to two very experienced developers with
 each development environment, and see who gets it finished quicker.
 -- I think after 20yrs...I should be able to make at least in FULL:
 1. MacWrite 1.0 -- word processing
 2. MacPaint 1.0 -- bitmap editing
 3. MacDraw 1.0 -- vector editing
 4. Excel 1.0 -- number processing

In either RB or RR...so show me which RAD tool is up to the challage! :)

Andrew


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Should Runtime Revolution have an accreditation course?

2005-01-21 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Accreditation is normally based on a test or a series of tests, not on 
any particular class or course.  Various courses and classes are 
typically available as a preparation step, to help someone gain the 
knowledge and/or skills required to pass the test(s).

For examples of some existing certification programs:
http://www.microsoft.com/learning/mcp/mcse/requirements.asp
http://www.novell.com/training/certinfo/cna/index.html
http://www.redhat.com/training/rhce/rhce_faq.html
http://www.sun.com/training/certification/java/
On Jan 21, 2005, at 11:30 AM, Lynch, Jonathan wrote:
Just wondering...
Would it be helpful for RunRev (or someone who works outside of RunRev
but is approved by them) to offer an online Runtime Revolution training
course. Those who take the course, and make an A in it, would then be
officially accredited.
I can see benefits and disadvantages for such a thing. What are y'alls
thoughts?
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

- ---
Frank D. Engel, Jr.  [EMAIL PROTECTED]
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep John 3:16
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFB8TD27aqtWrR9cZoRArFCAJ44v3Vy9U36PeZw25rInFqYFWi7pwCfSK8Q
N+o5xmxZ3yG9LrtFc0vdwrY=
=6xEu
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Credit card processing

2005-01-21 Thread Richard Miller
Since posting a related question back in early December, we've signed 
up with Authorize.net to use their card processing payment gateway. We 
need to get credit card information from our Rev application to 
Authorize.net and retrieve the results of the transaction back to our 
app. (We do not have the ability to do any of this from a standard 
browser. It all must all happen from within our Rev application.) 
Configuring the data fields and data stream Authorize needs is not 
difficult. The question is, how to establish and open the secure 
connection.

The following information is from the Authorize.net implementation 
guide. Given this info, it seems we might need to use the Open Secure 
Socket and Encrypt commands to start the process, but we really have no 
idea of the syntax required. Also, how is an SSL certificate involved 
in this process?

Any comments would be greatly appreciated. Thanks.
Richard Miller
Imprinter Technologies
--
How Does AIM Work?
When using AIM, transactions flow in the following way:
   1. The Merchants server initiates a secure connection to the 
payment gateway and then initiates an HTTPS POST of the transaction 
data to the gateway server
   2. The payment gateway receives and processes the transaction data
   3. The payment gateway then generates and submits the transaction 
response to the Merchants server
   4. The Merchants server receives and processes the response
   5. Finally, the Merchant prints a receipt and obtains the 
cardholders signature to complete the transaction

What is Required to Implement AIM?
Merchants must be able to perform the following functions in order to 
submit transactions to the gateway using AIM:

   1. Establish a secure socket connection
   2. Provide both server and client side encryption
   3. Develop scripts on a Web server for the integration to the 
gateway (e.g., for submitting transaction data and receiving system 
responses)

AIM Implementation
To implement AIM, a developer would design a script that can do the 
following:

   1. Securely obtain all of the information needed to process a 
transaction
   2. Initiate a secure HTTPS form POST from the merchants server to:

https://cardpresent.authorize.net/gateway/transact.dll
   3. Receive the response from the gateway and process the response to 
display the appropriate result to the end user

Note:For reasons of security, use only port 443 for AIM information 
transfers.

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Offset with 'charstoskip' doesn't work? [was RunRev vsRealBasic (Richard Gaskin)]

2005-01-21 Thread Michael D Mays
On Jan 21, 2005, at 10:05 AM, Alex Tweedly wrote:
Michael D Mays wrote:
I thought I would see if I could solve the RB/Rev/SC challenge and 
tried this as a first attempt:

on mouseUp
  put fld 1 into sFld
  put fld 2 into tFld
  put  into fld 3
  -- put 0 into it --*1
  put zero into t --*2
  repeat with i= 1 to the number of lines in tFld
repeat
  -- get offset(line i of tFld,sfld,it) --*1
  get offset(line i of tFld,sfld,t) --*2
  put it into t --*2
  if it is zero then exit repeat
  put line i of tFldiitreturn after fld 3
end repeat
  end repeat
end mouseUp
but what happens is along the way it finds a search string in 
question at char 246674 and then finds it again at 250675 and then 
finds it again at 246674 then at 250675 then at 246674 then at 250675 
...

Is offset not working or am I not?
It's you :-)
When you do the second search, t already contains an 'skip' value; the 
result from the offset search is relative to that.
So instead of
 put it into t
you should do
 add it to t

-- Alex.
Someday I will read the complete description in the documentation all 
by myself.:)
Thanks.

But what is the advantage of returning the offset from the last offset 
rather than the offset from beginning?

I think I do need to insert
  put zero into t
after the first repeat and before the second repeat.
Michael
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Mouse move command ???

2005-01-21 Thread Paul Salyers

I'm slowly converting from VB 6.0 to REV. Billy boy has gave me too much 
problems well enuff about that.

I need to know if there is a way to have a mouse move command in Rev. Let 
me explain

I have a foto of Einstein and when I put my mouse on the foto (without 
clicking) a label pops up with information about the photo.

Albert Einstein is born in Ulm (Germany) on March 14  1879, and died 
on  April 18, 1955 at the age of 76, from a rupture of his aorta.

When I move my mouse off the foto the label with the above information does 
a visible = false action.

Can this be done in Rev?
Paul Salyers
PS1 - Senior Rep.
[EMAIL PROTECTED]
Http://ps1.SoftSeven.org 

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Mouse move command ???

2005-01-21 Thread Klaus Major
Hi Mr. Salyers,
I'm slowly converting from VB 6.0 to REV. Billy boy has gave me too 
much problems well enuff about that.
I need to know if there is a way to have a mouse move command in Rev. 
Let me explain
I have a foto of Einstein and when I put my mouse on the foto (without 
clicking) a label pops up with information about the photo.
Albert Einstein is born in Ulm (Germany) on March 14  1879, and died 
on  April 18, 1955 at the age of 76, from a rupture of his aorta.
It's the year of the Einstein, isn't it?! ;-)
When I move my mouse off the foto the label with the above information 
does a visible = false action.
Can this be done in Rev?
Yes, but not with mousemove :-)
Put this into the script of the image of Albert:
on mouseenter
   show fld Info about Mr. Einstein #***
end mouseenter
#***or whatever your field is named
on mouseleave
  hide fld Info about Mr. Einstein
end mouseleave
Supposed you have the info in a field that you want to show...
Regards
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: use-revolution Digest, Vol 16, Issue 64

2005-01-21 Thread Roger Guay
I'm all for it.  Sign me up!
Cheers, Roger
On Jan 21, 2005, at 10:00 AM, [EMAIL PROTECTED] 
wrote:

Message: 1
Date: Fri, 21 Jan 2005 11:30:18 -0500
From: Lynch, Jonathan [EMAIL PROTECTED]
Subject: Should Runtime Revolution have an accreditation course?
To: How to use Revolution use-revolution@lists.runrev.com
Message-ID:
[EMAIL PROTECTED]
Content-Type: text/plain;   charset=US-ASCII
Just wondering...
Would it be helpful for RunRev (or someone who works outside of RunRev
but is approved by them) to offer an online Runtime Revolution training
course. Those who take the course, and make an A in it, would then be
officially accredited.
I can see benefits and disadvantages for such a thing. What are y'alls
thoughts?
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Mouse move command ???

2005-01-21 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
You might also consider using a tooltip on the image object.
On Jan 21, 2005, at 12:02 PM, Klaus Major wrote:
Hi Mr. Salyers,
I'm slowly converting from VB 6.0 to REV. Billy boy has gave me too 
much problems well enuff about that.
I need to know if there is a way to have a mouse move command in Rev. 
Let me explain
I have a foto of Einstein and when I put my mouse on the foto 
(without clicking) a label pops up with information about the photo.
Albert Einstein is born in Ulm (Germany) on March 14  1879, and died 
on  April 18, 1955 at the age of 76, from a rupture of his aorta.
It's the year of the Einstein, isn't it?! ;-)
When I move my mouse off the foto the label with the above 
information does a visible = false action.
Can this be done in Rev?
Yes, but not with mousemove :-)
Put this into the script of the image of Albert:
on mouseenter
   show fld Info about Mr. Einstein #***
end mouseenter
#***or whatever your field is named
on mouseleave
  hide fld Info about Mr. Einstein
end mouseleave
Supposed you have the info in a field that you want to show...
Regards
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

- ---
Frank D. Engel, Jr.  [EMAIL PROTECTED]
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep John 3:16
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFB8TrX7aqtWrR9cZoRApJ1AJ4zhmtFHFFKS6Kh0JlfomFcwUmqvgCghGDu
WTvteXRsgXF84cxAjFoEC7Q=
=My8r
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


File Read/Write

2005-01-21 Thread André Rombauts
Strange (to me): when using the write  read to file the position for
reading starts at 1.When using the 'open for update' I have to set it to 0
otherwise data cannot be written properly. Is this normal?

Andre Rombauts
 
on mouseUp

put 1 into rec
open file test.txt for binary write
repeat 3 times
write Line   rec to file test.txt
put rec + 1 into rec
end repeat
close file test.txt

put 1 into rpos
open file test.txt for binary read
repeat 3 times
put (rpos * 6) - 5 into readpos
read from file test.txt at readpos for 6 chars
put [  it  ] after display
put rpos + 1 into rpos
end repeat
close file test.txt
put display into field Log

put 1 into wpos
open file test.txt for binary update
repeat 3 times
put (wpos * 6) - 6 into writepos
write Sign   wpos to file test.txt at writepos
put wpos + 1 into wpos
end repeat
close file test.txt

put 1 into rpos
open file test.txt for binary read
repeat 3 times
put (rpos * 6) - 5 into readpos
read from file test.txt at readpos for 6 chars
put [  it  ] after display
put rpos + 1 into rpos
end repeat
close file test.txt
put display into field Log 

end mouseUp


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Should Runtime Revolution have an accreditation course?

2005-01-21 Thread Klaus Major
Hi Jonathan,
Just wondering...
Would it be helpful for RunRev (or someone who works outside of RunRev
but is approved by them) to offer an online Runtime Revolution training
course. Those who take the course, and make an A in it, would then be
officially accredited.
I can see benefits and disadvantages for such a thing. What are y'alls
thoughts?
Sounds great!
I actualy thought of that some time ago, too...
But to play the devil's advocate:
Of what worth could such an accreditation be?
I mean to whom might that be of value, except for the own ego, of 
course? ;-)

Sorry, this is really hard to explain in a non-native language...
Don't get me wrong, i like the idea!
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
Regards
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Should Runtime Revolution have an accreditation course?

2005-01-21 Thread Klaus Major
Hi Klaus :-)
Hi Jonathan,
Just wondering...
Would it be helpful for RunRev (or someone who works outside of RunRev
but is approved by them) to offer an online Runtime Revolution 
training
course. Those who take the course, and make an A in it, would then be
officially accredited.

I can see benefits and disadvantages for such a thing. What are y'alls
thoughts?
Sounds great!
I actualy thought of that some time ago, too...
But to play the devil's advocate:
Of what worth could such an accreditation be?
I mean to whom might that be of value, except for the own ego, of 
course? ;-)

Sorry, this is really hard to explain in a non-native language...
Don't get me wrong, i like the idea!
to start the discussion:
That will become of (hopefuly great) general value, when Rev itself 
will gain more
attention and accreditation in public and in the developer world!

Which gives room for another big discussion... ;-)
I do my best as an evangelist, but apparently that's not enough :-)
Regards
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Should Runtime Revolution have an accreditation course?

2005-01-21 Thread Andre Garzia
On Jan 21, 2005, at 2:30 PM, Lynch, Jonathan wrote:
Just wondering...
Would it be helpful for RunRev (or someone who works outside of RunRev
but is approved by them) to offer an online Runtime Revolution training
course. Those who take the course, and make an A in it, would then be
officially accredited.
I can see benefits and disadvantages for such a thing. What are y'alls
thoughts?
man,
just imagine I could make a Brazilian RunRev Trainning empire 
:D I have four copies of Dan Shafer's book in here and contact with 4 
major tech magazines, including main macintosh magazine in Brazil 
(belive it or not, I used to make REALBasic tutorials for them 
after Rev, I asked if I could change the language for something I 
thought better, they said no cause of sponsorship.. I said, okay, find 
another writer. no tutorial was as fun as mine or as good for the 
newbies)

I really wanted to organize something here, almost no one knows RunRev 
here... I thought about opening a stand during this years ExpoSALT 
(alternative computing expo, carries everything from c64, amigas, 
apples no PC/Win32 allowed).

well just thoughts...
andre

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

--
Andre Alves Garzia  2004
Soap Dog Studios - BRAZIL
http://studio.soapdog.org
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Offset with 'charstoskip' doesn't work? [was RunRev vsRealBasic (Richard Gaskin)]

2005-01-21 Thread Alex Tweedly
Michael D Mays wrote:
But what is the advantage of returning the offset from the last offset 
rather than the offset from beginning?
Don't know; I'd agree there are probably more cases where an overall 
answer would be more convenient, but I don't see that it makes any great 
difference. I can't think of any significant case where the relative 
result is easier to use.

I think I do need to insert
  put zero into t
after the first repeat and before the second repeat.
Or just move the existing
  put zero into t
from before the first repeat to immediately after it (before the second 
repeat)

-- Alex.
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.1 - Release Date: 19/01/2005
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: RAD contest...;-)

2005-01-21 Thread Lynch, Jonathan
I should think that creating a word processing program in RR should not
be a problem - nor would creating an excel like program.

I am not sure there would be much value to doing so - since those
programs already exist - but I think pretty much all of the standard
functionalities found in those programs could be duplicated in RR, as
well a host of other things they do not have.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Friday, January 21, 2005 11:38 AM
To: use-revolution@lists.runrev.com
Subject: Re: RAD contest...;-)


In a message dated 1/21/05 11:16:13 AM, 
[EMAIL PROTECTED] writes:


 It seems to me a more significant contest between the two systems
would
 be to assign the same project to two very experienced developers with
 each development environment, and see who gets it finished quicker.
 -- I think after 20yrs...I should be able to make at least in FULL:
 1. MacWrite 1.0 -- word processing
 2. MacPaint 1.0 -- bitmap editing
 3. MacDraw 1.0 -- vector editing
 4. Excel 1.0 -- number processing

In either RB or RR...so show me which RAD tool is up to the challage! :)

Andrew


___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: use-revolution Digest, Vol 16, Issue 64

2005-01-21 Thread Lynch, Jonathan
How many RunRev users are there? Are there enough to make such a course
practical?

I would agree with Frank's comment - that it would make more sense to
have the accreditation separate from the course.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Roger Guay
Sent: Friday, January 21, 2005 12:15 PM
To: use-revolution@lists.runrev.com
Subject: Re: use-revolution Digest, Vol 16, Issue 64

I'm all for it.  Sign me up!

Cheers, Roger


On Jan 21, 2005, at 10:00 AM, [EMAIL PROTECTED] 
wrote:

 Message: 1
 Date: Fri, 21 Jan 2005 11:30:18 -0500
 From: Lynch, Jonathan [EMAIL PROTECTED]
 Subject: Should Runtime Revolution have an accreditation course?
 To: How to use Revolution use-revolution@lists.runrev.com
 Message-ID:
   [EMAIL PROTECTED]
 Content-Type: text/plain; charset=US-ASCII

 Just wondering...

 Would it be helpful for RunRev (or someone who works outside of RunRev
 but is approved by them) to offer an online Runtime Revolution
training
 course. Those who take the course, and make an A in it, would then be
 officially accredited.

 I can see benefits and disadvantages for such a thing. What are y'alls
 thoughts?

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Should Runtime Revolution have an accreditation course?

2005-01-21 Thread Lynch, Jonathan
Well - the accreditation would serve two purposes

1) excellent line on a resume
2) people seeking to achieve the accreditation would have to learn the
program really well in order to get there. It would encourage them
become knowledgable, and prove that they have done so.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Klaus
Major
Sent: Friday, January 21, 2005 12:58 PM
To: How to use Revolution
Subject: Re: Should Runtime Revolution have an accreditation course?

Hi Jonathan,

 Just wondering...

 Would it be helpful for RunRev (or someone who works outside of RunRev
 but is approved by them) to offer an online Runtime Revolution
training
 course. Those who take the course, and make an A in it, would then be
 officially accredited.

 I can see benefits and disadvantages for such a thing. What are y'alls
 thoughts?

Sounds great!
I actualy thought of that some time ago, too...

But to play the devil's advocate:
Of what worth could such an accreditation be?
I mean to whom might that be of value, except for the own ego, of 
course? ;-)

Sorry, this is really hard to explain in a non-native language...

Don't get me wrong, i like the idea!

 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 http://lists.runrev.com/mailman/listinfo/use-revolution

Regards

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

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RAD contest...;-)

2005-01-21 Thread Andre Garzia
On Jan 21, 2005, at 4:17 PM, Lynch, Jonathan wrote:
I am not sure there would be much value to doing so - since those
programs already exist -
simply, build a good editor for our supported platforms like HP-UX and 
AIX and all those strange unix flavours Some users might really 
enjoy this
--
Andre Alves Garzia  2004
Soap Dog Studios - BRAZIL
http://studio.soapdog.org

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Offset with 'charstoskip' doesn't work? [was RunRev vsRealBasic (Richard Gaskin)]

2005-01-21 Thread Richard Gaskin
Michael D Mays wrote:
Someday I will read the complete description in the documentation all by 
myself.:)
Thanks.

But what is the advantage of returning the offset from the last offset 
rather than the offset from beginning?

I think I do need to insert
  put zero into t
after the first repeat and before the second repeat.
Sometimes I parse by removing things from the front, other times I leave 
things in place.  The current scheme lets me do both as I choose.

--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: RAD contest...;-)

2005-01-21 Thread Lynch, Jonathan
I know nothing about Unix :(

But, I just created a stack that is basically a primitive word processor - it 
lets me create multiple page reports with text fields and pictures. The fields 
are scripted so that, for any given series of fields, the text autoflows from 
one field to the next, allowing an easy way to wrap text around pictures and to 
have non-contiguous articles.

For a different app at my work I wrote a spellcheck.

My windows printing script is, according to a developer friend of mine at work, 
a total hack - but it prints beautifully. With a few weeks of work, the same 
process I use for printing could be used to create complex pseudo-fields that 
allow character kerning, embedded wrappable pictures, and a few other tricks.

Just starting with those simple elements, combined with progams others here 
have written, such as practical pixel-based drawing programs, it would only 
take a team of 4 or 5 Rev developers a few months effort to produce a 
word-processor that is competitive with MS-Word, but with added multi-media 
features.

But - is there really value in reinventing the wheel? Is there really enough 
Unix/Linux users to make such an effort profitable?



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andre Garzia
Sent: Friday, January 21, 2005 1:40 PM
To: How to use Revolution
Subject: Re: RAD contest...;-)


On Jan 21, 2005, at 4:17 PM, Lynch, Jonathan wrote:

 I am not sure there would be much value to doing so - since those
 programs already exist -

simply, build a good editor for our supported platforms like HP-UX and 
AIX and all those strange unix flavours Some users might really 
enjoy this
-- 
Andre Alves Garzia  2004
Soap Dog Studios - BRAZIL
http://studio.soapdog.org

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


SpecialFolderPath

2005-01-21 Thread Paul Salyers

the specialFolderPath of folderIdentifier
specialFolderPath(folderIdentifier)
specialFolderPath(Preferences)
set the defaultFolder to specialFolderPath(documents)
put specialFolderPath(asup) into appSupportFolder -- special constant
I need help one last time. :)
I found the above code on Rev doc-help section by searching for Special 
but as usually no coding help!

can some1 help me with a small stack that will place an icon  on the desk 
top to run the program from the current location.

Thank you
Paul Salyers
PS1 - Senior Rep.
[EMAIL PROTECTED]
Http://ps1.SoftSeven.org 

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: use-revolution Digest, Vol 16, Issue 64

2005-01-21 Thread Dan Shafer
A couple of perhaps prejudiced observations here.
First, accreditation generally isn't credible unless it is issued by an 
independent third party testing organization. Having RunRev certify 
Rev developers would, in almost all real-world cases, be meaningless.

Second, as the world of Java certification has shown, this is a 
seldom-used idea except by very large corporations looking for a 
no-brainer way to screen out applicants when there's an over-abundance 
of talent, a problem the Rev community does not now have is not likely 
ever to face.

Finally, certification is really only helpful -- when it is at all -- 
to fairly newcomers to the game. Experienced programmers get their 
credibility by reference and demonstration of work done to date.

I for one would not want to see RunRev spend any energy in this area 
with so many other things that we all need them to be doing.

dan
On Jan 21, 2005, at 10:23 AM, Lynch, Jonathan wrote:
How many RunRev users are there? Are there enough to make such a course
practical?
I would agree with Frank's comment - that it would make more sense to
have the accreditation separate from the course.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Roger 
Guay
Sent: Friday, January 21, 2005 12:15 PM
To: use-revolution@lists.runrev.com
Subject: Re: use-revolution Digest, Vol 16, Issue 64

I'm all for it.  Sign me up!
Cheers, Roger
On Jan 21, 2005, at 10:00 AM, [EMAIL PROTECTED]
wrote:
Message: 1
Date: Fri, 21 Jan 2005 11:30:18 -0500
From: Lynch, Jonathan [EMAIL PROTECTED]
Subject: Should Runtime Revolution have an accreditation course?
To: How to use Revolution use-revolution@lists.runrev.com
Message-ID:
[EMAIL PROTECTED]
Content-Type: text/plain;   charset=US-ASCII
Just wondering...
Would it be helpful for RunRev (or someone who works outside of RunRev
but is approved by them) to offer an online Runtime Revolution
training
course. Those who take the course, and make an A in it, would then be
officially accredited.
I can see benefits and disadvantages for such a thing. What are y'alls
thoughts?
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: SpecialFolderPath

2005-01-21 Thread Richard Gaskin
Paul Salyers wrote:

the specialFolderPath of folderIdentifier
specialFolderPath(folderIdentifier)
specialFolderPath(Preferences)
set the defaultFolder to specialFolderPath(documents)
put specialFolderPath(asup) into appSupportFolder -- special constant
I need help one last time. :)
I found the above code on Rev doc-help section by searching for 
Special but as usually no coding help!
Searching for specialFolderPath brought up this:
--
For OS X systems:
Desktop: The user's Desktop folder
System: The active System Folder
Fonts: The system Fonts folder
Preferences: The Preferences folder inside the user's Library folder
For Mac OS and OS X systems, you can also specify a four-character 
special folder constant as the folderIdentifier. You can find a list of 
these constants on the Apple web site at 
http://developer.apple.com/techpubs/macosx/Carbon/Files/FolderManager/Folder_Manager/folder_manager_ref/constant_6.html#//apple_ref/c/tdef/FolderType.

  Note:  Some special folder constants are meaningful only on Mac OS or 
only on OS X but not both. Not all special folder constants work on all 
system versions.

For Windows systems:
Desktop: For icons on the desktop
System: For system components
Start: For items in the Start menu
Documents: For user documents
Fonts: For font storage
Temporary: For storage of temporary files
For Windows systems, you can also specify a CSIDL number that identifies 
a special folder. You can find a list of available CDISL values on the 
Microsoft web site at 
http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/reference/enums/csidl.asp.

  Note:  The CSIDL numbers are provided in hexadecimal notation, so 
you'll need to use the baseConvert function to translate them into 
decimal numbers to use them with the specialFolderPath function. For 
example, the CSIDL number of the My Music folder is hexadecimal 
0x000d. The expression baseConvert(0x000d,16,10) is equal to 13, the 
number in decimal notation, so you use 13 as the folderIdentifier to 
obtain the location of the My Music folder.

  Note:   Not all CSIDL numbers work on all Windows versions.
-
--
 Richard Gaskin
 Fourth World Media Corporation
 Developer of WebMerge: Publish any database on any Web site
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RAD contest...;-)

2005-01-21 Thread Richard Gaskin
Lynch, Jonathan wrote:
 But - is there really value in reinventing the wheel?
 Is there really enough Unix/Linux users to make such
 an effort profitable?
...and who aren't already using Open Office, or Think Free Office, or 
any of the others?

That Rev and other tools are used to develop professional applications 
has already been proven, many times over every month.

In every trollfest on every list for every product, there is inevitably 
one point or another in favor of each tool.

And still, people use the tool they prefer, and their preference is 
driven by a much wider range of factors rarely related to someone else's 
decision to waste their own time replicating office suites. :)

One of the reasons I find these sorts of threads tedious is that they 
tend to be as lengthy as they are fruitless.

Posts in which someone migrating to Rev from another tool asks questions 
of how to do something they're used to doing differently are useful, but 
the ol' my tool is better than your tool gambit less so.

If someone here were to misrepresnt RB by saying it costs a thousand 
dollars or some such silliness, I would expect that product manager to 
correct the claim if no one here did.

But perpetuating pissing matches over hair-splitting tedium rarely 
accomplishes more than annoyance for the reader and Google fodder for 
the other vendor.

A far better use of time might be to ship apps. :)
--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: SpecialFolderPath

2005-01-21 Thread Lynch, Jonathan
Here is a script I use for a project I am working on... I commented out
the part that sets the registry so that the progam runs automatically
upon computer startup. Even still, you would probably need to tweak it a
bit to work for your program.


On Mouseup

  put the filename of this stack into thisapp
  put the filename of this stack into thisfilespath
  replace / with \ in thisapp
  --get
setregistry(HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersio
n\Run\Newsautoload, thisapp)
  --put Autoload into field Registry Status
  --send savesettings to this stack
  
  create alias (specialfolderpath(start)  /  CDC News
Autoload.lnk) to file (thisfilespath)
  create alias (specialfolderpath(desktop)  /  CDC News
Autoload.lnk) to file (thisfilespath)
  
  get setRegistry(HKEY_CLASSES_ROOT\.cna\,Autoload daily newsletter)
  get setRegistry(HKEY_CLASSES_ROOT\Autoload daily
newsletter\DefaultIcon\,thisfilespath)
  get setRegistry(HKEY_CLASSES_ROOT\Autoload daily
newsletter\shell\open\command\,thisfilespath)

end mouseup









-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul
Salyers
Sent: Friday, January 21, 2005 2:06 PM
To: How to use Revolution
Subject: SpecialFolderPath




the specialFolderPath of folderIdentifier
specialFolderPath(folderIdentifier)

specialFolderPath(Preferences)
set the defaultFolder to specialFolderPath(documents)
put specialFolderPath(asup) into appSupportFolder -- special constant


I need help one last time. :)

I found the above code on Rev doc-help section by searching for
Special 
but as usually no coding help!

can some1 help me with a small stack that will place an icon  on the
desk 
top to run the program from the current location.

Thank you


Paul Salyers
PS1 - Senior Rep.
[EMAIL PROTECTED]
Http://ps1.SoftSeven.org 

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: SpecialFolderPath

2005-01-21 Thread Ken Ray

 For Windows systems, you can also specify a CSIDL number that identifies
 a special folder. You can find a list of available CDISL values on the
 Microsoft web site at
 http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/reference/enum
 s/csidl.asp.

Even easier is to use my tips page that lists them all for you, both for OS
X and for Windows:

  http://www.sonsothunder.com/devres/revolution/revolution.htm?_file010

:-)


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



___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


xml demo not working

2005-01-21 Thread Bob Hartley
Hi all.
I'm looking at sarah's xmldemo and when I click on load I get this error.
executing at 8:29:00 PM
TypeHandler: can't find handler
Object  Close
LinerevDeleteAllXMLTrees
HintrevDeleteAllXMLTrees
Now when I look at the script  for the load button I see
-- load any XML file into memory, creating a tree and displaying the tree,
-- the XML text and the root tag, beofre going to the Edit tab
--
on mouseUp
  local tFileName, tData, tDocID
  -- tidy up any old trees first
  send mouseUp to btn Close

The button close has a script
on mouseUp
  revDeleteAllXMLTrees
  put empty into fld DocID
  put empty into fld Tree
  put empty into fld XML
  put empty into fld RootTag
  put empty into fld Tag
  put empty into fld Data
  put empty into fld Element
  put empty into fld ElementEdit
  put empty into fld ElementAdd
  put empty into fld NewData
  put empty into fld Attributes
  set the menuHistory of btn Tabs to 1
end mouseUp
And this declares and error as well.
Any ideas using xmldemo1.rev
cheers
bob
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.13 - Release Date: 16/01/2005
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RAD contest...;-)

2005-01-21 Thread David Vaughan
On 22/01/2005, at 4:00, [EMAIL PROTECTED] wrote:

It seems to me a more significant contest between the two systems 
would
be to assign the same project to two very experienced developers with
each development environment, and see who gets it finished quicker.
-- I think after 20yrs...I should be able to make at least in FULL:
 1. MacWrite 1.0 -- word processing
 2. MacPaint 1.0 -- bitmap editing
 3. MacDraw 1.0 -- vector editing
 4. Excel 1.0 -- number processing
Richard's comment on productivity was intended to focus on tasks 
typically facing professional developers rather than on artificial 
contests. It is indeed important that you can process words, bitmaps, 
vectors and numbers but a contest involving creating new, complete 
applications in each of these fields is hardly relevant to the daily 
needs of most people on this list or of the customers they serve. I can 
see next that this discussion would descend into a feature contest in 
each of the specific areas; again, not what Richard intended. Let's 
drop it.

As for Mr Grogono, a man who on my reading can deny and then admit the 
same thing in a single paragraph, he might recall that a predecessor in 
his company when writing to this list had the courage to sign his 
messages in full rather than restrict the information to his e-mail 
address.

I doubt that either Mr Rivers or Mr Grogono actually achieved anything 
by their writing other than a change of employment for the first 
gentleman. Perhaps Mr Grogono is looking for a job ;-)

regards
David
In either RB or RR...so show me which RAD tool is up to the challage! 
:)

Andrew
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: xml demo not working

2005-01-21 Thread Bob Hartley
At 20:42 21/01/2005, you wrote:
Hi all.


I'm looking at sarah's xmldemo and when I click on load I get this error.

Ohhh this is getting weird
It then started to work and not it doesn't.
If I load the demo then hit the button to go to page 2 of the tutorial it 
will go to that page. MNote (1)
But if I then go back and star the xml constructor I get an error. Then if 
I try to go to the tutorial  (usingthe same button that worked in note (1)) 
there is an error?
WinXP latestSP and all updates, latest rev studio 2,5.

cheers
bob 

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.13 - Release Date: 16/01/2005
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


valentina and rev

2005-01-21 Thread Bob Hartley
HI all.
OK here is a rant. I was on the apple store site the other day looking at a 
mac mini. I noticed that they sell realbasic but not rev.

I have been looking at valentina and they mention real basic and lots of 
other scenarios where you can use valentina but not rev.
Should this dev env not be plugging itself to these people?

Cheers
Bob  

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.13 - Release Date: 16/01/2005
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


some pre-shots on my new app...

2005-01-21 Thread Andre Garzia
Hi Folks,
I am building a new version of my DataJr app which is used on the 
Marketing and Advertising Superior School of Rio De Janeiro (it's a 
university) to track their contacts and manage their projects. It's 
database independent, you can tie it to Valentina, MySQL, Oracle, 
whatever works with revDatabase. I think it's going nice... also it 
sports a nice Instant Messaging feature...

I am posting some links to shots here so that people could give some 
feedback. I am still glueing the new interface to the routines so there 
are lots of placeholder controls without data for now.

http://homepage.mac.com/soapdog/DataJR/DataJr03.png
http://homepage.mac.com/soapdog/DataJR/DataJr04.png
http://homepage.mac.com/soapdog/DataJR/DataJr05.png
http://homepage.mac.com/soapdog/DataJR/DataJr06.png
Since reusing code in Rev is so cool and easy, I almost don't have to 
write anything, it's just a matter of binding the old script to the new 
controls... I plan to make a generic version of this app and put it 
to sale online.

Cheers
andre
--
Andre Alves Garzia  2004
Soap Dog Studios - BRAZIL
http://studio.soapdog.org
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Office Software

2005-01-21 Thread Lynch, Jonathan
Richard's earlier comment got me to wondering...

My use of Rev is for a few specialized situations, and I am largely
ignorant of the various office software programs out there. After he
mentioned OpenOffice I went online to read about it.

Apparently it is free for customers, although Sun paid like $60-million
for it! I looked up user comments on groups.google, and it seems that
OpenOffice is not quite as polished as MS Office, and probably will not
be serious competition for at least a few more development releases.
That seems kind of lame to me - I mean, for an investment of
$60-million, surely a competitive quality of software could be created?
But then again, I understand little about the software market.

I have two questions for the folks on this list experienced with both
writing and selling software:

1) Is it really that difficult to create basic office software? 

2) Why does it cost so much?
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: some pre-shots on my new app...

2005-01-21 Thread James . Cass
Andre-
(B
(BThat looks fantastic!  The only (very picky) suggestion I have is with the 
(Binstant messenger (http://homepage.mac.com/soapdog/DataJR/DataJr03.png). 
(BYou may want a space or two between the speaker and what is being said. 
(BNow it looks like "andre:hey hey hey!".  Maybe have it look like "andre: 
(Bhey hey hey!".  Other than that, everything looks really polished.
(B
(BCheers...James
(B
(B
(B
(B
(B
(BAndre Garzia [EMAIL PROTECTED]
(BSent by: [EMAIL PROTECTED]
(B01/21/05 04:50 PM
(BPlease respond to How to use Revolution
(B 
(BTo: How to use Revolution use-revolution@lists.runrev.com
(Bcc: 
(BSubject:some pre-shots on my new app...
(B
(B
(BHi Folks,
(B
(BI am building a new version of my DataJr app which is used on the
(BMarketing and Advertising Superior School of Rio De Janeiro (it's a
(Buniversity) to track their contacts and manage their projects. It's
(Bdatabase independent, you can tie it to Valentina, MySQL, Oracle,
(Bwhatever works with revDatabase. I think it's going nice... also it
(Bsports a nice Instant Messaging feature...
(B
(BI am posting some links to shots here so that people could give some
(Bfeedback. I am still glueing the new interface to the routines so there
(Bare lots of placeholder controls without data for now.
(B
(Bhttp://homepage.mac.com/soapdog/DataJR/DataJr03.png
(Bhttp://homepage.mac.com/soapdog/DataJR/DataJr04.png
(Bhttp://homepage.mac.com/soapdog/DataJR/DataJr05.png
(Bhttp://homepage.mac.com/soapdog/DataJR/DataJr06.png
(B
(BSince reusing code in Rev is so cool and easy, I almost don't have to
(Bwrite anything, it's just a matter of binding the old script to the new
(Bcontrols... I plan to make a "generic" version of this app and put it
(Bto sale online.
(B
(BCheers
(Bandre
(B
(B--
(BAndre Alves Garzia ? 2004
(BSoap Dog Studios - BRAZIL
(Bhttp://studio.soapdog.org
(B___
(Buse-revolution mailing list
(Buse-revolution@lists.runrev.com
(Bhttp://lists.runrev.com/mailman/listinfo/use-revolution
(B___
(Buse-revolution mailing list
(Buse-revolution@lists.runrev.com
(Bhttp://lists.runrev.com/mailman/listinfo/use-revolution

Re: valentina and rev

2005-01-21 Thread Chipp Walters
Yep, I agree. It's especially interesting when RR last year spent 
valuable resources sending R Gaskin and yours truly to man a booth at 
the Mac Developer conference at the bequest of Apple. And after 
arriving, finding no RB presence at all.

--Chipp

Bob Hartley wrote:
HI all.
OK here is a rant. I was on the apple store site the other day looking 
at a mac mini. I noticed that they sell realbasic but not rev.

I have been looking at valentina and they mention real basic and lots of 
other scenarios where you can use valentina but not rev.
Should this dev env not be plugging itself to these people?

Cheers
Bob 


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.0 - Release Date: 1/17/2005
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Office Software

2005-01-21 Thread Andre Garzia
On Jan 21, 2005, at 7:55 PM, Lynch, Jonathan wrote:
1) Is it really that difficult to create basic office software?
2) Why does it cost so much?
Jonathan,
to create a huge mammoth (is this how one spell 
big-prehistoric-elephant in english?) like an Office app is not a task 
for a single person Man, just think about the thousands of features 
that you don't use... then wonder about the thousand of features you 
don't even know

The word processor task... imagine the code to manage one single 
document! those things are not HTML they are more complex than 
that... now wonder about SPREADSHEETit take years and a team to 
create a simple one now, integrate the whole office I would not 
know how to begin a project like this. I think thats why there are 
special developer teams doing this kind of thing for years.

don't know, for me it's just to big.
andre
--
Andre Alves Garzia  2004
Soap Dog Studios - BRAZIL
http://studio.soapdog.org
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RunRev vs RealBasic (Richard Gaskin)

2005-01-21 Thread David Grogono
Chipp Walters wrote:

 Hi David,
 
 A quick Google shows you're the product manager for Real Basic. Guess
 that sorta slipped your sig ;-)

I certainly wasn't trying to hide my affiliation and I did use my REAL
Software email address.  I tend not to use a signature very often although
it would probably be a good habit to get into.

 I certainly understand your desire to defend RB to the max.
 
 I followed closely the previous RB-RR thread, and don't recall it as you
 do. 

Before posting to this list I wanted to confirm my recollection and read
original messages from both the RunRev and REALbasic mailing lists.

 Perhaps we should discuss over lunch? (I'm in Austin, too!)

Sounds good - feel free to contact me off list.

Best regards, David

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Office Software

2005-01-21 Thread Lynch, Jonathan
Yeah but...

And again, I am not advocating that any of us bother creating a competitive 
word processor in Rev, because I see little point in re-inventing the wheel 
unless there is some sort of clear advantage the software can deliver...

But...

Using Rev, most of these types of programs would not be that difficult. I 
understand that the reason for that is because Rev does most of the hard stuff 
for you.

A spreadsheet, for example, may be complex in terms of defining the cells and 
such - but if you already have the code worked out for defining a field, it 
cannot too big of a jump to defining a cell. 

As for features - do they really have thousands? I am pretty skilled with using 
both MS Word and MS Excel. It doesn't seem like they contain thousands of 
features - but maybe I am just not appreciating everything they can do.

In my humble opinion, it seems that the problem must be that these programs are 
being essentially built from scratch. If they were designed using a single 
starting point, with all the basic components ready to use, then they could be 
created much more efficiently.

Think about it - for $65-million, don't you think a team of experienced Rev 
developers could create a suite that would blow the pants off of MS office?

All hypothetical, of course.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andre Garzia
Sent: Friday, January 21, 2005 5:28 PM
To: How to use Revolution
Subject: Re: Office Software


On Jan 21, 2005, at 7:55 PM, Lynch, Jonathan wrote:

 1) Is it really that difficult to create basic office software?

 2) Why does it cost so much?

Jonathan,

to create a huge mammoth (is this how one spell 
big-prehistoric-elephant in english?) like an Office app is not a task 
for a single person Man, just think about the thousands of features 
that you don't use... then wonder about the thousand of features you 
don't even know

The word processor task... imagine the code to manage one single 
document! those things are not HTML they are more complex than 
that... now wonder about SPREADSHEETit take years and a team to 
create a simple one now, integrate the whole office I would not 
know how to begin a project like this. I think thats why there are 
special developer teams doing this kind of thing for years.

don't know, for me it's just to big.

andre

-- 
Andre Alves Garzia  2004
Soap Dog Studios - BRAZIL
http://studio.soapdog.org

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


XML library

2005-01-21 Thread Wilhelm Sanke
Could anybody tell me where the XML library is located in the Rev IDE?
The XMLRPC library is right there in the revlibrary stack, but the 
XML library?

Thanks in advance!
Wilhelm Sanke
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Office Software

2005-01-21 Thread Richard Gaskin
Lynch, Jonathan wrote:
 Using Rev, most of these types of programs would not be
 that difficult. I understand that the reason for that
 is because Rev does most of the hard stuff for you.

 A spreadsheet, for example, may be complex in terms of
 defining the cells and such - but if you already have
 the code worked out for defining a field, it cannot too
 big of a jump to defining a cell.
Ah, but the devil is in the details.  So many of them in an Office Suite...
 Think about it - for $65-million, don't you think a team
 of experienced Rev developers could create a suite that
 would blow the pants off of MS office?
Heck, me and two friends will do it for $3 million, a huge cost savings 
and the highest margins I've ever had. :)

And as RevNet and others demonstrate, AOL could save boatloads of cash 
by tossing whatever crippled beast they're currently using to make their 
AOL client and using Rev instead.

If you schedule the meeting with Sun or AOL, I'll be there. :)
--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: some pre-shots on my new app...

2005-01-21 Thread Klaus Major
Bom dias, oh sorry buenos dias Andre ;-)
Hi Folks,
I am building a new version of my DataJr app which is used on the 
Marketing and Advertising Superior School of Rio De Janeiro (it's a 
university) to track their contacts and manage their projects. It's 
database independent, you can tie it to Valentina, MySQL, Oracle, 
whatever works with revDatabase. I think it's going nice... also it 
sports a nice Instant Messaging feature...

I am posting some links to shots here so that people could give some 
feedback. I am still glueing the new interface to the routines so 
there are lots of placeholder controls without data for now.

http://homepage.mac.com/soapdog/DataJR/DataJr03.png
http://homepage.mac.com/soapdog/DataJR/DataJr04.png
http://homepage.mac.com/soapdog/DataJR/DataJr05.png
http://homepage.mac.com/soapdog/DataJR/DataJr06.png
Since reusing code in Rev is so cool and easy, I almost don't have to 
write anything, it's just a matter of binding the old script to the 
new controls... I plan to make a generic version of this app and put 
it to sale online.
Muito lindo!!!
You guy never fail to astonish us with your work!!! :-)
Good to know you are back on the road after your injury and insufficient
acces to the net ;-)
Cheers
andre
--
Andre Alves Garzia  2004
Soap Dog Studios - BRAZIL
http://studio.soapdog.org
Adeus, meu amigo...
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
P.S.
PAALM! :-D
Sorry, private joke!
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Changing the contents of a custom property

2005-01-21 Thread Glen Bojsza
I have a custom property called connectorName that currently has the
following contents

darpa
nrl
hsecurity

I am trying to figure out how I can delete one or more than one of the
contents via script.

Also, how to add new content via script.

Is there an example stack available?

thanks,

Glen
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Changing the contents of a custom property

2005-01-21 Thread Chipp Walters
Hi Glen,
put the connectorName of fld myFld into tList
delete line 2 of tList
put cr  darpa2 after tList
set the connectorName of fld myFld to tList
Glen Bojsza wrote:
I have a custom property called connectorName that currently has the
following contents
darpa
nrl
hsecurity
I am trying to figure out how I can delete one or more than one of the
contents via script.
Also, how to add new content via script.

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.0 - Release Date: 1/17/2005
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Changing the contents of a custom property

2005-01-21 Thread Klaus Major
Hi Glen,
I have a custom property called connectorName that currently has the
following contents
darpa
nrl
hsecurity
I am trying to figure out how I can delete one or more than one of the
contents via script.
No need for an extra stack ;-)
on mouseup
   put the connectorName of xyz into tempCP
   delete line 1 of tempCP
   ## delete whatever you want...
   set the connectorName of xyz to tempCP
end mouseup
Also, how to add new content via script.
No need for an extra stack ;-)
on mouseup
   put the connectorName of xyz into tempCP
   if tempCP = empty then
   put New line into tempCP
   else
  put CR  New line after tempCP
  end if
   set the connectorName of xyz to tempCP
end mouseup
Is there an example stack available?
See above.
thanks,
You're welcome.
Glen
Best
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: some pre-shots on my new app...

2005-01-21 Thread Marian Petrides
Very pretty Andre!  Since I don't read Spanish (?Portugese?), it's a 
little hard for me to comment on the functionality of the interface, 
but the eye candy certainly is wonderful :-))

Marian
On Jan 21, 2005, at 4:50 PM, Andre Garzia wrote:
Hi Folks,
I am building a new version of my DataJr app which is used on the 
Marketing and Advertising Superior School of Rio De Janeiro (it's a 
university) to track their contacts and manage their projects.

I am posting some links to shots here so that people could give some 
feedback. --
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Synchronization puzzle.

2005-01-21 Thread Alex Tweedly
[ slightly OT - this is a design / algorithm question rather than a 
Rev/xtalk one, really ]
[and it's a long, rambling email - so feel free to skip it]

I am in the process of writing my own Address Book application.
That may sound like an odd thing to do :
  aren't there already hundreds of programs to do that already ? 
  isn't there an address book built into the OS and/or major apps ?
  can't you get everything from freeware to professional apps to do that ?
  what's wrong with the software that came with your Palm Pilot (or 
PDA, or Pocket PC, or )
  why re-invent the wheel ?

The reason that none of them quite satisfies my needs is simple - I want 
a shared address book, between myself, my wife and various other family 
members. There need to be up to 8 different computers running this 
application - all of them on a network, but never all on the same 
network. There are two separate home networks, plus maybe a server on a 
web-site somewhere so I can use it from anywhere with an Internet 
connection; the 3 laptops will intermittently appear on one or other 
network.

Any person can make updates to the address book, and I want a simple way 
to synchronize those changes on to the other instances of the app. What 
I've been doing until recently was using the Palm Desktop software that 
came with my Palm Pilot on each machine; periodically I would sync the 
Palm Desktop to my Palm Pilot, then re-connect the Pilot to another 
machine and sync there, then to another, then .   which all worked 
OK, though it's a bit of a drag connecting the Pilot to the serial port 
of each machine in turn. And it just seems crazy when they're connected 
together by 100M Ethernet :-)

But now the two newest machines don't have a traditional serial port, 
only USBs. So I have the choice of spending £29.95 for a cable or tens 
(hundreds) of hours writing software - no competition :-)

I looked at using the Palm database, and simply (??) writing an app to 
sync databases - but the combination of incomplete documentation on the 
format (not to mention its complexity) and concern that I might conflict 
with Palm's synchronization technique has put me off that.  I should 
mention that I never (or very, very rarely) actually use the Palm Pilot 
for anything other than this synch'ing effort. The Palm Pilot is almost 
never carried around; it has, for me, been squeezed out of its niche by 
my laptop one one side and my cell phone with its 100+ phone numbers and 
storage for many SMS messages on the other. (I sometime text myself an 
address or directions if I think I'm likely to need it and won't be 
taking the laptop - or occasionally even use pen+paper !!)

What I'm looking for, then, is a method to do peer-to-peer 
synchronization between an undefined number of instances of the address 
database. I've got a design, I've thought it through as much as I can, 
I've done dry-runs on paper to check it works, I've implemented it and 
tested it - but I'm still concerned that I've missed something, and that 
it will fail in some circumstances.

Here's the relevant section of my design document (i.e. transcription 
of the scribbling on the back of an envelope); I'd be very grateful for 
any comments, corrections, etc.  On the other hand, if there is some 
standard technique or algorithm for doing this, and I just didn't know 
about it (and couldn't find it in a Google search), then a pointer to a 
good description would be also very useful.

---
Synchronization.
All synchs are user-triggered - i.e. a user on one machine will trigger 
a sync to another machine; the user is available to resolve anyh 
conflicts immediately) or she can choose to postpone that part of the 
synchronization until later. The two machines must be networked together 
at the time of a sync. That sync can use any of:
 - shared file systems   (e.g. laptop to file server)
 - http request / post   (e.g. laptop to web site)
 - TCP based connection (e.g. laptop to laptop while on same network).

(I don't export the filesystems on the laptops, nor do I run http server 
on them, so the plan is that each machine can run a address-book-sync 
server that will accept TCP connections on some odd port, and transfer 
data that way).

The fundamental sync algorithm is the same in each case; the description 
below is written as though the synching machine had complete access to 
the 'other' address files. The optimizations possible to avoid complete 
transfer of the data should be apparent - but in fact for my address 
book, the whole file is probably never going to be above 100K, so it's 
not clear if those optimizations are worth the implementaion effort.

Time synchronization.
It cannot be assumed that the clocks of the different computers are in 
sync, even approximately. It can (and will) be assumed that each 
computer's clock will return times that are continuously increasing.

(Yes, I do know about NTGP, and SNTP, and TSP, and various other 

Re: some pre-shots on my new app...

2005-01-21 Thread Richard Gaskin
Andre Garzia wrote:
Hi Folks,
I am building a new version of my DataJr app which is used on the 
Marketing and Advertising Superior School of Rio De Janeiro (it's a 
university) to track their contacts and manage their projects. It's 
database independent, you can tie it to Valentina, MySQL, Oracle, 
whatever works with revDatabase. I think it's going nice... also it 
sports a nice Instant Messaging feature...

I am posting some links to shots here so that people could give some 
feedback. I am still glueing the new interface to the routines so there 
are lots of placeholder controls without data for now.

http://homepage.mac.com/soapdog/DataJR/DataJr03.png
http://homepage.mac.com/soapdog/DataJR/DataJr04.png
http://homepage.mac.com/soapdog/DataJR/DataJr05.png
http://homepage.mac.com/soapdog/DataJR/DataJr06.png
Looks great, Andre. Good job!
BTW: I see you typed the screen shot command in the Message Box -- if 
you get tired of typing, since you're using devolution you can use its 
Camera utility in the Tools menu.

--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Synchronization puzzle.

2005-01-21 Thread Stephen Barncard
Why bother with sync at all? That looks like a nightmare!
Are all your workstations internet-connected?
Why not create a MYSQL database and any number of clients made in Rev 
to talk to it. Most good ISPs offer it.

All data will be real-time - no copies needed. Very simple.

[ slightly OT - this is a design / algorithm question rather than 
a Rev/xtalk one, really ]
[and it's a long, rambling email - so feel free to skip it]

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: RAD contest...;-)

2005-01-21 Thread David Grogono
David Vaughan wrote:

 As for Mr Grogono, a man who on my reading can deny and then admit the
 same thing in a single paragraph,

If you'd like me to clarify anything I said please contact me off list as
I'd rather not add clutter here.  If after contacting me off list you'd like
me to also clarify it on this list I'd be happy to do so.

 he might recall that a predecessor in
 his company when writing to this list had the courage to sign his
 messages in full rather than restrict the information to his e-mail
 address.

This has nothing to do with courage.  As I stated in my previous reply to
Chipp I tend not to use signatures.  Since my current signature (when I
choose to use it) advertises both REAlbasic and the upcoming REAlbasic User
Conference it seemed inappropriate to use it on this list when I rarely use
it on our own lists.
 
Best regards,
David Grogono

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Synchronization puzzle.

2005-01-21 Thread Alex Tweedly
Stephen Barncard wrote:
Why bother with sync at all? That looks like a nightmare!
Because I need it.
Are all your workstations internet-connected?
No. Some of them are some of the time, but in general they're not. And 
it's not acceptable to be unable to make edits when they're not 
connected. I think any delayed update of a central database finishes 
up being equivalent to this problem - there is a small gain from being 
able to know that there is a single central master version, but it's a 
pretty small difference.

Why not create a MYSQL database and any number of clients made in Rev 
to talk to it. Most good ISPs offer it.
Yeah, all 3 of the ones I use offer MySQL (and CGI scripts if I needed 
that).

All data will be real-time - no copies needed. Very simple.
Simple, but not applicable. If enough of them were connected enough of 
the time, I'd probably do as you suggested, with a local cache inside 
the Rev app on each machine - but unfortunately that's not the situation 
I face.

Thanks anyway
-- Alex.
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.1 - Release Date: 19/01/2005
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Synchronization puzzle.

2005-01-21 Thread Alex Tweedly
I wrote:
[ slightly OT - this is a design / algorithm question rather than a 
Rev/xtalk one, really ]
[and it's a long, rambling email - so feel free to skip it]

You just can't get  good staff these days :-)
My typist (that's me) missed a crucial sentence or two when transferring 
hand-written notes to email.

 same ID.
 compare 'last-events' :
   same :   everything is good, advance both current counters.
   different - but the last-event machine is the same
take whichever entry has the later edit time (note - 
from same machine, so they can be compared),
  and add to the other database
 advance both counters
different - and different machines:
if my 'ID + last-event' is in his history database - his entry is later 
ACTION : add his entry to my database
OR
if his 'ID+last-event' is in my history database - my entry is later  
ACTION: add my entry to his database
if all data fields are identical - skip, no action needed.

 there is no way to tell which is later - user needs 
to resolve differences, or postpone.
 then advance both counters.
I should have just sent the code .

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.1 - Release Date: 19/01/2005
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: XML Library

2005-01-21 Thread Mark Smith
I think it's found as 'revXML.bundle' for MacOS and 'revXML.dll' for 
Windows in the 'components' folder inside the revolution folder...

Is that what you mean?
Cheers,
Mark

Could anybody tell me where the XML library is located in the Rev 
IDE?

The XMLRPC library is right there in the revlibrary stack, but the
XML library?
Thanks in advance!
Wilhelm Sanke
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Revdb and ODBC (a hint)

2005-01-21 Thread Jan Schenkel
Hi All,

As I was up early, I finally got around to
reinstalling  Office2K on my Win2K machine (in order
to get MSQuery back in a working state), and decided
to check why I couldn't connect to my Progress
database from Revolution. (Bugzilla # 2438)

After connecting from Excel to make sure that, yes
indeed, I could connect perfectly fine from there, I
took a peek at the actual SQL that Excel sent to the
ODBC driver -- and noticed that Excel had prefixed the
name of the table with PUB.

And sure enough, when I used the Database Query
Builder, connected and then entered the query as :
  SELECT * FROM PUB.Customer
There were no complaints from the ODBC driver. I
hooked up a few fields and buttons, and lo-and-behold,
I could see the data just fine.

Conclusion 1: if something with ODBC fails, and Excel
works fine, check out what monstrous SQL it has
produced, and glean useful information out of it.

Conclusion 2: if revdb_tablenames could be fixed to
work properly with ODBC and subsequently documented,
life would be much easier for those people that use
databases for which there are no native drivers.

Hope this helped someone,

Jan Schenkel.

=
Quartam - Tools for Revolution
http://www.quartam.com

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



__ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 

___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Send SMS with a mobile phone

2005-01-21 Thread carambola
I wrote a rev-application to send  SMS . At the moment I send a post to 
a web-server and the server send the message. It works but I need an account 
on the server and an internet connection.

I wonder how can I send  SMS directly from my computer using a mobile phone 
(with an ordinary SIM) or some other appliances connected to my computer. 

Have you a hint about that? 

Best regards,

Paolo Mazza
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution