Len, Scot,
Your amendments/solutions work and what's more I can follow and
understand how they work because of the excellent commenting.
Rev is a fantastic environment and useful beyond description. The
online docs show syntax of statements and lots of other vital info.
But, to the novice the docs don't go quite far enough to explain how
statements are used.
Take the 'launch' doc. The Examples may be enough for the experienced
user who knows how to put them into context...
launch "SimpleText"
launch "/Documents/Projects/test.txt" with myApp
launch it with (field "Application")
IMHO in the doc for 'launch', right underneath 'Examples', an
additional 'Example in use' would be helpful.
Jim's snippet with its comments puts one of the example statements
into some context...
put the defaultFolder into tOrigDefaultFolder
set the defaultFolder to "C:\theDirTheExeIsIn" -- Put actual dir the
exe is in here
launch "MyProgram.exe" -- Put the actual name of the exe here
set the defaultFolder to tOrigDefaultFolder -- Puts the defaultFolder
back where it was
Have some experience with children. The whole 'do as your told thing
only lasts' 'till they're about 37!
So don't apologise for being gruff. Treating me like a 13 year old
worked in this case.
Sounds like Scott has plenty of elementary experience too.
Many thanks again for all your efforts,
Adrian
On 31 Aug 2009, at 02:58, Len Morgan wrote:
Thank you Scott for stating what I was trying to say far more
diplomatically than I could given my mood at the time. Civility
rocks!
len
Scott Morrow wrote:
Hello Adrian,
I've sort of re-written what Len suggested but without using a
separate function or handler. You can just put the whole thing in
where you need it. Eventually you may want to break out pieces of
your code by using custom functions and commands but this should
work.
Scott Morrow
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution