Re: # POSSIBLY SPAM #::Win vs Mac text hilite

2005-03-07 Thread Richard Gaskin
[EMAIL PROTECTED] wrote:
 On 07.03.2005 08:40:28 use-revolution-bounces wrote:

 On Mac OS and OS X, hilited text in a field is drawn as
 normal, hilited with the hiliteColor.

 But on Windows, the hilitedColor is honored but the foreColor
 of the hilitedText is reversed.

 I have an app where the client would really like to use a
 yellow hilite, but with the inversion is becomes white when
 hilited, and against the yellow it's barely readable.

 Anyone know of a way to prevent the inversion of hilited text
 on Windows?

 No matter what you do, the text remains white.
 This is not how Windows works (text remains black on yellow) so
 it is a bug in rev...

 Tested on w2k, XP/W2K3...
What's the Bugzilla number? -- I'll add my vote...
--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Identifying the caller

2005-03-07 Thread Éric Chatonet
Hi Graham,
Le 7 mars 05, à 09:04, graham samuel [EMAIL PROTECTED] a écrit 
:

Folks, I really should know this by now, but when a handler is called,
can its script identify its caller and if so how? I guess there is some
context description available but I don't know how to find it in the
docs. And while we're at it, what if the invocation of the handler is
the result of a send, e.g.
send mouseUp to myMouseUpHandler
Can I tell from within the handler that it wasn't a true mouse click
that invoked it, and if so how?
Obviously the engine does know this information - it's just a question
of if and how it's made available to the developer.
In order to know if a button received a true mouse click or not, I add 
a boolean parameter when the message is sent by script:

send mouseUp true to btn My Button
and in the script of the button:
on mouseUp pFlag
  if pFlag then -- sent message
  else -- true mouse click
Amicalement,
Eric Chatonet.

So Smart Software
Pour les institutionnels, les entreprises et les associations
Des logiciels sur mesure : gestion, multimédia, internet, etc.
Windows, Mac OS et Linux... Avec la french touch
For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Web sitehttp://www.sosmartsoftware.com/
Email   [EMAIL PROTECTED]/
Phone   33 (0)1 43 31 77 62
Mobile  33 (0)6 20 74 50 86

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


Re: # POSSIBLY SPAM #::Win vs Mac text hilite

2005-03-07 Thread xbury . cs
I haven't entered one yet! ;)

On 07.03.2005 09:01:06 use-revolution-bounces wrote:
[EMAIL PROTECTED] wrote:
 On 07.03.2005 08:40:28 use-revolution-bounces wrote:

 On Mac OS and OS X, hilited text in a field is drawn as
 normal, hilited with the hiliteColor.

 But on Windows, the hilitedColor is honored but the foreColor
 of the hilitedText is reversed.

 I have an app where the client would really like to use a
 yellow hilite, but with the inversion is becomes white when
 hilited, and against the yellow it's barely readable.

 Anyone know of a way to prevent the inversion of hilited text
 on Windows?

 No matter what you do, the text remains white.
 This is not how Windows works (text remains black on yellow) so
 it is a bug in rev...

 Tested on w2k, XP/W2K3...

What's the Bugzilla number? -- I'll add my vote...


-
Visit us at http://www.clearstream.com
IMPORTANT MESSAGEInternet communications are not secure and therefore
Clearstream International does not accept legal responsibility for the
contents of this message.The information contained in this e-mail is
confidential and may be legally privileged. It is intended solely for the
addressee. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on it,
is prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically states
them to be the views of Clearstream International or of any of its
affiliates or subsidiaries.END OF DISCLAIMER
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Win vs Mac text hilite

2005-03-07 Thread Richard Gaskin
[EMAIL PROTECTED] wrote:
 On Mac OS and OS X, hilited text in a field is drawn as
 normal, hilited with the hiliteColor.

 But on Windows, the hilitedColor is honored but the foreColor
 of the hilitedText is reversed.

 Anyone know of a way to prevent the inversion of hilited text
 on Windows?

 No matter what you do, the text remains white.
 This is not how Windows works (text remains black on yellow) so
 it is a bug in rev...

 Tested on w2k, XP/W2K3...

 What's the Bugzilla number? -- I'll add my vote...

 I haven't entered one yet! ;)
Entering a bug report is the best way to make sure the bug is addressed.
Fortunately it seems Monte was on the ball -- he filed #1847 on this:
http://support.runrev.com/bugdatabase/show_bug.cgi?id=1847
I just tossed 5 votes toward it...
--
 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: Win vs Mac text hilite

2005-03-07 Thread xbury . cs
And 5 from me! Thanks for finding that! I was about to enter one...

cheers
Xavier

On 07.03.2005 09:20:50 use-revolution-bounces wrote:
[EMAIL PROTECTED] wrote:
 On Mac OS and OS X, hilited text in a field is drawn as
 normal, hilited with the hiliteColor.

 But on Windows, the hilitedColor is honored but the foreColor
 of the hilitedText is reversed.

 Anyone know of a way to prevent the inversion of hilited text
 on Windows?

 No matter what you do, the text remains white.
 This is not how Windows works (text remains black on yellow) so
 it is a bug in rev...

 Tested on w2k, XP/W2K3...

 What's the Bugzilla number? -- I'll add my vote...

 I haven't entered one yet! ;)

Entering a bug report is the best way to make sure the bug is addressed.

Fortunately it seems Monte was on the ball -- he filed #1847 on this:
http://support.runrev.com/bugdatabase/show_bug.cgi?id=1847

I just tossed 5 votes toward it...


-
Visit us at http://www.clearstream.com
IMPORTANT MESSAGEInternet communications are not secure and therefore
Clearstream International does not accept legal responsibility for the
contents of this message.The information contained in this e-mail is
confidential and may be legally privileged. It is intended solely for the
addressee. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on it,
is prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically states
them to be the views of Clearstream International or of any of its
affiliates or subsidiaries.END OF DISCLAIMER
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Identifying the caller

2005-03-07 Thread thierry
Hi,

gs  when a handler is called,
gs can its script identify its caller and if so how? I guess there is some 
gs context description available but I don't know how to find it in the 
gs docs.
gs Obviously the engine does know this information - it's just a question 
gs of if and how it's made available to the developer.

From time to time, i'm using this script which comes mostly
from some part of the Rev debugger don't remember in details :-)

So, anywhere you want to know the path of all the callers, just put

   PrintExecutionContexts whateveryoulike

in your script
and it does the trick. But, as it comes from
*inside* Rev, and it's not in the Doc you have been warned :-)


Hope this help
Regards, thierry

#---
on PrintExecutionContexts val
  put the executionContexts into t
  put empty into B
  set the itemdelimiter to comma
  get item 1 of line 1 of t
  put the name of it into tObj
  put item 2 of line 1 of t into tHandler
  put item 3 of line 1 of t into tLineNoCallNext
  delete line 1 of t
  delete last line of t
  put tHandler   in   tObj   line   tLineNoCallNextat   the 
long time  cr into H
  repeat for each line L in t
get item 1 of L
put tab  item 2 of L   in   the name of it   line   item 3 of L  
cr after B
  end repeat
  Infos H  val cr B
end PrintExecutionContexts



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


Re: Identifying the caller

2005-03-07 Thread graham samuel
On Sun, 06 Mar 2005 16:09:33 -0600, Ken Ray [EMAIL PROTECTED] 
wrote:
You can check the executionContexts... the long id of the object that 
sent
the message is in there, right above the long id of the object that is
processing the message.
Thanks Ken, that was just what I was looking for. BTW, I still believe 
it isn't in the docs - I had tried filtering with 'context' but the 
search gives up before you've spelt the word, and a search for 
'execution' doesn't reveal anything either. Is this worth BZing?

