Re: Looking for a defined path to learn Rev (for new users)

2009-11-19 Thread René Micout

Le 17 nov. 09 à 21:22, Alejandro Tejada a écrit :

This training should be offered in teacher's native language.  
Although, revTalk should be keep
as an English-like programming language, without trying to  
translate commands, functions, handlers,
messages and tokens to another languages. (Different of Apple  
Computer, that actually localized

HyperTalk to many languages)


It was not a good thing (the translation of HyperCard), the  
difference between me (french) and an english or american that's  
RevTalk is not english language but programming language and it  
is an advantage that RevTalk is not in french, there is no (almost)  
confusion between RevTalk (command, functions, etc.) and my part of  
code..



Thanks in advance for your comments!


For the rest I have no comment, I am a curious guy and I have a  
little trouble understanding people who lack curiosity...
I started with HyperCard in 1987 and gradually I made progress, it  
took time because it's not my job (and I have neither received any  
training in computers or programming), but satisfaction is so great  
when you reach the goal you had set (even if the first solution found  
is not the best).


Bons souvenirs de Paris
René


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


Re: Rev Studio 4.0

2009-11-19 Thread René Micout

Le 17 nov. 09 à 21:43, Mikey a écrit :


In the RR folder for the 4.0 version there are the following files:
Engine Change Log
IDE Change Log
and Read_Me_First


Than you very much,
Usually we are too inclined to ignore these small text files...
Bons souvenirs de Paris René






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


MacUpdate VersionTracker

2009-11-19 Thread Richmond Mathewson

MacUpdate had RevMedia today: edition number and price (free) exactly right.

VersionTracker (Mac) had 'Revolution 4' described as an update, and 
further details

yields a price of $249.

For some funny reason nothing shows up in VersionTracker (Windows).

Getting there; although that $249 is going to turn off the let's fiddle 
around
for a bit and see what it is crowd pretty effectively.  Should have 
RevMedia

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


Re: Multitouch

2009-11-19 Thread René Micout


Le 18 nov. 09 à 18:51, Robert Man a écrit :


I personnaly do not think it is so important for apps,


Hello !
That depends on what applications they are. For my part, I create  
music applications (for my own use) and my goal is to control actions  
on a touch screen (for now I use a pen) ... A bit like  
Lemur (french guys) :


http://www.jazzmutant.com/

Bons souvenirs de Paris
René

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


Re: Multitouch

2009-11-19 Thread René Micout

Hello Richard,
I added 5 votes...
Bons souvenirs de Paris
René


Le 18 nov. 09 à 19:50, Richard Gaskin a écrit :


Jim Bufalini wrote:

I submitted a proposal for it to the improve-list a couple weeks  
ago.

Number of replies: 0.
I just searched my email client for the word multitouch on the  
Improve List

and came up with 0 hits. Could this be why you got 0 replies? ;-)


It's in the list archives so it seems to have gone through.  It was  
part of a discussion on group scrolling; not sure if I used the  
work multitouch per se, but searching for any of the words in my  
earlier post should bring it up.  It was sent 1 November.


I just submitted a request in the RQCC for this:
http://quality.runrev.com/qacenter/show_bug.cgi?id=8446

Feel free to help flesh out the proposed ideas there.

--
 Richard Gaskin
 Fourth World
 Rev training and consulting: http://www.fourthworld.com
 Webzine for Rev developers: http://www.revjournal.com
 revJournal blog: http://revjournal.com/blog.irv
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

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


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


Re: Looking for a defined path to learn Rev (for new users)

2009-11-19 Thread Dom
René Micout rene.mic...@numericable.com wrote:

 I started with HyperCard in 1987 and gradually I made progress, it  
 took time because it's not my job (and I have neither received any  
 training in computers or programming), but satisfaction is so great  
 when you reach the goal you had set (even if the first solution found
 is not the best).

C'est un peu pareil pour moi :-)
je suis enfin arrivé à installer SheepShaver*, et j'ai redécouvert des
piles HC que j'avais écrites en ... 1989 (bon anniversaire !)

So me too :-)
I installed at least SheepShaver*, and rediscovered also stacks I
wrote back to ... 1989 (good anniversary!)


* c'était pas de la tarte, et ça fonctionne couci-couça
* not very easy, it works not very well


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


Is it possible to choose cards at random

2009-11-19 Thread William de Smet
Hi there,

I got a stack with 10 cards and want to dynamically change the order of the
cards.
Is it possible to choose 'on mouseup' a card at random?

greetings,

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


Re: Is it possible to choose cards at random

2009-11-19 Thread Mark Schonewille

Hoi William,

go any cd
go any cd of this stack
put the id of any cd of this stack into x

etc.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Download Strõm Flow Chart Software
http://flowproject.economy-x-talk.com

Op 19 nov 2009, om 14:19 heeft William de Smet het volgende geschreven:


Hi there,

I got a stack with 10 cards and want to dynamically change the order  
of the

cards.
Is it possible to choose 'on mouseup' a card at random?

greetings,

William



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


RE: Looking for a defined path to learn Rev (for new users)

2009-11-19 Thread Jim Bufalini
Dear Alejandro,

It seems to me that your are trying to lead horses to water, who are neither
thirsty nor want to drink. ;-)

But you raise an interesting point. We talk about the world embracing
revTalk and revlets because the language is so easy. And, indeed it is. But,
when I think back to when I first found rev, the major paradigm shift was
not the language, but the concept of stacks and cards and how this equated
to a windowed GUI. And, had I not had 15 years of extensive programming
experience in another rev, called Revelation, which is PICK on the PC and
which is very, very similar to rev in that it is a scripting language with
chunks, no variable typing, compiling is at the individual script level, so
you run and program at the same time, and many, many other similarities, I
would have also probably had to go through a paradigm shift with the concept
of chunks and where to put or organize scripts.

So, assuming there are programmers who know how to program in other more
traditional programming languages, it's not the revTalk language itself that
is the major barrier. It's not a great leap to move from using equal signs
for variable assignment to using put, or using is instead of a double
equal sign. And certainly not having to use line ending characters like
semicolons or bracketing blocks of code using curly brackets is freeing and
a no brainer to embrace.

The leap is in the structure and not the language. So while I think your
course outline rightfully starts out with stacks and cards, I think, more
than how to create, the focus in the beginning needs to be on the theory
of stacks and cards and how these equate to the structures they are already
familiar with.

Next, needs to be the theory of chunks and variables and then followed by
theory of scripting and where to place blocks of code and what makes this
all work or ties it all together, which is the message path. Also, before
you get into objects you need o cover the theory behind commands and
functions and how, in general, scripts are organized.

I think without making this paradigm shift first, a programmer used to top
down or OOP programming will just feel like a stranger in a strange land and
will not hear your lessons on buttons and fields because he will be
sitting there still trying to get his bearings. So, I think you need focus
on the lay of the land first. Once a programmer has this down pat, the rest
is easy and almost doesn't have to be taught because there is so much
documentation that can easily be looked up for syntax and details.

Also, you don't have to write all of this from scratch. Much of it is
already available and just needs to be pieced together for your particular
audience.

As I say, you raise an interesting point, because this applies to not just
your fellow teachers, but all those we expect to embrace revlets and
revTalk.

Aloha from Hawaii,

Jim Bufalini


