Re: OT: Is there a more English-like Programming language than Transcript?

2006-08-14 Thread Richard Gaskin

Sivakatirswami wrote:


We just came back from a two-day NewsTrain conference for journalists,
put on by Associated Press and the Knight foundation.  We showed our
Hinduism Today Digital Edition to a few people, one of  whom is the
"critically acclaimed, award winning web developer"  Rob Curley (see 
robcurley.com) who has helped produce the
"best news sites on the net" web sites. (right, you may never have heard 
of him... this is in journalism--check out his latest

production www.naplesnews.com... it's incredible, even if the content is
"pop-local"  click things under the dot.cool section)

This man hired away some of Google's top engineers to join his IT
team... he pays each one of back end IT team way up in the 6 figures,
and any intern (he's big on $8/per hour "internology") lucky enough to
work with him will leave his team and get 6 figures.

OK, so, we have this 2 minute window to talk with him about what we do
while he boots up Powerpoint on his 17" Macbook Pro. His first question
was: "Hmmm, interesting, what is  that coded in?" he's a super geek and
didn't care about  content--he wanted to know the technology behind it.

I said  "Revolution"  He said "Hmm never heard of Revolution. Oops gotta
go... I'm up next"

I don't think I should  to have said "coded  in transcipt" at that moment.


Precisely.  No one does, any more than they'd answer "Lingo" when 
they're referring to Director.


Like any proprietary language, Transcript cannot be used outside of the 
Revolution engine.  When talking with outsiders who ask about the 
development system it's appropriate and certainly clearer to just use 
the name of that system.


But that system includes many parts: language + object model + IDE + 
whatever tools you've added.  Having a name which describes the language 
as distinct from the other parts that make up the Rev development system 
is useful for those conversations where the distinction matters, such as 
documentation and tutorials aimed at Rev developers.


I've never seen any context where the Transcript programming language is 
mentioned without also mentioning the Revolution development system 
needed to use it.


This has never been a problem for any of the languages sold by 
wonderfully successul companies for decades, and it's never been a 
problem for Rev.


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.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: OT: Is there a more English-like Programming language than Transcript?

2006-08-14 Thread Stephen Barncard

This supposedly hip web guy still uses Powerpoint? H...




This man hired away some of Google's top engineers to join his IT
team... he pays each one of back end IT team way up in the 6 figures,
and any intern (he's big on $8/per hour "internology") lucky enough to
work with him will leave his team and get 6 figures.

OK, so, we have this 2 minute window to talk with him about what we do
while he boots up Powerpoint on his 17" Macbook Pro. His first question
was: "Hmmm, interesting, what is  that coded in?" he's a super geek and
didn't care about  content--he wanted to know the technology behind it.

I said  "Revolution"  He said "Hmm never heard of Revolution. Oops gotta
go... I'm up next"

I don't think I should  to have said "coded  in transcipt" at that moment.

Sivakatirswami



--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT: Is there a more English-like Programming language than Transcript?

2006-08-14 Thread Sivakatirswami

We just came back from a two-day NewsTrain conference for journalists,
put on by Associated Press and the Knight foundation.  We showed our
Hinduism Today Digital Edition to a few people, one of  whom is the
"critically acclaimed, award winning web developer"  Rob Curley (see 
robcurley.com) who has helped produce the
"best news sites on the net" web sites. (right, you may never have heard 
of him... this is in journalism--check out his latest

production www.naplesnews.com... it's incredible, even if the content is
"pop-local"  click things under the dot.cool section)

This man hired away some of Google's top engineers to join his IT
team... he pays each one of back end IT team way up in the 6 figures,
and any intern (he's big on $8/per hour "internology") lucky enough to
work with him will leave his team and get 6 figures.

OK, so, we have this 2 minute window to talk with him about what we do
while he boots up Powerpoint on his 17" Macbook Pro. His first question
was: "Hmmm, interesting, what is  that coded in?" he's a super geek and
didn't care about  content--he wanted to know the technology behind it.

I said  "Revolution"  He said "Hmm never heard of Revolution. Oops gotta
go... I'm up next"

I don't think I should  to have said "coded  in transcipt" at that moment.


Sivakatirswami





Dar Scott wrote:


On Aug 10, 2006, at 5:39 PM, Dan Shafer wrote:

As a language junkie I'd say xTalks including Transcript are easily 
and by

far the most English-like programming languages on the planet.


I was fortunate to be part of the team for Savvy which predated 
HyperTalk and shared many of the same commands.  That was also before 
GUI and mouse, at least before we understood them.  Almost every 
HyperTalk command that was not GUI related was in Savvy.  Savvy used a 
form based script editor built around English syntax, and being of 
poor memory, I miss that.  I need a hint once in a while.  Blanks 
unfolded as parameters were needed.  But, I don't think we can say 
Savvy is on the planet anymore.  Even so, my mother-in-law still uses 
the bookkeeping package I made long ago and some folks are using 
emulators to still run Savvy.  I think the current owners have lost 
the source.


And, to answer your opening question, Runtime Revolution is trying 
hard to
get us to call the language Revolution. I'm resisting and I suspect 
lots of
other folks are as well. I consider that a silly and ill-advised 
terminology

change. But in their official literature, it's now Revolution which you
program in...er...Revolution.


I can understand both sides of this.  When I used LabView people 
looked at me funny when I said I programmed in G, so I simply said I 
programmed in LabView.  I wonder if in the olden days people would say 
they programmed in HyperCard to avoid confusion.


I have had trouble explaining Transcript to customers, so now say 
Revolution.


Dar Scott

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

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



___
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: Scrolling List Field

2006-08-14 Thread Ken Ray
On 8/14/06 8:59 PM, "Mark Smith" <[EMAIL PROTECTED]> wrote:

> You can set the textFont property of a line in a field:

Yes, actually you can set the text properties (font, size, style, etc.) of
any chunk of text in a field, as well as for the field itself, a group that
it's in, the card, the stack, etc. There's a hierarchy that gets used to
determine what to display in a field:

If the textFont of the text of the field is empty, then use the textFont of
the field itself. If *that* is empty, use the textFont of the group that
it's in (if any). If *that* is empty, use the textFont of the card, and if
*that* is empty, use the textFont of the stack. (And if even *that* is
empty, use a default font.)

So if the textFont of a field is "Helvetica", and you select a chunk of text
in the field and set it to "Tahoma", then select the field again and change
the textFont of the field to "Lucida Grande" then all the text in the field
that was displaying in Helvetica shifts to Lucida Grande, but the text you
selected and set to Tahoma remains in Tahoma.

Hope this is as clear as mud... ;-)


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

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


Can you actually see it?

2006-08-14 Thread Peter Brigham
I thought I'd contribute a couple of functions others might find  
useful, having recently (with a bit of difficulty, as usual) solved a  
problem. I wanted the user to be able to select a data field by  
clicking on it. I wanted to limit the choices to fields with  
sharedtext = false that are actually visible to the user, which  
seemed straightforward at first, until I realized that the visible of  
a field can be true but the field might be hidden by another object,  
or its visible could be true but it could be a part of a group whose  
visible is false -- or that group might be part of a larger group  
whose visible is false, etc. So I came up with a function  
isActuallyVisible(), and a function chooseField() that cycles through  
the list of controls from topmost down and pinpoints whether the user  
clicked on a valid field. It returns the long id of the clicked  
field, or exits to top if the user didn't click on a data field.


I'm using this as the front end for a custom "find" function that  
allows the user to choose to limit a "find" to one field in a stack  
that has multiple fields in multiple groups (some nested), many of  
which are hidden depending on which background or group is visible.


Hopefully these solutions will be useful to someone at some point

(watch linewraps)

function chooseField
  answer "Click on the field to search in. Command-period to exit."  
as sheet

  put the allowInterrupts into oldAllowInterrrupts
  set the allowInterrupts to true
  set the cursor to 1579 -- or whatever custom cursor
  select empty
  wait until the mouseclick
  put the clickloc into cloc
  set the cursor to arrow
  set the allowInterrupts to oldAllowInterrrupts
  put the number of controls into nbr
  repeat with c = nbr down to 1
put the long id of control c into cName
if not (cloc is within the rect of control c) then next repeat
if not isActuallyVisible(cName) then next repeat
-- now the click is within an actually visible control

if "field" is not in cName then -- but it's not a field, so exit
  answer "You must click on a field!" as sheet
  exit to top
end if
if the sharedText of control c then -- it's not a data field, so  
exit

  answer "You must click on a data field!" as sheet
  exit to top
end if
if the dontsearch of control c then -- it's not searchable, so exit
  answer "This field doesn't contain searchable data!" as sheet
  exit to top
end if
return cName
  end repeat
  -- went all the way down the list and didn't locate anything valid
  answer "You must click on a data field!" as sheet
  exit to top
end chooseField

function isActuallyVisible theObject
  put the visible of theObject into v1
  if not v1 then return false
  -- at least theObject is visible
  put the owner of theObject into onr
  if onr contains "card" then
return true
  else
return isActuallyVisible(onr)
  end if
end isActuallyVisible

*

-- Peter

Peter M. Brigham
[EMAIL PROTECTED]
http://home.comcast.net/~pmbrig/

~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~
I'm stuck in that awkward stage between birth and death.


___
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: Scrolling List Field

2006-08-14 Thread Mark Smith

Something like this in the button script:

on insertNewItem
  put value(the selectedLine of fld "fieldName") into tLine
  put tLine after fld "targetField" of stack "mainStack"
end insertNewItem

You can set the textFont property of a line in a field:

set the textFont of line 12 of fld "someField" to "monaco"

Best,

Mark



On 15 Aug 2006, at 00:12, John Baxter wrote:

I have a scrolling list field on a palette that I want to be able  
to select
an item, and then click a button to insert the item into a field on  
the

mainstack.

I also want to be able to mix fonts within the same field on the  
mainstack,
although on separate lines. I can't set the textfont of the field  
without

changing all the text to the same font.

Anyone know how to do this?

Thanks for any help you can provide.
___
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: Uploading

2006-08-14 Thread Dar Scott


On Aug 14, 2006, at 3:34 PM, Dave Cragg wrote:

You can use libUrlSetStatusCallback (see docs) to get feedback  
during the upload. (This works with all three methods.)


How does this work with 'put URL'?


Perhaps I misinterpreted Richard's mail.


Naw, I was being too dense.  I kept thinking of the callback being  
'sent ... in 0 seconds'.  I realized later that you might send  
directly or use 'wait ... with messages'.


Dar Scott

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


Re: Scrolling List Field

2006-08-14 Thread Stephen Barncard

Examine HTMLTEXT in the docs.

then use something like

set the htmltext of line 2 of fld "output" to "toad meat"

sqb




I have a scrolling list field on a palette that I want to be able to select
an item, and then click a button to insert the item into a field on the
mainstack.

I also want to be able to mix fonts within the same field on the mainstack,
although on separate lines. I can't set the textfont of the field without
changing all the text to the same font.

Anyone know how to do this?

Thanks for any help you can provide.
___
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



--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Scrolling List Field

2006-08-14 Thread John Baxter

I have a scrolling list field on a palette that I want to be able to select
an item, and then click a button to insert the item into a field on the
mainstack.

I also want to be able to mix fonts within the same field on the mainstack,
although on separate lines. I can't set the textfont of the field without
changing all the text to the same font.

Anyone know how to do this?

Thanks for any help you can provide.
___
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: Why do group ID's change when cloning a stack

2006-08-14 Thread Wilhelm Sanke

On Sat, 12 Aug 2006, Claudi Cornaz <[EMAIL PROTECTED]> wrote:


I am also interested WHY this should happen. If you have stack A with 2
grp's
and you clone the stack then the id's of the 2 grp's will stay the same
but every
control in the grp will get a new ID.



One interesting part of this is why - I did a quick test - the IDs of 
the two groups stay the same even when their layer should have been changed.


My experience is that each time you change the layer of an object *and" 
clone the stack or *copy * a card within a stack, the IDs (or new IDs) 
will be re-assigned following the order of the layers,


e.g. if you have 4 buttons on a card with consecutive ID s of  1010 to 
1013 and you change the layer of button 4 to lowest (of the buttons), 
then on the next (copied) card the sequence of IDs for these Buttons is 
1015 to 1018. On the copied card button 4 now has the lowest ID instead 
of the highest as on the original card.


When needing to copy a card when developing a new variant of a language 
program I several times ran into that problem. I then took care to 
rearrange the layers of objects to their original state to be able to 
reestablish references to objects more easily.


And; if you put your two groups into a super-group and change their 
layers, the IDs of the embedded groups will be both new and in a 
different order than before.





If I clone the same stack A again
I now
have 2 cloned stacks which are identical that is to say all the ids of
all controls
in both cloned stacks are exactly the same and both differ from the
original.
So Why?

Best wishes
Claudi 



The  cloned stack are identical because you did not change any object 
layers in between the two acts of cloning.


I assume, one reason behind the fact that lower order objects (such 
inside a group) get new IDs is that the original stack and the cloned 
stack are *open* at the same time and are somehow treated like two cards 
inside a stack (one of which is a copy of the first as I described above).-


So IMHO the best thing you can do to optimize the creating of cloned 
stacks or copied cards is to reestablish the original layer order before 
cloning or copying.


Best regards,

Wilhelm Sanke






--

___
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: Uploading

2006-08-14 Thread Dave Cragg


On 14 Aug 2006, at 20:40, Dar Scott wrote:



On Aug 14, 2006, at 1:35 PM, Dave Cragg wrote:
My understanding is that with PUT URL, there is no information  
available about the status of the upload during the upload...  
only at the end. This isn't a big issue for us if it's a more  
dependable way to upload files of this size.


You can use libUrlSetStatusCallback (see docs) to get feedback  
during the upload. (This works with all three methods.)


How does this work with 'put URL'?


Perhaps I misinterpreted Richard's mail. I assumed that by "put URL"  
he was meaning "put x into url ...". Or am I misinterpreting your  
question too?


Anyway, you can set a callback with libUrlSetStatusCallback and it  
will work with both blocking and non-blocking calls. For example:


## in the stack script

on preOpenStack
  libUrlSetStatusCallback "urlCallback, the long id of this stack
end preOpenStack

on urlCallback pUrl, pStatus
  put pStatus into field "status"
end urlCallback

## and in a button somewhere

put tData into url "ftp://aname:[EMAIL PROTECTED]/afile.txt"

Cheers
Dave


___
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: Shells - non-blocking?

2006-08-14 Thread David Bovill

Will you all stop taking the mickey out of my keybrd?
___
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: Replicate hang up

2006-08-14 Thread Cal Horner
My Platform:  WinXp SP2.
 
BTW, Duplicate works fine.
 
And of course the old Standbys Copy and paste have kept me from going
completley "Crackers".
 
Cal
___
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: Uploading

2006-08-14 Thread Dar Scott


On Aug 14, 2006, at 1:35 PM, Dave Cragg wrote:
My understanding is that with PUT URL, there is no information  
available about the status of the upload during the upload... only  
at the end. This isn't a big issue for us if it's a more  
dependable way to upload files of this size.


You can use libUrlSetStatusCallback (see docs) to get feedback  
during the upload. (This works with all three methods.)


How does this work with 'put URL'?

Dar

___
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: Shells - non-blocking?

2006-08-14 Thread Andre Garzia

Elder Sign external anyone?


On Aug 14, 2006, at 2:23 PM, Richard Gaskin wrote:


Robert Sneidar wrote:

I suppose you could try to call a HELL command, but are you  
prepared  for what might come forth?


Whatever you do, don't use the YogSothoth command and certainly  
never say it aloud!


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.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: Uploading

2006-08-14 Thread Dave Cragg


On 14 Aug 2006, at 20:19, Richard Miller wrote:

Our program needs to upload files from a computer that uses a  
wireless broadband connection to our server approximately 10 times  
per hour. Each file averages 1-1.5 MB in size. What is the most  
dependable way to do this: liburlFTPupload, liburlFTPuploadFile, or  
PUT URL? Dependability is the key issue for us. Blocking or non- 
blocking is not an issue.


I don't think there's much difference in dependability among the  
three methods. However,  "put .. into url" is slightly less complex  
under the hood, so I suppose there's potentially less to go wrong.  
Personally, I find it easier to script, and tend to use it for most  
things. The only limitation is that there is no obvious way to cancel  
the upload midway, but that may not be an issue with files of this  
size. With the "upload" methods, you can use unload url to cancel an  
upload.




My understanding is that with PUT URL, there is no information  
available about the status of the upload during the upload... only  
at the end. This isn't a big issue for us if it's a more dependable  
way to upload files of this size.


You can use libUrlSetStatusCallback (see docs) to get feedback during  
the upload. (This works with all three methods.)


Cheers
Dave
___
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


Uploading

2006-08-14 Thread Richard Miller
Our program needs to upload files from a computer that uses a  
wireless broadband connection to our server approximately 10 times  
per hour. Each file averages 1-1.5 MB in size. What is the most  
dependable way to do this: liburlFTPupload, liburlFTPuploadFile, or  
PUT URL? Dependability is the key issue for us. Blocking or non- 
blocking is not an issue.


My understanding is that with PUT URL, there is no information  
available about the status of the upload during the upload... only at  
the end. This isn't a big issue for us if it's a more dependable way  
to upload files of this size.


Thanks.
Richard Miller
Imprinter Technologies
___
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: Why do group ID's change when cloning a stack

2006-08-14 Thread Dar Scott


On Aug 14, 2006, at 11:21 AM, Richard Gaskin wrote:

Going back to the original question, I wonder if the IDs of cloned  
groups change because it's possible to reference groups in other  
stacks as the menuBar group.  I don't know, just guessing here.   
Scott Raney would know, but maybe Mark Waddingham may know the  
origins of this as well and could chime in with his opinion.


Or maybe because some groups are owned by the stack.

Dar

___
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: Shells - non-blocking?

2006-08-14 Thread Richard Gaskin

Robert Sneidar wrote:

I suppose you could try to call a HELL command, but are you prepared  
for what might come forth?


Whatever you do, don't use the YogSothoth command and certainly never 
say it aloud!


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.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: Why do group ID's change when cloning a stack

2006-08-14 Thread Richard Gaskin

Robert Sneidar wrote:
No, it's sketchy because certain operations like cloning or copying  
cards can change ID's, because ID's must be unique in a Revolution  
stack. Also one programming method uses hidden objects as templates  
and then "clones" them so that there is consistency in the interface.  
It's easier than p[rogrammatically setting all the properties every  
time a new object is created. In this case ID's are useless.


Not to mention that they have no mnemonic value; it's just easier to use 
the name property.


IDs are useful for dynamically obtaining absolute references to an 
object, such as setting properties of a newly created button:


   create button
   set the backColor of it to 240,240,240

There are many such examples, but for cases where object references must 
be hard-wired in a script it's usually simpler to just use the object's 
name.


Going back to the original question, I wonder if the IDs of cloned 
groups change because it's possible to reference groups in other stacks 
as the menuBar group.  I don't know, just guessing here.  Scott Raney 
would know, but maybe Mark Waddingham may know the origins of this as 
well and could chime in with his opinion.


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.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: Shells - non-blocking?

2006-08-14 Thread Robert Sneidar
I suppose you could try to call a HELL command, but are you prepared  
for what might come forth?


Bob Sneidar
IT Manager
Logos Management
Calvary Chapel CM


To shell() is a blocking command...

Given that you can "do anything" with the shell anyone knwo of a
techniqu to call a hell command in that background - perrhaps with a
shell command... screnn something like that?



___
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: OT: Is there a more English-like Programming language than Transcript?

2006-08-14 Thread Robert Sneidar
Isn't everyone missing the real point? Computers only "understand"  
one language: The instruction set for the processor family it belongs  
to. But no human (at least no normal human) could program in that  
language and produce anything like useful to the masses in any kind  
of reasonable time frame.


So, (and I want to stress this point as dramatically as I can) ALL  
other language constructs INCLUDING assembly are written so that  
humans (at least normal humans) can write programs that are anything  
like useful to the masses in any kind of reasonable time frame; In  
effect to shield us from the tyranny of the instruction set.


It stands to reason then that the more like a human thinks you can  
make that language, the more likely it is that a human can, and even  
would attempt to, write programs that are anything like useful to the  
masses in any kind of reasonable time frame.


But invariably you give up something with high level languages like  
these, because you are beholden to the one who wrote the language for  
the kinds of things you can tell the computer to do. This is the crux  
of the matter. If we all programmed in assembly, it is unlikely any  
of us would ever produce anything, but if we did we could produce  
almost anything possible that a computer could do. But since we can't  
and won't learn assembly, we depend on the relative simplicity of the  
high level language, at the cost of only being able to do what the  
developer of the high level language gives us the capability to do.


The more "English like" (or should I be global and say "human like")  
the high level language is, the more programmers will even attempt to  
write programs that are anything like useful to the masses in any  
kind of reasonable time frame. Can I see a show of hands of all the  
Revolution programmers that are also proficient enough in C++ to  
produce anything? Okay I see a few hands, how about assembly? Anyone?  
...


In answer then to the original question, is there a more English-like  
programming language than Transcript? I would say, probably not. And  
if there was, how much would you have to give up in terms of what it  
was capable of to use it? Transcript (imho) is an amazing balance of  
simplicity and capability unmatched in almost anything else I have seen.


We all have things we would like to see done, or done better, but  
there will always be that. What we should be asking ourselves is how  
much can we do right now with what we have? It's those kind of  
developers that produce things like Galaxy and libDatabase, and even  
Revolution itself that make what everyone else does easier or better.


And I will bet good money that if we (Revolution Developers) could  
double or triple the user base of Revolution in the next 2 or 3  
years, we would see a lot more capabilities roll out of Runtime  
Revolution's labs. Maybe the way to do that is to start producing  
some really cool apps with it so others can see how productive we are  
with it.


Bob Sneidar
IT Manager
Logos Management
Calvary Chapel CM

On Aug 12, 2006, at 10:00 AM, [EMAIL PROTECTED]  
wrote:



Re: OT: Is there a more English-like Programming language
thanTranscript?



___
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: create alias in XP

2006-08-14 Thread sims

At 11:57 AM -0500 8/14/06, Ken Ray wrote:

Well, what is the app you're trying to alias? Is it a Rev app? If not, it
could be dependent on the working directory setting...


Big Duh from the Med.

I had the dang "/" mixed up with "\"...once I switched the path to the
app from PC "\" to Rev   "/"   all works well!

Time for the wine bar I think.

Thanks all...false alarm.

ciao,
sims
___
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: create alias in XP

2006-08-14 Thread Ken Ray
On 8/14/06 11:04 AM, "sims" <[EMAIL PROTECTED]> wrote:

> I'm using the following on Windows XP
> 
>  create alias (specialfolderpath("start") & "/" & "Name of
> Alias.lnk") to file "path to original app..."
> 
> The alias/shortcut gets made, looks ok, has the correct target, but does not
> work. When I checked another shortcut made by right-clicking & then examining
> it in Properties the newly created shortcut lacks any text in the
> "Start in" field.
> If I fill that in from a good alias the new alias works.
> 
> Where am I going wrong here?

Well, what is the app you're trying to alias? Is it a Rev app? If not, it
could be dependent on the working directory setting...

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

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


Re: ANN: Encryption Demo Stack

2006-08-14 Thread Ken Ray
On 8/13/06 1:03 PM, "Bill Vlahos" <[EMAIL PROTECTED]> wrote:

> I've completed a stack to show how to use encryption and work with
> passwords.

Very sweet, Bill! Well done...

:-)

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

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


Re: create alias in XP

2006-08-14 Thread Klaus Major

Hi sims,


Hi sims,


I'm using the following on Windows XP
create alias (specialfolderpath("start") & "/" & "Name of
Alias.lnk") to file "path to original app..."
The alias/shortcut gets made, looks ok, has the correct target,  
but does not
work. When I checked another shortcut made by right-clicking &  
then examining
it in Properties the newly created shortcut lacks any text in the  
"Start in" field.

If I fill that in from a good alias the new alias works.
Where am I going wrong here?

???
Hmmm, just tested with Rev 2.7.3 on my Win XP and works fine here...


forgot to mention that I used the same syntax as you did, so you were
not going wrong here, must be something else.


ciao,
sims

European Rev Conference  2006
www.techietours.com


Best

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

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


Re: create alias in XP

2006-08-14 Thread Klaus Major

Hi sims,


I'm using the following on Windows XP

create alias (specialfolderpath("start") & "/" & "Name of
Alias.lnk") to file "path to original app..."

The alias/shortcut gets made, looks ok, has the correct target, but  
does not
work. When I checked another shortcut made by right-clicking & then  
examining
it in Properties the newly created shortcut lacks any text in the  
"Start in" field.

If I fill that in from a good alias the new alias works.

Where am I going wrong here?


???

Hmmm, just tested with Rev 2.7.3 on my Win XP and works fine here...


ciao,
sims

European Rev Conference  2006
www.techietours.com


Regards

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

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


Re: Why do group ID's change when cloning a stack

2006-08-14 Thread Robert Sneidar
No, it's sketchy because certain operations like cloning or copying  
cards can change ID's, because ID's must be unique in a Revolution  
stack. Also one programming method uses hidden objects as templates  
and then "clones" them so that there is consistency in the interface.  
It's easier than p[rogrammatically setting all the properties every  
time a new object is created. In this case ID's are useless.


I just think it's bad programming practice. As a teacher, I am sure  
you know that part of what you are teaching your students is good  
programming habits. If they fail at that, they aren't going to be  
very good programmers anyhow. If their discipline is bad enough, they  
may even end up like me, and nobody wants that.


Bob Sneidar
IT Manager
Logos Management
Calvary Chapel CM


Is this a programmer-thing?

I ask because I have a devil of a time convincing my students to  
*name*
their objects.  They end up having problems and it's VERY  
frustrating...


Judy

On Fri, 11 Aug 2006, Robert Sneidar wrote:


Since the days of Hypercard, I have known that using ID's to
reference objects was sketchy at best. As a matter of good
programming practice, you should keep track of all your variables and
object names so there is no inadvertent duplication to bite you in
the butt later.



___
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


create alias in XP

2006-08-14 Thread sims

I'm using the following on Windows XP

create alias (specialfolderpath("start") & "/" & "Name of
Alias.lnk") to file "path to original app..."

The alias/shortcut gets made, looks ok, has the correct target, but does not
work. When I checked another shortcut made by right-clicking & then examining
it in Properties the newly created shortcut lacks any text in the 
"Start in" field.

If I fill that in from a good alias the new alias works.

Where am I going wrong here?

ciao,
sims

European Rev Conference  2006
www.techietours.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: Shells - non-blocking?

2006-08-14 Thread Dar Scott


On Aug 14, 2006, at 2:48 AM, Brian Yennie wrote:


get shell("mylongcommand > output.txt &")


Vague memory:  I tried using "&" long ago on OS X and didn't have  
much luck.  Maybe I was doing something goofy.  Or maybe it was the  
virtual serial I didn't get working...  Worth a try.


Is "?" available on Windows?

Dar


___
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: Shells - non-blocking?

2006-08-14 Thread Brian Yennie


---
Brian Yennie
Chief Technology Officer
QLD Learning, LLC
(310)-367-7364

You might try something like:

get shell("mylongcommand > output.txt &")

This should redirect the output to a file and return immediately.  
It's not as clean as triggering a "done" message with new syntax  
would be, but it may be workable. You might try searching the  
archives - I seem to recall discussing this one many moons ago...


HTH,
Brian


On Aug 13, 2006, at 3:30 AM, David Bovill wrote:


I want to call the shell command and let the user get on with other
gui stuff... wouldn't it be nice to have:

put shell("something really slow") with message "doneIT" ?


Very good idea!
Do you fill an enhancement in Revzilla? If not I'll do it, let me  
know...



On Sun, 13 Aug 2006 09:42:35 -0600 , Dar Scott wrote:


You might be able to build something like that with processes (see
open process etc in the doc).


I cannot figure out how to implement that. Have you a sample script?
___
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: Revolution 2.7.3 released, support for U3

2006-08-14 Thread Kevin Miller
On 12/8/06 16:45, "Richard Gaskin" <[EMAIL PROTECTED]> wrote:

> And as Rev developers, it's always been a trivial matter for us to
> deliver fully self-contained apps which run from removable media without
> needing to modify the host computer.  While Rev's work in the
> U3-specific additions are helpful, you can also deliver portable apps on
> ANY removable drive, U3 or not.

Of course, the coolest thing about U3 is that it is backed by the major
storage vendors - Kingston, Memorex, Sandisk and many others.  That means
that tens of millions of these devices will ship each year, making this type
of deployment a new potential revenue opportunity for developers.

Kind regards,

Kevin

Kevin Miller ~ [EMAIL PROTECTED] ~ http://www.runrev.com/
Runtime Revolution - User-Centric Development Tools

___
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: Revolution 2.7.3 released, support for U3

2006-08-14 Thread Kevin Miller
On 12/8/06 13:29, "Jim Carwardine" <[EMAIL PROTECTED]>
wrote:

> This appears to be a PC only upgrade.  Is that true or does the Mac OS
> version contain the U3 stuff?  Jim

The zip file support, and several other bug fixes and minor enhancements are
all Mac compatible.  You can build U3 packages from on your Mac, too.

Kind regards,

Kevin

Kevin Miller ~ [EMAIL PROTECTED] ~ http://www.runrev.com/
Runtime Revolution - User-Centric Development Tools

___
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: Revolution 2.7.3 released, support for U3

2006-08-14 Thread Kevin Miller
On 13/8/06 17:03, "Richard Gaskin" <[EMAIL PROTECTED]> wrote:

> Not sure about Rev, though.  Anyone try it?  I vaguely recall some
> mention of the licensing scheme being dependent on a specific path.

We have built a version of the IDE that runs on U3 - that version is
available for download on the download pages.

Kind regards,

Kevin

Kevin Miller ~ [EMAIL PROTECTED] ~ http://www.runrev.com/
Runtime Revolution - User-Centric Development Tools

___
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: Shells - non-blocking?

2006-08-14 Thread Joel Guillod

On Aug 13, 2006, at 3:30 AM, David Bovill wrote:


I want to call the shell command and let the user get on with other
gui stuff... wouldn't it be nice to have:

put shell("something really slow") with message "doneIT" ?


Very good idea!
Do you fill an enhancement in Revzilla? If not I'll do it, let me  
know...



On Sun, 13 Aug 2006 09:42:35 -0600 , Dar Scott wrote:


You might be able to build something like that with processes (see
open process etc in the doc).


I cannot figure out how to implement that. Have you a sample script?
___
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