Graham

Graham Samuel / The Living Fossil Co. / UK and France
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Identifying the caller

2005-03-07 Thread Ken Ray
On 3/7/05 3:46 AM, graham samuel [EMAIL PROTECTED] wrote:

 On Sun, 06 Mar 2005 16:09:33 -0600, Ken Ray [EMAIL PROTECTED]
 wrote:
 
 You can check the executionContexts... the long id of the object that
 sent
 the message is in there, right above the long id of the object that is
 processing the message.
 
 Thanks Ken, that was just what I was looking for. BTW, I still believe
 it isn't in the docs - I had tried filtering with 'context' but the
 search gives up before you've spelt the word, and a search for
 'execution' doesn't reveal anything either. Is this worth BZing?

Well, maybe if you mark it as an enhancement. Technically it is supposed to
be for the IDE developers and more of an internal thing.


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


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


Building standalones from command line

2005-03-07 Thread N


I have looking through the on-line documentation and found nothing.   Is it 
possible to pass make file/script through RR compiler/RAD to build standalones?



___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: more rawkeydown problems

2005-03-07 Thread Wouter
On 06 Mar 2005, at 20:04, J. Landman Gay wrote:
snip
I'm not sure it is a bug, it is just the differences between operating 
systems. The Rev engine just passes on the key codes that the 
operating system sends. If you have the MC IDE, see the Character 
Chooser in the MetaCard Tools menu for examples of these 
differences. Sometimes you can use the macToISO and ISOtoMac functions 
to translate between the character sets, but I don't think those 
functions work with non-ascii keystrokes.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
On 07 Mar 2005, at 00:23, Sarah Reichelt wrote:
snip
While differences between keyboards  operating systems are annoying, 
the keys you are checking are mostly available using other messages. 
In NumLock is on, the numeric keys generate arrowKey messages and if 
NumLock is on, the number can be read directly in a keyDown or keyUp 
handler.

Cheers,
Sarah
Thank you Jacqueline, Sarah and Tobi for your responses.
The rev rawkeydown handler reports a kind of mixed raw keys values: 
ascii code and raw code in the range between 65000 - 65999.
Seeing Tobi's little app. (tnx Tobi) I'm inclined to think the values 
of the rawkeydown handler in rev in the region above 65000 are due to 
rev's own system of administering values to keys (but i'll be wrong ;-)
So I'm not sure this is due only to differences between operating 
systems and by this not a bug.