Alejandro Tejada wrote:

 Previously, i have wrote about my fellow teachers that
 i have invited to use RevMedia in their classes.
 
 If you read those comments, you had learn that
 they expect to receive training from the source,
 from Runrev, not unlike Microsoft and Adobe
 offers with their certification programs.
 
 The idea of learning on their own, do not attract
 too many of them. I know that this is the result of
 previous experiences in trainings for other softwares.

 This training should be offered in teacher's
 native language. Although, revTalk should be keep
 as an English-like programming language, without
 trying to translate commands, functions, handlers,
 messages and tokens to another languages.
 (Different of Apple Computer, that actually localized
 HyperTalk to many languages)
 
 These teachers actually want that RevMedia, have an
 interface more similar to Office programs like Word or
 PowerPoint. The idea of scripting visual effects for
 transitions from a card to another, or hiding or showing
 a control seems so alien to them, that i suspect that
 this useful feature (for their specific kind of work), would
 be underutilized or unused at all.
 
 Now, i am looking for comments about this idea:
 
 To make easier for Teachers (or users), to know in which level
 of expertise they stand, divide clearly the learning experience
 in different levels, just like HyperCard do.
 
 The following paragraph was copied from this page:
 http://www.mactech.com/articles/mactech/Vol.03/03.10/HyperCardProgrammi
 ng/index.html
 
 There are 5 user levels within Hypercard. The top most level,
 and easiest to use, is Browsing. This allows the user to navigate
 through Stacks and look at information but not to add or modify it.
 
 (My comment:
 Given that Rev is multiplatform, i should add another
 ability to this level that should be carried to others levels:
 The ability of making clear and understable reports of failures or
 malfunction of stacks to their authors, using screenshots and
 written reports. This is really important and should be so easy, that
 do 

get the color of this card at x,y

2009-11-19 Thread Generic Email
I am looking for a function that does something like this:
get the color of this card at x,y
 and I would expect it to contain r,g,b

I have searched through the Revolution Dictionary, and the best I can find is 
mouseColor. This has the undesirable effect of having to move the mouse to the 
point I am checking, and the possibility that the user is jerking the mouse and 
I get the wrong color. Any ideas on how to accomplish this would be 
appreciated.___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: get the color of this card at x,y

2009-11-19 Thread Wilhelm Sanke


On Thu Nov 19, Generic Email generic.email.30022 at gmail.com wrote:


I am looking for a function that does something like this:

get the color of this card at x,y
 and I would expect it to contain r,g,b

I have searched through the Revolution Dictionary, and the best I can 
find is mouseColor. This has the undesirable effect of having to move 
the mouse to the point I am checking, and the possibility that the 
user is jerking the mouse and I get the wrong color. Any ideas on how 
to accomplish this would be appreciated.



click at x,y
put the mousecolor

Regards,

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


Re: Looking for a defined path to learn Rev (for new users)

2009-11-19 Thread René Micout

Hello !
I read that the implementation of SheepSaver was tricky...
What about that ?
René

Bonjour,
J'ai lu que la mise en œuvre de SheepSaver était délicate...
Qu'en est-il exactement ?
René


Le 19 nov. 09 à 14:04, Dom a écrit :

I installed at least SheepShaver*

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


Re: get the color of this card at x,y

2009-11-19 Thread Bill Marriott

That code didn't work for me ... Probably need something more like,

lock screen
put the screenmouseLoc into coord
set the screenmouseLoc to 350,350
put the mousecolor
set the screenmouseLoc to coord
unlock screen

Alternately, one can export snapshot consisting of a single pixel and parse 
its contents.


Wilhelm Sanke wrote

get the color of this card at x,y
 and I would expect it to contain r,g,b


click at x,y
put the mousecolor




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


Re: get the color of this card at x,y

2009-11-19 Thread Generic Email
Bill, thank you! Your idea worked well.

I wrapped it into a function so it looked better for me, and put my example 
stack here: http://dl.shuler.org/dl.php?i=m510yb9zxq

Thanks so much for the push in the right direction.


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


[Fr][En]Re: Looking for a defined path to learn Rev (for new users)

2009-11-19 Thread Dom
René Micout rene.mic...@numericable.com wrote:

 Hello !
 I read that the implementation of SheepSaver was tricky...
 What about that ?
 René
 
 Bonjour,
 J'ai lu que la mise en œuvre de SheepSaver était délicate...
 Qu'en est-il exactement ?

bon je mets la balise bilingue 
you may encounter french beyond this limit ;-))

ce n'est pas le sauveur de moutons, mais le raseur de moutons ;-)
it doesn't Save Sheep, but Shaves them ;-)

trève de plaisanterie
enough kidding

oui, j'ai eu du mal à installer SheepShaver -- en fait ça bloquait à
chaque fois sur Mac OS ROM qui n'était pas reconnue comme une ROM
valide (subtil, il faut un vrai disque Mac OS et pas seulement le CD
d'installation, qui ne marche qu'avec la machine qui est vendue avec*)

installing SheepShaver was rather daunting
Mac OS ROM was not recognized
you must have a real Mac OS disc, not a simple install disc*

et puis, le version de SheepShaver n'était pas la bonne non plus, au
départ SheepShaver est prévu pour les machines Intel -- et j'ai un
PowerPC G5 !

the current SheepShaver version was not good for PPC Macs

cerise sur le gâteau, SheepShaver marchait bien avec Tiger, mais avait
des vapeurs avec Leopard : tout pour plaire, quoi !

SheepShaver had some problems with Leopard

et, subitement, l'autre jour, à mon énième tentative, je charge une
version de SheepShaver qui est garantie marcher sur PPC, et je suis
pas à pas la doc, trouvée sur le même site :

http://www.emaculation.com/doku.php/sheepshaver_mac_os_x_setup

and suddenly that worked with a new version of SheepShaver!

j'installe comme décrit le System avec un CD Apple (Mac OS 8.6)... et ça
marche !!

j'ai pu lancer HyperCard, et d'autres applis legacy -- pour
m'apercevoir que des fichiers ne sont pas reconnus (erreur -51), et que
'installation est instable ;-

I launched HyperCard, and other legacy apps -- but a number of files are
not recognized (-51 error), and the System is instable

* en fait ce n'est pas absolu, mais je simplifie
not absolutely

Voilà [bilingue] ;-)


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


Running Mac OS 9 without a PPC processor

2009-11-19 Thread Richmond Mathewson

Sheep Shaver left me feeling I had had a trip through the
dipping trough followed by a session with the emasculators . . .  :)

While singing an octave higher:

I have had recourse several times to this:

http://www.kju-app.org/

with perfectly satisfactory results; both with Mac OS 9
and Windows 95 and 98.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Mac ODBC connection to MSSQL on Windows Server

2009-11-19 Thread Mark Stuart
Hi all,
A colleague of mine wants to build a revWeb internet application that
accesses data from a MSSQL Server on a Windows server. He wants to
deploy this application as a cross platform application.
How would he go about that, as the application has the
revOpenDatabase(odbc...) in the scripts?
And if using on ODBC connection on a Mac, the MSSQL ODBC driver has to
be installed and a DSN defined as well, right?
I've been building Windows deployed applications, and don't know what to
tell him.

Are there any ODBC MSSQL connection tutorials for cross platform
applications?
And what other learning resources are there on such things?

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


Re:PDF version of dictionary?

2009-11-19 Thread bar...@libero.it
Once again I thank you dearly Jacque.
I have also pinned your bit about not 
bothering up over my desk.

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


Re: [ANN] Data Tree 0.9.9 RC beta

2009-11-19 Thread Ken Ray

 Just a quick post to let everybody know that I've just uploaded a new
 beta of my tree library to my site.
 
 There's a blog post on my site that goes into detail about what's new
 or been fixed but in short, the big news is that this version adds
 support for tabbing to and from a tree.
 
 Thanks to everybody who has provided feedback, both to me directly and
 on the mailing list.
 
 You can obtain the beta download from my site, www.theworcestersource.com

Very nice, Steve! I really like the platform-specific accuracy you went to
the trouble of duplicating.

Ken Ray
Sons of Thunder Software, Inc.
Email: k...@sonsothunder.com
Web Site: http://www.sonsothunder.com/


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


Re: Biting the Apple

2009-11-19 Thread Michael Kann
Bill, here's another way to get a lot of free advertizing -- send some info to 
http://plugindoc.mozdev.org/ about the new plug-in. It works well in Firefox. 
The birthday cake revlet is mesmerizing.







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


knowing if a printer is connected

2009-11-19 Thread Peter Brigham MD
I have a stack system that is being used on laptops (at this point Mac  
OSX only). One of my beta testers uses it in three different  
locations. Among many other things, the stack prints out notes and  
various other text files from within Rev (running in IDE on RevMedia  
4.0 -- eventually I'll get to porting it as a standalone). As it  
stands now, the user needs to select the currently available printer  
using the system preferences. I need a way to discover if the printer  
designated as active in the system preferences is actually the one  
that is plugged into the USB port. I have a way for the user to change  
the printer from within the stack, but I'd like to avoid the situation  
where he tries to print something and gets the bobbing printer driver  
icon in the dock telling him that that printer is unavailable (because  
he's at a different site and forgot to change his printer designation).


The ideal solution would be to be able to detect the currently  
connected printer and send any print job automatically  to that  
printer, but I'd settle for just being able to post an alert when  
trying to print to notify him that he is about to use an unavailable  
printer. How do I detect what printer is connected? Or at least,  
detect if a designated printer is connected or not?


-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig

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


Re: knowing if a printer is connected

2009-11-19 Thread BNig

Peter,

tell application Printer Setup Utility
set Current_Printer to name of current printer -- set a variable for 
the
name of your current/default printer
end tell

this applescript tells me the currently selected printer on MacOSX 10.5.8

regards
Bernd


Peter Brigham MD wrote:
 
 I have a stack system that is being used on laptops (at this point Mac  
 OSX only). One of my beta testers uses it in three different  
 locations. Among many other things, the stack prints out notes and  
 various other text files from within Rev (running in IDE on RevMedia  
 4.0 -- eventually I'll get to porting it as a standalone). As it  
 stands now, the user needs to select the currently available printer  
 using the system preferences. I need a way to discover if the printer  
 designated as active in the system preferences is actually the one  
 that is plugged into the USB port. I have a way for the user to change  
 the printer from within the stack, but I'd like to avoid the situation  
 where he tries to print something and gets the bobbing printer driver  
 icon in the dock telling him that that printer is unavailable (because  
 he's at a different site and forgot to change his printer designation).
 
 The ideal solution would be to be able to detect the currently  
 connected printer and send any print job automatically  to that  
 printer, but I'd settle for just being able to post an alert when  
 trying to print to notify him that he is about to use an unavailable  
 printer. How do I detect what printer is connected? Or at least,  
 detect if a designated printer is connected or not?
 
 -- Peter
 
 Peter M. Brigham
 pmb...@gmail.com
 http://home.comcast.net/~pmbrig
 

-- 
View this message in context: 
http://n4.nabble.com/knowing-if-a-printer-is-connected-tp624188p624194.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Looking for a defined path to learn Rev (for new users)

2009-11-19 Thread Francis Nugent Dixon

Hi from Paris,

I think Jim has it all sown up.

From: Jim Bufalini j...@visitrieve.com


So, I think you need focus
on the lay of the land first.


I went through many languages from 1401 Autocoder,
through Fortran, through Cobol, through 360 Assembler,
and then through PL/1. I was young and capable of
evolving.

Hypercard (at the age of 45) was a shock, and Revolution
at 60, was a bigger shock. But I took the blows, and
came out winning (and not whining !!)

The developments of Revolution (revlets, revtalk,
On-Rev, shake the traditional programmer, but you
have to go with the flow, or sink into oblivion.

Then the question arises - Are there any traditional
programmers left ? - It MAY be a dying breed.

Best Regards

-Francis

Nothing should ever be done for the first time


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


Errant stack file

2009-11-19 Thread DunbarX
I have a stack where I do all   my testing. This stack is purged from 
memory when it is closed, though this may not be pertinent.

When I open this stack in a new session of Rev from the finder (v.4) I get 
a dialog that the stack revMacCursors is already in memory, and that this 
might cause problems. 

This revMacCursors stack seems to load itself onto my test stack every 
time I start up. If I get rid of it by setting the substacks to empty, saving, 
and then quitting rev, it will reappear again as a substack the next 
session. No other stacks I have seem to be plagued with this issue. It never 
occurred in v3.5.

I see the stack in the toolset folder of the rev 4 folder, but so what?

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


Re: Looking for a defined path to learn Rev (for new users)

2009-11-19 Thread stephen barncard
If one has ever had to work with punched cards (and I have not) genuinely
deserves the title hard core. That stuff was so boring in the 60s that it
drove me away from the field.

How did anything get done?
-
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev


2009/11/19 Francis Nugent Dixon effe...@wanadoo.fr

 Hi from Paris,

 I think Jim has it all sown up.

 From: Jim Bufalini j...@visitrieve.com


  So, I think you need focus
 on the lay of the land first.


 I went through many languages from 1401 Autocoder,
 through Fortran, through Cobol, through 360 Assembler,
 and then through PL/1. I was young and capable of
 evolving.

 Hypercard (at the age of 45) was a shock, and Revolution
 at 60, was a bigger shock. But I took the blows, and
 came out winning (and not whining !!)

 The developments of Revolution (revlets, revtalk,
 On-Rev, shake the traditional programmer, but you
 have to go with the flow, or sink into oblivion.

 Then the question arises - Are there any traditional
 programmers left ? - It MAY be a dying breed.

 Best Regards

 -Francis

 Nothing should ever be done for the first time



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

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


Re: knowing if a printer is connected

2009-11-19 Thread BNig

Peter,
I was a little too fast with my reply, I am afraid

this gives me all the information of the current printer unfortunately it
does return idle even if the current printer is off.

tell application Printer Setup Utility
set Current_Printer to name of current printer -- set a variable for 
the
name of your current/default printer
set tKind to kind of current printer
set tproperties to properties of current printer
set tJob to job of current printer
end tell

Since you are looking for an active/connected printer this is probably not
working. 
regards
Bernd




BNig wrote:
 
 Peter,
 
 tell application Printer Setup Utility
   set Current_Printer to name of current printer -- set a variable for 
 the
 name of your current/default printer
 end tell
 
 this applescript tells me the currently selected printer on MacOSX 10.5.8
 
 regards
 Bernd
 
 
 Peter Brigham MD wrote:
 
 I have a stack system that is being used on laptops (at this point Mac  
 OSX only). One of my beta testers uses it in three different  
 locations. Among many other things, the stack prints out notes and  
 various other text files from within Rev (running in IDE on RevMedia  
 4.0 -- eventually I'll get to porting it as a standalone). As it  
 stands now, the user needs to select the currently available printer  
 using the system preferences. I need a way to discover if the printer  
 designated as active in the system preferences is actually the one  
 that is plugged into the USB port. I have a way for the user to change  
 the printer from within the stack, but I'd like to avoid the situation  
 where he tries to print something and gets the bobbing printer driver  
 icon in the dock telling him that that printer is unavailable (because  
 he's at a different site and forgot to change his printer designation).
 
 The ideal solution would be to be able to detect the currently  
 connected printer and send any print job automatically  to that  
 printer, but I'd settle for just being able to post an alert when  
 trying to print to notify him that he is about to use an unavailable  
 printer. How do I detect what printer is connected? Or at least,  
 detect if a designated printer is connected or not?
 
 -- Peter
 
 Peter M. Brigham
 pmb...@gmail.com
 http://home.comcast.net/~pmbrig
 
 
 

-- 
View this message in context: 
http://n4.nabble.com/knowing-if-a-printer-is-connected-tp624188p624225.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Looking for a defined path to learn Rev (for new users)

2009-11-19 Thread Jim Bufalini
Hi Stephan and Francis,

 If one has ever had to work with punched cards (and I have not)
 genuinely
 deserves the title hard core. That stuff was so boring in the 60s
 that it
 drove me away from the field.

I did as a teenager in high school on a summer job (circa 1968). ;-) I had 
actually forgotten this until just now.

 How did anything get done?

Veeerrryyy slowly as you kept watching the clock for it to hit 5:00 pm. ;-)

 -
 Stephen Barncard
 San Francisco
 http://houseofcubes.com/disco.irev
 
 
 2009/11/19 Francis Nugent Dixon effe...@wanadoo.fr
 
  Hi from Paris,
 

snip

  and came out winning (and not whining !!)

Clever. I like this. I am going to steal it! ;-)

  Then the question arises - Are there any traditional
  programmers left ? - It MAY be a dying breed.

Almost any language that is not of the xtalk variety, such as C++, .net, Visual 
Basic, etc. is traditional compared to revTalk and there are more of these 
types of programmers than ever before.

Aloha from Hawaii,

Jim Bufalini

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


Re: knowing if a printer is connected

2009-11-19 Thread Peter Brigham MD
It returns idle in all cases? Are you saying that it doesn't  
distinguish if the printer is on/connected vs off/disconnected?


How would I get the contents of the various printer properties from  
this script into rev variables to test this out? Do I use an 'on  
appleEvent' handler -- if so, how? Sorry for the naive questions, but  
I haven't used applescript much.


-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig


On Nov 19, 2009, at 3:33 PM, BNig wrote:



Peter,
I was a little too fast with my reply, I am afraid

this gives me all the information of the current printer  
unfortunately it

does return idle even if the current printer is off.

tell application Printer Setup Utility
	set Current_Printer to name of current printer -- set a variable  
for the

name of your current/default printer
set tKind to kind of current printer
set tproperties to properties of current printer
set tJob to job of current printer
end tell

Since you are looking for an active/connected printer this is  
probably not

working.
regards
Bernd




BNig wrote:


Peter,

tell application Printer Setup Utility
	set Current_Printer to name of current printer -- set a variable  
for the

name of your current/default printer
end tell

this applescript tells me the currently selected printer on MacOSX  
10.5.8


regards
Bernd


Peter Brigham MD wrote:


I have a stack system that is being used on laptops (at this point  
Mac

OSX only). One of my beta testers uses it in three different
locations. Among many other things, the stack prints out notes and
various other text files from within Rev (running in IDE on RevMedia
4.0 -- eventually I'll get to porting it as a standalone). As it
stands now, the user needs to select the currently available printer
using the system preferences. I need a way to discover if the  
printer

designated as active in the system preferences is actually the one
that is plugged into the USB port. I have a way for the user to  
change
the printer from within the stack, but I'd like to avoid the  
situation
where he tries to print something and gets the bobbing printer  
driver
icon in the dock telling him that that printer is unavailable  
(because
he's at a different site and forgot to change his printer  
designation).


The ideal solution would be to be able to detect the currently
connected printer and send any print job automatically  to that
printer, but I'd settle for just being able to post an alert when
trying to print to notify him that he is about to use an unavailable
printer. How do I detect what printer is connected? Or at least,
detect if a designated printer is connected or not?

-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig






--
View this message in context: 
http://n4.nabble.com/knowing-if-a-printer-is-connected-tp624188p624225.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

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


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


Re: Errant stack file

2009-11-19 Thread J. Landman Gay

dunb...@aol.com wrote:
I have a stack where I do all   my testing. This stack is purged from 
memory when it is closed, though this may not be pertinent.


When I open this stack in a new session of Rev from the finder (v.4) I get 
a dialog that the stack revMacCursors is already in memory, and that this 
might cause problems. 

This revMacCursors stack seems to load itself onto my test stack every 
time I start up. If I get rid of it by setting the substacks to empty, saving, 
and then quitting rev, it will reappear again as a substack the next 
session. No other stacks I have seem to be plagued with this issue. It never 
occurred in v3.5.


I see the stack in the toolset folder of the rev 4 folder, but so what?


It's part of the IDE and, as you probably suspected, provides Mac 
cursors. There's another stack that gets loaded for Windows and Linux 
cursors. It shouldn't be getting attached to your testing stack.


How are you removing the substacks? Try opening the Application Browser, 
right-clicking on the extra revMacCursors stack, and choosing delete. 
Then save your test stack.


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


RE: Looking for a defined path to learn Rev (for new users)

2009-11-19 Thread Judy Perry


On Thu, 19 Nov 2009, Jim Bufalini wrote:

It seems to me that your are trying to lead horses to water, who are neither
thirsty nor want to drink. ;-)


But the staggering amount of public funds that have been dumped into 
computers in the classroom requires that they really ought to either get 
thirsty really quickly or be force-fed the water.


Here's a sad, sobering read:

http://www.hull.ac.uk/php/edskas/Cuban%20article%20-%20oversold.pdf

Yes, it was written some time ago, but I've not really seen any studies 
that indicate that things have changed for the better.  In my children's 4 
years in the public school system, there were a number of computers 
present in each classroom.  Mostly they never got used.  Or, if they did 
get used, it was for something completely stupid, like reading a story 
online.  My niece and nephew, in the third grade, were required to use 
PowerPoint to present their vocabulary and spelling words.  Yet another 
stupid use of computers in education.  I've seen school district 
technology implementation plans for using computers to teach math -- how? 
Have the students type up word problems and type up the answers.  DUMB 
DUMB DUMB!


Or, in the case of I believe it may have been LA Unified, they 
forced the kids to use math education software that was SO BAD that 
hundreds of math educators and mathematicians signed an online petition 
saying that it was the worst educational software they'd ever seen.  So, 
why was the school using it?  It had been somebody's pet project and the 
district was threatened with the loss of NSF funds if they didn't use the 
software, which the NSF had underwritten.


My children's first grade teacher, when I asked her about the computers 
(she's the one who had them reading stories online), and I made a joke 
about PowerPoint, her response was gee, I wish I knew how to do that in 
class!  I wanted to weep.  PowerPoint.  For 6 year olds.  When there was 
so much more that was possible to do with computers in education MORE THAN 
TWENTY YEARS AGO.



But you raise an interesting point. We talk about the world embracing
revTalk and revlets because the language is so easy. And, indeed it is. But,
when I think back to when I first found rev, the major paradigm shift was
not the language, but the concept of stacks and cards and how this equated
to a windowed GUI. And, had I not had 15 years of extensive programming
experience in another rev, called Revelation, which is PICK on the PC and
which is very, very similar to rev in that it is a scripting language with
chunks, no variable typing, compiling is at the individual script level, so
you run and program at the same time, and many, many other similarities, I
would have also probably had to go through a paradigm shift with the concept
of chunks and where to put or organize scripts.


--And, of course, this is exactly why it is perhaps a better audience for 
using this particular program, because cards and stacks of cards are 
things they already understand from the real world whereas typed data and 
where to put your semi-colons and how to indent your curlicue brackets are 
not.  They have no pre-existing models by which to be confounded.



The leap is in the structure and not the language. So while I think your
course outline rightfully starts out with stacks and cards, I think, more
than how to create, the focus in the beginning needs to be on the theory
of stacks and cards and how these equate to the structures they are already
familiar with.


--That would be none.  And none is a good thing ;-)


Next, needs to be the theory of chunks and variables and then followed by
theory of scripting and where to place blocks of code and what makes this
all work or ties it all together, which is the message path. Also, before
you get into objects you need o cover the theory behind commands and
functions and how, in general, scripts are organized.


--At this point, they've either run screaming to the hills to fire up 
PowerPoint or their eyes are glazed over or they're asleep.  Guaranteed. 
They need short, sweet project-based learning that allows them to 
immediately begin using whatever little they've learned to date.



I think without making this paradigm shift first, a programmer used to top
down or OOP programming will just feel like a stranger in a strange land and
will not hear your lessons on buttons and fields because he will be
sitting there still trying to get his bearings. So, I think you need focus
on the lay of the land first. Once a programmer has this down pat, the rest
is easy and almost doesn't have to be taught because there is so much
documentation that can easily be looked up for syntax and details.


--Here's the problem:  Teachers do not want to be turned into programmers. 
Who cares if they do in 15 lines what you'd do in 3?  Admire your 
elegantly-crafted 3 lines, certainly.  Laugh at my 20, certainly (well, 
okay, laugh discretely).  But, at the end of the day, I'm pleased that I 

Re: Errant stack file

2009-11-19 Thread DunbarX
Jacque:

There were two revMacCursors stacks in the Application Browser. Both have 
the exactly same pathname, back to the toolSet folder in the Rev 4gm 
folder. Both were mainstacks.There is only one such file in that folder, of 
course.One was at the bottom of the list, out of sort order, which was by name.

The first time I went through your suggestion, I was not offered an option 
to delete from the Application Browser, only to delete from memory, since 
both were mainstacks. I did so anyway, and upon saving, quitting and reopening 
rev, no improvement.

So I did it again. This time the extra cursor stack was shown sort of one 
level down, like it was a substack. And I was offered the option to delete. 
Everything is back to normal, though I don't know why, and don't really care. 
Thank you.

Don't ever get sick, disinterested in Rev, or change your name.

Craig

In a message dated 11/19/09 5:01:15 PM, jac...@hyperactivesw.com writes:


 How are you removing the substacks? Try opening the Application Browser,
 right-clicking on the extra revMacCursors stack, and choosing delete.
 Then save your test stack.
 

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


Re: Errant stack file

2009-11-19 Thread J. Landman Gay

dunb...@aol.com wrote:

So I did it again. This time the extra cursor stack was shown sort of one 
level down, like it was a substack. And I was offered the option to delete. 
Everything is back to normal, though I don't know why, and don't really care. 
Thank you.


I think you ran up against the no duplicate named stacks edict. When 
there's two with the same name, there's no telling what you'll see. 
Randomness abounds. I'm not sure how one got into your test stack but it 
sounds like the engine was having trouble telling them apart after it did.




Don't ever get sick, disinterested in Rev, or change your name.


LOL! Haven't any plans to go anonymous. :)

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


Re: Errant stack file

2009-11-19 Thread DunbarX
I don't mind edicts; I can generally ignore them. But I am unjustly accused 
in this case. I never create stacks with the same name, and certainly don't 
expect Rev to.

Craig
In a message dated 11/19/09 5:51:25 PM, jac...@hyperactivesw.com writes:


 I think you ran up against the no duplicate named stacks edict. When
 there's two with the same name, there's no telling what you'll see.
 

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


$ProgramFiles error

2009-11-19 Thread Shari
Pretty sure this isn't anywhere in my code so it must be somewhere 
deeper in.  Does this ring a bell with anyone?  From a customer email:





Getting this error when we exit the program:

Line 434 processing token global $ProgramFiles(x86)

We running Vista on an HP laptop, the program is running in XP
mode.  We received it when running in regular vista mode also.


--
  Critters, humor, patriots and sports t-shirts
  http://www.villagetshirts.com
 WlND0WS and MAClNT0SH shareware
 http://www.gypsyware.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: $ProgramFiles error

2009-11-19 Thread Mark Schonewille

Hi Shari,

I believe that this or a similar problem was discovered some time ago.  
It might have been fixed already. Are you sure that you built your  
standalone with the latest version of Revolution?


I remember (quite) vaguely a discussion about incompatibility between  
global variable names starting with $ and arrays causing the problem.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer

Download Strõm Flow Chart Software
http://flowproject.economy-x-talk.com

Op 20 nov 2009, om 00:02 heeft Shari het volgende geschreven:

Pretty sure this isn't anywhere in my code so it must be somewhere  
deeper in.  Does this ring a bell with anyone?  From a customer email:





Getting this error when we exit the program:

Line 434 processing token global $ProgramFiles(x86)

We running Vista on an HP laptop, the program is running in XP
mode.  We received it when running in regular vista mode also.



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


Re: knowing if a printer is connected

2009-11-19 Thread BNig

Peter,

to test this put this applescript into a field 1 and have a field 2 for the
result

-
tell application Printer Setup Utility
set tReturn to 
set x to name of every printer as list
repeat with i from 1 to count of items of x
set tReturn to tReturn  item i of x  tab
set tReturn to tReturn  item -1 of (properties of printer 
(item i of x)
as list)  linefeed
end repeat
return tReturn
end tell


put this into a button
--
on mouseUp
   do field 1 as applescript
   put char 2 to - 3 of  the result into field 2 -- gets rid of quotes and
trailing linefeed
end mouseUp

so basically you let applescript return the value/s you are interested in
and you check the result.
The last item of the properties of a printer is the status, it unfortunately
returns idle. At least you get the names of the printers. The current
printer is the default printer.
regards
Bernd



Peter Brigham MD wrote:
 
 It returns idle in all cases? Are you saying that it doesn't  
 distinguish if the printer is on/connected vs off/disconnected?
 
 How would I get the contents of the various printer properties from  
 this script into rev variables to test this out? Do I use an 'on  
 appleEvent' handler -- if so, how? Sorry for the naive questions, but  
 I haven't used applescript much.
 
 -- Peter
 
 Peter M. Brigham
 pmb...@gmail.com
 http://home.comcast.net/~pmbrig
 

-- 
View this message in context: 
http://n4.nabble.com/knowing-if-a-printer-is-connected-tp624188p624321.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: knowing if a printer is connected

2009-11-19 Thread Phil Davis

Hi Peter,

Here is another approach for OS X that might give you info that's easier 
to use. Or not.


put shell(system_profiler SPPrintersDataType) into tDescriptions

In my world it returns this:
--- start of data ---
Printers:

   Canon iP1700:

 Status: Idle
 Print Server: Local
 Driver Version: 5.8.3
 Default: No
 URI: usb://Canon/iP1700?serial=705357
 PPD: Canon iP1700
 PPD File Version: 1.0
 PostScript Version: (3011.104) 0

   HP Color LaserJet 2600n:

 Status: Idle
 Print Server: Local
 Driver Version: 1.3.0501
 Default: Yes
 URI: 
mdns://HP%20Color%20LaserJet%202600n._pdl-datastream._tcp.local./?bidi

 PPD: HP Color LaserJet 2600n
 PPD File Version: 1.0
 PostScript Version: (3011.104) 0

   Officejet Pro 8500 A909g [7134F4]:

 Status: Idle
 Print Server: Local
 Driver Version: 1.2
 Default: No
 URI: 
mdns://Officejet%20Pro%208500%20A909g%20%5B7134F4%5D._pdl-datastream._tcp.local./?bidi

 PPD: HP Officejet Pro 8500 A909g Series
 PPD File Version: 1.2
 PostScript Version: (3011.104) 0

--- end of data ---

I see the URI line in each description tells if it is USB or not. BUT it 
doesn't tell you the status of the printers; I got the same descriptions 
when my USB printer was turned on/turned off/unplugged.


If I learn more I'll post it.

Phil Davis



Peter Brigham MD wrote:
It returns idle in all cases? Are you saying that it doesn't 
distinguish if the printer is on/connected vs off/disconnected?


How would I get the contents of the various printer properties from 
this script into rev variables to test this out? Do I use an 'on 
appleEvent' handler -- if so, how? Sorry for the naive questions, but 
I haven't used applescript much.


-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig


On Nov 19, 2009, at 3:33 PM, BNig wrote:



Peter,
I was a little too fast with my reply, I am afraid

this gives me all the information of the current printer 
unfortunately it

does return idle even if the current printer is off.

tell application Printer Setup Utility
set Current_Printer to name of current printer -- set a variable 
for the

name of your current/default printer
set tKind to kind of current printer
set tproperties to properties of current printer
set tJob to job of current printer
end tell

Since you are looking for an active/connected printer this is 
probably not

working.
regards
Bernd




BNig wrote:


Peter,

tell application Printer Setup Utility
set Current_Printer to name of current printer -- set a 
variable for the

name of your current/default printer
end tell

this applescript tells me the currently selected printer on MacOSX 
10.5.8


regards
Bernd


Peter Brigham MD wrote:


I have a stack system that is being used on laptops (at this point Mac
OSX only). One of my beta testers uses it in three different
locations. Among many other things, the stack prints out notes and
various other text files from within Rev (running in IDE on RevMedia
4.0 -- eventually I'll get to porting it as a standalone). As it
stands now, the user needs to select the currently available printer
using the system preferences. I need a way to discover if the printer
designated as active in the system preferences is actually the one
that is plugged into the USB port. I have a way for the user to change
the printer from within the stack, but I'd like to avoid the situation
where he tries to print something and gets the bobbing printer driver
icon in the dock telling him that that printer is unavailable (because
he's at a different site and forgot to change his printer 
designation).


The ideal solution would be to be able to detect the currently
connected printer and send any print job automatically  to that
printer, but I'd settle for just being able to post an alert when
trying to print to notify him that he is about to use an unavailable
printer. How do I detect what printer is connected? Or at least,
detect if a designated printer is connected or not?

-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig






--
View this message in context: 
http://n4.nabble.com/knowing-if-a-printer-is-connected-tp624188p624225.html 


Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

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


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

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



--
Phil Davis

PDS Labs
Professional Software Development
http://pdslabs.net

___
use-revolution mailing 

Re: Growing Script Editor Fix?

2009-11-19 Thread Björnke von Gierke
I talked to... i think it was Ben... yeah, i talked to Ben during the  
conference about one of the bugs i filed. Basically it's the dreaded  
Mac menubar engine bug. The engine sometimes gets confused about the  
actual height of the stack, and the script editor has it's own  
menubar, thus the increase.


I think there was a quick workaround for that, by adding objects to a  
new pristine stack and only after that setting the menubar, or vice- 
versa. Ben said he uses Windows, so he'll probably never be able to  
verify the problem. Too bad there's no way we can fix the ide ourself  
for everyone.



bug entry:
http://quality.runrev.com/qacenter/show_bug.cgi?id=8088

Björnke


On 18 Nov 2009, at 21:19, Scott Rossi wrote:

Does anybody know how to kill the ever-increasing script editor  
height bug?

This is driving me insane.


--

official ChatRev page:
http://bjoernke.com?target=chatrev

Chat with other RunRev developers:
go stack URL http://bjoernke.com/chatrev/chatrev1.3b3.rev;

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


Re: knowing if a printer is connected

2009-11-19 Thread Phil Davis

BNig wrote:

The last item of the properties of a printer is the status, it unfortunately
returns idle. At least you get the names of the printers. The current
printer is the default printer.
regards
Bernd

  


You can also get the names of the printers with:

  put the availablePrinters into tList

:-)
--
Phil Davis

PDS Labs
Professional Software Development
http://pdslabs.net

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


RE: Looking for a defined path to learn Rev (for new users)

2009-11-19 Thread Jim Bufalini
Hi Judy,

Your points are all well taken and true - for kids. But if you read
Alejandro's original post, you will see that he is designing a course
outline for his fellow teachers who already program in more traditional
language(s), which one or ones I don't know, and he is wanting to convert
them over to rev. This is the issue I was addressing and why I talked about
the importance of addressing the paradigm shift first.

Aloha from Hawaii,

Jim Bufalini



 
 On Thu, 19 Nov 2009, Jim Bufalini wrote:
  It seems to me that your are trying to lead horses to water, who are
 neither
  thirsty nor want to drink. ;-)
 
 But the staggering amount of public funds that have been dumped into
 computers in the classroom requires that they really ought to either
 get
 thirsty really quickly or be force-fed the water.
 
 Here's a sad, sobering read:
 
 http://www.hull.ac.uk/php/edskas/Cuban%20article%20-%20oversold.pdf
 
 Yes, it was written some time ago, but I've not really seen any studies
 that indicate that things have changed for the better.  In my
 children's 4
 years in the public school system, there were a number of computers
 present in each classroom.  Mostly they never got used.  Or, if they
 did
 get used, it was for something completely stupid, like reading a story
 online.  My niece and nephew, in the third grade, were required to use
 PowerPoint to present their vocabulary and spelling words.  Yet another
 stupid use of computers in education.  I've seen school district
 technology implementation plans for using computers to teach math --
 how?
 Have the students type up word problems and type up the answers.  DUMB
 DUMB DUMB!
 
 Or, in the case of I believe it may have been LA Unified, they
 forced the kids to use math education software that was SO BAD that
 hundreds of math educators and mathematicians signed an online petition
 saying that it was the worst educational software they'd ever seen.
 So,
 why was the school using it?  It had been somebody's pet project and
 the
 district was threatened with the loss of NSF funds if they didn't use
 the
 software, which the NSF had underwritten.
 
 My children's first grade teacher, when I asked her about the computers
 (she's the one who had them reading stories online), and I made a joke
 about PowerPoint, her response was gee, I wish I knew how to do that
 in
 class!  I wanted to weep.  PowerPoint.  For 6 year olds.  When there
 was
 so much more that was possible to do with computers in education MORE
 THAN
 TWENTY YEARS AGO.
 
  But you raise an interesting point. We talk about the world embracing
  revTalk and revlets because the language is so easy. And, indeed it
 is. But,
  when I think back to when I first found rev, the major paradigm shift
 was
  not the language, but the concept of stacks and cards and how this
 equated
  to a windowed GUI. And, had I not had 15 years of extensive
 programming
  experience in another rev, called Revelation, which is PICK on the PC
 and
  which is very, very similar to rev in that it is a scripting language
 with
  chunks, no variable typing, compiling is at the individual script
 level, so
  you run and program at the same time, and many, many other
 similarities, I
  would have also probably had to go through a paradigm shift with the
 concept
  of chunks and where to put or organize scripts.
 
 --And, of course, this is exactly why it is perhaps a better audience
 for
 using this particular program, because cards and stacks of cards are
 things they already understand from the real world whereas typed data
 and
 where to put your semi-colons and how to indent your curlicue brackets
 are
 not.  They have no pre-existing models by which to be confounded.
 
  The leap is in the structure and not the language. So while I think
 your
  course outline rightfully starts out with stacks and cards, I
 think, more
  than how to create, the focus in the beginning needs to be on the
 theory
  of stacks and cards and how these equate to the structures they are
 already
  familiar with.
 
 --That would be none.  And none is a good thing ;-)
 
  Next, needs to be the theory of chunks and variables and then
 followed by
  theory of scripting and where to place blocks of code and what makes
 this
  all work or ties it all together, which is the message path. Also,
 before
  you get into objects you need o cover the theory behind commands and
  functions and how, in general, scripts are organized.
 
 --At this point, they've either run screaming to the hills to fire up
 PowerPoint or their eyes are glazed over or they're asleep.
 Guaranteed.
 They need short, sweet project-based learning that allows them to
 immediately begin using whatever little they've learned to date.
 
  I think without making this paradigm shift first, a programmer used
 to top
  down or OOP programming will just feel like a stranger in a strange
 land and
  will not hear your lessons on buttons and fields because he will be
  sitting there still 

Re: knowing if a printer is connected

2009-11-19 Thread Phil Davis
Here's another OS X shell command that will list only the USB printers 
turned on. Unfortunately, it doesn't list them by their full names.


Here's the code (in a button):

on mouseUp
  put shell(ioreg) into tList
  filter tList with *IOUSBDevice*
  put the number of lines in tList  cr  tList into fld list2
end mouseUp


Here's the output on my machine:
8
   | |   |   +-o IR recei...@450  class IOUSBDevice, registered, 
matched, active, busy 0, retain 8
   | |   |   +-o Apple Cinema disp...@2432  class IOUSBDevice, 
registered, matched, active, busy 0, retain 8
   | |   |   +-o C-Media USB Audio   @2433  class IOUSBDevice, 
registered, matched, active, busy 0, retain 9
   | |   |   +-o Apple Cinema disp...@2472  class IOUSBDevice, 
registered, matched, active, busy 0, retain 8
   | |   |   +-o ip1...@2431  class IOUSBDevice, registered, 
matched, active, busy 0, retain 8
   | |   |   +-o Microsoft 3-Button Mouse with IntelliEye(TM)@640  
class IOUSBDevice, registered, matched, active, busy 0, retain 8
   | |   |   +-o Bluetooth USB Host control...@611  class 
IOUSBDevice, registered, matched, active, busy 0, retain 11
   | |   |   +-o Apple keybo...@2622  class IOUSBDevice, 
registered, matched, active, busy 0, retain 9


Line 5 above is the USB printer.
When I turn the printer off and run the code again, I get 7 lines and 
the printer line is missing.


This printer shows up in the availablePrinters list as Canon iP1700. 
So there's a partial association between the 2 sets of data.


FWIW -
Phil



Phil Davis wrote:

BNig wrote:
The last item of the properties of a printer is the status, it 
unfortunately

returns idle. At least you get the names of the printers. The current
printer is the default printer.
regards
Bernd

  


You can also get the names of the printers with:

  put the availablePrinters into tList

:-)


--
Phil Davis

PDS Labs
Professional Software Development
http://pdslabs.net

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


RE: Looking for a defined path to learn Rev (for new users)

2009-11-19 Thread Judy Perry

Hi Jim,

I went back and re-read Alejandro's post and that is most definitely NOT 
the impression it gives me.  I also chatted with him for a good half hour 
or more yesterday and nothing in that conversation suggested that these 
teachers already know how to program using another language/environment.


For example, he repeatedly makes the point that they are expecting Rev to 
look like and have similar capabilities to a typical Office suite of 
programs (which is about all teacher ed candidates tend to be taught).  He 
says they look at the volume of documentation and are horrified, whereas 
probably most of us who already use Rev to varying degrees wish there was 
even more (for example, it was recently suggested to me to use the 
selectedLine for a tabbed button... I checked the docs and they only 
suggest that selectedLine works for fields, not buttons, but it did, 
indeed work).


Can you point me to what I missed (re Alejandro)?

:-)

Judy

On Thu, 19 Nov 2009, Jim Bufalini wrote:


Hi Judy,

Your points are all well taken and true - for kids. But if you read
Alejandro's original post, you will see that he is designing a course
outline for his fellow teachers who already program in more traditional
language(s), which one or ones I don't know, and he is wanting to convert
them over to rev. This is the issue I was addressing and why I talked about
the importance of addressing the paradigm shift first.

Aloha from Hawaii,

Jim Bufalini

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


Re: $ProgramFiles error

2009-11-19 Thread Shari
Definitely wasn't built with the latest version, good point.  I did 
see a brief discussion in the archives about a problem with that 
specific global variable that others were having awhile back.  Must 
be something in the backend of the Rev code or stacks.  But didn't 
see a solution.  Maybe the solution is as simple as upgrading my Rev. 
I've got their multiyear license, I just tend to delay upgrading.


Can't believe I didn't think of that first!  Thank you!

Shari



Hi Shari,

I believe that this or a similar problem was discovered some time 
ago. It might have been fixed already. Are you sure that you built 
your standalone with the latest version of Revolution?


I remember (quite) vaguely a discussion about incompatibility 
between global variable names starting with $ and arrays causing the 
problem.


--
Best regards,

Mark Schonewille



--
  Critters, humor, patriots and sports t-shirts
  http://www.villagetshirts.com
 WlND0WS and MAClNT0SH shareware
 http://www.gypsyware.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Mac ODBC connection to MSSQL on Windows Server

2009-11-19 Thread Len Morgan

Mark,

If you've got a functional ODBC driver on the MAC it should work just 
like it was on Windows.  At the wire level, it's just talking on sockets.


As far as using it in a revLet, it appears all of us that have this need 
are, shall we say, screwed.  You will have to have some sort of .cgi 
process on a server somewhere that will be able to talk ODBC to the 
database server and use sockets to talk to the revLet(s).  It can be a 
simple as passing the parameters you were going to pass to the revDB 
call along with the name of the routine (as text) and then excute this 
on the cgi end to talk to the real database.  It's quick and dirty but 
should be easy to get up and running.  You can make it more robust later 
if there's a hurry to get something done.


Better yet, get after runRev to give us someway to communicate with 
databases from revLets and the problem will be solved.


len

Mark Stuart wrote:

Hi all,
A colleague of mine wants to build a revWeb internet application that
accesses data from a MSSQL Server on a Windows server. He wants to
deploy this application as a cross platform application.
How would he go about that, as the application has the
revOpenDatabase(odbc...) in the scripts?
And if using on ODBC connection on a Mac, the MSSQL ODBC driver has to
be installed and a DSN defined as well, right?
I've been building Windows deployed applications, and don't know what to
tell him.

Are there any ODBC MSSQL connection tutorials for cross platform
applications?
And what other learning resources are there on such things?

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


  

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


Re: knowing if a printer is connected

2009-11-19 Thread JosepM

Hi,

Also you can use from the shell:

lpstat -p -- to see the available printers
lpstat -d -- to know the default printer name

and to send directly to the printer:

lpr -P name of the printer -o page-ranges=1 -o landscape path to the file
to print

If you check the lpr command in CUPS manual you can see a lot of options to
control the job sended to the printer. The question is capture the name of
the printer or class. 
The name use _ for spaces, assigning the name directly don't work, almost
for me.


Salut,
Josep
-- 
View this message in context: 
http://n4.nabble.com/knowing-if-a-printer-is-connected-tp624188p624396.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [ANN] Data Tree 0.9.9 RC beta

2009-11-19 Thread JosepM

Hi Steve,

Congratulations for your Data Tree!


Salut,
Josep
-- 
View this message in context: 
http://n4.nabble.com/ANN-Data-Tree-0-9-9-RC-beta-tp584774p624397.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: knowing if a printer is connected

2009-11-19 Thread Phil Davis

This is the best so far!

Phil Davis



JosepM wrote:

Hi,

Also you can use from the shell:

lpstat -p -- to see the available printers
lpstat -d -- to know the default printer name

and to send directly to the printer:

lpr -P name of the printer -o page-ranges=1 -o landscape path to the file
to print

If you check the lpr command in CUPS manual you can see a lot of options to
control the job sended to the printer. The question is capture the name of
the printer or class. 
The name use _ for spaces, assigning the name directly don't work, almost

for me.


Salut,
Josep
  


--
Phil Davis

PDS Labs
Professional Software Development
http://pdslabs.net

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


RE: Looking for a defined path to learn Rev (for new users)

2009-11-19 Thread Jim Bufalini
Judy Perry wrote:

 I went back and re-read Alejandro's post and that is most definitely
 NOT
 the impression it gives me.  I also chatted with him for a good half
 hour
 or more yesterday and nothing in that conversation suggested that these
 teachers already know how to program using another
 language/environment.
 
 For example, he repeatedly makes the point that they are expecting Rev
 to
 look like and have similar capabilities to a typical Office suite of
 programs (which is about all teacher ed candidates tend to be taught).
 He
 says they look at the volume of documentation and are horrified,
 whereas
 probably most of us who already use Rev to varying degrees wish there
 was
 even more (for example, it was recently suggested to me to use the
 selectedLine for a tabbed button... I checked the docs and they only
 suggest that selectedLine works for fields, not buttons, but it did,
 indeed work).
 
 Can you point me to what I missed (re Alejandro)?

Hi Judy,

If you spoke with him for 30-minutes yesterday, then you probably have not
missed anything and I am the one who misunderstood his post. ;-) In my
defense, when I read (brackets added for emphasis by me):

-
Hi all,

Previously, i have wrote about [my fellow teachers] that i have [invited to
use RevMedia] in their classes.

If you read those comments, you had learn that they expect to receive
training from the source, from Runrev, not unlike Microsoft and Adobe offers
with their [certification programs].

The idea of learning on their own, do not attract too many of them. I know
that this is the result of previous experiences in [trainings for other
softwares]...
-

I read it to mean he wanted to teach his fellow teachers (not kids) how to
program in rev and I took his previous experiences in trainings for other
softwares to mean other software languages and not how to use office
programs.

And, in Alejandro's defense, I fully understand he is not writing in his
native language.

None the less, and in light of what is now my obvious misunderstanding
aside, it did cause me to think of when I first started with Rev and as I
said in my post: 

... But you raise an interesting point... assuming there are programmers
who know how to program in other more traditional programming languages...
you need to focus on the lay of the land first... this applies to not just
your fellow teachers, but all those we expect to embrace revlets and
revTalk...

I stand by this, even if it wasn't what Alejandro was asking. And in writing
my misguided response, it made me realize that this is probably the single
most barrier to mass adoption of revlets by programmers of other languages.
However, it is certainly not an insurmountable barrier, and in fact, a very
addressable one.

As to teaching kids, you'll have to speak to my wife who is a certified K
through 12 and special needs school teacher. ;-) She was previously, for 18
years, a Systems Engineer with IBM in charge of Education Systems and
installing computers in the classroom here. 