If the help key is giving a value of 268762986 on mac os x, I 
consider this not a correct value though it is unique for the help key 
on mac os x.
The same for the `key in american qwerty keyboard layout, it should 
give the ascii value and not a zero.
And so on...

Sarah you said:
 In NumLock is on, the numeric keys generate arrowKey messages and if 
NumLock is on, the number can be read directly in a keyDown or keyUp 
handler

On win yes but not on mac os x.
The numlockkey doesn't affect the value of the numerical keys on the 
numerical keypad in mac os x.
And there is no numLockKey function we could use to poll the numLockKey 
condition like there is a capsLockKey function.
(and the keyboard is not broken as the numlockkey works in win vpc)

Revolution, being a crossplatform RAD, should make keyboard input as 
uniform as possible between platforms regarding it's own application 
and offshoots.
But I'll refrain from bugzilla-ing until further notice.

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


Re: OT: Wisconsin Rev Users/Midwest Rev User Group (Was Re:altBrowser application)

2005-03-07 Thread Paul
I am also in Wisconsin (Glendale, Milwaukee). I have not done much with 
RunRev recently as I'm working on a LabVIEW project. It is nice to know 
that there are other Wisconsinites.

Cheers,
Paul
[EMAIL PROTECTED] wrote:
On 3/6/05 7:38 PM, Derek Bump [EMAIL PROTECTED] wrote:
 

So I have to deliver the altBrowser app with an installer or splash drop
it into a directory then auto run the app from a directory off the
windows pc ?
 

You would have to deliver both the Standalone Application and the
altBrowser.dll.  You can put the altBrowser.dll in any directory you wish
just as long as your app can find it when it's starting up.  It's easiest to
just put it into the same directory as your app, but you can also put it
into system directories as others have mentioned.
   

Yes I'm here in Oak Creek Wisconsin, what's your location Wis also ?
 

Madison, WI.  It's nice to see someone else from Wisconsin here.  I was
beginning to think I was the only one. :)
   

Well, there's at least one more! I'm in Eau Claire, WI.
:-)
Say, Jacque Gay (who's in Minneapollis) and I were thinking about trying to
organize a midwest Rev users group. If anyone is interested, please contact
me off list.
Thanks,
Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
 

--
Dr. Paul Bosomworth
Owner/Developer
BuzzMac Software LLC
Ph: 414-352-5419
FAX: 253-540-9798
Web: http://www.buzzmac.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


2 new How-to stacks available

2005-03-07 Thread Éric Chatonet
Hi everyone,
I put 2 new How-to stacks on RevOnLine and Super RevOnLine (i.e. 
RevNet from Richard Gaskin :-):

#009 How to fix the decorations (titlebar appearance)
Shows all the different title bars a window can display with Rev 2.1 or 
later. In the Stack Property Inspector, a dialog lets you choose 
between 4 sets of title bar controls but 4 interesting combinations are 
absent: you will have a better control by scripting!

#010 How to drag and drop files and folders
Shows how to manage multiple files and/or folders drag and drop, how to 
know the right kind of data for each file and how to display 
corresponding data into a field, an image or a player.

On RevOnLine:
User name: So Smart Software
Category: Programming
On RevNet:
Tutorials section
To donwload RevNet, go to http://www.fourthworld.com/rev/index.html
With best regards,
Eric Chatonet.
---
For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch
 ---
Web site   http://www.sosmartsoftware.com/
Email   [EMAIL PROTECTED]/
Post   24, Bd de Port-Royal 75005 Paris
Phone   (33) 143 317 762
Mobile   (33) 620 745 086
---
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Arithmetic operations on dates ?

2005-03-07 Thread Michael D Mays
Are we talking about the fact that when we do something like:
  get the date
  convert it to dateItems
The result is:
 2005,3,7,2,0,0,2
instead of perhaps:
  2005,3,7,0,0,0,2
??
Michael
On Mar 6, 2005, at 11:39 AM, Bill Vlahos wrote:
I believe it is 2am.
Bill Vlahos
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


HowTo Question?

2005-03-07 Thread N


How do I move a control from on card to another (the cards are not visable and 
are used only for data storage)?




-==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=-
Disclaimer:

Any resemblance between the above views and those of my
employer, my terminal, or the view out my window are purely
coincidental. 
Any resemblance between the above and my own views is non-deterministic.

 The question of the existence of views in the absence of anyone to hold
them
is left as an exercise for the reader. The question of the existence of
the reader
 is left as an exercise for the second god coefficient. 
(A discussion of non-orthogonal, non-integral polytheism is beyond the
scope of this article.)



___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Identifying the caller

2005-03-07 Thread Mark Wieder
Ken-

Sunday, March 6, 2005, 2:09:33 PM, you wrote:

KR You can check the executionContexts... the long id of the object that sent
KR the message is in there, right above the long id of the object that is
KR processing the message.

...although the usual caveats about using undocumented functions
should be noted here. I consider this one safe because 1. there's no
other way I know of to get this info, and 2. the IDE uses it so it's
not likely to disappear in the near future. I think of it more as an
omission in the documentation which will be fixed up Real Soon Now.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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


Re: Export snapshot

2005-03-07 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
If you are using OS X, put whatever it is on a card and try to print 
the card, with a dialog box of course... you can click Save as PDF 
from there (or Preview and use the Preview program to save it, if 
pre-X.3).

IS there a way to save as a pdf by chance?
- ---
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)

iD8DBQFCLG7A7aqtWrR9cZoRAkQBAJ91Hr+j6/dUPGz0E94LdG42olyyLACfYkPA
YU0wsFKBySHI0vPZTQXp9sA=
=938w
-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


Re: Left/Right Shift?

2005-03-07 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I don't think there is any such beast built-in to Rev, but this 
*should* have equivalent functionality (though granted somewhat 
slower):

function shift_left num, byBits
  return num * (2 ^ byBits)
end shift_left
function shift_right num, byBits
  return trunc(num / (2 ^ byBits))
end shift_right
On Mar 6, 2005, at 5:00 PM, N wrote:
What are the key words aka operators that do a left/right shift (bits)?
Kevin

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

iD8DBQFCLHNu7aqtWrR9cZoRAvntAJ0W7D1LLciTcF9yiPVlhA9MKgx0UQCeJXMx
n8K6ciMwUMc2PPHVD1h0nPk=
=/51/
-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


Re: Building standalones from command line

2005-03-07 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Look up the savingStandalone  and standaloneSaved messages in the 
docs; perhaps you can use one or both of those to accomplish what you 
need to do?

On Mar 7, 2005, at 9:09 AM, N wrote:

I have looking through the on-line documentation and found nothing.   
Is it possible to pass make file/script through RR compiler/RAD to 
build standalones?


___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
___
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)

iD8DBQFCLHW87aqtWrR9cZoRArwSAJ44IDwWSofzhrbsSc5KWKa43ytfWgCghurZ
2mYtIiG5cN1N7KCGWmfW4sg=
=zo3i
-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


Re: [noob again]static text

2005-03-07 Thread Mark Wieder
Mikey-

Sunday, March 6, 2005, 12:02:00 PM, you wrote:

M I'll reiterate:  I was surprised, because RR is the only development
M tool I can remember that lacks a static text tool.  It doesn't really

...and once again, HC never had a static text tool - you could
simply paint a bitmap on the screen. RR's label field offers editable
static *text* that can be moved about on the screen without having to
cut and paste a bitmap.

M I'll reiterate my call for a set of manuals.

I take it you have some objection to ordering them?

http://secure.runrev.com/Merchant2/merchant.mvc?Screen=PRODProduct_Code=MANLPRNTCategory_Code=REVNBOOKStore_Code=SDREBWLP

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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


RE: HowTo Question?

2005-03-07 Thread MisterX
 

 How do I move a control from on card to another (the cards 
 are not visable and are used only for data storage)?

you must first create cards to move things to.

a new stack has only card 1.
create card
now you have 2 cards
copy button 1 to card 2 - and voila!

you can use background behavior groups to group card as well. Any
non-background group in a card is not seen elsewhere than that card.

For that it's important to remember to create a group in the background
group, not outside... Or it will only appear while you visit that card. 

read the rev docs on cards and stack structures... It will help you. Each
record in the revdocs is a card!

To bridge this all into one easy to grasp concept, a background is like a
view to many different records with the same interface. Contrary to
Filemaker, all backgrounds do not share the same cards! So it's more complex
if you want it! But keep it simple. Since MetaCard and RunRev, one
background per stack suffice... 

See ya!
Xa

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


Re: [noob again]static text

2005-03-07 Thread Mikey
cutting stuff that's already dead in this thread/

 M I'll reiterate my call for a set of manuals.
 
 I take it you have some objection to ordering them?
 
http://secure.runrev.com/Merchant2/merchant.mvc?Screen=PRODProduct_Code=MANLPRNTCategory_Code=REVNBOOKStore_Code=SDREBWLP

The objection I have is to paying for access to basic reference
material.  I'm not asking for printed manuals.  I'm not aware of any
products that have printed docs included any more.  However, they have
electronic docs included.  This weekend I went through the web site
tutorial pdf's and the documentation stack trying to find the info. I
was looking for.  Unfortunately that search was unsuccessful.  A few
tutorial movies, some random access help and an online user group is
not the same thing.

While it's obvous that most of you have grown comfortable to this
setup, it is hardly helpful to new users (regardless of their past
experience with tool x, y, z, or w), and it makes it harder to
persuade clients and the powers-that-be that the tool is mature when
it lacks something that is generally taken for granted.  Sure, we can
get people up to speed - uh, but we're going to have to do it in sort
of a trial-and-error sort of fashion because there isn't any sort of
theme-organized language reference or design guide...well, you could
cough up another Benjamin for printed docs (which I'm assuming are
complete and applicable for the current version), or there's this
third party book for $40.

Since we're in the mode of trying to decide if we're going to shell
out for one or several corporate licenses, or put RR in the wait and
see category and continue with the plan to convert our existing
stacks to other environments, which sort of reduces the future value
of RR to us, the little things such as this make a difference.  It's a
much more awkward sell.

On the good news side of the coin, it didn't hurt that on a Sunday I
was able to crank out a question on this latest issue and get a quick
series of replies.  The activity level on this list is somewhat
encouraging.
-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, This is good.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


saving information.

2005-03-07 Thread Paul Salyers
Dear Rev Programers
I need to know how to save field information from within a stack.
I have a button save when I click it I want safe the information in the 
fields on a text file. I want it to add not replace.

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: Midi Comunications

2005-03-07 Thread MisterX
Any midi device should have a clock to synch to. 

The computers, the soundcard (preferred if you use computer effects), sound
mixer (if you can afford that kind of mixer) (best), the midi keyboard too
(best for performers without need of effects). I maybe wrong regarding the
best clock but I think that's what it comes down to...

There's also the case where you use ASIO for midi (much less latency!) -
popular driver from Steinberg.

AFAIK, I choose the main device to which they all should
synch to and the rest is magic, eh, fruity...

I suppose this would be possible through a QuicktimeSynch as well but dont
know if possible - could be easy for Mac programmers. You can also get ASIO
for the Mac...

Just showing you ways if it helps!

Xavier
--
http://monsieurx.com/runrev.php


 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Kurt Kaufman
 Sent: Monday, March 07, 2005 01:26
 To: use-revolution@lists.runrev.com
 Subject: Re: Midi Comunications
 
 Perhaps the most challenging aspect of handling MIDI data 
 through whatever port (USB or serial) will be the clocking 
 issue:  The volume of data may be small compared to audio or 
 video, but the continuous synchronization of the pulse 
 between an external MIDI device and the computer is critical. 
  Does anyone know of a good reference for this area of MIDI 
 programming?  (Re: OS X) Has Apple made available information 
 about compatibility with its Audio MIDI Setup utility?
 
 Kurt
 
 ___
 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: [noob again]static text

2005-03-07 Thread Mark Wieder
Mikey-

Monday, March 7, 2005, 8:42:50 AM, you wrote:

M The objection I have is to paying for access to basic reference
M material.  I'm not asking for printed manuals.  I'm not aware of any
M products that have printed docs included any more.  However, they have
M electronic docs included.  This weekend I went through the web site

The printed docs are just what you get in the IDE under documentation,
so obviously the online docs will be more current. In there, under
How do I display text on a card? I see what I believe is the answer
to your original question:

To create a field that is pre-set to display static text, choose
Object menuNew ControlLabel Field. Then use the Contents pane in the
fie (sic) property inspector to edit the text.

The runrev IDE has a finite learning curve. Granted, the docs need
better searching tools (long-standing topic of complaining here in the
list), but griping that there's no documentation isn't a substitute
for taking the time to learn how to use the tools available. Runrev
*isn't* HyperCard, and those of us with HC backgrounds have some
unlearning to do (backgrounds and such) in order to fit into the new
environment.

MOn the good news side of the coin, it didn't hurt that on a Sunday I
Mwas able to crank out a question on this latest issue and get a quick
Mseries of replies.  The activity level on this list is somewhat
Mencouraging.

Ain't this list great? I've certainly learned a lot here.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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


Re: Export snapshot

2005-03-07 Thread Marty Knapp
On 3/7/05 7:09 AM, Frank D. Engel, Jr. [EMAIL PROTECTED] wrote:

 If you are using OS X, put whatever it is on a card and try to print
 the card, with a dialog box of course... you can click Save as PDF
 from there (or Preview and use the Preview program to save it, if
 pre-X.3).
 
 IS there a way to save as a pdf by chance?

I was hoping there was a way to do it without user intervention. What I'm
putting together is an app that will pick up email orders from my Miva
Merchant store, generate a mailing label, pick up the actual pdf files to be
printed and send that all on to my fulfillment center where they will
produce and ship the item to the customer. They would like everything in pdf
format.

Currently I've used Sarah's POP library and Shao Sean's libSmtp  libEmail
to build most of it and I have it working great. It's just that the mailing
label is a jpg that I create using the export snapshot feature. I'm waiting
to see if the fulfillment people will accept the jpg instead of a pdf.

I'm using Rev 2.2.1-- I don't know if the latest version has anything that
would help me in this regard.

Thanks,

Marty Knapp

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


Re: saving information.

2005-03-07 Thread Phil Davis
Here's one button script that would do it (assuming you pre-set the 
value in 'gMyTextFile'):

on mouseUp
  global gMyTextFile -- contains the full pathname of your text file
  put --1---  cr  fld first  cr \
   --2---  cr   fld second  cr \
   --3---  cr   fld third  cr  cr \
  after url (file:  gMyTextFile)
end mouseUp
This would put the following into your text file:
--1---
first field stuff lniuo niyu gkjyv jytf
--2---
second field stuff k,jn kjn lj,hvkj hftchf dxhn tgrfxh rtx
--3---
third field stuff uytf uy5fyjt ktfli uglu
--1---
1st fld - round 2 oi hpioh iuhl iu
--2---
2nd fld - round 2 oipo8jp;oji'
... and so on.
Phil Davis

Paul Salyers wrote:
Dear Rev Programers
I need to know how to save field information from within a stack.
I have a button save when I click it I want safe the information in 
the fields on a text file. I want it to add not replace.

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: [noob again]static text

2005-03-07 Thread Judy Perry
Do you not have a Documentation button on your toolbar?

Judy

On Mon, 7 Mar 2005, Mikey wrote:

 The objection I have is to paying for access to basic reference
 material.  I'm not asking for printed manuals.  I'm not aware of any
 products that have printed docs included any more.  However, they have
 electronic docs included.



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


Re: [noob again]static text

2005-03-07 Thread Mikey
 The printed docs are just what you get in the IDE under documentation,
 so obviously the online docs will be more current. In there, under
 How do I display text on a card? I see what I believe is the answer
 to your original question:
 
 The runrev IDE has a finite learning curve. Granted, the docs need
 better searching tools (long-standing topic of complaining here in the
 list), but griping that there's no documentation isn't a substitute
 for taking the time to learn how to use the tools available. 

With all due respect, that stance won't get the money released, and it
certainly doesn't get staff on board.  Griping that the docs are
inadequate is the frustration of a newbie trying to get a very simple
issue resolved, who then needs to justify the decision.  Luckily your
stance isn't from someone with runrev.com in their email address or
the decision as to which direction to go would be made and over with.

In the case of a tool like RR, the docs need to be better because the
paradigm is very different and often it's difficult to match the
vocabulary, even for people familiar with cousins of it.

Come to think of it, the docs on how to use the docs aren't complete
either, leaving me with the question of What would have led me to
search for what you were searching for to get the answer to the
question I was rasing?.  I'm afraid the answer is Nothing.

I'm getting off this thread.  Arguing about it isn't going to address anything.

-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, This is good.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


ftp puzzler.

2005-03-07 Thread Martin Baxter
humpf,

I have a script that ftp's a few files up to my anonymous ftp space. This
works OK on my Mac G3, but the same script and destination path fails under
WinXP with a 'socket not open' error message. My script uses
LibURLFtpUpload, but I've also tried that and put and get from the message
box with no success.

I can ftp OK on the XP machine using my ftp client, I can do http and post
transactions from within rev, but anything from rev involving ftp seems to
fail. I'm no comms expert, but AFAIK there's nothing unusual about the ftp
server and the Windows firewall setup is plain vanilla.

This is in RR 2.1.2

Working on Mac only is OK in the short term, but I'll need this to work on
windows too ultimately.

Any ideas what might be wrong ?

Martin Baxter






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


Re: Export snapshot

2005-03-07 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
You might want to look into the Ghostscript project.  If you can 
generate the needed PostScript source text, Ghostscript can convert 
that to a PDF.  PostScript is just another computer language, but one 
specifically designed for handling the layout of pages.  For example:

%!
newpath
72 72 moveto
144 144 lineto
stroke
showpage
The above PostScript code simply creates a diagonal line in the 
lower-left-hand corner of the page.

Not sure if this is within the bounds of your capabilities and what you 
are trying to accomplish, but it should work if you can put it all 
together...

On Mar 7, 2005, at 12:30 PM, Marty Knapp wrote:
On 3/7/05 7:09 AM, Frank D. Engel, Jr. [EMAIL PROTECTED] wrote:
If you are using OS X, put whatever it is on a card and try to print
the card, with a dialog box of course... you can click Save as PDF
from there (or Preview and use the Preview program to save it, if
pre-X.3).
IS there a way to save as a pdf by chance?
I was hoping there was a way to do it without user intervention. What 
I'm
putting together is an app that will pick up email orders from my Miva
Merchant store, generate a mailing label, pick up the actual pdf files 
to be
printed and send that all on to my fulfillment center where they will
produce and ship the item to the customer. They would like everything 
in pdf
format.

Currently I've used Sarah's POP library and Shao Sean's libSmtp  
libEmail
to build most of it and I have it working great. It's just that the 
mailing
label is a jpg that I create using the export snapshot feature. I'm 
waiting
to see if the fulfillment people will accept the jpg instead of a pdf.

I'm using Rev 2.2.1-- I don't know if the latest version has anything 
that
would help me in this regard.

Thanks,
Marty Knapp
___
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)

iD8DBQFCLJlc7aqtWrR9cZoRAgMdAKCJUIDDx04poOF9FFtQ/s0wDsdQVACgh7Bv
CPUHxCEyTv8UBoSoh55S0lQ=
=oCDR
-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


Re: Arithmetic operations on dates ?

2005-03-07 Thread SimPLsol
Michael,
 In Revolution days start at 2 am - except for days that start daylight 
savings time or end daylight savings time, which start at 3 am or 1 am. If you 
are using seconds, these days have one hour more or less seconds than regular 
days.
  In a previous post you said Rev. converted 29 Feb properly to 1 Mar. I 
did not get that result and have not had time to recheck it, I'll let you 
know.
Paul Looney
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Export snapshot

2005-03-07 Thread Marty Knapp
On 3/7/05 10:11 AM, Frank D. Engel, Jr. [EMAIL PROTECTED] wrote:

 You might want to look into the Ghostscript project.  If you can
 generate the needed PostScript source text, Ghostscript can convert
 that to a PDF.  PostScript is just another computer language, but one
 specifically designed for handling the layout of pages.  For example:
 
 %!
 newpath
 72 72 moveto
 144 144 lineto
 stroke
 showpage
 
 
 The above PostScript code simply creates a diagonal line in the
 lower-left-hand corner of the page.
Thanks for the tip Frank. I think I'll wait to see if the jpg will be
acceptable, then go from there. If not I'll check out the Ghostscript thing.


Marty Knapp

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


Re: use-revolution Digest, Vol 18, Issue 24

2005-03-07 Thread Mark Smith
But the online docs that are present (as far as I know) in every  
distribution of Revolution and Dreamcard are the manuals...

Many people, including me have had trouble finding what they were  
looking for, but then it's a big language. Familiarising myself with  
the various sections of the docs, ie. not just the dictionary, has been  
of great benefit to me, and I recommend doing it. I don't say that the  
docs are perfect, by any means, but they are comprehensive - witness  
how many times an enquiry on this list is dealt with by someone  
replying 'check out whatever in the docs'. I've often found that that  
was all I needed to help with the difficulties that I've had.

I long for a book like Winkler and Kamins HyperTalk book, where every  
single command and function in the language is explained in detail,  
with a nice clear example of it's use, but then Transcript is orders of  
magnitude broader and deeper than HyperTalk, and such a book would be a  
truly colossal undertaking. In the mean time, the provided docs  
actually do cover everything, though sometimes sparsely, and in those  
cases, one of the many kindly and knowledgeable people here will almost  
certainly be willing to oblige.

I personally sprung for the printed docs (which are only the online  
docs printed out) as I like to browse at random, and It's been well  
worth it for me.

Cheers,
Mark

M I'll reiterate my call for a set of manuals.
I take it you have some objection to ordering them?
http://secure.runrev.com/Merchant2/merchant.mvc? 
Screen=PRODProduct_Code=MANLPRNTCategory_Code=REVNBOOKStore_Code=SD 
REBWLP
The objection I have is to paying for access to basic reference
material.  I'm not asking for printed manuals.  I'm not aware of any
products that have printed docs included any more.  However, they have
electronic docs included.  This weekend I went through the web site
tutorial pdf's and the documentation stack trying to find the info. I
was looking for.  Unfortunately that search was unsuccessful.  A few
tutorial movies, some random access help and an online user group is
not the same thing.
While it's obvous that most of you have grown comfortable to this
setup, it is hardly helpful to new users (regardless of their past
experience with tool x, y, z, or w), and it makes it harder to
persuade clients and the powers-that-be that the tool is mature when
it lacks something that is generally taken for granted.  Sure, we can
get people up to speed - uh, but we're going to have to do it in sort
of a trial-and-error sort of fashion because there isn't any sort of
theme-organized language reference or design guide...well, you could
cough up another Benjamin for printed docs (which I'm assuming are
complete and applicable for the current version), or there's this
third party book for $40.
Since we're in the mode of trying to decide if we're going to shell
out for one or several corporate licenses, or put RR in the wait and
see category and continue with the plan to convert our existing
stacks to other environments, which sort of reduces the future value
of RR to us, the little things such as this make a difference.  It's a
much more awkward sell.
On the good news side of the coin, it didn't hurt that on a Sunday I
was able to crank out a question on this latest issue and get a quick
series of replies.  The activity level on this list is somewhat
encouraging.
--
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, This is good.
--
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
End of use-revolution Digest, Vol 18, Issue 24
**
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Export snapshot

2005-03-07 Thread Martin Baxter
On 3/7/05 7:09 AM, Frank D. Engel, Jr. [EMAIL PROTECTED] wrote:

 If you are using OS X, put whatever it is on a card and try to print
 the card, with a dialog box of course... you can click Save as PDF
 from there (or Preview and use the Preview program to save it, if
 pre-X.3).

 IS there a way to save as a pdf by chance?

I was hoping there was a way to do it without user intervention. What I'm
putting together is an app that will pick up email orders from my Miva
Merchant store, generate a mailing label, pick up the actual pdf files to be
printed and send that all on to my fulfillment center where they will
produce and ship the item to the customer. They would like everything in pdf
format.

Currently I've used Sarah's POP library and Shao Sean's libSmtp  libEmail
to build most of it and I have it working great. It's just that the mailing
label is a jpg that I create using the export snapshot feature. I'm waiting
to see if the fulfillment people will accept the jpg instead of a pdf.

I'm using Rev 2.2.1-- I don't know if the latest version has anything that
would help me in this regard.

Thanks,

Marty Knapp

I would look into PHP, which can create a pdf from a script. You could post
data from rev to a PHP script, which could then output or return a pdf, or
something along those lines.

Martin Baxter


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


Re: Export snapshot

2005-03-07 Thread Marty Knapp
On 3/7/05 11:44 AM, Martin Baxter [EMAIL PROTECTED] wrote:

 I would look into PHP, which can create a pdf from a script. You could post
 data from rev to a PHP script, which could then output or return a pdf, or
 something along those lines.
 
 Martin Baxter

Cool. Thanks Martin


Marty Knapp

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


Rev Packaged App hanging

2005-03-07 Thread Steve Bonham
REVers,
Using Revolution, I've created a main stack that reads from and 
writes to an external preferences text file entitled TJsettings.txt.

In the stack script (on openstack) starts with:
put the filename of this stack into MyPathWay
  repeat until the last char of myPathWay is /
delete last char of MyPathWay
  end repeat
  put myPathWay  TJsettings.txt into MyPathWay
  answer myPathway  --BUG TEST line

  open file MyPathWay
  read from file MyPathWay until EOF
  put it into TheSettings
  put theSettings into fld settings
-
then I'll pull info from fld setting to reset preferences
Only thing is-- it's not working...
The BUG TEST line results in 
Users/steve/Desktop/JeopardyQs/TJsettings.txt which
is accurate. But nothing is appearing in the fld settings

Any advice?
Steve

--
--
Steve Bonham
Director, Faculty Technology Development Laboratory
Center for Excellence in Teaching - Georgia Southern University
Statesboro, GA 30460-8143
--
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev Packaged App hanging

2005-03-07 Thread Alex Tweedly
Steve Bonham wrote:
REVers,
Using Revolution, I've created a main stack that reads from and writes 
to an external preferences text file entitled TJsettings.txt.

In the stack script (on openstack) starts with:
put the filename of this stack into MyPathWay
  repeat until the last char of myPathWay is /
delete last char of MyPathWay
  end repeat
  put myPathWay  TJsettings.txt into MyPathWay
  answer myPathway  --BUG TEST line

  open file MyPathWay
  read from file MyPathWay until EOF
  put it into TheSettings
  put theSettings into fld settings
-
then I'll pull info from fld setting to reset preferences
Only thing is-- it's not working...
The BUG TEST line results in 
Users/steve/Desktop/JeopardyQs/TJsettings.txt which
is accurate. But nothing is appearing in the fld settings

Any advice?
The Subject line suggests the app is hanging - while the description 
sounds like it completes, just fails to get anything into the field.
So I'm not quite sure if this will help, but ...

  open file MyPathWay
put Result from open =the result  cr after msg
  read from file MyPathWay until EOF
  put it into TheSettings
put Result after read =   the result  cr after msg
  put theSettings into fld settings
btw - did you include a close MyPathWay ?  Is it possible that the 
file was already open and had reached EOF ?
(I'm not sure what happens when you open a file that is already still 
open )

Alternatively, try
  put URL (file:  MyPathWay) into TheSettings
instead of the open and the read.
--
Alex Tweedly   http://www.tweedly.net

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


Re: Suggestions?

2005-03-07 Thread Ken Ray
On 3/7/05 4:11 PM, Richard Miller [EMAIL PROTECTED] wrote:



 Suggestions on how to do this. I've quite a number of ideas, but I'm
 not sure of the fastest and most stable (and perhaps easiest) way. One
 concern is with multiple users (the ones supplying data) trying to
 check in at the same time.

Personally I'd suggest setting up a Rev CGI on your central server, with a
database that it can access to read/write data.

Just my 2 cents,

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


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


Re: Export snapshot

2005-03-07 Thread Sarah Reichelt
If you are using OS X, put whatever it is on a card and try to print
the card, with a dialog box of course... you can click Save as PDF
from there (or Preview and use the Preview program to save it, if
pre-X.3).
IS there a way to save as a pdf by chance?
I was hoping there was a way to do it without user intervention. What 
I'm
putting together is an app that will pick up email orders from my Miva
Merchant store, generate a mailing label, pick up the actual pdf 
files to be
printed and send that all on to my fulfillment center where they will
produce and ship the item to the customer. They would like everything 
in pdf
format.
Could you AppleScript Preview to create the pdf?
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Arithmetic operations on dates ?

2005-03-07 Thread Sarah Reichelt
I don't see that days start a 2 am.
If I have a list of dateItems
 2005,3,8,23,59,59,0 (Tue March 8, 2005, one minute until midnight)
and I add 2 to item six, convert the resulting list  to dateItems, the 
list is
 2005,3,8,0,0,1,4 (Wed March 9, 2005, one minute after midnight)
You have specified a time, so that is shown accurately in the dateitems.
What are the circumstances and/or the script where the day is starting 
at 2 am?
Try this:
put the short date into tNow
convert tNow to dateItems
This will give you the correct date but the time shown will be 2 am.
Cheers,
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Suggestions?

2005-03-07 Thread Richard K. Herz
Richard Miller asked:
I've got a dedicated Mac server available, on which I want to place a
Rev application to gather and disseminate the required information. The
first 100 computers will continually inform that central application of
their status, and the other 100 will continually ask this application
for the status of the first 100 users.
I suggest having a Rev stack running permanently on the server that 
communicates with clients using TCP/IP sockets. This should work since the 
data sent in each of your messages is small (socket messages are around 1400 
KB max).  For example scripts see the Rev site  Video Tutorials  Sample 
Projects  Internet Chat (also the chatRev examples in Rev Online, User 
Spaces, General).  The alternative of sending posts to a Rev CGI causes an 
instance of Rev to open for each post, as I understand things, so would seem 
to be more resource intensive.

Rich
[EMAIL PROTECTED]
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Suggestions?

2005-03-07 Thread Alex Tweedly
Richard Miller wrote:
Looking for suggestions on how to best handle the following scenario.
Imagine a number of computers spread out across the country (some 
PC's, some Mac's) running a custom Rev application. On each computer, 
the application continually (every 30-60 seconds) sends a small file 
(just a few characters) into a central server. This file contains 
information about the availability of the user (available now, within 
10 minutes, not available). Let's say there are 100 of these computers 
and applications running at any given time, all reporting in every 30 
seconds or so.
What's the relationship between the user and the computer ?
i.e. can the same user be on 2 of the machines at the same time ?
if so, what should be reported as the status for that user - the one 
that happened to give the most recent status, or the most available? or 
what ?   Does the status say User 1 is available now on machine 
123.1.1.1 ?

if not, is there already a scheme to prevent it (or simply an assumption 
that it shouldn't happen) ?
is there a finite set of users ? how big ?

or is user equivalent to computer ?
I've also got another 100 computers (all Mac's) running a different 
Rev application. Each of these computers needs to know the combined 
status of the first 100 users, continually polling for this data every 
30 seconds. So, for example, at any given moment it knows:

User 1 is available now
User 2 is not available
User 3 is not available,
User 4 will be available in 10 minutes
etc..
I've got a dedicated Mac server available, on which I want to place a 
Rev application to gather and disseminate the required information. 
The first 100 computers will continually inform that central 
application of their status, and the other 100 will continually ask 
this application for the status of the first 100 users.

Suggestions on how to do this. I've quite a number of ideas, but I'm 
not sure of the fastest and most stable (and perhaps easiest) way. One 
concern is with multiple users (the ones supplying data) trying to 
check in at the same time.
Best way : (esp. if your user base might grow over time) - central app 
using a database.

But for the current problem description this is probably overkill.
Depending on your answers to the above questions, you could probably do 
Simplest way: 
(NB Only if users are unique and not too numerous)
create a status file per user.
on the user client:   
   put myStatus into URL (http://remote.machine.net/statuses/;  
myUserName)

on the server:
  run a Rev script that every 10 seconds (or whatever level of currency 
is required) does the equivalent of
cd /httpdocs/statuses
cat *  ../newstatus
cd ..
mv newstatus allstatus
  (or just stick that shell script into a cron job)

on the other clients:
  put URL http://remote.machine.net/allstatus; into allStatus
No programming (or almost no programming) to do, very simple, easy to 
monitor (just look at files and dates).
Interlocks are handed by the file system - the rename is an atomic 
operation, so safe (on Unix - I'm assuming OS X operates the same way) 
from read/write clashes.

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

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


Re: Rev Packaged App hanging

2005-03-07 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
No, it should be /Users/steve/Desktop/JeopardyQs/TJsettings.txt -- 
note the leading '/' character.

Like the other posters, however, I do think it would be much easier if 
you just used the put URL method.

Consider something like:
function prefsFile
  switch the platform
  case MacOS
put specialfolderpath(preferences) into spfp
break
  case Win32
if word 1 of the systemVersion is NT then
  put specialFolderPath(26) into spfp
else
  put specialFolderPath(system) into spfp
end if
break
  default
put $HOME into spfp
break
  end switch
  return file:  spfp  /TJsettings.ini -- replace filename to 
match yours
end prefsFile

Now you can do this:
put mySettings into URL prefsFile()   -- save settings to prefs file
put URL prefsFile() into mySettings   -- read settings from prefs file
On Mar 7, 2005, at 4:17 PM, Steve Bonham wrote:
The BUG TEST line results in 
Users/steve/Desktop/JeopardyQs/TJsettings.txt which
is accurate. But nothing is appearing in the fld settings
- ---
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)

iD8DBQFCLOu07aqtWrR9cZoRAggeAJ9ckgfzEGP5HsGKdVX8cla5X9QBFQCgj2ku
uVWWWUCLeBQxV8jyGZeXgy4=
=U5q/
-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


Re: [noob again]static text

2005-03-07 Thread Richard Gaskin
Mikey wrote:
In the case of a tool like RR, the docs need to be better because the
paradigm is very different and often it's difficult to match the
vocabulary, even for people familiar with cousins of it.
I agree.  While I feel Rev offers an unusually strong ROI over the long 
term, that ROI is the result of an unusual paradigm, requiring special 
care in guiding the new user beyond what would be needed for a 
non-proprietary language/object model such as C++ or Python.

What languages/tools have you worked with before?  Perhaps we can better 
tailor responses to where you're coming from.

Come to think of it, the docs on how to use the docs aren't complete
either, leaving me with the question of What would have led me to
search for what you were searching for to get the answer to the
question I was rasing?.  I'm afraid the answer is Nothing.
This is a topic of eager interest to me, as I'm working on some 
indexing/data mining tools and find the cognitive side of searching 
interesting.

With more than 3,000 pages' worth of material I'm fairly confident that 
what you need is there.  But I agree the search index is weak so finding 
things can be difficult.

I came in late here -- could I trouble you to remind me what it was you 
were looking for, and what terms you used to find it?  That would be 
very helpful for the team, who I believe are revising the indexing 
scheme as I write this.

In the meantime, here's a tip:  What the docs call FAQ isn't the sort 
of miscellaneous bin FAQ you find with most products; with Rev it's 
really the topical guide you're looking for.  Pretend that FAQ is 
labeled User Guide and you may find what you need more easily, often 
without needing to use the search feature at all.

Also, given the very unusual nature of Transcript I can't recommend 
stongly enough the value of learning by doing something very small at 
first.  Getting the lay of the land with a very small task can make 
moving on to bigger things much easier.

Earlier you had written:
Since we're in the mode of trying to decide if we're going to shell
out for one or several corporate licenses, or put RR in the wait and
see category and continue with the plan to convert our existing
stacks to other environments, which sort of reduces the future value
of RR to us, the little things such as this make a difference.  It's a
much more awkward sell.
That would be unfortunate, as I believe that once you get past this 
initial orientation you'll be quite happy with the results.  But having 
worked in a few other languages myself I'm also keenly sensitive to your 
position, and have been lobbying for the return of some materials that 
were in an earlier version of Help which were aimed at programmers with 
different levels of experience with different specific tools.

In lieu of that, for now you have us here on this list. :)
FWIW, after teaching Transcript as a second language for some years now 
I've found the following pattern to be fairly consistent with most 
newcomers:

  Two days into the product: What the hell is going on?  I can't
   figure this thing out!  Damn, what were they thinking?
  One week: Wow.  I've reviewed the language dictionary and I'm
   very intrigued by what's there.  If only I could put
   all the parts together to make something useful.
  Two weeks: I just finished my first project. It was a bit of
   a challenge but I think I'm getting the hang of this.
  One month: Cool.  I'm feeling confident with this.  I can do
   most of what I need, and although I'm still looking
   up a lot of terms in the Dictionary I'm beginning to
   feel really good about this.
  Six months: I love this thing.  I'm at least as productive with
   Rev as I had been with the other tool I'd been using
   for years, maybe more so.
  One year:  I love this thing like no other.
--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


The Wisconsin Connection

2005-03-07 Thread Dave Calkins
On Mar 6, 2005, at 9:00 AM, [EMAIL PROTECTED] 
wrote:

Yes Im here in Oak Creek Wisconsin, whats your location Wis also ?
I grew up 20 miles west of Madison; my parents still live there.
Dave Calkins
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Suggestions?

2005-03-07 Thread Richard Miller
This is most similar to the way I was imagining doing it. It does 
appear to be simple. And yes, the users are not very numerous (no more 
than 100 for the next six months) and they are all unique (one user per 
computer reporting their availability).

Thanks.
Richard
On Mar 7, 2005, at 7:02 PM, Alex Tweedly wrote:
Richard Miller wrote:
Looking for suggestions on how to best handle the following scenario.
Imagine a number of computers spread out across the country (some 
PC's, some Mac's) running a custom Rev application. On each computer, 
the application continually (every 30-60 seconds) sends a small file 
(just a few characters) into a central server. This file contains 
information about the availability of the user (available now, within 
10 minutes, not available). Let's say there are 100 of these 
computers and applications running at any given time, all reporting 
in every 30 seconds or so.
What's the relationship between the user and the computer ?
i.e. can the same user be on 2 of the machines at the same time ?
if so, what should be reported as the status for that user - the one 
that happened to give the most recent status, or the most available? 
or what ?   Does the status say User 1 is available now on machine 
123.1.1.1 ?

if not, is there already a scheme to prevent it (or simply an 
assumption that it shouldn't happen) ?
is there a finite set of users ? how big ?

or is user equivalent to computer ?
I've also got another 100 computers (all Mac's) running a different 
Rev application. Each of these computers needs to know the combined 
status of the first 100 users, continually polling for this data 
every 30 seconds. So, for example, at any given moment it knows:

User 1 is available now
User 2 is not available
User 3 is not available,
User 4 will be available in 10 minutes
etc..
I've got a dedicated Mac server available, on which I want to place a 
Rev application to gather and disseminate the required information. 
The first 100 computers will continually inform that central 
application of their status, and the other 100 will continually ask 
this application for the status of the first 100 users.

Suggestions on how to do this. I've quite a number of ideas, but I'm 
not sure of the fastest and most stable (and perhaps easiest) way. 
One concern is with multiple users (the ones supplying data) trying 
to check in at the same time.
Best way : (esp. if your user base might grow over time) - central app 
using a database.

But for the current problem description this is probably overkill.
Depending on your answers to the above questions, you could probably 
do 

Simplest way: (NB Only if users are unique and not too numerous)
create a status file per user.
on the user client:  put myStatus into URL 
(http://remote.machine.net/statuses/;  myUserName)

on the server:
  run a Rev script that every 10 seconds (or whatever level of 
currency is required) does the equivalent of
cd /httpdocs/statuses
cat *  ../newstatus
cd ..
mv newstatus allstatus
  (or just stick that shell script into a cron job)

on the other clients:
  put URL http://remote.machine.net/allstatus; into allStatus
No programming (or almost no programming) to do, very simple, easy to 
monitor (just look at files and dates).
Interlocks are handed by the file system - the rename is an atomic 
operation, so safe (on Unix - I'm assuming OS X operates the same way) 
from read/write clashes.

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

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.6.0 - Release Date: 02/03/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


Re: Export snapshot

2005-03-07 Thread Marty Knapp
On 3/7/05 3:25 PM, Sarah Reichelt [EMAIL PROTECTED] wrote:

 IS there a way to save as a pdf by chance?
 
 I was hoping there was a way to do it without user intervention. What
 I'm
 putting together is an app that will pick up email orders from my Miva
 Merchant store, generate a mailing label, pick up the actual pdf
 files to be
 printed and send that all on to my fulfillment center where they will
 produce and ship the item to the customer. They would like everything
 in pdf
 format.
 Could you AppleScript Preview to create the pdf?
 
 Sarah

Hey Sarah,

Great job on the POP library, by the way! I've never touched Applescript.
Basically I'm dumping a name and address into a field in a substack and
exporting it with the snapshot feature, so as you know it can be in any
graphic format that Rev handles. My fulfillment center has asked for a pdf,
though. So maybe a simple Applescript could convert it using Preview (or
Photoshop)?

Marty Knapp

BTW I just came home and checked my little app. I placed a couple of fake
orders-- it picked up the orders on schedule, attached the pdf and my
mailing label and sent it back to myself-- worked great!

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


Web browser kind of thing

2005-03-07 Thread Stephen
Ok how hard would it be to make the window display and interact with a 
web site?
I just want it to bring up a logon page, let them log and and edit info. 
using forms on
the site. Not sure if this is a hard thing to do or not but if anybody 
could push in in the
right directions I would be greatful.

Can I create the HTML like forms in Rev and send in info. the the 
website via URL?
I would have to use the GET but might not be that bad? Oh and I am 
really ne to Rev
and this kind of programming :)

Stephen
--
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.298 / Virus Database: 266.5.0 - Release Date: 2/25/2005
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Web browser kind of thing

2005-03-07 Thread Monte Goulding

Ok how hard would it be to make the window display and interact with a
web site?
I just want it to bring up a logon page, let them log and and edit info. 
using forms on
the site. Not sure if this is a hard thing to do or not but if anybody 
could push in in the
right directions I would be greatful.

Can I create the HTML like forms in Rev and send in info. the the website 
via URL?
I would have to use the GET but might not be that bad? Oh and I am really 
ne to Rev
and this kind of programming :)
Howdy
Checkout the url keyword and the post command. Urls are treated as 
containers in Rev so interacting with CGI scripts using HTTP GET is very 
easy. If you need HTTP POST then use the post command.

Cheers
--
Monte Goulding
Sweat Technologies
InstallGadget - How to create an installer in 10 seconds
Download now from: http://www.sweattechnologies.com/InstallGadget 

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


revCopyFile problems on OSX , shell or Applescript solution best?

2005-03-07 Thread Terry Judd
Ello - I've run into the occasionally/often? bemoaned problem where 
revCopyFile fails under OSX. It seems to be particularly flakey in my 
case as I'm copying the same set of files in and out of various folders 
during testing of an app I'm developing.

Searching the archive revealed suggestions along the lines of using 
applescript to tickle the folder using 'update folder' and various 
shell scripts. Can someone who's already 'been there' suggest the best 
solution? Ideally one that maintains resource forks etc. as revCopyFile 
is supposed to.

Thanks in advance,
Terry...
Dr Terry Judd
Lecturer in Educational Technology (Design)
Biomedical Multimedia Unit
Faculty of Medicine, Dentistry  Health Sciences
The University of Melbourne
Parkville VIC 3052
AUSTRALIA
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Export snapshot

2005-03-07 Thread Ken Ray
On 3/7/05 5:25 PM, Sarah Reichelt [EMAIL PROTECTED] wrote:

 If you are using OS X, put whatever it is on a card and try to print
 the card, with a dialog box of course... you can click Save as PDF
 from there (or Preview and use the Preview program to save it, if
 pre-X.3).
 
 IS there a way to save as a pdf by chance?
 
 I was hoping there was a way to do it without user intervention. What
 I'm
 putting together is an app that will pick up email orders from my Miva
 Merchant store, generate a mailing label, pick up the actual pdf
 files to be
 printed and send that all on to my fulfillment center where they will
 produce and ship the item to the customer. They would like everything
 in pdf
 format.
 Could you AppleScript Preview to create the pdf?

Actually, if you only care about OS X, this will create a PDF for you:

function stsMakePDF pSrcPath,pDestPath
  switch (the platform)
  case MacOS
if isOSX() then
  set the cursor to watch
  put /System/Library/Printers/Libraries/convert into tConvertApp
  get shell(tConvertApp  -f  q(pSrcPath)  -o  q(pDestPath)
 -j application/pdf)
  if it =  then
return OK
  else
return Error :   it
  end if
else
  return Error : stsMakePDF only works on Mac OS X.
end if
break
  default
return Error : stsMakePDF only works on Mac OS X.
break
  end switch
end stsMakePDF

function isOSX
  set the itemDel to .
  return (item 1 of the systemVersion =10)
end isOSX

function q what
  return quote  what  quote
end q

HTH,


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



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


Re: Export snapshot

2005-03-07 Thread Monte Goulding

Actually, if you only care about OS X, this will create a PDF for you:
function stsMakePDF pSrcPath,pDestPath
 switch (the platform)
 case MacOS
   if isOSX() then
 set the cursor to watch
 put /System/Library/Printers/Libraries/convert into tConvertApp
 get shell(tConvertApp  -f  q(pSrcPath)  -o  q(pDestPath)
 -j application/pdf)
 if it =  then
   return OK
 else
   return Error :   it
 end if
   else
 return Error : stsMakePDF only works on Mac OS X.
   end if
   break
 default
   return Error : stsMakePDF only works on Mac OS X.
   break
 end switch
end stsMakePDF
function isOSX
 set the itemDel to .
 return (item 1 of the systemVersion =10)
end isOSX
function q what
 return quote  what  quote
end q
As usual Ken always coming up with the goods!
I'm coming in late on the thread. What's the source file here? HTML? If so I 
think Chipp uses a command line HTML to PDF converter on windows which could 
fit into this function nicely ;-)

Cheers
--
Monte Goulding
Sweat Technologies
InstallGadget - How to create an installer in 10 seconds
Download now from: http://www.sweattechnologies.com/InstallGadget 

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


Re: Export snapshot

2005-03-07 Thread Marty Knapp
On 3/7/05 8:52 PM, Ken Ray [EMAIL PROTECTED] wrote:

 Actually, if you only care about OS X, this will create a PDF for you:
 
 function stsMakePDF pSrcPath,pDestPath
 switch (the platform)
 case MacOS
   if isOSX() then
 set the cursor to watch
 put /System/Library/Printers/Libraries/convert into tConvertApp
 get shell(tConvertApp  -f  q(pSrcPath)  -o  q(pDestPath)
  -j application/pdf)
 if it =  then
   return OK
 else
   return Error :   it
 end if
   else
 return Error : stsMakePDF only works on Mac OS X.
   end if
   break
 default
   return Error : stsMakePDF only works on Mac OS X.
   break
 end switch
 end stsMakePDF
 
 function isOSX
 set the itemDel to .
 return (item 1 of the systemVersion =10)
 end isOSX
 
 function q what
 return quote  what  quote
 end q

Man you guys are smart. To adapt a line from one of my favorite movies, You
guys are so far above me, I feel like a rope on the Goodyear blimp. (What
About Bob w/Bill Murray  A good laugh if you're a little twisted.

This did indeed make a pdf of my jpg. Another question-- is there a way to
set the page size in my scenario? The pdf open into an 8.5x11. This pdf is
going to be sent to a label printer (at my fulfillment center, so I don't
know what it will do or if it's a concern.)

Thanks Ken.


Marty Knapp

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


Re: Export snapshot

2005-03-07 Thread Marty Knapp
On 3/7/05 9:04 PM, Monte Goulding [EMAIL PROTECTED] wrote:

 I'm coming in late on the thread. What's the source file here? HTML? If so I
 think Chipp uses a command line HTML to PDF converter on windows which could
 fit into this function nicely ;-)

Hey Monte,

The source file is a jpeg (or could be any other file type that can be
generated from within Rev). I need to make a mailing label, so currently I'm
just dumping the info into a substack with a field sized to the required
dimensions and exporting a snapshot. (This is what my fulfillment center
wants).


Marty Knapp

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


Re: revCopyFile problems on OSX

2005-03-07 Thread Dick Kriesel
On 3/7/05 8:41 PM, Terry Judd [EMAIL PROTECTED] wrote:

 Can someone who's already 'been there' suggest the best solution?

Well, I can't say it's the best solution, but it's working for me:

on copyFile pFile1,pFile2
  delete file pFile2
  switch the platform
  case win32
revCopyFile pFile1,pFile2
if the result is not empty then answer(revCopyFile failed)
break
  case MacOS
put binFile:  pFile1 into tFile1
put binFile:  pFile2 into tFile2
put URL tFile1 into URL tFile2
if the result is not empty then answer(put URL failed)
break
  default
answer(platform  the platform  needs more coding)
  end switch
end copyFile

Thanks to the gurus who guided me when I had the same problem.

-- Dick


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