Aloha from Hawaii,

Jim Bufalini



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


revStudio 4.0 Script Editor a slouch

2009-11-19 Thread Mark Stuart
What is up with the v4.0 Script editor?

Platform: WinXP

1) Opening it with scripts in it has a delay before placing the cursor and
being able to start typing
2) There's a definite delay when editing/typing anything in the editor
3) Clicking in the numbered margin to mark a Breakpoint is also delayed to
set it and remove it
4) Clicking the Taskbar Continue button for a selected script doesn't do
anything. Did in 3.50
5) Copy / Paste in 3.50 was fast. In 4.0 the paste ends up somewhere else,
messing up my scripts

This is going backwards :(

Anybody experience similar behavior?

Regards,
Mark Stuart

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


RE: Looking for a defined path to learn Rev (for new users)

2009-11-19 Thread Judy Perry

Hi Jim,


If you spoke with him for 30-minutes yesterday, then you probably have not
missed anything and I am the one who misunderstood his post. ;-)


--Well, to clarify, it was a text-based chat as opposed to a phone-based 
one, so I might well have missed something! :-)



None the less, and in light of what is now my obvious misunderstanding
aside, it did cause me to think of when I first started with Rev and as I
said in my post:

... But you raise an interesting point... assuming there are programmers
who know how to program in other more traditional programming languages...
you need to focus on the lay of the land first... this applies to not just
your fellow teachers, but all those we expect to embrace revlets and
revTalk...


--That's why I thought it was neat that Mark Wieder did his little VB -- 
Rev cheat-sheet in the new screensteps lessons.



I stand by this, even if it wasn't what Alejandro was asking. And in writing
my misguided response, it made me realize that this is probably the single
most barrier to mass adoption of revlets by programmers of other languages.
However, it is certainly not an insurmountable barrier, and in fact, a very
addressable one.


--Indeed.  We need more cheat-sheets for those folks!


As to teaching kids, you'll have to speak to my wife who is a certified K
through 12 and special needs school teacher. ;-) She was previously, for 18
years, a Systems Engineer with IBM in charge of Education Systems and
installing computers in the classroom here.


--Nice!

Best,

Judy

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