From jacque at hyperactivesw.com Mon Aug 1 00:04:30 2005
From: jacque at hyperactivesw.com (J. Landman Gay)
Date: Sun, 31 Jul 2005 23:04:30 -0500
Subject: Scripting conference - chunk expressions stack uploaded
Message-ID: <42ED9F4E.3020006@hyperactivesw.com>
Alex Tweedly's excellent scripting conference stack is now available for
download in preparation for next weekend's conference. The topic is
"Text and Chunk Expressions" and it covers everything you ever wanted to
know about working with text, both in fields and in variables. Text
chunking is one of Revolution's strongest features, and this stack tells
you how to use it.
As always, you can find it here:
This conference will be held at 1123344000 seconds:
get "1123344000";convert it to system date and time;put it
See you there!
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
From kray at sonsothunder.com Mon Aug 1 00:09:22 2005
From: kray at sonsothunder.com (Ken Ray)
Date: Sun, 31 Jul 2005 23:09:22 -0500
Subject: Help, what am I doing wrong???
In-Reply-To: <12615777767.20050731170849@ahsoftware.net>
Message-ID:
On 7/31/05 7:08 PM, "Mark Wieder" wrote:
> A semi-related point that seems to bother nobody but me is that you
> don't have to declare loop variables (i.e., Variable Checking [aka
> explicitVars] doesn't catch them), but if you don't explicitly declare
> them as local then they become global by default, in which case you
> get namespace conflicts.
Sorry, Mark, but that's simply not true. You can check this this way:
-- Script of btn 1
on mouseUp
repeat with x = 1 to 10
-- do nothing
end repeat
answer x
end mouseUp
-- Script of btn 2
global x
on mouseUp
answer x
end mouseUp
The first button will answer "10", the second button will answer "". x did
not become a global simply because it wasn't declared.
Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com
From kray at sonsothunder.com Mon Aug 1 00:09:56 2005
From: kray at sonsothunder.com (Ken Ray)
Date: Sun, 31 Jul 2005 23:09:56 -0500
Subject: Help, what am I doing wrong???
In-Reply-To: <42ED7735.5080502@sover.net>
Message-ID:
On 7/31/05 8:13 PM, "Jon" wrote:
> Horrifying. I assume this is BZd?!?
No, because it's not true (see my response to Mark).
Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com
From alex at tweedly.net Mon Aug 1 02:40:50 2005
From: alex at tweedly.net (Alex Tweedly)
Date: Mon, 01 Aug 2005 07:40:50 +0100
Subject: Question about keys
In-Reply-To:
References:
Message-ID: <42EDC3F2.2030800@tweedly.net>
Dennis Brown wrote:
> All,
>
> I have a two dimensional array: array[x,y]
> I need to get the unique x keys into a list, there are about 20
> unique ones, but they are dynamically created names (not numbers).
> The y keys have tens of thousands of elements.
>
put the keys of array into mykeys
split mykeys by cr and comma
put the keys of mykeys into xKeys
--
Alex Tweedly http://www.tweedly.net
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.9.6/59 - Release Date: 27/07/2005
From mwieder at ahsoftware.net Mon Aug 1 03:10:01 2005
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Mon, 1 Aug 2005 00:10:01 -0700
Subject: Help, what am I doing wrong???
In-Reply-To:
References:
Message-ID: <17141049866.20050801001001@ahsoftware.net>
Ken-
Sunday, July 31, 2005, 9:09:22 PM, you wrote:
> Sorry, Mark, but that's simply not true. You can check this this way:
Well, OK, now that I go back and test it again it's all working fine.
But look, this has happened to me before. Several times. And the only
thing that would fix up that spurious "variable name shadows
another..." error message was declaring my loop variables as locals. I
thought it was very strange at the time, and of course, now I can't
get myself back into that situation for trying. If I do manage to do
it I'll bugzilla the script and then try to fix it. Maybe there's some
other mechanism at work. Sorry for the false alarm, folks.
--
-Mark Wieder
mwieder at ahsoftware.net
From mwieder at ahsoftware.net Mon Aug 1 03:28:27 2005
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Mon, 1 Aug 2005 00:28:27 -0700
Subject: global problems
In-Reply-To:
References:
Message-ID: <2442156337.20050801002827@ahsoftware.net>
Ken-
Of course, I managed to poke around a bit and get this to happen. I
knew there was *something going on*. Here's the real problem - doesn't
have anything to do with loop indices at all:
Global variables are persistent in memory, even when they've been
purged. Once you have declared a global variable, even if you have
deleted the line of code that declared it, you're stuck with it. You
can't change it into a local variable and you can't have another local
variable with the same name, even in a different stack, without
invoking a compiler error about the local variable name shadowing
another.
BZ #3038
--
-Mark Wieder
mwieder at ahsoftware.net
From xbury.cs at clearstream.com Mon Aug 1 03:40:31 2005
From: xbury.cs at clearstream.com (xbury.cs at clearstream.com)
Date: Mon, 1 Aug 2005 09:40:31 +0200
Subject: global problems
In-Reply-To: <2442156337.20050801002827@ahsoftware.net>
Message-ID:
have you tried
global x2
put 5 into x2
delete global x2
get the globalnames
replace comma with cr in it
put it
i dont see x2 anymore...
---------------------=---------------------
Xavier Bury
Clearstream Services
TNS NT LAN Server
ext 36465
Voice: +352 4656 43 6465
Fax: +352 4656 493 6465
use-revolution-bounces at lists.runrev.com wrote on 01/08/2005 09:28:27:
> Ken-
>
> Of course, I managed to poke around a bit and get this to happen. I
> knew there was *something going on*. Here's the real problem - doesn't
> have anything to do with loop indices at all:
>
> Global variables are persistent in memory, even when they've been
> purged. Once you have declared a global variable, even if you have
> deleted the line of code that declared it, you're stuck with it. You
> can't change it into a local variable and you can't have another local
> variable with the same name, even in a different stack, without
> invoking a compiler error about the local variable name shadowing
> another.
>
> BZ #3038
>
> --
> -Mark Wieder
> mwieder at ahsoftware.net
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
-----------------------------------------
Visit us at http://www.clearstream.com
IMPORTANT MESSAGE
Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents of
this message.
The information contained in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee. If you are
not the intended recipient, any disclosure, copying, distribution or
any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically
states them to be the views of Clearstream International or of any of
its affiliates or subsidiaries.
END OF DISCLAIMER
From david at openpartnership.net Mon Aug 1 05:33:13 2005
From: david at openpartnership.net (david bovill)
Date: Mon, 1 Aug 2005 11:33:13 +0200
Subject: Turtle Graphics
In-Reply-To:
References: <20050725182640.64986824D90@mail.runrev.com>
Message-ID:
I have some simple scripts which draw trees etc based on l-systems,
which in turn are built on basic Turtle Graphic primitives - would be
nice to collect this stuff in one place?
From jbondy at sover.net Mon Aug 1 07:43:41 2005
From: jbondy at sover.net (Jon)
Date: Mon, 01 Aug 2005 07:43:41 -0400
Subject: Help, what am I doing wrong???
In-Reply-To:
References:
Message-ID: <42EE0AED.1050208@sover.net>
Whew! That's more like it!
Ken Ray wrote:
>On 7/31/05 8:13 PM, "Jon" wrote:
>
>
>
>>Horrifying. I assume this is BZd?!?
>>
>>
>
>No, because it's not true (see my response to Mark).
>
>Ken Ray
>Sons of Thunder Software
>Web site: http://www.sonsothunder.com/
>Email: kray at sonsothunder.com
>
>
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
>
>
From bmmeili at swissonline.ch Mon Aug 1 07:54:53 2005
From: bmmeili at swissonline.ch (Martin Meili)
Date: Mon, 1 Aug 2005 13:54:53 +0200
Subject: answer file / filter
Message-ID:
Hi,
I've got some code:
answer file "Which file do you want to open?"
Now, only files with the extension "txt" should be enabled in the
opened window.
I know, there should be a solution with the filter-command, but I can't
manage to make this work.
Can you help me?
Martin
From ptrendler at bigpond.com Mon Aug 1 08:19:38 2005
From: ptrendler at bigpond.com (Pat Trendler)
Date: Mon, 1 Aug 2005 22:19:38 +1000
Subject: answer file / filter
References:
Message-ID: <001f01c59693$4c1a7b50$0100000a@super>
Hi Martin,
answer file "Which file do you want to open?" with filter "*.txt"
HTH
Pat
patrend at bigpond.com
----- Original Message -----
From: "Martin Meili"
To:
Sent: Monday, August 01, 2005 9:54 PM
Subject: answer file / filter
> Hi,
>
> I've got some code:
>
> answer file "Which file do you want to open?"
>
> Now, only files with the extension "txt" should be enabled in the opened
> window.
>
> I know, there should be a solution with the filter-command, but I can't
> manage to make this work.
>
> Can you help me?
>
> Martin
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.338 / Virus Database: 267.9.7/60 - Release Date: 28/07/2005
>
>
From andre.rombauts at skynet.be Mon Aug 1 08:22:52 2005
From: andre.rombauts at skynet.be (=?iso-8859-1?Q?Andr=E9_Rombauts?=)
Date: Mon, 1 Aug 2005 14:22:52 +0200
Subject: answer file / filter
In-Reply-To:
Message-ID: <200508011222.j71CMvVG021689@outmx019.isp.belgacom.be>
It is clearly explained in Revolution online reference:
answer files "Select the document" with filter "MS Word files,*.doc"
-----Message d'origine-----
De : use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] De la part de Martin Meili
Envoy? : lundi 1 ao?t 2005 13:55
? : use-revolution at lists.runrev.com
Objet : answer file / filter
Hi,
I've got some code:
answer file "Which file do you want to open?"
Now, only files with the extension "txt" should be enabled in the opened
window.
I know, there should be a solution with the filter-command, but I can't
manage to make this work.
Can you help me?
Martin
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
From charles.hartman at conncoll.edu Mon Aug 1 08:44:23 2005
From: charles.hartman at conncoll.edu (Charles Hartman)
Date: Mon, 1 Aug 2005 08:44:23 -0400
Subject: simple custom property question
Message-ID: <74D42612-FCFF-4E55-B404-E61BB097D2F1@conncoll.edu>
This has got to be simple, but I'm stuck: how do I get a group into a
custom property? I don't even need to do it from a script; the msg
box or Inspector will do.
The group includes an image and a bunch of little fields. I want them
in a cust prop because I'll have a lot of them and I want to automate
sending them to a dialog box.
Hope the question is coherent.
Charles Hartman
From alex at tweedly.net Mon Aug 1 08:58:43 2005
From: alex at tweedly.net (Alex Tweedly)
Date: Mon, 01 Aug 2005 13:58:43 +0100
Subject: ANN: Sudoku Assistant
In-Reply-To:
References: <20050730111003.18860825342@mail.runrev.com> <42ECDC74.8050502@tweedly.net> <8754C4BD-C4D5-4580-9DF2-460184CE40EF@danshafer.com> <42ED4FC8.4080507@tweedly.net>
Message-ID: <42EE1C83.60701@tweedly.net>
Dan Shafer wrote:
> I'm doing something wrong or misunderstanding how the assistant works
> or something.
>
> On Puzzle #1, I got to the place where I have five uncompleted cells.
> One of them has a "?" which I think means there's an error somewhere.
> But neither it nor the cell underneath it show any potential values
> when I click on them. Then I click on an adjoining square to the one
> without a "?" and select a value. Odds go to 0, so I know I've got a
> wrong value there. I "Undo" and now I have three squares -- the two
> original and the one I just undid -- that show no values to pick from
> when I click on them. SO essentially, even though I think I could
> solve the puzzle at this point, the assistant won't let me proceed.
>
> Bug? Something I'm not grokking?
One bug, one not-yet-implemented feature and maybe something you weren't
fully grokking. (And for all I know, more bugs still to come ....)
The bug I found and fixed was in undo-ing after there were squares for
which no value remained possible. Although they showed on-screen as a
"?", the "?" wasn't being saved in the Undo/Redo state, so subsequent
"Undo"s could leave blank squares.
I'm not sure how that led to the problem you described to me - so I've
also added an automatic logging facility. All actions are logged (to a
custom property), and there is a new menu item - File / Save Log File
... which will save the log file. So if anyone encounters strange
situation, they can simply save the log file and email it to me.
The not-yet-implemented feature is that it ought to stop you assigning
values to any more squares once any square has no remaining possible
values. I will add that - but in the mean time, keep an eye on the
number of possibilities, and if it reaches 0 then you will need to Undo
(one or more times), so you may as well do it immediately. (I figure if
you had fully grokked things, you wouldn't have continued ....)
Ver 1.3 has been uploaded to RevOnline, with these two changes.
Ver 1.4 will come later today, with an additional feature of showing a
detailed breakdown of a single step (i.e. which squares change and why),
which will be a useful way to see what the Assistant is doing for you
(and indirectly to check that it does the right thing). That info is
actually already gathered in the log file, but I'm looking for a
graphical way to show it.
And this is actually being much more interesting than I had expected -
so there may well be a Version 2 that eliminates some of the cruft that
has sprung up in the various Ver 1.x's as it has grown organically.
--
Alex Tweedly http://www.tweedly.net
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.9.6/59 - Release Date: 27/07/2005
From bnz2 at cdc.gov Mon Aug 1 09:28:16 2005
From: bnz2 at cdc.gov (Lynch, Jonathan)
Date: Mon, 1 Aug 2005 09:28:16 -0400
Subject: Windows Command Code Resolved
Message-ID: <64878EF567131D4596246171F75FD4A9968136@m-epo-1.epo.cdc.gov>
This works on my computer - much easier than the convoluted script I was
using.
I think Chipp's adding in the shortfilepath function was the key...
Earlier attempts at using this approach did not work for me, presumably
because quotes and spaces were confusing 'start'.
Thanks Chipp!
-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Chipp
Walters
Sent: Friday, July 29, 2005 11:37 PM
To: How to use Revolution
Subject: Re: Windows Command Code Resolved
Hi gang,
Got it working. Pretty simple actually:
Here's the guts (after putting the filepath into fld "docPath")
put shortFilePath(fld "docPath") into tDocPath
replace "/" with "\" in tDocPath
put "start" && tDocPath into tDosCommand
set the hideconsolewindows to true
get shell(tDosCommand)
Here's a demo: type in the message:
go URL "http://www.altuit.com/webs/altuit2/RunRev/WinXPFileLauncher.rev"
best,
Chipp
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
From bnz2 at cdc.gov Mon Aug 1 09:39:20 2005
From: bnz2 at cdc.gov (Lynch, Jonathan)
Date: Mon, 1 Aug 2005 09:39:20 -0400
Subject: Windows Command Code Resolved
Message-ID: <64878EF567131D4596246171F75FD4A9744611@m-epo-1.epo.cdc.gov>
One other thing to consider adding to this script...
In the rev front scripts, which accessing the windows shell, they use
this command:
revSetWindowsShellCommand
Which I guess makes sure that Rev uses the correct type of shell command
for the specific windows system that the user is using. (I believe it
has to choose between cmd.exe vs. command.exe)
-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Lynch,
Jonathan
Sent: Monday, August 01, 2005 9:28 AM
To: chipp at chipp.com; How to use Revolution
Subject: RE: Windows Command Code Resolved
This works on my computer - much easier than the convoluted script I was
using.
I think Chipp's adding in the shortfilepath function was the key...
Earlier attempts at using this approach did not work for me, presumably
because quotes and spaces were confusing 'start'.
Thanks Chipp!
-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Chipp
Walters
Sent: Friday, July 29, 2005 11:37 PM
To: How to use Revolution
Subject: Re: Windows Command Code Resolved
Hi gang,
Got it working. Pretty simple actually:
Here's the guts (after putting the filepath into fld "docPath")
put shortFilePath(fld "docPath") into tDocPath
replace "/" with "\" in tDocPath
put "start" && tDocPath into tDosCommand
set the hideconsolewindows to true
get shell(tDosCommand)
Here's a demo: type in the message:
go URL "http://www.altuit.com/webs/altuit2/RunRev/WinXPFileLauncher.rev"
best,
Chipp
_______________________________________________
use-revolution mailing list
use-revolution at 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 at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
From see3d at writeme.com Mon Aug 1 09:59:17 2005
From: see3d at writeme.com (Dennis Brown)
Date: Mon, 01 Aug 2005 09:59:17 -0400
Subject: Question about keys
In-Reply-To: <8310d89aa613c9a1d3c38c2eefb8a676@qldlearning.com>
References:
<8310d89aa613c9a1d3c38c2eefb8a676@qldlearning.com>
Message-ID: <4340A894-6E22-45C9-BCD8-39867EC0DC49@writeme.com>
Thanks Brian/Alex,
That is a simple method. I think I will restructure my data and then
use this method with a smaller array.
Dennis
On Jul 31, 2005, at 10:32 PM, Brian Yennie wrote:
> Dennis,
>
> I don't believe there is an automatic way of doing what you want
> (short of changing your data structure, which may not be an
> option). However, the below should be a pretty quick hack if my
> brain is working well enough in email land:
>
> put keys(myArray) into tKeys
> split tKeys using return and comma
> put keys(tKeys) into xValues
>
> - Brian
>
>
>> All,
>>
>> I have a two dimensional array: array[x,y]
>> I need to get the unique x keys into a list, there are about 20
>> unique ones, but they are dynamically created names (not numbers).
>> The y keys have tens of thousands of elements.
>>
>> Is there a simple way to extract the unique x without iterating
>> through all the tens of thousands of keys?
>>
>> I could restructure my code so that I keep a list of unique keys
>> as I create them, but this is more complex and could get out of
>> sync since I create the elements from many different places in the
>> code.
>>
>> I could also have a second array that keeps some of the
>> information without as many entries.
>>
>> However, I would prefer keeping everything in one place (it is a
>> global) if I can, but I can't think of an easy and fast method.
>>
>> Thanks,
>> Dennis
>>
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
From b.xavier at internet.lu Mon Aug 1 10:37:45 2005
From: b.xavier at internet.lu (MisterX)
Date: Mon, 1 Aug 2005 16:37:45 +0200
Subject: Windows Command Code Resolved
In-Reply-To: <64878EF567131D4596246171F75FD4A9744611@m-epo-1.epo.cdc.gov>
Message-ID: <20050801142602.EAB968255B1@mail.runrev.com>
Jon
here's a little function from XOS's scripts
on CheckShellPlatform
if (the platform = "win32") and (word 1 of the systemversion is "windows")
then
set the shellcommand to "command.com"
else
set the shellcommand to "cmd.exe"
end if
end CheckShellPlatform
cheers
Xavier
> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of
> Lynch, Jonathan
> Sent: Monday, August 01, 2005 15:39
> To: How to use Revolution
> Subject: RE: Windows Command Code Resolved
>
> One other thing to consider adding to this script...
>
> In the rev front scripts, which accessing the windows shell,
> they use this command:
> revSetWindowsShellCommand
>
> Which I guess makes sure that Rev uses the correct type of
> shell command for the specific windows system that the user
> is using. (I believe it has to choose between cmd.exe vs. command.exe)
>
>
>
> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of
> Lynch, Jonathan
> Sent: Monday, August 01, 2005 9:28 AM
> To: chipp at chipp.com; How to use Revolution
> Subject: RE: Windows Command Code Resolved
>
> This works on my computer - much easier than the convoluted
> script I was using.
>
> I think Chipp's adding in the shortfilepath function was the key...
>
> Earlier attempts at using this approach did not work for me,
> presumably because quotes and spaces were confusing 'start'.
>
> Thanks Chipp!
>
> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of
> Chipp Walters
> Sent: Friday, July 29, 2005 11:37 PM
> To: How to use Revolution
> Subject: Re: Windows Command Code Resolved
>
> Hi gang,
>
> Got it working. Pretty simple actually:
>
> Here's the guts (after putting the filepath into fld "docPath")
>
> put shortFilePath(fld "docPath") into tDocPath replace "/"
> with "\" in tDocPath put "start" && tDocPath into tDosCommand
> set the hideconsolewindows to true get shell(tDosCommand)
>
> Here's a demo: type in the message:
>
> go URL
> "http://www.altuit.com/webs/altuit2/RunRev/WinXPFileLauncher.rev"
>
> best,
>
> Chipp
> _______________________________________________
> use-revolution mailing list
> use-revolution at 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 at 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
From bnz2 at cdc.gov Mon Aug 1 10:41:15 2005
From: bnz2 at cdc.gov (Lynch, Jonathan)
Date: Mon, 1 Aug 2005 10:41:15 -0400
Subject: Windows Command Code Resolved
Message-ID: <64878EF567131D4596246171F75FD4A9968139@m-epo-1.epo.cdc.gov>
Hi Xavier - this is the revSetWindowsShellCommand from the revCommon
script:
on revSetWindowsShellCommand
if the platform is not "Win32" then exit revSetWindowsShellCommand
set the hideConsoleWindows to true
if $COMSPEC is not empty then set the shellCommand to $COMSPEC
else
--just in case some windows versions don't use $COMSPEC
if revRunningWindowsNT() then set the shellCommand to "cmd.exe"
else set the shellCommand to "command.com"
end if
end revSetWindowsShellCommand
I guess the two accomplish essentially the same thing.
-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of MisterX
Sent: Monday, August 01, 2005 10:38 AM
To: 'How to use Revolution'
Subject: RE: Windows Command Code Resolved
Jon
here's a little function from XOS's scripts
on CheckShellPlatform
if (the platform = "win32") and (word 1 of the systemversion is
"windows")
then
set the shellcommand to "command.com"
else
set the shellcommand to "cmd.exe"
end if
end CheckShellPlatform
cheers
Xavier
> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of
> Lynch, Jonathan
> Sent: Monday, August 01, 2005 15:39
> To: How to use Revolution
> Subject: RE: Windows Command Code Resolved
>
> One other thing to consider adding to this script...
>
> In the rev front scripts, which accessing the windows shell,
> they use this command:
> revSetWindowsShellCommand
>
> Which I guess makes sure that Rev uses the correct type of
> shell command for the specific windows system that the user
> is using. (I believe it has to choose between cmd.exe vs. command.exe)
>
>
>
> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of
> Lynch, Jonathan
> Sent: Monday, August 01, 2005 9:28 AM
> To: chipp at chipp.com; How to use Revolution
> Subject: RE: Windows Command Code Resolved
>
> This works on my computer - much easier than the convoluted
> script I was using.
>
> I think Chipp's adding in the shortfilepath function was the key...
>
> Earlier attempts at using this approach did not work for me,
> presumably because quotes and spaces were confusing 'start'.
>
> Thanks Chipp!
>
> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of
> Chipp Walters
> Sent: Friday, July 29, 2005 11:37 PM
> To: How to use Revolution
> Subject: Re: Windows Command Code Resolved
>
> Hi gang,
>
> Got it working. Pretty simple actually:
>
> Here's the guts (after putting the filepath into fld "docPath")
>
> put shortFilePath(fld "docPath") into tDocPath replace "/"
> with "\" in tDocPath put "start" && tDocPath into tDosCommand
> set the hideconsolewindows to true get shell(tDosCommand)
>
> Here's a demo: type in the message:
>
> go URL
> "http://www.altuit.com/webs/altuit2/RunRev/WinXPFileLauncher.rev"
>
> best,
>
> Chipp
> _______________________________________________
> use-revolution mailing list
> use-revolution at 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 at 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 at 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 at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
From JimAultWins at yahoo.com Mon Aug 1 11:26:29 2005
From: JimAultWins at yahoo.com (Jim Ault)
Date: Mon, 01 Aug 2005 08:26:29 -0700
Subject: new bug posted
In-Reply-To: <42EAD031.1050004@sover.net>
Message-ID:
"Jon" wrote:
> Why not have the Find/Replace visible all of the time Actually, I prefer not
to have the Replace button showing, and especially the Replace All. Doing a
find, then later accidentally clicking Replace All as you bring the script
window to the front will morph the entire script container... major damage in
some cases.
I would prefer the Replace and Replace All be a drop down selection of
'once' and 'once whole word only' and 'all' and 'all whole word only'
Usually this feature is on its own dialog window so that you are in
Find/Replace mode, then dismiss it.
Jim Ault
Las Vegas
On 7/29/05 5:56 PM, "Jon" wrote:
> I just posted "bug" (enhancement suggestion) 3034, which says in part
>
> As much as I like the AutoComplete feature of the Script Editor, I find
> myself always wanting to do searches, and I hate switching between the
> two modes. I realized that the two modes are really separate, since one
> rarely wants to search in the middle of typing a word. Why not have the
> Find/Replace visible all of the time EXCEPT when in the middle of typing
> a word, at which point it is dynamically replaced by the AutoComplete?
> Best of both worlds!
>
> Vote with your heart...
>
> :)
>
> Jon
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
From kray at sonsothunder.com Mon Aug 1 11:56:23 2005
From: kray at sonsothunder.com (Ken Ray)
Date: Mon, 01 Aug 2005 10:56:23 -0500
Subject: global problems
In-Reply-To: <2442156337.20050801002827@ahsoftware.net>
Message-ID:
On 8/1/05 2:28 AM, "Mark Wieder" wrote:
> Global variables are persistent in memory, even when they've been
> purged. Once you have declared a global variable, even if you have
> deleted the line of code that declared it, you're stuck with it.
Well, yes, but that's because you didn't explicitly delete it, which you can
do with:
delete global
There are only two times when globals are completely removed - when the
interpreter quits, or when you explicitly delete globals with the syntax
above. Simply removing the declarative line of code doesn't "tell" Rev to do
anything other than removing the ability to use that global in that specific
script.
Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com
From kray at sonsothunder.com Mon Aug 1 12:02:04 2005
From: kray at sonsothunder.com (Ken Ray)
Date: Mon, 01 Aug 2005 11:02:04 -0500
Subject: Spotlight indexing: feature request proposal
In-Reply-To: <33932EAF-AFD0-4B06-B13B-4F72931D9AE1@genesearch.com.au>
Message-ID:
On 7/31/05 8:29 PM, "Sarah Reichelt" wrote:
>> I propose the addition of two new stack properties for telling
>> Spotlight how to index stacks:
>> - the of this stack: if true the scripts of the
>> stack is indexed by Spotlight. If false, no script indexing is done
>> for the stack.
>> - the of this stack: if true the content of fields
>> and titles of objects are indexed by Spotlight. If false, objects
>> content indexing is not done for the stack.
>> By default both properties are true (i.e. when the stack is
>> created). When creating a substack, its spotlight properties are
>> default to the value of its mainstack but they can be changed
>> independantly from the mainstack.
>
> I agree - mostly. Sometimes I would really like the text to be
> indexed but I realize this places an extra burden on the system, so I
> would like the text search OFF by default and restricted to unlocked
> fields.
I agree Sarah - especially in "database"-style stacks (usually HyperCard
ports) that have tons of text... it would be better to default it to OFF so
that there is one less thing for people to have to remember.
Perhaps it shouldn't be a stack-wide property, but a specific field
property? I was thinking of something like "dontSearch" (which we currently
have)... how about "dontIndex" which is a field property that defaults to
true. If you want certain content fields indexed, you just turn it on...
> As regards the password-protected scripts, have you tried this? I
> just tested it and Spotlight does not index password-protected stacks.
I think regardless of whether this is true or not (and I believe you Sarah!)
I think that you may not want to have the scripts of certain stacks indexed
for other reasons, so having the flag there (defaulted to TRUE) is a good
thing anyway, IMHO.
Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com
From kray at sonsothunder.com Mon Aug 1 12:06:00 2005
From: kray at sonsothunder.com (Ken Ray)
Date: Mon, 01 Aug 2005 11:06:00 -0500
Subject: simple custom property question
In-Reply-To: <74D42612-FCFF-4E55-B404-E61BB097D2F1@conncoll.edu>
Message-ID:
On 8/1/05 7:44 AM, "Charles Hartman" wrote:
> This has got to be simple, but I'm stuck: how do I get a group into a
> custom property? I don't even need to do it from a script; the msg
> box or Inspector will do.
>
> The group includes an image and a bunch of little fields. I want them
> in a cust prop because I'll have a lot of them and I want to automate
> sending them to a dialog box.
How about just creating the group in an offscreen stack (or substack) and
then doing "copy group to " every time you want an
"instance" of the group?
Otherwise, you can't really store a true group object inside a custom
property AFAIK - you could store the binary of a stack with one card that
only had your group on it, or you could store the specifications of all the
objects that make up the group and then build it from scratch each time
based on the specifications for each object.
But personally, I'd suggest the "copy group" approach...
Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com
From JimAultWins at yahoo.com Mon Aug 1 12:17:10 2005
From: JimAultWins at yahoo.com (Jim Ault)
Date: Mon, 01 Aug 2005 09:17:10 -0700
Subject: ANN: Updates on MonsieurX
In-Reply-To: <20050728034038.F1794824DE3@mail.runrev.com>
Message-ID:
Xavier,
I hope no one tries to say that NO2 means "No, No" because your
contributions are far too valuable to be in that category. I may not ping
back to your posts, but I am always happy to read and ponder what you have
to say. At all times, I believe you (or your publicist) convey the fact
that you have carefully considered issues before speaking.
Thanks,
And forget NOO
but consider NO8, which could be a high-oct-ane nitrous compound, found to
consume and eliminate smog very quickly and seriously.
Jim Ault
Las Vegas
On 7/27/05 8:51 PM, "MisterX" wrote:
> Jerry
>
> well, N2O was not right and CH3NO2 is too long so im doing it like
> the NOs bottles... But i had to correct it... N2O was just to hard
> to type each time ;)
>
> The goal is to go nitrous, hence faster, not higher or smoggier! ;)
>
> cheers
> Xavier
>
>> -----Original Message-----
>> From: use-revolution-bounces at lists.runrev.com
>> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Jerry J
>> Sent: Thursday, July 28, 2005 05:16
>> To: use-revolution at lists.runrev.com
>> Subject: RE: ANN: Updates on MonsieurX
>>
>> Hello, MisterX,
>>
>> Here we go again. NO2 is Nitrogen Dioxide, a major
>> contributor to photochemical smog (like in LA). See:
>> http://www.temis.nl/products/no2.html
>> for example.
>>
>> Nitromethane, as in dragster fuel, is CH3NO2, all one
>> molecule. NO2 as a molecule, without the methane radical, is
>> just smog food.
>>
>> How did I get to be the local chemist? Maybe I lived in LA too long.
>> Cheer to all,
>> Jerry Jensen
>>
>>> From: "MisterX"
>>> Subject: RE: ANN: Updates on MonsieurX
>>>
>>> i know! ;)
>>>
>>> Everyone tought i had dentist anesthaetic laughin gas when i really
>>> had an explosive mix of productivity boosting tools ;)
>>>
>>> cheeriup!
>>> Xav
>>>
>>>> -----Original Message-----
>>>> Mark Wieder
>>>> Sent: Wednesday, July 27, 2005 19:32
>>>>
>>>> MisterX-
>>>>
>>>> Tuesday, July 26, 2005, 10:05:23 PM, you wrote:
>>>>
>>>> M> Note: Most of the plugins were renamed from N2O to NO2
>> The proper
>>>> M> molecule in nitro-methane... not nitrous oxide...
>>>>
>>>> ROTFL. That *does* put things in a whole different light...
>>
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
From jhurley at infostations.com Mon Aug 1 12:36:48 2005
From: jhurley at infostations.com (Jim Hurley)
Date: Mon, 1 Aug 2005 09:36:48 -0700
Subject: Turtle Graphics
In-Reply-To: <20050801155152.5A1C282560F@mail.runrev.com>
References: <20050801155152.5A1C282560F@mail.runrev.com>
Message-ID:
>
>Message: 4
>Date: Mon, 1 Aug 2005 11:33:13 +0200
>From: david bovill
>Subject: Re: Turtle Graphics
>To: How to use Revolution
>Message-ID:
>Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>
>I have some simple scripts which draw trees etc based on l-systems,
>which in turn are built on basic Turtle Graphic primitives - would be
>nice to collect this stuff in one place?
>
Dave,
I'm don't know what I-systems are. But by trees I presume you means
things like:
on Tree L,dL
if L > 5 then
left 45
forward L
tree L/2
back L
right 90
forward L
tree L/2
back L
left 45
end if
end Tree
There are some fractals in my basic TG stack on the Run Rev web site.
But I think some people might like to see some more. Trees are
interesting.
I don't know what to suggest. Maybe put your examples in the personal
users' space in Rev OnLine?
Jim
From JimAultWins at yahoo.com Mon Aug 1 12:36:41 2005
From: JimAultWins at yahoo.com (Jim Ault)
Date: Mon, 01 Aug 2005 09:36:41 -0700
Subject: Rev IDE bug in Win XP script windows
In-Reply-To: <20050729162558.96814.qmail@web60517.mail.yahoo.com>
Message-ID:
Hello, list,
I am experiencing window size problems in the Rev IDE.
- Smaller and smaller edit windows, (height, not width) with normal text
size.
- Variable Watcher window height limit
Win XP, Rev 2.5.1, new Dell dual proc PC
I am now down to about 6 lines of code showing, and sometimes zero (just
title bar and bottom of window rect) or a thin horizontal line!!
I am a Mac guy (so be kind), but a project has to be bebugged on a WinXP
machine to communicate with FoxPro and Stata that only run on this platform.
Using two monitors on a DVI-VGA dual card wreaked havoc on window rects and
'not responding' errors, then reverting to one display solved those
problems. (bummer)
Now the maximum window size is maddeningly short.
Do I reinstall Rev? Change the registry? Uninstall virus protection?
(Dell computer was purchased new 4 months ago with a full boat of virus and
firewall software installed)
Thanks for your help
Jim Ault
Las Vegas
From jperryl at ecs.fullerton.edu Mon Aug 1 12:37:59 2005
From: jperryl at ecs.fullerton.edu (Judy Perry)
Date: Mon, 1 Aug 2005 09:37:59 -0700 (PDT)
Subject: Turtle Graphics
In-Reply-To:
Message-ID:
RevOnline?
Judy
On Mon, 1 Aug 2005, david bovill wrote:
> I have some simple scripts which draw trees etc based on l-systems,
> which in turn are built on basic Turtle Graphic primitives - would be
> nice to collect this stuff in one place?
From b.xavier at internet.lu Mon Aug 1 13:09:08 2005
From: b.xavier at internet.lu (MisterX)
Date: Mon, 1 Aug 2005 19:09:08 +0200
Subject: ANN: Updates on MonsieurX
In-Reply-To:
Message-ID: <20050801165727.579A5825618@mail.runrev.com>
Jim,
That's very comforting and funny to read! I didnt make the Chevy Nova error
but hit the "nono" matter!
Nitrous it is tough - the quicker way to work in rev for me, no paper wasted
to print the code (maybe 30 pages in the last 15 years) + a lot of margins
on my notebooks to write the concepts... Plan ahead and see the future today
;)
And you'll appreciate I wont put that NO2 stuff in my car, dont worry - im
just a "really small tad" slower than a M equipped Z3 Coupe (and i drive 150
kms (a bit less than a 100 miles) more on the same gas tank) so im not
worried about blowing the competition ;)
The other big ozone killer is weight... A heavy car requires a lot of power
(and resources to produce). So my next car will be an open-O2 car: the Ariel
Atom...
If you can find the BBC TopGear show (relatively easy to find) on the net,
you'll see what i mean... "it's mental!" - and it's beats a Porsche Carrera
GT1 for 1/10th of the price and let's not talk fuel consumption... For the
Vegas weather, it would be ideal!
Still driving a V8 to work?
Moral of the story...
The lighter the stack, the faster it goes too ;)
I've read a few nice idea projects in the list lately...
Hope to not disappoint you and save you lots of time soon ;)
cheers
Xavier
> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Jim Ault
> Sent: Monday, August 01, 2005 18:17
> To: x at monsieurx.com, How to use Revolution
> Subject: Re: ANN: Updates on MonsieurX
>
> Xavier,
> I hope no one tries to say that NO2 means "No, No" because
> your contributions are far too valuable to be in that
> category. I may not ping back to your posts, but I am always
> happy to read and ponder what you have to say. At all times,
> I believe you (or your publicist) convey the fact that you
> have carefully considered issues before speaking.
>
> Thanks,
>
> And forget NOO
> but consider NO8, which could be a high-oct-ane nitrous
> compound, found to consume and eliminate smog very quickly
> and seriously.
>
> Jim Ault
> Las Vegas
>
>
> On 7/27/05 8:51 PM, "MisterX" wrote:
>
> > Jerry
> >
> > well, N2O was not right and CH3NO2 is too long so im doing
> it like the
> > NOs bottles... But i had to correct it... N2O was just to
> hard to type
> > each time ;)
> >
> > The goal is to go nitrous, hence faster, not higher or smoggier! ;)
> >
> > cheers
> > Xavier
> >
> >> -----Original Message-----
> >> From: use-revolution-bounces at lists.runrev.com
> >> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf
> Of Jerry J
> >> Sent: Thursday, July 28, 2005 05:16
> >> To: use-revolution at lists.runrev.com
> >> Subject: RE: ANN: Updates on MonsieurX
> >>
> >> Hello, MisterX,
> >>
> >> Here we go again. NO2 is Nitrogen Dioxide, a major contributor to
> >> photochemical smog (like in LA). See:
> >> http://www.temis.nl/products/no2.html
> >> for example.
> >>
> >> Nitromethane, as in dragster fuel, is CH3NO2, all one
> molecule. NO2
> >> as a molecule, without the methane radical, is just smog food.
> >>
> >> How did I get to be the local chemist? Maybe I lived in LA
> too long.
> >> Cheer to all,
> >> Jerry Jensen
> >>
> >>> From: "MisterX"
> >>> Subject: RE: ANN: Updates on MonsieurX
> >>>
> >>> i know! ;)
> >>>
> >>> Everyone tought i had dentist anesthaetic laughin gas
> when i really
> >>> had an explosive mix of productivity boosting tools ;)
> >>>
> >>> cheeriup!
> >>> Xav
> >>>
> >>>> -----Original Message-----
> >>>> Mark Wieder
> >>>> Sent: Wednesday, July 27, 2005 19:32
> >>>>
> >>>> MisterX-
> >>>>
> >>>> Tuesday, July 26, 2005, 10:05:23 PM, you wrote:
> >>>>
> >>>> M> Note: Most of the plugins were renamed from N2O to NO2
> >> The proper
> >>>> M> molecule in nitro-methane... not nitrous oxide...
> >>>>
> >>>> ROTFL. That *does* put things in a whole different light...
> >>
> >> _______________________________________________
> >> use-revolution mailing list
> >> use-revolution at 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 at 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
From revdan at danshafer.com Mon Aug 1 13:08:26 2005
From: revdan at danshafer.com (Dan Shafer)
Date: Mon, 1 Aug 2005 10:08:26 -0700
Subject: ANN: Sudoku Assistant
In-Reply-To: <42EE1C83.60701@tweedly.net>
References: <20050730111003.18860825342@mail.runrev.com> <42ECDC74.8050502@tweedly.net> <8754C4BD-C4D5-4580-9DF2-460184CE40EF@danshafer.com> <42ED4FC8.4080507@tweedly.net>
<42EE1C83.60701@tweedly.net>
Message-ID:
Alex....
Cool!
I downloaded a shareware product called MacSodoku and entered your
Puzzle #1 into it and solved it in less than five minutes. It was
great fun and very satisfying. But I think your program could be very
valuable as a sort of training-wheels approach to learning to think
in patterns that solve these delightful puzzles.
I'll download your new version and give it a shot today.
Dan
On Aug 1, 2005, at 5:58 AM, Alex Tweedly wrote:
> Dan Shafer wrote:
>
>
>> I'm doing something wrong or misunderstanding how the assistant
>> works or something.
>>
>> On Puzzle #1, I got to the place where I have five uncompleted
>> cells. One of them has a "?" which I think means there's an error
>> somewhere. But neither it nor the cell underneath it show any
>> potential values when I click on them. Then I click on an
>> adjoining square to the one without a "?" and select a value.
>> Odds go to 0, so I know I've got a wrong value there. I "Undo"
>> and now I have three squares -- the two original and the one I
>> just undid -- that show no values to pick from when I click on
>> them. SO essentially, even though I think I could solve the
>> puzzle at this point, the assistant won't let me proceed.
>>
>> Bug? Something I'm not grokking?
>>
>
> One bug, one not-yet-implemented feature and maybe something you
> weren't fully grokking. (And for all I know, more bugs still to
> come ....)
>
> The bug I found and fixed was in undo-ing after there were squares
> for which no value remained possible. Although they showed on-
> screen as a "?", the "?" wasn't being saved in the Undo/Redo state,
> so subsequent "Undo"s could leave blank squares.
>
> I'm not sure how that led to the problem you described to me - so
> I've also added an automatic logging facility. All actions are
> logged (to a custom property), and there is a new menu item -
> File / Save Log File ... which will save the log file. So if
> anyone encounters strange situation, they can simply save the log
> file and email it to me.
>
> The not-yet-implemented feature is that it ought to stop you
> assigning values to any more squares once any square has no
> remaining possible values. I will add that - but in the mean time,
> keep an eye on the number of possibilities, and if it reaches 0
> then you will need to Undo (one or more times), so you may as well
> do it immediately. (I figure if you had fully grokked things, you
> wouldn't have continued ....)
>
> Ver 1.3 has been uploaded to RevOnline, with these two changes.
>
> Ver 1.4 will come later today, with an additional feature of
> showing a detailed breakdown of a single step (i.e. which squares
> change and why), which will be a useful way to see what the
> Assistant is doing for you (and indirectly to check that it does
> the right thing). That info is actually already gathered in the
> log file, but I'm looking for a graphical way to show it.
>
> And this is actually being much more interesting than I had
> expected - so there may well be a Version 2 that eliminates some of
> the cruft that has sprung up in the various Ver 1.x's as it has
> grown organically.
>
> --
> Alex Tweedly http://www.tweedly.net
>
>
>
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.338 / Virus Database: 267.9.6/59 - Release Date:
> 27/07/2005
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
From FlexibleLearning at aol.com Mon Aug 1 13:15:01 2005
From: FlexibleLearning at aol.com (FlexibleLearning at aol.com)
Date: Mon, 1 Aug 2005 13:15:01 EDT
Subject: [INFO] FileInfo function uploaded
Message-ID: <1da.411dc8a8.301fb295@aol.com>
The flexible FileInfo function posted yesterday to this list is now
publically available in the Online Scrapbook (along with other scripts, handlers,
functions and tidbits for transcript and other languages).
What is this Online Scrapbook, then?
The online Scrapbook is the 'shared access' part of the Scripter's
Scrapbook. It allows you to quickly and easily publish and browse scripts, tutorials,
articles or anything you already have in your own Scrapbook, point to web
resources and online stacks, even offer your stuff for sale if you wish. You
have over 180 languages to choose from (or use in combination) under 44
different categories. You can choose to be anonymous, specify usage restrictions,
update your Entries at any time, and grant shared modification permissions for
joint projects. The system is very fast thanks to cached indexing, operates
direct with your own 'desktop' Scrapbook, and is a snap to use.
/H
The Scripter's Scrapbook
www.FlexibleLearning.com/ssbk.htm
From b.xavier at internet.lu Mon Aug 1 13:25:09 2005
From: b.xavier at internet.lu (MisterX)
Date: Mon, 1 Aug 2005 19:25:09 +0200
Subject: Rev IDE bug in Win XP script windows
In-Reply-To:
Message-ID: <20050801171323.0D00782562A@mail.runrev.com>
Hi Jim
Dont fear the PC world... it's not hard to beat...
if your pc is NOT running "Normally" - crashes and all, run a virus scan AND
a spyware scan... Update to the latest windows updates (save before you
click the last ok button... Whatever protection they gave you, if not
updated and maintained weekly, is as good as not having any (with a speed
penalty!)
if you're sure something else is wrong (do all your rev stacks work wrong?)
do other scripter's stack go wrong?
Reinstall rev - takes 3 minutes, no big deal. (rev can be backedup via copy
paste no problem after your first installation for a quick restore (less
than a minute). If you keep your project stacks out of the rev stack, it's
even easier... zipping the folder is a good as any backup... for added
security, keep the backup on a different drive (not partition).
Next if it still goes wrong, test someone elses stacks without your stacks
opened after restarting rev... single out your errors first... make sure
your environment is working ok...
if you bought winxp home edition, it's probably just a need to reinstall
it...
get a pro edition... it's much more solid... lots of stuff was removed from
the home edition and some crap added surely for home users...
I run windows smoothly with no virus protection, no firewall, no IE crap and
despite all hte firefox crap and bugs, i get no bugs, no spywares, no
virii... i've been hit 2 times in 6 years... careful and documented usage
only = no problems.
If you dont know how to drive a race car, there' isn't one team who will
lend you their car, it's a precision instrument... alas the holes in
security and the lack of user education is taking it's toll - guess that's
why no many use linux yet ;). Im sure moft will push us into it sooner or
later ;$
cheers
Xavier
Sinclair -> trs80 -> Apple][ -> Mac 1.0-> 9.0 -> PC Quake 1 two 3
> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Jim Ault
> Sent: Monday, August 01, 2005 18:37
> To: How to use Revolution
> Subject: Rev IDE bug in Win XP script windows
>
> Hello, list,
> I am experiencing window size problems in the Rev IDE.
> - Smaller and smaller edit windows, (height, not width) with
> normal text size.
> - Variable Watcher window height limit
>
> Win XP, Rev 2.5.1, new Dell dual proc PC
>
> I am now down to about 6 lines of code showing, and sometimes
> zero (just title bar and bottom of window rect) or a thin
> horizontal line!!
>
> I am a Mac guy (so be kind), but a project has to be bebugged
> on a WinXP machine to communicate with FoxPro and Stata that
> only run on this platform.
>
> Using two monitors on a DVI-VGA dual card wreaked havoc on
> window rects and 'not responding' errors, then reverting to
> one display solved those problems. (bummer)
>
> Now the maximum window size is maddeningly short.
> Do I reinstall Rev? Change the registry? Uninstall virus protection?
> (Dell computer was purchased new 4 months ago with a full
> boat of virus and firewall software installed)
>
> Thanks for your help
>
> Jim Ault
> Las Vegas
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
From mwieder at ahsoftware.net Mon Aug 1 13:50:15 2005
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Mon, 1 Aug 2005 10:50:15 -0700
Subject: Help, what am I doing wrong???
In-Reply-To: <42EE0AED.1050208@sover.net>
References: <42EE0AED.1050208@sover.net>
Message-ID: <1931075846.20050801105015@ahsoftware.net>
Jon-
Monday, August 1, 2005, 4:43:41 AM, you wrote:
> Whew! That's more like it!
Yes, indeed. I'm glad I was wrong on this one.
--
-Mark Wieder
mwieder at ahsoftware.net
From charles.hartman at conncoll.edu Mon Aug 1 13:48:42 2005
From: charles.hartman at conncoll.edu (Charles Hartman)
Date: Mon, 1 Aug 2005 13:48:42 -0400
Subject: simple custom property question
In-Reply-To:
References:
Message-ID:
So "any kind of data" (as in, "You can define custom properties for
any object, and use them to store any kind of data.") doesn't mean
"any kind of data," it means various "multimedia" kinds of data --
but not Rev objects?
Since the rest of the data I need to send to each instance of the
dialog will be stored in an array built from custom properties --
that seems to be the Rev-"native" way to do it -- it feels peculiar
to have to call up a different data stream for the operation. I
suppose I'm just being fussy.
I wonder if this limitation (if I understand it correctly) gets in
anyone else's way?
Charles
On Aug 1, 2005, at 12:06 PM, Ken Ray wrote:
> On 8/1/05 7:44 AM, "Charles Hartman"
> wrote:
>
>
>> This has got to be simple, but I'm stuck: how do I get a group into a
>> custom property? I don't even need to do it from a script; the msg
>> box or Inspector will do.
>>
>> The group includes an image and a bunch of little fields. I want them
>> in a cust prop because I'll have a lot of them and I want to automate
>> sending them to a dialog box.
>>
>
> How about just creating the group in an offscreen stack (or
> substack) and
> then doing "copy group to " every time you
> want an
> "instance" of the group?
>
> Otherwise, you can't really store a true group object inside a custom
> property AFAIK - you could store the binary of a stack with one
> card that
> only had your group on it, or you could store the specifications of
> all the
> objects that make up the group and then build it from scratch each
> time
> based on the specifications for each object.
>
> But personally, I'd suggest the "copy group" approach...
>
From mwieder at ahsoftware.net Mon Aug 1 14:00:47 2005
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Mon, 1 Aug 2005 11:00:47 -0700
Subject: global problems
In-Reply-To:
References:
Message-ID: <1591708326.20050801110047@ahsoftware.net>
Ken-
Monday, August 1, 2005, 8:56:23 AM, you wrote:
> There are only two times when globals are completely removed - when the
> interpreter quits, or when you explicitly delete globals with the syntax
> above. Simply removing the declarative line of code doesn't "tell" Rev to do
> anything other than removing the ability to use that global in that specific
> script.
Hmmm... "delete global"... you're right - I use globals so
infrequently that it wouldn't have occurred to me that I would have to
delete something that didn't exist. That's pretty screwy, IMO. I don't
think there's anything else in xtalk that acts that way. Constants
certainly don't. If the compiler enforced reference counting when
compiling that would take care of this.
Yet another reason to avoid the Dreaded Global.
--
-Mark Wieder
mwieder at ahsoftware.net
From bnz2 at cdc.gov Mon Aug 1 13:58:32 2005
From: bnz2 at cdc.gov (Lynch, Jonathan)
Date: Mon, 1 Aug 2005 13:58:32 -0400
Subject: simple custom property question
Message-ID: <64878EF567131D4596246171F75FD4A9744613@m-epo-1.epo.cdc.gov>
A custom prop can store characters of various sorts...
And all digital data is ultimately stored as some sort of collection of
characters, including images, video, sound files, etc...
So, if you had a way to convert a Rev object into characters, the way
imagedata gives you the characters that define an image, then you could
indeed store that object as a custom property.
I believe this could be done, but it would be a serious pain in the
bahonkus to do it.
For a group, you would have to get all the properties of the group, and
all the objects and their properties that are contained in the group,
and store all of that data in a well delimited chunk of text.
A limited version of this approach is what I do for storing data that I
use in my spreadsheet object, but it took me a fair bit of work to work
out. So I would suggest not doing this unless you absolutely need to.
But yes, it can be done.
-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Charles
Hartman
Sent: Monday, August 01, 2005 1:49 PM
To: How to use Revolution
Subject: Re: simple custom property question
So "any kind of data" (as in, "You can define custom properties for
any object, and use them to store any kind of data.") doesn't mean
"any kind of data," it means various "multimedia" kinds of data --
but not Rev objects?
Since the rest of the data I need to send to each instance of the
dialog will be stored in an array built from custom properties --
that seems to be the Rev-"native" way to do it -- it feels peculiar
to have to call up a different data stream for the operation. I
suppose I'm just being fussy.
I wonder if this limitation (if I understand it correctly) gets in
anyone else's way?
Charles
On Aug 1, 2005, at 12:06 PM, Ken Ray wrote:
> On 8/1/05 7:44 AM, "Charles Hartman"
> wrote:
>
>
>> This has got to be simple, but I'm stuck: how do I get a group into a
>> custom property? I don't even need to do it from a script; the msg
>> box or Inspector will do.
>>
>> The group includes an image and a bunch of little fields. I want them
>> in a cust prop because I'll have a lot of them and I want to automate
>> sending them to a dialog box.
>>
>
> How about just creating the group in an offscreen stack (or
> substack) and
> then doing "copy group to " every time you
> want an
> "instance" of the group?
>
> Otherwise, you can't really store a true group object inside a custom
> property AFAIK - you could store the binary of a stack with one
> card that
> only had your group on it, or you could store the specifications of
> all the
> objects that make up the group and then build it from scratch each
> time
> based on the specifications for each object.
>
> But personally, I'd suggest the "copy group" approach...
>
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
From kray at sonsothunder.com Mon Aug 1 14:06:16 2005
From: kray at sonsothunder.com (Ken Ray)
Date: Mon, 01 Aug 2005 13:06:16 -0500
Subject: simple custom property question
In-Reply-To:
Message-ID:
On 8/1/05 12:48 PM, "Charles Hartman" wrote:
> So "any kind of data" (as in, "You can define custom properties for
> any object, and use them to store any kind of data.") doesn't mean
> "any kind of data," it means various "multimedia" kinds of data --
> but not Rev objects?
Actually the problem is that there isn't a way to "get" the binary of a
specific object in Rev... so you can store regular variable data, plus any
binary file that you can read from disk. So since there's no way to directly
dump a group to disk, the only thing that can be done is to dump the stack
that *contains* the group to disk - but that's not what you want.
> Since the rest of the data I need to send to each instance of the
> dialog will be stored in an array built from custom properties --
> that seems to be the Rev-"native" way to do it -- it feels peculiar
> to have to call up a different data stream for the operation. I
> suppose I'm just being fussy.
I'm curious... why won't "copy group" solve your problem? That's currently
the Rev-native way to do this kind of stuff (unless I'm not understanding
correctly what you're trying to do).
Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com
From david at openpartnership.net Mon Aug 1 15:01:06 2005
From: david at openpartnership.net (david bovill)
Date: Mon, 1 Aug 2005 21:01:06 +0200
Subject: Spotlight indexing: feature request proposal
In-Reply-To:
References:
Message-ID: <811344C4-0A97-47FE-BBFB-A2DCEB1D3045@openpartnership.net>
I am looking for ways to add metadata to external files using
Spotlight - video files in particular from within Revolution. I think
it would be very useful if the stack indexing suggestions was
extended to standard Apple file formats or to any file format with an
existing system level spotlight metadata plugin (you'd need to know
or parse the plist structure).
In the meantime I'm looking to use AppleScript or the command line
tools - but not got anything working yet - any ideas?
From tkuypers at pandora.be Mon Aug 1 15:04:54 2005
From: tkuypers at pandora.be (Ton Kuypers)
Date: Mon, 1 Aug 2005 21:04:54 +0200
Subject: Weird OS9 runtime problem->losing database connection
Message-ID:
What's going on, what am I missing here?
I've created a database frontend which needs to run on Windows, 2000
WIndows XP, Mac OS9 and Mac OS-X.
All run perfect except the Mac OS9 version...
I have a splash screen with some minor scripts in the preopenstack
and startup handlers. In the on opencard script I load some
parameters and call a script in another stack. (All basic SQL-
generating scripts are located in that stack, all in buttons, so it's
very easy to manage and edit them. I use properties in the stack to
pass parameters around and maintain parameters per session.)
The script I need to run is in the mouseup handler of button
"connectToDB".
I use the "revOpenDatabase" command with all parameters and the
result is a number, the connection ID.
When there is no error in connecting to the mySQL database, I
continue to the "Login" substack so a user can enter its username and
password.
Hitting the enter button should then set a property of the stack
with the name & password and send a mousup to a second button, which
checks if the user may or may not login.
The first part (getting the connection ID works fine on OS9, but when
I'm in the second script, the "revOpenDatabases()" return empty and I
get the error "revdberr, invalid connection id", so nothing works :-((
When running it inside revolution on OS9 it's OK, so are all other
runtimes, just the OS9 runtime doesn't work.
Anybody any suggestions?
Regards,
Ton Kuypers
From david at openpartnership.net Mon Aug 1 15:18:58 2005
From: david at openpartnership.net (david bovill)
Date: Mon, 1 Aug 2005 21:18:58 +0200
Subject: Turtle Graphics
In-Reply-To:
References: <20050801155152.5A1C282560F@mail.runrev.com>
Message-ID: <3B6E0645-6F0A-4261-8CBA-B3F36B862E08@openpartnership.net>
> Dave,
>
> I'm don't know what I-systems are.
http://en.wikipedia.org/wiki/L-system
http://www.cs.unh.edu/~charpov/Programming/L-systems/
http://www.fraktalwelt.de/lsys/einf_lsys.htm (German)
> But by trees I presume you means things like:
>
> on Tree L,dL
> if L > 5 then
> left 45
> forward L
> tree L/2
> back L
> right 90
> forward L
> tree L/2
> back L
> left 45
> end if
> end Tree
The syntax I use for this would be of the form "+[F]--F" - where "F
"is forward ("f" is forward without drawing), "+" is rotate left, "-"
is rotate right and "[F]" is push with "]" as pop for creating branches.
The link to Turtle Graphics is in using the strings like "+[F]--
F" (for controlling the Turtle) and then passing them into an l-
system - see http://www.biologie.uni-hamburg.de/b-online/e28_3/lsys.html
>
> I don't know what to suggest. Maybe put your examples in the
> personal users' space in Rev OnLine?
Have to wait a week or two till I get my nice new license - I'm a
Metacard developer :)
From Revinfo1155 at aol.com Mon Aug 1 15:25:03 2005
From: Revinfo1155 at aol.com (Revinfo1155 at aol.com)
Date: Mon, 1 Aug 2005 15:25:03 EDT
Subject: MySQL Connection error
Message-ID: <45.2d482431.301fd10f@aol.com>
From revlist at cableone.net Mon Aug 1 15:37:27 2005
From: revlist at cableone.net (Chris Sheffield)
Date: Mon, 1 Aug 2005 13:37:27 -0600
Subject: Weird OS9 runtime problem->losing database connection
In-Reply-To:
References:
Message-ID: <411E64F6-CDB4-4D82-80D2-580E7FB4C508@cableone.net>
Hi Ton,
There are some weird issues with OS 9 standalones accessing a MySQL
database. I'm not exactly sure where the problem lies, but it seems
to be with the standalone builder itself, which makes sense since
everything works fine in the IDE and not in the standalone.
I had a similar problem a few months back, and if I remember
correctly, what you have to do is manually select your inclusions and
under database support select MySQL *and* Valentina. I know, it
sounds stupid, but it works. For some strange reason, database
support on OS 9 is linked to the Valentina xcmd, and if you build
your standalone without it, nothing works. So you end up with an
extra file in your distribution that wouldn't normally be necessary,
but right now it's the only way to make it work. This has already
been reported (#2613 in Bugzilla), and will hopefully be fixed soon.
HTH,
Chris
On Aug 1, 2005, at 1:04 PM, Ton Kuypers wrote:
> What's going on, what am I missing here?
>
> I've created a database frontend which needs to run on Windows,
> 2000 WIndows XP, Mac OS9 and Mac OS-X.
> All run perfect except the Mac OS9 version...
>
> I have a splash screen with some minor scripts in the preopenstack
> and startup handlers. In the on opencard script I load some
> parameters and call a script in another stack. (All basic SQL-
> generating scripts are located in that stack, all in buttons, so
> it's very easy to manage and edit them. I use properties in the
> stack to pass parameters around and maintain parameters per session.)
> The script I need to run is in the mouseup handler of button
> "connectToDB".
> I use the "revOpenDatabase" command with all parameters and the
> result is a number, the connection ID.
>
> When there is no error in connecting to the mySQL database, I
> continue to the "Login" substack so a user can enter its username
> and password.
> Hitting the enter button should then set a property of the stack
> with the name & password and send a mousup to a second button,
> which checks if the user may or may not login.
>
> The first part (getting the connection ID works fine on OS9, but
> when I'm in the second script, the "revOpenDatabases()" return
> empty and I get the error "revdberr, invalid connection id", so
> nothing works :-((
>
> When running it inside revolution on OS9 it's OK, so are all other
> runtimes, just the OS9 runtime doesn't work.
>
> Anybody any suggestions?
>
> Regards,
>
> Ton Kuypers
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
------------------------------------------
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.com
------------------------------------------
From jbondy at sover.net Mon Aug 1 15:41:17 2005
From: jbondy at sover.net (Jon)
Date: Mon, 01 Aug 2005 15:41:17 -0400
Subject: new bug posted
In-Reply-To:
References:
Message-ID: <42EE7ADD.3070404@sover.net>
Jim:
A good point about the consequences of an accidental click; I'd not
considered that.
That said, I often want to search for something, and find the procedure
for getting the Find facility to be visible to be more complex and time
consuming than I would like.
:)
Jon
Jim Ault wrote:
>"Jon" wrote:
>
>
>>Why not have the Find/Replace visible all of the time Actually, I prefer not
>>
>>
>to have the Replace button showing, and especially the Replace All. Doing a
>find, then later accidentally clicking Replace All as you bring the script
>window to the front will morph the entire script container... major damage in
>some cases.
>
>I would prefer the Replace and Replace All be a drop down selection of
>'once' and 'once whole word only' and 'all' and 'all whole word only'
>
>Usually this feature is on its own dialog window so that you are in
>Find/Replace mode, then dismiss it.
>
>Jim Ault
>Las Vegas
>
>
>On 7/29/05 5:56 PM, "Jon" wrote:
>
>
>
>>I just posted "bug" (enhancement suggestion) 3034, which says in part
>>
>>As much as I like the AutoComplete feature of the Script Editor, I find
>>myself always wanting to do searches, and I hate switching between the
>>two modes. I realized that the two modes are really separate, since one
>>rarely wants to search in the middle of typing a word. Why not have the
>>Find/Replace visible all of the time EXCEPT when in the middle of typing
>>a word, at which point it is dynamically replaced by the AutoComplete?
>>Best of both worlds!
>>
>>Vote with your heart...
>>
>>:)
>>
>>Jon
>>_______________________________________________
>>use-revolution mailing list
>>use-revolution at 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 at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
>
>
From charles.hartman at conncoll.edu Mon Aug 1 15:43:49 2005
From: charles.hartman at conncoll.edu (Charles Hartman)
Date: Mon, 1 Aug 2005 15:43:49 -0400
Subject: simple custom property question
In-Reply-To:
References:
Message-ID: <425BB8C0-7D45-4B31-AC11-3E27FCA2CFC5@conncoll.edu>
On Aug 1, 2005, at 2:06 PM, Ken Ray wrote:
>
> I'm curious... why won't "copy group" solve your problem? That's
> currently
> the Rev-native way to do this kind of stuff (unless I'm not
> understanding
> correctly what you're trying to do).
It probably will. It just doesn't feel as tidy as if I could put it,
with the rest of the data I need to send to the dialog, into a custom
property. Anything with two stages constitutes a strain on my brain :).
(The situation, if you're curious, is this: I have a dozen or so
"Additional Exercises" cards in a stack which is a tutorial on
scanning metrical verse. Each card displays a poem, which is image
that began as as a screenshot; over each line of the poem is an
opague borderless field hiding the scansion marks above the line, and
a transparent borderless button. When the user clicks the button, a
complicated dialog box will come up. It will show a [screenshot of
the] line, with individual "hiding" fields over each of its scansion
marks. The user will click on syllables that are stressed, and the
stress marks will appear. When that's done, the user will click a Go
On to get to another card, in which the same line is shown, now with
stress and slack marks revealed over every syllable, but the foot-
division marks still hidden; below that, a set of check boxes, one
per foot, and a set of radio buttons with the names of possible feet.
Data in a custom property in the poem's card will list the feet for
each line, and possibly the number of stressed syllables. My idea was
to send to the dialog, when the user calls it up by clicking on any
line, a packet of data giving the "correct" answers to the foot
questions; but the dialog also needs, as data, the [screenshot of
the] line and its marks, and the little fields that hide the marks
until the right mouse clicks. I guess I can just send the dialog
those two different kinds of data in two operations -- it just
doesn't feel quite as efficient as sending it all at once. It means
that a copy of each line's screenshot, in a group with all its little
hiding fields, needs to be stored somewhere elese -- most simply, I
guess, invisibly on the card itself. Hope any of this makes any
sense. I'm not sure it does to me, any more.)
Charles
From gbrackett at luceatlux.com Mon Aug 1 15:48:03 2005
From: gbrackett at luceatlux.com (George Brackett)
Date: Mon, 1 Aug 2005 15:48:03 -0400
Subject: MySQL Connection error
In-Reply-To:
References:
Message-ID:
This is a result of Tiger using MySQL 4.1, and there are several
workarounds on the MySQL site at http://dev.mysql.com/doc/mysql/en/
old-client.html. Here's the beginning of the article at that location:
" MySQL 4.1 and up uses an authentication protocol based on a
password hashing algorithm that is incompatible with that used by
older clients. If you upgrade the server to 4.1, attempts to connect
to it with an older client may fail with the following message:
shell> mysql
Client does not support authentication protocol requested
by server; consider upgrading MySQL client"
I used the second workaround (ref: UPDATE and FLUSH PRIVILEGES) with
success.
George
On Jul 30, 2005, at 10:11 PM, Alan Golub wrote:
I've been toying around with the Database Query Builder lately, thinking
about writing a tutorial for new users. I've used it in the past with
PostgreSQL 8, connecting to localhost without any problems. But for
the sake
of a tutorial, I thought I'd go with MySQL, which seems to be far more
popular, and for Mac OS X at least, much easier to install now that
MySQL AB
provides native OS X installers.
But I can't seem to connect to MySQL from DQB. I've checked and double
checked the host, user name, password, database name, and port
number, all
without success. I keep getting the following error message:
"There was an error in connecting to the database. Please check that the
connection fields are correct. Revdb error: Client does not support
authentication protocol requested by server, consider upgrading MySQL
client."
The client fields are definitely correct (I'm using them to connect
to the
server from other GUI MySQL tools). I'm using Revolution Studio 2.6 and
MySQL 4.1.13 on Tiger 10.4.2.
Any thoughts or workarounds?
Thanks-
Alan Golub
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
From nnoydb at excite.com Mon Aug 1 15:54:22 2005
From: nnoydb at excite.com (N)
Date: Mon, 1 Aug 2005 15:54:22 -0400 (EDT)
Subject: WM_COPYMESSAGE Window Messages in general RR
Message-ID: <20050801195422.17D773E39@xprdmailfe11.nwk.excite.com>
How does one receive and process native Win32 messages from inside RR?
-==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=-
Disclaimer:
Any resemblance between the above views and those of my
employer, my terminal, or the view out my window are purely
coincidental.
Any resemblance between the above and my own views is non-deterministic.
The question of the existence of views in the absence of anyone to hold
them
is left as an exercise for the reader. The question of the existence of
the reader
is left as an exercise for the second god coefficient.
(A discussion of non-orthogonal, non-integral polytheism is beyond the
scope of this article.)
_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
From tkuypers at pandora.be Mon Aug 1 15:57:30 2005
From: tkuypers at pandora.be (Ton Kuypers)
Date: Mon, 1 Aug 2005 21:57:30 +0200
Subject: Weird OS9 runtime problem->losing database connection
In-Reply-To: <411E64F6-CDB4-4D82-80D2-580E7FB4C508@cableone.net>
References:
<411E64F6-CDB4-4D82-80D2-580E7FB4C508@cableone.net>
Message-ID:
Chris,
Already tried that, no luck on this side however :-(
The strange thing is, that when I open the database connection in the
same handler as the part where I extract the data from the database,
there is no problem!!!
This is totally weird, this means that I cannot use common handlers
and functions to access the database...
HEEEELLLLLLPPPPPPPPP
On 1-aug-05, at 21:37, Chris Sheffield wrote:
> Hi Ton,
>
> There are some weird issues with OS 9 standalones accessing a MySQL
> database. I'm not exactly sure where the problem lies, but it
> seems to be with the standalone builder itself, which makes sense
> since everything works fine in the IDE and not in the standalone.
>
> I had a similar problem a few months back, and if I remember
> correctly, what you have to do is manually select your inclusions
> and under database support select MySQL *and* Valentina. I know,
> it sounds stupid, but it works. For some strange reason, database
> support on OS 9 is linked to the Valentina xcmd, and if you build
> your standalone without it, nothing works. So you end up with an
> extra file in your distribution that wouldn't normally be
> necessary, but right now it's the only way to make it work. This
> has already been reported (#2613 in Bugzilla), and will hopefully
> be fixed soon.
>
> HTH,
> Chris
From kray at sonsothunder.com Mon Aug 1 16:00:02 2005
From: kray at sonsothunder.com (Ken Ray)
Date: Mon, 01 Aug 2005 15:00:02 -0500
Subject: MySQL Connection error
In-Reply-To:
Message-ID:
On 8/1/05 2:48 PM, "George Brackett" wrote:
> "There was an error in connecting to the database. Please check that the
> connection fields are correct. Revdb error: Client does not support
> authentication protocol requested by server, consider upgrading MySQL
> client."
>
> The client fields are definitely correct (I'm using them to connect
> to the
> server from other GUI MySQL tools). I'm using Revolution Studio 2.6 and
> MySQL 4.1.13 on Tiger 10.4.2.
>
> Any thoughts or workarounds?
Yes, we ran into this just recently. You need to change the password that is
stored in the DB to the "old" (pre-4.1) format for compatiblity with
everybody. This is the syntax at the mysql prompt (using "tempUser" as the
user name, "localhost" as the host, and "mypass" for the password):
set password for "tempUser"@"localhost"=OLD_PASSWORD("mypass");
And if done through the shell in Rev, do this (uses the root user with no
password and a database called "tempDB"):
get shell("/usr/local/mysql/bin/mysql --user='root' --password=''
--database='tempDB' --execute='set password for
"tempUser"@"localhost"=OLD_PASSWORD("mypass")')
HTH,
Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com
From lists at mangomultimedia.com Mon Aug 1 16:17:45 2005
From: lists at mangomultimedia.com (Trevor DeVore)
Date: Mon, 1 Aug 2005 13:17:45 -0700
Subject: Spotlight indexing: feature request proposal
In-Reply-To: <811344C4-0A97-47FE-BBFB-A2DCEB1D3045@openpartnership.net>
References:
<811344C4-0A97-47FE-BBFB-A2DCEB1D3045@openpartnership.net>
Message-ID: <3B68887D-C186-445D-B6ED-2E9C1D925026@mangomultimedia.com>
On Aug 1, 2005, at 12:01 PM, david bovill wrote:
> I am looking for ways to add metadata to external files using
> Spotlight - video files in particular from within Revolution. I
> think it would be very useful if the stack indexing suggestions was
> extended to standard Apple file formats or to any file format with
> an existing system level spotlight metadata plugin (you'd need to
> know or parse the plist structure).
>
> In the meantime I'm looking to use AppleScript or the command line
> tools - but not got anything working yet - any ideas?
Spotlight already indexes QuickTime video annotations plus the new
stuff that QT7 added. You can use applescript to set annotations.
There are some scripts here:
You can also use the EnhancedQT external to set and get movie
annotations (qtSetMovieAnnotation and qtGetMovieAnnotation) but you
have to do a save as to save the movie after wards since Rev doesn't
allow you to open a QuickTime movie and then save it.
You can get more info on the external at .
--
Trevor DeVore
Blue Mango Multimedia
trevor at mangomultimedia.com
From lists at mangomultimedia.com Mon Aug 1 16:20:39 2005
From: lists at mangomultimedia.com (Trevor DeVore)
Date: Mon, 1 Aug 2005 13:20:39 -0700
Subject: Weird OS9 runtime problem->losing database connection
In-Reply-To:
References:
Message-ID: <407C2FD9-3535-42E8-A679-99C3C7B9D4F9@mangomultimedia.com>
On Aug 1, 2005, at 12:04 PM, Ton Kuypers wrote:
> What's going on, what am I missing here?
>
> I've created a database frontend which needs to run on Windows,
> 2000 WIndows XP, Mac OS9 and Mac OS-X.
> All run perfect except the Mac OS9 version...
I haven't used MySQL with OS 9 but it is probably an external issue.
When you build the standalone is the MySQL Library PPC in the
standalone folder?
--
Trevor DeVore
Blue Mango Multimedia
trevor at mangomultimedia.com
From tkuypers at pandora.be Mon Aug 1 16:22:49 2005
From: tkuypers at pandora.be (Ton Kuypers)
Date: Mon, 1 Aug 2005 22:22:49 +0200
Subject: Weird OS9 runtime problem->losing database connection
In-Reply-To: <407C2FD9-3535-42E8-A679-99C3C7B9D4F9@mangomultimedia.com>
References:
<407C2FD9-3535-42E8-A679-99C3C7B9D4F9@mangomultimedia.com>
Message-ID:
Yep, it is there.. And so is the Valentia external.
I've even tried replacing the mySQL external from 2.6 by the one
supplied with version 2.5 or 2.2... same error, no result :(
On 1-aug-05, at 22:20, Trevor DeVore wrote:
> On Aug 1, 2005, at 12:04 PM, Ton Kuypers wrote:
>
>
>> What's going on, what am I missing here?
>>
>> I've created a database frontend which needs to run on Windows,
>> 2000 WIndows XP, Mac OS9 and Mac OS-X.
>> All run perfect except the Mac OS9 version...
>>
>
> I haven't used MySQL with OS 9 but it is probably an external issue.
>
> When you build the standalone is the MySQL Library PPC in the
> standalone folder?
>
>
> --
> Trevor DeVore
> Blue Mango Multimedia
> trevor at mangomultimedia.com
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
From asg618 at mac.com Mon Aug 1 16:25:10 2005
From: asg618 at mac.com (Alan Golub)
Date: Mon, 01 Aug 2005 16:25:10 -0400
Subject: MySQL Connection error
In-Reply-To:
Message-ID:
On 8/1/05 4:00 PM, "Ken Ray" wrote:
> Yes, we ran into this just recently. You need to change the password that is
> stored in the DB to the "old" (pre-4.1) format for compatiblity with
> everybody. This is the syntax at the mysql prompt (using "tempUser" as the
> user name, "localhost" as the host, and "mypass" for the password):
>
> set password for "tempUser"@"localhost"=OLD_PASSWORD("mypass");
I'll need to wait until tonight to run this solution from home, but I just
want to make sure I 'get it.'
Ok, so for each user accessing the 4.1 or later database, changing/setting
the password via the OLD_PASSWORD() function stores the password in a manner
compliant with post-4.0 versions of the server, thus allowing seamless
(hopefully) access to the db from Rev?
Thanks, Ken!
From tkuypers at pandora.be Mon Aug 1 16:26:23 2005
From: tkuypers at pandora.be (Ton Kuypers)
Date: Mon, 1 Aug 2005 22:26:23 +0200
Subject: update on "Weird OS9 runtime problem->losing database connection"
Message-ID: <34D869F0-B5DF-4D76-9239-6BEB06805D58@pandora.be>
Strangeeeeeeeee...
I now have copied all scripts used to connect to a database and
retrieve some information into one window. They are all started when
needed but then ik seems to work.
The only thing now is that it takes WAY TO LONG to access the
database, because when doing it like this, I need to open a
connection to the database for each call...
Keep them suggestions coming, as it looks I will be here all night
long :-(((
Ton
From stephenREVOLUTION at barncard.com Mon Aug 1 16:34:01 2005
From: stephenREVOLUTION at barncard.com (Stephen Barncard)
Date: Mon, 1 Aug 2005 13:34:01 -0700
Subject: ANN: New page in test.
In-Reply-To:
References:
Message-ID:
to butt in here...
I've found that Gallery2 is by far the best way to post and organize
photos online
and the latest Wordpress is a very easy blog/CMS to set up and use.
both are PHP/MySQL/ open source donationware.
a killer combination that can be set up in hours.
sqb
>Your page works fine but Manila cost $1000! Why not use plog or some other
>blogging tool that is not so expensive? I am looking for a very simple
>blogging tool, easy to post too with photos, easy to set-up RSS and runs on
>Linux.
>
>What is your advice?
>
>Bill
>
From jhurley at infostations.com Mon Aug 1 16:36:52 2005
From: jhurley at infostations.com (Jim Hurley)
Date: Mon, 1 Aug 2005 13:36:52 -0700
Subject: Turtle Graphics
In-Reply-To: <20050801194657.2918582557A@mail.runrev.com>
References: <20050801194657.2918582557A@mail.runrev.com>
Message-ID:
>
>Message: 11
>Date: Mon, 1 Aug 2005 21:18:58 +0200
>From: david bovill
>Subject: Re: Turtle Graphics
>To: How to use Revolution
>Message-ID: <3B6E0645-6F0A-4261-8CBA-B3F36B862E08 at openpartnership.net>
>Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>
>(Snip)
>
>The syntax I use for this would be of the form "+[F]--F" - where "F
>"is forward ("f" is forward without drawing), "+" is rotate left, "-"
>is rotate right and "[F]" is push with "]" as pop for creating branches.
>
>The link to Turtle Graphics is in using the strings like "+[F]--
>F" (for controlling the Turtle) and then passing them into an l-
>system - see http://www.biologie.uni-hamburg.de/b-online/e28_3/lsys.html
>
>>
>> I don't know what to suggest. Maybe put your examples in the
>> personal users' space in Rev OnLine?
>
>Have to wait a week or two till I get my nice new license - I'm a
>Metacard developer :)
With that notation, I would have guessed you were a C developer :).
Jim
From stephenREVOLUTION at barncard.com Mon Aug 1 17:00:52 2005
From: stephenREVOLUTION at barncard.com (Stephen Barncard)
Date: Mon, 1 Aug 2005 14:00:52 -0700
Subject: global problems
In-Reply-To:
References:
Message-ID:
Now hold on a minute; I did remember a time a version back when I set
a global when I should have set a local, and the global wouldn't go
away, I couldn't recreate as a local, even though I used 'delete'
from the msg box. It insisted on being a global. I had to quite rev
to continue...
sqb
>On 8/1/05 2:28 AM, "Mark Wieder" wrote:
>
>> Global variables are persistent in memory, even when they've been
>> purged. Once you have declared a global variable, even if you have
>> deleted the line of code that declared it, you're stuck with it.
>
>Well, yes, but that's because you didn't explicitly delete it, which you can
>do with:
>
> delete global
>Ken Ray
From mwieder at ahsoftware.net Mon Aug 1 17:07:24 2005
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Mon, 1 Aug 2005 14:07:24 -0700
Subject: WM_COPYMESSAGE Window Messages in general RR
In-Reply-To: <20050801195422.17D773E39@xprdmailfe11.nwk.excite.com>
References: <20050801195422.17D773E39@xprdmailfe11.nwk.excite.com>
Message-ID: <13112905136.20050801140724@ahsoftware.net>
N-
Monday, August 1, 2005, 12:54:22 PM, you wrote:
> How does one receive and process native Win32 messages from inside RR?
You need to write a DLL to process them. Put a standard event loop in
the windowproc of the DLL window and catch the WM_COPYMESSAGEs. You
can process them there or pass the data back to rev in a callback.
--
-Mark Wieder
mwieder at ahsoftware.net
From revlist at cableone.net Mon Aug 1 17:11:47 2005
From: revlist at cableone.net (Chris Sheffield)
Date: Mon, 1 Aug 2005 15:11:47 -0600
Subject: update on "Weird OS9 runtime problem->losing database
connection"
In-Reply-To: <34D869F0-B5DF-4D76-9239-6BEB06805D58@pandora.be>
References: <34D869F0-B5DF-4D76-9239-6BEB06805D58@pandora.be>
Message-ID: <2A85E78B-E5D4-4935-A579-A6AFE2B73F92@cableone.net>
Another thought I had, and maybe this is the obvious, but have you
double checked to make sure all your variables are declared where
they need to be? You mentioned that the code that connects to the
database and the code that retrieves data are in separate locations.
So do you connect to the database and then save the connection ID
into a global variable? And is that global declared in all your
scripts that use it? I know I may be grasping at straws here. And
it seems weird that everything would work on all other platforms...
I'm kind of out of ideas at this point. Sorry.
Chris
On Aug 1, 2005, at 2:26 PM, Ton Kuypers wrote:
> Strangeeeeeeeee...
>
> I now have copied all scripts used to connect to a database and
> retrieve some information into one window. They are all started
> when needed but then ik seems to work.
> The only thing now is that it takes WAY TO LONG to access the
> database, because when doing it like this, I need to open a
> connection to the database for each call...
>
> Keep them suggestions coming, as it looks I will be here all night
> long :-(((
>
> Ton
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
------------------------------------------
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.com
------------------------------------------
From tkuypers at pandora.be Mon Aug 1 17:15:52 2005
From: tkuypers at pandora.be (Ton Kuypers)
Date: Mon, 1 Aug 2005 23:15:52 +0200
Subject: update on "Weird OS9 runtime problem->losing database
connection"
In-Reply-To: <2A85E78B-E5D4-4935-A579-A6AFE2B73F92@cableone.net>
References: <34D869F0-B5DF-4D76-9239-6BEB06805D58@pandora.be>
<2A85E78B-E5D4-4935-A579-A6AFE2B73F92@cableone.net>
Message-ID:
I store the connection ID into a property, but tried a global as
well... same result...
I guess it has to do something with the runtime engine for OS9, I
just can't image what else, because indeed it works fine for the
other platforms.
Thanks anyway.
On 1-aug-05, at 23:11, Chris Sheffield wrote:
> Another thought I had, and maybe this is the obvious, but have you
> double checked to make sure all your variables are declared where
> they need to be? You mentioned that the code that connects to the
> database and the code that retrieves data are in separate
> locations. So do you connect to the database and then save the
> connection ID into a global variable? And is that global declared
> in all your scripts that use it? I know I may be grasping at
> straws here. And it seems weird that everything would work on all
> other platforms...
>
> I'm kind of out of ideas at this point. Sorry.
>
> Chris
>
>
> On Aug 1, 2005, at 2:26 PM, Ton Kuypers wrote:
>
>
>> Strangeeeeeeeee...
>>
>> I now have copied all scripts used to connect to a database and
>> retrieve some information into one window. They are all started
>> when needed but then ik seems to work.
>> The only thing now is that it takes WAY TO LONG to access the
>> database, because when doing it like this, I need to open a
>> connection to the database for each call...
>>
>> Keep them suggestions coming, as it looks I will be here all night
>> long :-(((
>>
>> Ton
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>>
>
> ------------------------------------------
> Chris Sheffield
> Read Naturally
> The Fluency Company
> http://www.readnaturally.com
> ------------------------------------------
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
From bill at bluewatermaritime.com Mon Aug 1 17:29:29 2005
From: bill at bluewatermaritime.com (Bill)
Date: Mon, 01 Aug 2005 17:29:29 -0400
Subject: ANN: New page in test.
In-Reply-To:
Message-ID:
Is it also easy to set-up an RSS feed for this combination
(wordpress/Gallery2)?
I like how plog http://www.plogworld.net/ lets you easily put images up. It
is also PHP/MySQL and very simple to load. It also has RSS feed.
On 8/1/05 4:34 PM, "Stephen Barncard"
wrote:
> to butt in here...
>
> I've found that Gallery2 is by far the best way to post and organize
> photos online
>
> and the latest Wordpress is a very easy blog/CMS to set up and use.
>
> both are PHP/MySQL/ open source donationware.
>
> a killer combination that can be set up in hours.
>
> sqb
>
>> Your page works fine but Manila cost $1000! Why not use plog or some other
>> blogging tool that is not so expensive? I am looking for a very simple
>> blogging tool, easy to post too with photos, easy to set-up RSS and runs on
>> Linux.
>>
>> What is your advice?
>>
>> Bill
>>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
| | |
)_) )_) )_)
)___))___))___)\
)____)____)_____)\\
_____|____|____|____\\\__
-------\ /--------- http://www.bluewatermaritime.com
^^^^^ ^^^^^^^^^^^^^^^^^^^^^
^^^^ ^^^^ ^^^ ^^
^^^^ ^^^
24 hour cell: (787) 378-6190
fax: (787) 809-8426
Blue Water Maritime
P.O. Box 91
Puerto Real, PR 00740
From stephenREVOLUTION at barncard.com Mon Aug 1 18:02:19 2005
From: stephenREVOLUTION at barncard.com (Stephen Barncard)
Date: Mon, 1 Aug 2005 15:02:19 -0700
Subject: simple custom property question
In-Reply-To:
References:
Message-ID:
I've been experimenting successfully with obtaining all properties
of an object and storing them in a custom property, then later
recreating the object from the property on the fly.
I would imagine it gets more complicated with groups - I haven't done
this yet - but then the whole group could be stored in a custom
property set! A group would also have to have other properties
included besides the built in ones, such as scripts and positions of
the objects contained within the group. One could probably store
these as properties of the group itself. The group would be the
'first out' for parsing, and other params needed could be pulled from
it.
Groups within groups would necessitate some recursive code, and more
complexity. But that is often rare unless one wants to deconstruct
and reconstruct a complete stack in this manner!!
But Ken is totally right - 'copy group' is a lot easier!
sqb
>Otherwise, you can't really store a true group object inside a custom
>property AFAIK - you could store the binary of a stack with one card that
>only had your group on it, or you could store the specifications of all the
>objects that make up the group and then build it from scratch each time
>based on the specifications for each object.
>But personally, I'd suggest the "copy group" approach...
>Ken Ray
From oaknorton at gmail.com Mon Aug 1 18:17:30 2005
From: oaknorton at gmail.com (Oak Norton)
Date: Mon, 1 Aug 2005 16:17:30 -0600
Subject: font embedding
Message-ID:
Is it possible to embed a true type font inside a revolution application and
not give end users access to it?
Thanks,
Oak
From oaknorton at gmail.com Mon Aug 1 18:18:45 2005
From: oaknorton at gmail.com (Oak Norton)
Date: Mon, 1 Aug 2005 16:18:45 -0600
Subject: resolution
Message-ID:
If I have a program that will have a graphical interface, what's the best
way to handle multiple resolutions? Build the program at a high resolution
and then just let the machine scale it down? Or build an interface for
multiple set resolutions and then let the program detect and use the proper
set of resolution-specific graphics?
Thanks,
Oak
From ambassador at fourthworld.com Mon Aug 1 18:52:26 2005
From: ambassador at fourthworld.com (Richard Gaskin)
Date: Mon, 01 Aug 2005 15:52:26 -0700
Subject: simple custom property question
In-Reply-To:
References:
Message-ID: <42EEA7AA.8050805@fourthworld.com>
Stephen Barncard wrote:
> But Ken is totally right - 'copy group' is a lot easier!
And lightning fast. I have some complex dynamic layouts in which I found
it simpler to have the UI built on the fly from copied groups than to
make them all by hand -- never notice the difference, with a dozen
groups copied in just a few milliseconds.
--
Richard Gaskin
Managing Editor, revJournal
_______________________________________________________
Rev tips, tutorials and more: http://www.revJournal.com
From scott at tactilemedia.com Mon Aug 1 18:54:17 2005
From: scott at tactilemedia.com (Scott Rossi)
Date: Mon, 01 Aug 2005 15:54:17 -0700
Subject: [OT] More Amusing Error Dialogs
Message-ID:
Here's one from Photoshop:
"Could not stroke the layer because there is nothing to stroke."
:-)
Regards,
Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com
From bann at sunncomm.com Mon Aug 1 19:04:47 2005
From: bann at sunncomm.com (Ban Nguyen)
Date: Mon, 1 Aug 2005 16:04:47 -0700
Subject: please help with "on playStopped"
Message-ID:
Hello everyone,
I have a list of songs (scrolling list field "list"):
I put this script so when user select a song, then start the player
on selectionchanged
set the fileName of player "myPlayer" to the selectedtext of field
"list"
start player "myPlayer"
end selectionchanged
I put this script into the player object "myPlayer" because I want the
next songs continue to play:
on PlayStopped
local thisLine
put the hilitedLines of field "list" into thisLine --current line
set the hilitedLines of field "list" to (thisLine+1) --next line
set the fileName of player "myPlayer" to the selectedtext of field
"list"
start player "myPlayer"
end PlayStopped
For some reason, it does not work right. What it does is playing the
first song. After the first song done, it selects the second song (no
playing), then selects the third song and plays. I open the property of
player object and see in the source shows "the second song"
Could someone please help? The code looks right to me but I don't know
if I am missing anything.
Thank you
From alex at tweedly.net Mon Aug 1 19:05:41 2005
From: alex at tweedly.net (Alex Tweedly)
Date: Tue, 02 Aug 2005 00:05:41 +0100
Subject: [OT] Software Carpentry
Message-ID: <42EEAAC5.4000908@tweedly.net>
Actually, I don't really think it's off-topic - but it's a very general
software topic, rather than Rev or xtalk or ...
There's an interesting set of course notes on programming for scientists
and engineers (non-CS majors) at http://www.third-bit.com/swc/web/index.html
Some of it is language or environment specific - but a large part of it
isn't. (Especially the first and last parts)
And much of it is interesting, amusing or infuriating - all the
hallmarks of a good read ....
I especially liked his "rule" at the end - highlights for me were:
* A week of hard work can sometimes save you an hour of thought.
* The deadline isn't when you're supposed to finish; the deadline is
when it starts to be late.
* Never debug standing up.
* Tools are amplifiers: they allow good programmers to be better,
and bad ones to be worse.
--
Alex Tweedly http://www.tweedly.net
-------------- next part --------------
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.9.6/59 - Release Date: 27/07/2005
From pixelbird at interisland.net Mon Aug 1 20:47:01 2005
From: pixelbird at interisland.net (Ken Norris)
Date: Mon, 1 Aug 2005 17:47:01 -0700
Subject: global problems
In-Reply-To: <20050801194657.16C6E825579@mail.runrev.com>
References: <20050801194657.16C6E825579@mail.runrev.com>
Message-ID: <86972dff310fdd3b42c2f31faa0ae8d9@interisland.net>
Hi Mark,
> Date: Mon, 1 Aug 2005 11:00:47 -0700
> From: Mark Wieder
> Subject: Re: global problems
Just a little note from"the other" Ken (or one of them) --
> Hmmm... "delete global"... you're right - I use globals so
> infrequently that it wouldn't have occurred to me that I would have to
> delete something that didn't exist. That's pretty screwy, IMO. I don't
> think there's anything else in xtalk that acts that way.
There is a reason.
> Constants
> certainly don't.
Well, why would they? They're opposite things to variables.
> If the compiler enforced reference counting when
> compiling that would take care of this.
Not a good idea _if_ you want to retain the variable across your
projects during runtime.
>
> Yet another reason to avoid the Dreaded Global.
Globals are for what they say they are. A global declared during
runtime _should_ be available in any open stack. Why would you want to
get rid of it, i.e., that's what they're for. Unless you want to do a
one-time setup to initialize multiple stacks, then destroy it. Of
course you could do the same thing with custom props, but it would be
more awkward.
I think all you have to do is be aware of what they are. The only
'Dreaded' thing I can see is that they are often misused/overused,
i.e., the wrong tool. Like using an adjustable wrench when you _should_
use the correct size box wrench.
IOW, it's a better idea to pass sensitive data in message or function
params, or perhaps custom props, than globals, when possible, then use
them locally at will. Nothing else gets affected.
But if you wanted to set up a _system_ using multiple stacks all
sharing same data, whether open or closed, then a global may well
become your good and faithful friend.
All the best,
Ken N.
From charles.hartman at conncoll.edu Mon Aug 1 20:53:22 2005
From: charles.hartman at conncoll.edu (Charles Hartman)
Date: Mon, 1 Aug 2005 20:53:22 -0400
Subject: simple custom property question
In-Reply-To:
References:
Message-ID: <2AE39A50-6516-4E38-928F-4797DC094F3D@conncoll.edu>
OK, I believe you. But I'm missing something really simple about how
to do it. (I haven't used this syntax before.) If the group is on one
card in my main stack (with its Visible set false), and in the script
of a button on the same card I open a substack and try to copy the
group to it, I get an error. If I say
copy myGroup to stack mySubstack
the error is "can't find object"; if I say
copy group myGrouop myGroup to stack mySubstack
the error is "can't find background". What basic fact(s) am I
forgetting?
Thanks for any available hand-holding. The Doc write-up on groups and
backgrounds is obviously relevant, but I can't parse an answer to
this question out of it.
Charlesd
On Aug 1, 2005, at 12:06 PM, Ken Ray wrote:
> How about just creating the group in an offscreen stack (or
> substack) and
> then doing "copy group to " every time you
> want an
> "instance" of the group?
From briany at qldlearning.com Mon Aug 1 21:08:32 2005
From: briany at qldlearning.com (Brian Yennie)
Date: Mon, 1 Aug 2005 18:08:32 -0700
Subject: simple custom property question
In-Reply-To: <2AE39A50-6516-4E38-928F-4797DC094F3D@conncoll.edu>
References:
<2AE39A50-6516-4E38-928F-4797DC094F3D@conncoll.edu>
Message-ID: <9544cd3f67e4a4e13722a61d4fa39b79@qldlearning.com>
Charles,
I believe the problem you are having is that you are going to the
substack and then using a short reference to the group, which of course
does not exist yet in the substack.
I think you want one of these methods. I don't know if one of them is
preferable to the other, but hopefully illustrative of the issue.
Basically, you either need to give the long name of the group object,
or else point Revolution to what stack it should use for interpreting
the short name.
1) Use a long name for the group
open stack "mySubstack"
copy group "myGroup" of card 1 of stack "myMainstack" to stack
"mySubstack"
2) Use the defaultStack property
open stack "mySubstack"
set the defaultStack to "myMainStack"
copy group "myGroup" to stack "mySubstack"
> OK, I believe you. But I'm missing something really simple about how
> to do it. (I haven't used this syntax before.) If the group is on one
> card in my main stack (with its Visible set false), and in the script
> of a button on the same card I open a substack and try to copy the
> group to it, I get an error. If I say
>
> copy myGroup to stack mySubstack
>
> the error is "can't find object"; if I say
>
> copy group myGrouop myGroup to stack mySubstack
>
> the error is "can't find background". What basic fact(s) am I
> forgetting?
>
> Thanks for any available hand-holding. The Doc write-up on groups and
> backgrounds is obviously relevant, but I can't parse an answer to this
> question out of it.
>
> Charlesd
>
>
> On Aug 1, 2005, at 12:06 PM, Ken Ray wrote:
>
>> How about just creating the group in an offscreen stack (or substack)
>> and
>> then doing "copy group to " every time you
>> want an
>> "instance" of the group?
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
From jhurley at infostations.com Mon Aug 1 21:12:33 2005
From: jhurley at infostations.com (Jim Hurley)
Date: Mon, 1 Aug 2005 18:12:33 -0700
Subject: ANN Full justification
In-Reply-To: <20050802003623.EC6A58255F7@mail.runrev.com>
References: <20050802003623.EC6A58255F7@mail.runrev.com>
Message-ID:
I have a stack which appears to work with all (?) fonts and all (?) sizes.
Haven't tested every font or every size.
This stack presumes that the formatted width of the space character,
with a point size of 3, will be 1 unit. (In some oddball fonts the
point size needs to be set to a point size of 2.)
I am working on a plugin to do the same.
(I would like to drag an image or button from the plug-in to the
field of interest to effect the justification, but I can't get to
first base on Run Rev's dragdrop. Sure could use a few more examples
in the Docs on this subject. Changing the justification for a
*selected* field appears to work well in a plug-in.)
To try it out:
go stack url "http://home.infostations.net/jhurley/JustifyText3.rev"
Jim
P.S. No *multiple* fonts in a given field.
From charles.hartman at conncoll.edu Mon Aug 1 21:15:01 2005
From: charles.hartman at conncoll.edu (Charles Hartman)
Date: Mon, 1 Aug 2005 21:15:01 -0400
Subject: simple custom property question
In-Reply-To: <9544cd3f67e4a4e13722a61d4fa39b79@qldlearning.com>
References:
<2AE39A50-6516-4E38-928F-4797DC094F3D@conncoll.edu>
<9544cd3f67e4a4e13722a61d4fa39b79@qldlearning.com>
Message-ID:
Woops. Now _that's_ embarrassing. Thanks, Brian.
Charles
On Aug 1, 2005, at 9:08 PM, Brian Yennie wrote:
> I believe the problem you are having is that you are going to the
> substack and then using a short reference to the group, which of
> course does not exist yet in the substack.
>
From briany at qldlearning.com Mon Aug 1 21:21:09 2005
From: briany at qldlearning.com (Brian Yennie)
Date: Mon, 1 Aug 2005 18:21:09 -0700
Subject: simple custom property question
In-Reply-To:
References:
<2AE39A50-6516-4E38-928F-4797DC094F3D@conncoll.edu>
<9544cd3f67e4a4e13722a61d4fa39b79@qldlearning.com>
Message-ID: <30ec01e08fb4378e800c8dc2bea29a02@qldlearning.com>
Bah. I think it actually is a bit of an unusual situation- when copying
from one stack to another, how SHOULD you approach your object
references? What stacks should be open and to where?
The error message led me to what was wrong, but I'd bet this one fails
for a lot of people at first pass.
> Woops. Now _that's_ embarrassing. Thanks, Brian.
>
> Charles
>
>
> On Aug 1, 2005, at 9:08 PM, Brian Yennie wrote:
>
>> I believe the problem you are having is that you are going to the
>> substack and then using a short reference to the group, which of
>> course does not exist yet in the substack.
>>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
From michaell at unimelb.edu.au Mon Aug 1 21:27:31 2005
From: michaell at unimelb.edu.au (Michael J. Lew)
Date: Tue, 2 Aug 2005 11:27:31 +1000
Subject: global problems
Message-ID:
Actually, to delete a global from the message box you need:
global ; delete global
I guess it is the same as having to refer to the global (initialise
it?) in a script before using it.
At 7:36 PM -0500 1/8/05, use-revolution-request at lists.runrev.com wrote:
>Now hold on a minute; I did remember a time a version back when I set
>a global when I should have set a local, and the global wouldn't go
>away, I couldn't recreate as a local, even though I used 'delete'
>from the msg box. It insisted on being a global. I had to quite rev
>to continue...
>
>sqb
>
>
>
>>On 8/1/05 2:28 AM, "Mark Wieder" wrote:
>>
>>> Global variables are persistent in memory, even when they've been
>>> purged. Once you have declared a global variable, even if you have
>>> deleted the line of code that declared it, you're stuck with it.
>>
>>Well, yes, but that's because you didn't explicitly delete it, which you can
>>do with:
>>
>> delete global
>
>>Ken Ray
>
--
Michael J. Lew
Senior Lecturer
Department of Pharmacology
The University of Melbourne
Parkville 3010
Victoria
Australia
Phone +613 8344 8304
**
New email address: michaell at unimelb.edu.au
**
From mwieder at ahsoftware.net Mon Aug 1 21:35:30 2005
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Mon, 1 Aug 2005 18:35:30 -0700
Subject: global problems
In-Reply-To: <86972dff310fdd3b42c2f31faa0ae8d9@interisland.net>
References: <20050801194657.16C6E825579@mail.runrev.com>
<86972dff310fdd3b42c2f31faa0ae8d9@interisland.net>
Message-ID: <15528990786.20050801183530@ahsoftware.net>
Ken-
Monday, August 1, 2005, 5:47:01 PM, you wrote:
>> Constants
>> certainly don't.
> Well, why would they? They're opposite things to variables.
Right... well, the point I was trying to make is that there's
*nothing* else that has this persistence. Maybe I chose a bad example.
> Globals are for what they say they are. A global declared during
> runtime _should_ be available in any open stack. Why would you want to
> get rid of it, i.e., that's what they're for. Unless you want to do a
> one-time setup to initialize multiple stacks, then destroy it. Of
> course you could do the same thing with custom props, but it would be
> more awkward.
Maybe I'm missing something about globals here, but since you have to
reference a global explicitly in a script in order to use it, I don't
see why the global should persist if the stack that declared it is
removed from memory.
In other words, if I'm foolish enough to declare a "global x" in a
piece of test code, why should that continue to haunt me when I dump
my test stack and then open a completely different stack that happens
to have a "local x" declaration in it? Am I missing something basic?
--
-Mark Wieder
mwieder at ahsoftware.net
From chipp at chipp.com Mon Aug 1 21:46:33 2005
From: chipp at chipp.com (Chipp Walters)
Date: Mon, 01 Aug 2005 20:46:33 -0500
Subject: global problems
In-Reply-To: <15528990786.20050801183530@ahsoftware.net>
References: <20050801194657.16C6E825579@mail.runrev.com> <86972dff310fdd3b42c2f31faa0ae8d9@interisland.net>
<15528990786.20050801183530@ahsoftware.net>
Message-ID: <42EED079.4000701@chipp.com>
Yep, I think you are missing something VERY basic.
Globals are just that, they exist forever until you explicitly delete
them. That's how they've always worked in all Xtalks I've ever used.
You of course have a choice whether to use them or not. I, enjoy using
them as I find they have many 'upsides' versus custom properties (I use
them too). I especially like the fact they don't persist between
application launches.
Of course, if like others, you smartly name your globals with a 'g'
prefix, you will never have the 'collision' problem you describe, as
like-named locals can also be prefixed with 'l'.
best,
Chipp
Mark Wieder wrote:
> In other words, if I'm foolish enough to declare a "global x" in a
> piece of test code, why should that continue to haunt me when I dump
> my test stack and then open a completely different stack that happens
> to have a "local x" declaration in it? Am I missing something basic?
>
From ambassador at fourthworld.com Mon Aug 1 21:49:22 2005
From: ambassador at fourthworld.com (Richard Gaskin)
Date: Mon, 01 Aug 2005 18:49:22 -0700
Subject: simple custom property question
In-Reply-To: <30ec01e08fb4378e800c8dc2bea29a02@qldlearning.com>
References: <2AE39A50-6516-4E38-928F-4797DC094F3D@conncoll.edu> <9544cd3f67e4a4e13722a61d4fa39b79@qldlearning.com>
<30ec01e08fb4378e800c8dc2bea29a02@qldlearning.com>
Message-ID: <42EED122.6070200@fourthworld.com>
Brian Yennie wrote:
> Bah. I think it actually is a bit of an unusual situation- when copying
> from one stack to another, how SHOULD you approach your object
> references?
After a create, clone, or copy command the local variable "it" contains
the long ID of the new object.
So you can keep your focus on the stack containing your template group
objects, referring to them by short name, and the long ID returned in
"it" will help you if you need to do anything else in the newly copied
group:
on CopyObjects
set the defaultStack to "MyTemplateObjects"
copy grp "MyThang" to stack "Whatever"
set the loc of it to 100,100
copy grp "MyOtherThang" to stack "Whatever"
set the loc of it to 100,400
end CopyObjects
--
Richard Gaskin
Managing Editor, revJournal
_______________________________________________________
Rev tips, tutorials and more: http://www.revJournal.com
From briany at qldlearning.com Mon Aug 1 21:56:19 2005
From: briany at qldlearning.com (Brian Yennie)
Date: Mon, 1 Aug 2005 18:56:19 -0700
Subject: global problems
In-Reply-To: <15528990786.20050801183530@ahsoftware.net>
References: <20050801194657.16C6E825579@mail.runrev.com>
<86972dff310fdd3b42c2f31faa0ae8d9@interisland.net>
<15528990786.20050801183530@ahsoftware.net>
Message-ID: <81b3cd49a2df494c7f1b73dacbd4ee4a@qldlearning.com>
Global properties do!
For me, the rationale is simple: globals are the ONLY way to have data
which is _not_ stack specific. As such, closing or modifying a stack
should never delete global data.
Perhaps what you're really looking for is a stack-level local variable?
I'm thinking the seeming oddity of the situation has something to do
with the loose restrictions on declarations in xTalk, and the runtime
nature. In other languages, if you removed all references to a global
and recompiled, of course it would disappear...?
> Right... well, the point I was trying to make is that there's
> *nothing* else that has this persistence. Maybe I chose a bad example.
From kray at sonsothunder.com Mon Aug 1 22:25:57 2005
From: kray at sonsothunder.com (Ken Ray)
Date: Mon, 01 Aug 2005 21:25:57 -0500
Subject: MySQL Connection error
In-Reply-To:
Message-ID:
On 8/1/05 3:25 PM, "Alan Golub" wrote:
> On 8/1/05 4:00 PM, "Ken Ray" wrote:
>
>> Yes, we ran into this just recently. You need to change the password that is
>> stored in the DB to the "old" (pre-4.1) format for compatiblity with
>> everybody. This is the syntax at the mysql prompt (using "tempUser" as the
>> user name, "localhost" as the host, and "mypass" for the password):
>>
>> set password for "tempUser"@"localhost"=OLD_PASSWORD("mypass");
>
> I'll need to wait until tonight to run this solution from home, but I just
> want to make sure I 'get it.'
>
> Ok, so for each user accessing the 4.1 or later database, changing/setting
> the password via the OLD_PASSWORD() function stores the password in a manner
> compliant with post-4.0 versions of the server, thus allowing seamless
> (hopefully) access to the db from Rev?
Yup! You got it!
> Thanks, Ken!
No problem...
Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com
From sarahr at genesearch.com.au Mon Aug 1 22:39:55 2005
From: sarahr at genesearch.com.au (Sarah Reichelt)
Date: Tue, 2 Aug 2005 12:39:55 +1000
Subject: Weird OS9 runtime problem->losing database connection
In-Reply-To:
References:
<407C2FD9-3535-42E8-A679-99C3C7B9D4F9@mangomultimedia.com>
Message-ID: <6919FD72-E856-4E4D-8D0B-D1994B02866E@genesearch.com.au>
Is the MySQL external in use? What happens if you do something like
"answer the externals of this stack"? Maybe the external is allocated
to a different stack and that stack needs to be put into the message
path with "start using". Or do you need to explicitly set the
externals of your mainStack?
No solution, but some ideas for you to try,
Sarah
On 02/08/2005, at 6:23 AM, Ton Kuypers wrote:
> Yep, it is there.. And so is the Valentia external.
> I've even tried replacing the mySQL external from 2.6 by the one
> supplied with version 2.5 or 2.2... same error, no result :(
>
>
> On 1-aug-05, at 22:20, Trevor DeVore wrote:
>
>
>> On Aug 1, 2005, at 12:04 PM, Ton Kuypers wrote:
>>
>>
>>
>>> What's going on, what am I missing here?
>>>
>>> I've created a database frontend which needs to run on Windows,
>>> 2000 WIndows XP, Mac OS9 and Mac OS-X.
>>> All run perfect except the Mac OS9 version...
>>>
>>>
>>
>> I haven't used MySQL with OS 9 but it is probably an external issue.
>>
>> When you build the standalone is the MySQL Library PPC in the
>> standalone folder?
>>
>>
>> --
>> Trevor DeVore
>> Blue Mango Multimedia
>> trevor at mangomultimedia.com
>>
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
>
>
From sarahr at genesearch.com.au Mon Aug 1 22:45:43 2005
From: sarahr at genesearch.com.au (Sarah Reichelt)
Date: Tue, 2 Aug 2005 12:45:43 +1000
Subject: Spotlight indexing: feature request proposal
In-Reply-To: <811344C4-0A97-47FE-BBFB-A2DCEB1D3045@openpartnership.net>
References:
<811344C4-0A97-47FE-BBFB-A2DCEB1D3045@openpartnership.net>
Message-ID: <96CD5898-670D-40AA-9796-77D6BFDB883C@genesearch.com.au>
> I am looking for ways to add metadata to external files using
> Spotlight - video files in particular from within Revolution. I
> think it would be very useful if the stack indexing suggestions was
> extended to standard Apple file formats or to any file format with
> an existing system level spotlight metadata plugin (you'd need to
> know or parse the plist structure).
>
> In the meantime I'm looking to use AppleScript or the command line
> tools - but not got anything working yet - any ideas?
>
If you use "Get Info", on a file, you will see a section at the top
called "Spotlight comments". Anything typed into this box gets added
to the Spotlight index. You can edit this text using AppleScript,
here's an example.
tell application "Finder"
set tFile to choose file
set the comment of file tFile to "Index me!"
end tell
HTH,
Sarah
From charles.hartman at conncoll.edu Mon Aug 1 23:03:42 2005
From: charles.hartman at conncoll.edu (Charles Hartman)
Date: Mon, 1 Aug 2005 23:03:42 -0400
Subject: simple custom property question
In-Reply-To: <30ec01e08fb4378e800c8dc2bea29a02@qldlearning.com>
References:
<2AE39A50-6516-4E38-928F-4797DC094F3D@conncoll.edu>
<9544cd3f67e4a4e13722a61d4fa39b79@qldlearning.com>
<30ec01e08fb4378e800c8dc2bea29a02@qldlearning.com>
Message-ID: <81B4685B-AAEA-4EF5-B365-3B960ABE6E63@conncoll.edu>
One more question (for now!) about this operation: how do I get rid
of it? In testing, I've opened the substack half a dozen times -- and
there are half a dozen copies of the group in the substack. Obviously
I've got to dump 'em somehow (in a script when the stack closes?),
but how? They're there under the original name, from the main stack
-- if I delete the group, will it get deleted in the main stack too?
Confused!
Charles
On Aug 1, 2005, at 9:21 PM, Brian Yennie wrote:
> Bah. I think it actually is a bit of an unusual situation- when
> copying from one stack to another, how SHOULD you approach your
> object references? What stacks should be open and to where?
>
> The error message led me to what was wrong, but I'd bet this one
> fails for a lot of people at first pass.
>
>
>> Woops. Now _that's_ embarrassing. Thanks, Brian.
>>
>> Charles
>>
>>
>> On Aug 1, 2005, at 9:08 PM, Brian Yennie wrote:
>>
>>
>>> I believe the problem you are having is that you are going to the
>>> substack and then using a short reference to the group, which of
>>> course does not exist yet in the substack.
>>>
>>>
>>
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
From kray at sonsothunder.com Mon Aug 1 23:12:44 2005
From: kray at sonsothunder.com (Ken Ray)
Date: Mon, 01 Aug 2005 22:12:44 -0500
Subject: simple custom property question
In-Reply-To: <81B4685B-AAEA-4EF5-B365-3B960ABE6E63@conncoll.edu>
Message-ID:
On 8/1/05 10:03 PM, "Charles Hartman" wrote:
> One more question (for now!) about this operation: how do I get rid
> of it? In testing, I've opened the substack half a dozen times -- and
> there are half a dozen copies of the group in the substack. Obviously
> I've got to dump 'em somehow (in a script when the stack closes?),
> but how? They're there under the original name, from the main stack
> -- if I delete the group, will it get deleted in the main stack too?
No, those are copies... you just need to be specific, as in:
delete group "MyGroup" of stack "MySubStack"
If you just say:
delete group "MyGroup"
it isn't specific enough and the interpreter will try to find the group
"MyGroup" on the topstack, which means that if your main stack *is* the
topstack, you end up deleting the "original". If your substack is the
topstack, it will delete it from the substack. Better to make in
non-ambiguous and specify the full path to the group.
BTW:, I'd recommend renaming the groups as soon as they are copied. One of
the nice things is that the "it" variable contains the long ID to the newly
created or copied group. So you can do this:
copy group "MyTemplateGroup" of stack "MyMainStack" to stack "mySubStack"
set the name of it to "Copy 1"
copy group "MyTemplateGroup" of stack "MyMainStack" to stack "mySubStack"
set the name of it to "Copy 2"
So you'd have two copies of the group on the substack, one neamed Copy 1 and
the other named Copy 2.
HTH,
Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com
From asg618 at mac.com Mon Aug 1 23:52:23 2005
From: asg618 at mac.com (Alan Golub)
Date: Mon, 01 Aug 2005 23:52:23 -0400
Subject: MySQL Connection - Problem Solved + Additional Info
In-Reply-To:
Message-ID:
Ken's solution worked like a charm and I'm back to work!
For those interested, I did some research on the background of this problem,
and the explanation is provided in the MySQL online manual, starting here:
http://dev.mysql.com/doc/mysql/en/password-hashing.html
With explanation of the workarounds here:
http://dev.mysql.com/doc/mysql/en/old-client.html
One potential problem pointed out is that OLD_PASSWORD() may one day be
deprecated. Hopefully by then most affected third-party clients, like Rev,
will have upgraded to a client library that supports the new authentication
protocol.
Alan Golub
Golub & Isabel, P.C.
On 8/1/05 10:25 PM, "Ken Ray" wrote:
> On 8/1/05 3:25 PM, "Alan Golub" wrote:
>
>> On 8/1/05 4:00 PM, "Ken Ray" wrote:
>>
>>> Yes, we ran into this just recently. You need to change the password that is
>>> stored in the DB to the "old" (pre-4.1) format for compatiblity with
>>> everybody. This is the syntax at the mysql prompt (using "tempUser" as the
>>> user name, "localhost" as the host, and "mypass" for the password):
>>>
>>> set password for "tempUser"@"localhost"=OLD_PASSWORD("mypass");
>>
>> I'll need to wait until tonight to run this solution from home, but I just
>> want to make sure I 'get it.'
>>
>> Ok, so for each user accessing the 4.1 or later database, changing/setting
>> the password via the OLD_PASSWORD() function stores the password in a manner
>> compliant with post-4.0 versions of the server, thus allowing seamless
>> (hopefully) access to the db from Rev?
>
> Yup! You got it!
>
>> Thanks, Ken!
>
> No problem...
>
>
> Ken Ray
> Sons of Thunder Software
> Web site: http://www.sonsothunder.com/
> Email: kray at sonsothunder.com
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
From ambassador at fourthworld.com Tue Aug 2 00:23:15 2005
From: ambassador at fourthworld.com (Richard Gaskin)
Date: Mon, 01 Aug 2005 21:23:15 -0700
Subject: While waiting for XP support....
Message-ID: <42EEF533.2050507@fourthworld.com>
While we're still waiting for Rev to give the same level of support for
XP niceties they've given to OS X, here's a glimpse of what's coming in
2006 (or 2007 or 2008 or whenever it actually ships): a whole site
chock full o' articles and screen shots for Windows Vista:
Good news for us developers: its appearance is very much like a slightly
less candy-colored variant of OS X, so any graphic treatments in your
UIs will look much more at home on both platforms....
--
Richard Gaskin
Fourth World Media Corporation
___________________________________________________________
Ambassador at FourthWorld.com http://www.FourthWorld.com
From b.xavier at internet.lu Tue Aug 2 00:57:53 2005
From: b.xavier at internet.lu (MisterX)
Date: Tue, 2 Aug 2005 06:57:53 +0200
Subject: While waiting for XP support....
In-Reply-To: <42EEF533.2050507@fourthworld.com>
Message-ID: <20050802044555.9B38482559B@mail.runrev.com>
true but...
many pc users dont like the extra gui candy because it slows
down things - or they go for a more compact gui theme...
The simple Win2000 gui works great and it is as simple as it
gets... Ugly? well maybe but not uglier than NeXTStep where it
came from...
I just entered a BZ for the missing menu line below the menu
when you create a menu in windows. It's not just the line,
but also the buttons placement too.
The problem is that after you've created your stack in xp
or win2K gui, you have to revisit and change all the controls
that are too close to each other, they look ok in win2K but not
in xp, same with tab-buttons across win and osx for example.
One solution would be to have the appearance manager in Rev
do it's job the way it's supposed to be... wouldn't that seem
like rev's solution to smooth GUI design across platforms in
the first place?
I just have a feeling that as Moft progresses, it's OS is
going to be ever more locked with $$ or DRM and security
holes (MS just still doesn't get it)... So this might boost
the acceptance of linux interfaces...
What then with the gui? GUI Themes are a weak spot imoho in
rev if this is not respected from within... Open a stack in
a themed OS and it probably wont grab the GUI patterns or
sizes... Or will it?
just my 2 cents... I dont mean to be negative, just viewing
the future through a dubious eye ;) For one, i can see right
now that my Windows program's scrollbars are just not the
same as revs windows...
cheers
Xavier
> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of
> Richard Gaskin
> Sent: Tuesday, August 02, 2005 06:23
> To: How to use Revolution
> Subject: While waiting for XP support....
>
> While we're still waiting for Rev to give the same level of
> support for XP niceties they've given to OS X, here's a
> glimpse of what's coming in
> 2006 (or 2007 or 2008 or whenever it actually ships): a
> whole site chock full o' articles and screen shots for Windows Vista:
>
>
>
> Good news for us developers: its appearance is very much like
> a slightly less candy-colored variant of OS X, so any graphic
> treatments in your UIs will look much more at home on both
> platforms....
>
> --
> Richard Gaskin
> Fourth World Media Corporation
> ___________________________________________________________
> Ambassador at FourthWorld.com http://www.FourthWorld.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
From ambassador at fourthworld.com Tue Aug 2 01:03:26 2005
From: ambassador at fourthworld.com (Richard Gaskin)
Date: Mon, 01 Aug 2005 22:03:26 -0700
Subject: While waiting for XP support....
In-Reply-To: <20050802044555.9B38482559B@mail.runrev.com>
References: <20050802044555.9B38482559B@mail.runrev.com>
Message-ID: <42EEFE9E.1000203@fourthworld.com>
MisterX wrote:
> The simple Win2000 gui works great and it is as simple as it
> gets... Ugly? well maybe but not uglier than NeXTStep where it
> came from...
Win2K came from NeXTStep?
> I just entered a BZ for the missing menu line below the menu
> when you create a menu in windows. It's not just the line,
> but also the buttons placement too.
>
> The problem is that after you've created your stack in xp
> or win2K gui, you have to revisit and change all the controls
> that are too close to each other, they look ok in win2K but not
> in xp, same with tab-buttons across win and osx for example.
What's the BZ#? I'll vote for it. I don't mind seeing OS X-specific
additions as long as Apple comes through on their end and co-markets or
does something else to return the favor, but Win-specific things are at
least as critical; in terms of marketshare, about an order of magnitude
more so.
> What then with the gui? GUI Themes are a weak spot imoho in
> rev if this is not respected from within... Open a stack in
> a themed OS and it probably wont grab the GUI patterns or
> sizes... Or will it?
In a chat several weeks ago Kevin mentioned some plans to do cool stuff
with Vista. That's nifty and all, but won't do a thing for my sales
for more than a year.
I sure would like to see Windows given the respect it deserves in terms
of appearance details....
--
Richard Gaskin
Managing Editor, revJournal
_______________________________________________________
Rev tips, tutorials and more: http://www.revJournal.com
From b.xavier at internet.lu Tue Aug 2 01:26:35 2005
From: b.xavier at internet.lu (MisterX)
Date: Tue, 2 Aug 2005 07:26:35 +0200
Subject: While waiting for XP support....
In-Reply-To: <42EEFE9E.1000203@fourthworld.com>
Message-ID: <20050802051436.D1273825382@mail.runrev.com>
Hi Richard,
Yep, Microsoft licensed the NS gui from Next for Windows 95...
If you wondered where that familiar look came from ;)
The BZ is 3039... Thanks for the vote!
cheers
Xavier
> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of
> Richard Gaskin
> Sent: Tuesday, August 02, 2005 07:03
> To: How to use Revolution
> Subject: Re: While waiting for XP support....
>
> MisterX wrote:
> > The simple Win2000 gui works great and it is as simple as
> it gets...
> > Ugly? well maybe but not uglier than NeXTStep where it came from...
>
> Win2K came from NeXTStep?
>
> > I just entered a BZ for the missing menu line below the
> menu when you
> > create a menu in windows. It's not just the line, but also
> the buttons
> > placement too.
> >
> > The problem is that after you've created your stack in xp or win2K
> > gui, you have to revisit and change all the controls that are too
> > close to each other, they look ok in win2K but not in xp, same with
> > tab-buttons across win and osx for example.
>
> What's the BZ#? I'll vote for it. I don't mind seeing OS
> X-specific additions as long as Apple comes through on their
> end and co-markets or does something else to return the
> favor, but Win-specific things are at least as critical; in
> terms of marketshare, about an order of magnitude more so.
>
> > What then with the gui? GUI Themes are a weak spot imoho in rev if
> > this is not respected from within... Open a stack in a
> themed OS and
> > it probably wont grab the GUI patterns or sizes... Or will it?
>
> In a chat several weeks ago Kevin mentioned some plans to do
> cool stuff
> with Vista. That's nifty and all, but won't do a thing for
> my sales
> for more than a year.
>
> I sure would like to see Windows given the respect it
> deserves in terms of appearance details....
>
> --
> Richard Gaskin
> Managing Editor, revJournal
> _______________________________________________________
> Rev tips, tutorials and more: http://www.revJournal.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
From mwieder at ahsoftware.net Tue Aug 2 02:37:43 2005
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Mon, 1 Aug 2005 23:37:43 -0700
Subject: global problems
In-Reply-To: <81b3cd49a2df494c7f1b73dacbd4ee4a@qldlearning.com>
References: <20050801194657.16C6E825579@mail.runrev.com>
<86972dff310fdd3b42c2f31faa0ae8d9@interisland.net>
<15528990786.20050801183530@ahsoftware.net>
<81b3cd49a2df494c7f1b73dacbd4ee4a@qldlearning.com>
Message-ID: <19947124571.20050801233743@ahsoftware.net>
Brian-
Monday, August 1, 2005, 6:56:19 PM, you wrote:
> For me, the rationale is simple: globals are the ONLY way to have data
> which is _not_ stack specific. As such, closing or modifying a stack
> should never delete global data.
I still don't get this. Can you give me an example of something you'd
declare as a global and *want* it to stick around when the stack that
declared it is closed?
> Perhaps what you're really looking for is a stack-level local variable?
no... I declare globals sometimes thinking I'll need them for
cross-stack variables, then usually rethink things and can do without
them. But then they're still in memory causing trouble.
> I'm thinking the seeming oddity of the situation has something to do
> with the loose restrictions on declarations in xTalk, and the runtime
> nature. In other languages, if you removed all references to a global
> and recompiled, of course it would disappear...?
...which is what I expected to happen here... my bad.
Here's a problem scenario as a gedanken-experiment:
Open stack A
stack A has the global gXYZ
*and* puts a value into gXYZ
finish working with stack A, close and remove from memory
Open stack B
stack B also declared global gXYZ
now stack B is open and has a value in gXYZ
but never initializes it
exit the IDE
Relaunch the IDE
Open stack B
now stack B has no value in gXYZ
and some functions fail that rely on gXYZ
--
-Mark Wieder
mwieder at ahsoftware.net
From mwieder at ahsoftware.net Tue Aug 2 02:42:59 2005
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Mon, 1 Aug 2005 23:42:59 -0700
Subject: global problems
In-Reply-To: <42EED079.4000701@chipp.com>
References: <20050801194657.16C6E825579@mail.runrev.com>
<86972dff310fdd3b42c2f31faa0ae8d9@interisland.net>
<15528990786.20050801183530@ahsoftware.net>
<42EED079.4000701@chipp.com>
Message-ID: <3547440295.20050801234259@ahsoftware.net>
Chipp-
Monday, August 1, 2005, 6:46:33 PM, you wrote:
> Yep, I think you are missing something VERY basic.
> Globals are just that, they exist forever until you explicitly delete
> them. That's how they've always worked in all Xtalks I've ever used.
> You of course have a choice whether to use them or not. I, enjoy using
> them as I find they have many 'upsides' versus custom properties (I use
> them too). I especially like the fact they don't persist between
> application launches.
And I still can't imagine a scenario in which you would want a global
left over from a previous stack *only for that session*. I'll warrant
that I may still be missing something VERY basic, but it still makes
no sense to me.
> Of course, if like others, you smartly name your globals with a 'g'
> prefix, you will never have the 'collision' problem you describe, as
> like-named locals can also be prefixed with 'l'.
...normally I do use a 'g' prefix, but then my use of globals
is almost always an act of desperation or as something quick and dirty
and later refactoring usually eliminates them.
--
-Mark Wieder
mwieder at ahsoftware.net
From pixelbird at interisland.net Tue Aug 2 02:47:07 2005
From: pixelbird at interisland.net (Ken Norris)
Date: Mon, 1 Aug 2005 23:47:07 -0700
Subject: global problems
In-Reply-To: <20050802045255.AB85D825677@mail.runrev.com>
References: <20050802045255.AB85D825677@mail.runrev.com>
Message-ID: <81a21efbae907587098a77f76c69747c@interisland.net>
On Aug 1, 2005, at 9:52 PM, use-revolution-request at lists.runrev.com
wrote:
> Date: Mon, 1 Aug 2005 18:35:30 -0700
> From: Mark Wieder
> Subject: Re: global problems
>
> Ken-
>
> Monday, August 1, 2005, 5:47:01 PM, you wrote:
>
(snip)
>
>> Globals are for what they say they are. A global declared during
>> runtime _should_ be available in any open stack. Why would you want
>> to
>> get rid of it, i.e., that's what they're for. Unless you want to do a
>> one-time setup to initialize multiple stacks, then destroy it. Of
>> course you could do the same thing with custom props, but it would be
>> more awkward.
>
> Maybe I'm missing something about globals here, but since you have to
> reference a global explicitly in a script in order to use it, I don't
> see why the global should persist if the stack that declared it is
> removed from memory.
Because you might have a _system_ of stacks which use the same global
>
> In other words, if I'm foolish enough to declare a "global x" in a
> piece of test code, why should that continue to haunt me when I dump
> my test stack and then open a completely different stack that happens
> to have a "local x" declaration in it? Am I missing something basic?
Maybe. It has to do with where the engine is.
When you are developing, the Rev application is open. It has the MC
engine, and it retains the globals.
But if you develop a system of stacks for a built application,
similarly, your main stack has the engine and retains the globals,
which is normally precisely what you want. That's why you declare
globals.
IOW, any script running under the same engine, regardless of which
stack, can declare and operate on the same globals until the
application is closed. AFAIK, all xTalks work this way.
For example, if you develop an built application GUI front end for an
integrated system of stacks, you may very well want to change its
settings, yet be consistent throughout all the stacks in that
application. One easy way to do that is to declare globals.
When you close the app, i.e., the main stack, which has the engine,
closes, and "poof", the globals are gone. Really gone. Opening Rev or
any other Rev-built application will not respond to globals declared in
the application just closed in this example.
But, to reiterate for clarity, if you are _developing_ in Rev, it has
the engine, your 'Main' stack doesn't (until you build). Therefore,
globals you declare while Rev is running will remain, can be called
from _any_ script in _any_ stack running in the IDE.
At the risk of repeating myself, again, you just need to be aware of
how it works, that's all. Whatever Rev thing is running retains the
globals declared within it until it is closed.
I hope that sheds a little light on it.
All the best,
Ken N.
From xbury.cs at clearstream.com Tue Aug 2 02:48:56 2005
From: xbury.cs at clearstream.com (xbury.cs at clearstream.com)
Date: Tue, 2 Aug 2005 08:48:56 +0200
Subject: global problems
In-Reply-To: <19947124571.20050801233743@ahsoftware.net>
Message-ID:
Mark,
globals are best used as "environment" variables. Not as persistent
storage.
Your example shows that if stack b opens and fails to work with a global,
you
didn't set a pre-requisite (nor a check) for xyz's conformity... that's
asking for
trouble.
If stack B had this check, it could then as stack A to fill in xyz to
later use it.
In another case, if you close stack A and delete xyz without cheking if
another stack
could still use it, implies a fault in the logic of the program...
So one solution in this case, would be to tell stack B to look into a
custom property
which stack A could preset for stack B before close.
Seems like a shoot-yourself-in-your-own foot script to me ;)
> no... I declare globals sometimes thinking I'll need them for
> cross-stack variables, then usually rethink things and can do without
> them. But then they're still in memory causing trouble.
I've used dozens of globals in XOS for 15 years without ONE problem...
creating them on the fly, closing stacks, etc... but one thing i do always
is to check first for existence and validity... with that, you've got
yourself a lifesaver for every occasion... And if i open a stack that
requires a specific global, it checks first to make sure that it is
properly initialized or that it knows how to initialize it or to call
the stack that will.
programming is a process...
cheers
Xavier
use-revolution-bounces at lists.runrev.com wrote on 02/08/2005 08:37:43:
> Brian-
>
> Monday, August 1, 2005, 6:56:19 PM, you wrote:
>
> > For me, the rationale is simple: globals are the ONLY way to have data
> > which is _not_ stack specific. As such, closing or modifying a stack
> > should never delete global data.
>
> I still don't get this. Can you give me an example of something you'd
> declare as a global and *want* it to stick around when the stack that
> declared it is closed?
>
> > Perhaps what you're really looking for is a stack-level local
variable?
>
> no... I declare globals sometimes thinking I'll need them for
> cross-stack variables, then usually rethink things and can do without
> them. But then they're still in memory causing trouble.
>
> > I'm thinking the seeming oddity of the situation has something to do
> > with the loose restrictions on declarations in xTalk, and the runtime
> > nature. In other languages, if you removed all references to a global
> > and recompiled, of course it would disappear...?
>
> ...which is what I expected to happen here... my bad.
>
> Here's a problem scenario as a gedanken-experiment:
>
> Open stack A
> stack A has the global gXYZ
> *and* puts a value into gXYZ
> finish working with stack A, close and remove from memory
>
> Open stack B
> stack B also declared global gXYZ
> now stack B is open and has a value in gXYZ
> but never initializes it
> exit the IDE
>
> Relaunch the IDE
> Open stack B
> now stack B has no value in gXYZ
> and some functions fail that rely on gXYZ
>
> --
> -Mark Wieder
> mwieder at ahsoftware.net
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
-----------------------------------------
Visit us at http://www.clearstream.com
IMPORTANT MESSAGE
Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents of
this message.
The information contained in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee. If you are
not the intended recipient, any disclosure, copying, distribution or
any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically
states them to be the views of Clearstream International or of any of
its affiliates or subsidiaries.
END OF DISCLAIMER
From chipp at chipp.com Tue Aug 2 03:07:24 2005
From: chipp at chipp.com (Chipp Walters)
Date: Tue, 02 Aug 2005 02:07:24 -0500
Subject: global problems
In-Reply-To: <3547440295.20050801234259@ahsoftware.net>
References: <20050801194657.16C6E825579@mail.runrev.com> <86972dff310fdd3b42c2f31faa0ae8d9@interisland.net> <15528990786.20050801183530@ahsoftware.net> <42EED079.4000701@chipp.com>
<3547440295.20050801234259@ahsoftware.net>
Message-ID: <42EF1BAC.1040004@chipp.com>
Sure,
here's a good example of exactly what you're talking about.
I have a splashscreen stack which manages updates via my own MagicCarpet
Auto-update application architecture. It creates a global from a
download URL prefs file for the domain where the stack and all the
plugins reside, then downloads the main stack updates, etc. then closes
itself. The 'main' stack now uses the same global to download the plugin
stacks. Since there is no reference from to the splashscreen stack (it's
closed) the global works just great!
Locals can have problems too. If you use script locals (locals declared
outside a handler at the script level), and edit the script, the local
will disappear the next time the script is run. I have a 'checkLocals'
handler in my scripts for just that occasion. If it sees locals aren't
declared, it reinitializes them. Though, I never expect to see a problem
in runtime, it sure helps debugging during development.
Mark, I believe it's a matter of programming style. Many of us that use
globals, understand their benefits and work with them to that advantage.
IMO, your arguments against them seem to be primarily style-oriented and
probably a function of your experience and prevailing disposition to
more strictly typed languages. For those of us who've been programming
Xtalks for umpteen years, they're second nature.
best,
Chipp
Mark Wieder wrote:
> And I still can't imagine a scenario in which you would want a global
> left over from a previous stack *only for that session*. I'll warrant
> that I may still be missing something VERY basic, but it still makes
> no sense to me.
From joel.guillod at net2000.ch Tue Aug 2 03:20:33 2005
From: joel.guillod at net2000.ch (Joel Guillod)
Date: Tue, 2 Aug 2005 09:20:33 +0200
Subject: Revolution filepath to Applescript file: how to?
In-Reply-To: <20050802045256.309F8825682@mail.runrev.com>
References: <20050802045256.309F8825682@mail.runrev.com>
Message-ID: <4E7A7121-0709-463C-BB3B-2AECE5670F0C@net2000.ch>
I am looking for a script to convert a filepath to an Applescript
file statement. For example:
"/Users/toto/Desktop/Image 6.png" => file "Image 6.png" in the
folder "Desktop" in home
My current version is as below but it does not deal with files
outside the /Users directory. Who can help me?
function Applescript_filepathFor pFile
set the itemdel to "/"
if offset($HOME,pFile) is 1 then
if there is a file pFile then put "file" && q(last item of
pFile) into r
else put "folder" && q(last item of pFile) into r
delete char 1 to len($HOME) of pFile
repeat with i=the num of items in pFile -1 down to 2 -- 2
because first item is empty ("/...").
put " in the folder" && q(item i of pFile) after r
end repeat
return r && "in home"
else throw "ERROR: I DONT KNOW HOW TO CONVERT:" && PARAMS()
end Applescript_filepathFor
Thanks, jg
From psahores at easynet.fr Tue Aug 2 03:29:16 2005
From: psahores at easynet.fr (Pierre Sahores)
Date: Tue, 2 Aug 2005 09:29:16 +0200
Subject: Objet : [OT] Software Carpentry
References:
Message-ID: <7E73E34A-3F4E-4EDD-BFB6-1D273617BBC9@easynet.fr>
Hello All,
> Major advances in programming come when languages start offering
> support for things the best programmers are doing anyway
> For loops and if/then/else formalized what good Fortran programmers
> were already doing
> Objects formalized the way good C, Pascal, and Lisp programmers
> managed their data structures and functions
> Java deserves credit for bringing two previously-esoteric practices
> into the mainstream
> Garbage collection: the computer recycles memory as it needs to
> Reflection: programs can inspect themselves at runtime
> Reflection simplifies the construction of large software systems
> Most big applications are now frameworks that load plug-in
> components dynamically
> A little extra effort?
> ?but it forces programmers to really, truly modularize their code?
> ?which also reduces maintenance and customization costs
> Watching programs run is an essential part of the software
> development process
> Which parts of my code can be thrown away?
> Which parts am I actually testing?
> Which parts of their work are my colleagues actually testing?
> Why is my program so slow?
> Modern computer systems are so complex that it's practically
> impossible to figure this out from first principles
> So write the code, profile, and then start tuning
Very elegant analysis, isn't it..., execept one detail, unfortunally,
bad knowed by the author : SmallTalk and Hypercard have to get the
credits he is giving to Java. Java is mainly getting its main design,
features and caracteristics from inside the SQL paradigm... And even
if SQL can be seen as the most powerfull specialised XTalk dedicated
to databases querying, in about general programming tasks, SQL
would'nt be usefull... Java try to be... XTalks (Metacard, Rev,
Supercard,..) are, pratically, doing what the author expect to get
from J2EE ;-)
Best,
--
pierre
From ambassador at fourthworld.com Tue Aug 2 03:30:40 2005
From: ambassador at fourthworld.com (Richard Gaskin)
Date: Tue, 02 Aug 2005 00:30:40 -0700
Subject: global problems
In-Reply-To: <81a21efbae907587098a77f76c69747c@interisland.net>
References: <20050802045255.AB85D825677@mail.runrev.com>
<81a21efbae907587098a77f76c69747c@interisland.net>
Message-ID: <42EF2120.9060003@fourthworld.com>
Ken Norris wrote:
> At the risk of repeating myself, again, you just need to be aware of how
> it works, that's all. Whatever Rev thing is running retains the globals
> declared within it until it is closed.
This convention was established in 1987 by the inventors of the root
dialect, HyperTalk. Given its longevity and consistent implementation
among all xTalk dialects, it isn't likely to change.
If it's causing problems in a specific situation you'll likely get to a
solutution faster and with less effort by looking at other ways of
solving that problem than to expect Transcript to change this basic
behavior of global variables.
As Chipp noted, one solution that's free is adopting naming conventions
to minimize risk of overlapping names. Most of the books I've read on
C, Pascal, and other languages encourage the use of a lower-case "g" to
denote globals. They might have something there.
--
Richard Gaskin
Managing Editor, revJournal
_______________________________________________________
Rev tips, tutorials and more: http://www.revJournal.com
From xbury.cs at clearstream.com Tue Aug 2 03:38:36 2005
From: xbury.cs at clearstream.com (xbury.cs at clearstream.com)
Date: Tue, 2 Aug 2005 09:38:36 +0200
Subject: Objet : [OT] Software Carpentry
In-Reply-To: <7E73E34A-3F4E-4EDD-BFB6-1D273617BBC9@easynet.fr>
Message-ID:
Nice Pierre
> Java try to be... XTalks (Metacard, Rev,
> Supercard,..) are, pratically, doing what the author expect to get
> from J2EE ;-)
Except for one small detail... threading... ;)
XB
-----------------------------------------
Visit us at http://www.clearstream.com
IMPORTANT MESSAGE
Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents of
this message.
The information contained in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee. If you are
not the intended recipient, any disclosure, copying, distribution or
any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically
states them to be the views of Clearstream International or of any of
its affiliates or subsidiaries.
END OF DISCLAIMER
From FlexibleLearning at aol.com Tue Aug 2 05:38:44 2005
From: FlexibleLearning at aol.com (FlexibleLearning at aol.com)
Date: Tue, 2 Aug 2005 05:38:44 EDT
Subject: [alt] While waiting for XP support....
Message-ID: <1fa.db544c5.30209924@aol.com>
For an alternative take on Vista (aka Longhorn, the upcoming Win OS) see
http://babbleblog.tutv.co.uk/item/541
/H
Richard wrote:
While we're still waiting for Rev to give the same level of support for
XP niceties they've given to OS X, here's a glimpse of what's coming in
2006 (or 2007 or 2008 or whenever it actually ships): a whole site
chock full o' articles and screen shots for Windows Vista:
Good news for us developers: its appearance is very much like a slightly
less candy-colored variant of OS X, so any graphic treatments in your
UIs will look much more at home on both platforms....
From tkuypers at pandora.be Tue Aug 2 06:54:38 2005
From: tkuypers at pandora.be (Ton Kuypers)
Date: Tue, 2 Aug 2005 12:54:38 +0200
Subject: OS9 standalone builder problem
Message-ID: <18FAF88C-1CF1-4FE2-BCE5-E7D4BEEE50B4@pandora.be>
Last OS9 problem for this project (I hope...)
I have a stack located on my desktop of my OS9 Mac with the name
"OTS.REV"
When I try to create a standalone, RR asks me to save the stack (and
all substacks).
When I click on OK I get the error "Can't save stack "OTS" due to an
error. Can't open stack backup file. Check the file path, and that
the filename is not to long."
No problem on Mac OSX, only OS9 and I just can't figure out what goes
wrong.
I also cannot create the standalone on OS-X, because when I do this,
the application won't properly launch when run on OS9 :-(
It seems that there are a lot of bugs when developing in 2.6 on OS-X
and then trying to deploy for OS9 using the 2.5 version of RR...
Anyone any suggestions?
Warm regards,
Ton Kuypers
Digital Media Partners bvba
Tel. +32 (0)477 / 739 530
Fax +32 (0)14 / 71 03 04
http://www.dmp-int.com
From jbondy at sover.net Tue Aug 2 08:01:33 2005
From: jbondy at sover.net (Jon)
Date: Tue, 02 Aug 2005 08:01:33 -0400
Subject: global problems
In-Reply-To: <81b3cd49a2df494c7f1b73dacbd4ee4a@qldlearning.com>
References: <20050801194657.16C6E825579@mail.runrev.com> <86972dff310fdd3b42c2f31faa0ae8d9@interisland.net> <15528990786.20050801183530@ahsoftware.net>
<81b3cd49a2df494c7f1b73dacbd4ee4a@qldlearning.com>
Message-ID: <42EF609D.8040506@sover.net>
"In other languages, if you removed all references to a global and
recompiled, of course it would disappear...? "
Exactly! This is SO counterintuitive, no matter how useful it might be
I NEVER would have even considered that the language might behave in
this way. Another issue for the Intro For Newbies?
:)
Jon
Brian Yennie wrote:
> Global properties do!
>
> For me, the rationale is simple: globals are the ONLY way to have data
> which is _not_ stack specific. As such, closing or modifying a stack
> should never delete global data.
>
> Perhaps what you're really looking for is a stack-level local variable?
>
> I'm thinking the seeming oddity of the situation has something to do
> with the loose restrictions on declarations in xTalk, and the runtime
> nature. In other languages, if you removed all references to a global
> and recompiled, of course it would disappear...?
>
>> Right... well, the point I was trying to make is that there's
>> *nothing* else that has this persistence. Maybe I chose a bad example.
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
From xbury.cs at clearstream.com Tue Aug 2 08:04:58 2005
From: xbury.cs at clearstream.com (xbury.cs at clearstream.com)
Date: Tue, 2 Aug 2005 14:04:58 +0200
Subject: global problems
In-Reply-To: <42EF609D.8040506@sover.net>
Message-ID:
it's not different. The global is persistent until you delete it.
So if you delete your global and rerun your script (as you would recompile
in other langs),
the global wont show up again.
I thought i had demonstrated that with my script in the little mail
following the question yesterday...
cheers
Xavier
use-revolution-bounces at lists.runrev.com wrote on 02/08/2005 14:01:33:
> "In other languages, if you removed all references to a global and
> recompiled, of course it would disappear...? "
>
> Exactly! This is SO counterintuitive, no matter how useful it might be
> I NEVER would have even considered that the language might behave in
> this way. Another issue for the Intro For Newbies?
>
> :)
>
> Jon
>
>
> Brian Yennie wrote:
>
> > Global properties do!
> >
> > For me, the rationale is simple: globals are the ONLY way to have data
> > which is _not_ stack specific. As such, closing or modifying a stack
> > should never delete global data.
> >
> > Perhaps what you're really looking for is a stack-level local
variable?
> >
> > I'm thinking the seeming oddity of the situation has something to do
> > with the loose restrictions on declarations in xTalk, and the runtime
> > nature. In other languages, if you removed all references to a global
> > and recompiled, of course it would disappear...?
> >
> >> Right... well, the point I was trying to make is that there's
> >> *nothing* else that has this persistence. Maybe I chose a bad
example.
> >
> >
> > _______________________________________________
> > use-revolution mailing list
> > use-revolution at 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
-----------------------------------------
Visit us at http://www.clearstream.com
IMPORTANT MESSAGE
Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents of
this message.
The information contained in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee. If you are
not the intended recipient, any disclosure, copying, distribution or
any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically
states them to be the views of Clearstream International or of any of
its affiliates or subsidiaries.
END OF DISCLAIMER
From capellan2000 at yahoo.com Tue Aug 2 08:27:59 2005
From: capellan2000 at yahoo.com (Alejandro Tejada)
Date: Tue, 2 Aug 2005 05:27:59 -0700 (PDT)
Subject: ANN Full justification
In-Reply-To: <20050802045255.E2056825680@mail.runrev.com>
Message-ID: <20050802122759.72602.qmail@web40509.mail.yahoo.com>
Hi Jim,
This handler works great! :-)
I noticed that you included two
justify buttons.
In the second button, this line
seems to hang my development environment:
put char tNum-10 to tNum of tOrig into tChars
Why does this happen?
Thanks a lot for sharing this handler! :-)
al
on Mon, 1 Aug 2005 1
Jim Hurley wrote:
> I have a stack which appears to work with all (?)
> fonts and all (?) sizes.
> Haven't tested every font or every size.
> This stack presumes that the formatted width of the
> space character,
> with a point size of 3, will be 1 unit. (In some
> oddball fonts the
> point size needs to be set to a point size of 2.)
> I am working on a plugin to do the same.
Visit my site:
http://www.geocities.com/capellan2000/
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
From cmsheffield at gmail.com Mon Aug 1 17:07:08 2005
From: cmsheffield at gmail.com (Chris Sheffield)
Date: Mon, 1 Aug 2005 15:07:08 -0600
Subject: update on "Weird OS9 runtime problem->losing database
connection"
In-Reply-To: <34D869F0-B5DF-4D76-9239-6BEB06805D58@pandora.be>
References: <34D869F0-B5DF-4D76-9239-6BEB06805D58@pandora.be>
Message-ID:
Another thought I had, and maybe this is the obvious, but have you
double checked to make sure all your variables are declared where
they need to be? You mentioned that the code that connects to the
database and the code that retrieves data are in separate locations.
So do you connect to the database and then save the connection ID
into a global variable? And is that global declared in all your
scripts that use it? I know I may be grasping at straws here. And
it seems weird that everything would work on all other platforms...
I'm kind of out of ideas at this point. Sorry.
Chris
On Aug 1, 2005, at 2:26 PM, Ton Kuypers wrote:
> Strangeeeeeeeee...
>
> I now have copied all scripts used to connect to a database and
> retrieve some information into one window. They are all started
> when needed but then ik seems to work.
> The only thing now is that it takes WAY TO LONG to access the
> database, because when doing it like this, I need to open a
> connection to the database for each call...
>
> Keep them suggestions coming, as it looks I will be here all night
> long :-(((
>
> Ton
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
------------------------------------------
Chris Sheffield
Read Naturally
The Fluency Company
http://www.readnaturally.com
------------------------------------------
From jacque at hyperactivesw.com Tue Aug 2 10:45:34 2005
From: jacque at hyperactivesw.com (J. Landman Gay)
Date: Tue, 02 Aug 2005 09:45:34 -0500
Subject: please help with "on playStopped"
In-Reply-To:
References:
Message-ID: <42EF870E.7080702@hyperactivesw.com>
Ban Nguyen wrote:
> Hello everyone,
>
>
> I have a list of songs (scrolling list field "list"):
>
> I put this script so when user select a song, then start the player
>
> on selectionchanged
> set the fileName of player "myPlayer" to the selectedtext of field
> "list"
> start player "myPlayer"
> end selectionchanged
>
>
> I put this script into the player object "myPlayer" because I want the
> next songs continue to play:
>
> on PlayStopped
> local thisLine
> put the hilitedLines of field "list" into thisLine --current line
> set the hilitedLines of field "list" to (thisLine+1) --next line
> set the fileName of player "myPlayer" to the selectedtext of field
> "list"
> start player "myPlayer"
> end PlayStopped
>
>
>
> For some reason, it does not work right. What it does is playing the
> first song. After the first song done, it selects the second song (no
> playing), then selects the third song and plays. I open the property of
> player object and see in the source shows "the second song"
>
>
> Could someone please help? The code looks right to me but I don't know
> if I am missing anything.
Try putting a "lock messages" before you set the hilitedline in
PlayStopped. I think setting the hilitedline is also causing a
"selectionchanged" message to be sent, so the script changes the
selection twice.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
From david at openpartnership.net Tue Aug 2 10:54:11 2005
From: david at openpartnership.net (david bovill)
Date: Tue, 2 Aug 2005 16:54:11 +0200
Subject: Spotlight indexing: feature request proposal
In-Reply-To: <3B68887D-C186-445D-B6ED-2E9C1D925026@mangomultimedia.com>
References:
<811344C4-0A97-47FE-BBFB-A2DCEB1D3045@openpartnership.net>
<3B68887D-C186-445D-B6ED-2E9C1D925026@mangomultimedia.com>
Message-ID:
Thanks - trying out your fab external now...
On 1 Aug 2005, at 22:17, Trevor DeVore wrote:
> You can also use the EnhancedQT external to set and get movie
> annotations (qtSetMovieAnnotation and qtGetMovieAnnotation) but you
> have to do a save as to save the movie after wards since Rev
> doesn't allow you to open a QuickTime movie and then save it.
So you mean use your "qtSave" function after editing? Also need to
look into being able to author subtitle support for MPEG4 and
Teletext for cable broadcast... any links appreciated.
From david at openpartnership.net Tue Aug 2 10:56:26 2005
From: david at openpartnership.net (david bovill)
Date: Tue, 2 Aug 2005 16:56:26 +0200
Subject: Turtle Graphics
In-Reply-To:
References: <20050801194657.2918582557A@mail.runrev.com>
Message-ID: <788437C6-D123-4FE9-A853-375434A99DCC@openpartnership.net>
> With that notation, I would have guessed you were a C developer :).
Just copied the notation from the web - wish I could - don't have the
patience!
From david at openpartnership.net Tue Aug 2 11:00:58 2005
From: david at openpartnership.net (david bovill)
Date: Tue, 2 Aug 2005 17:00:58 +0200
Subject: Using Rev as a (PGP) Package installer
In-Reply-To: <42EF870E.7080702@hyperactivesw.com>
References:
<42EF870E.7080702@hyperactivesw.com>
Message-ID:
Never tried this, but have always wandered whether the ability to
store binary data as a custom property could be used for a nice
advanced easy binary package installation?
What's the best way of providing a Rev based interface to make it
easy to install packages such as openPGP? FTP and shell?
From jacque at hyperactivesw.com Tue Aug 2 11:07:41 2005
From: jacque at hyperactivesw.com (J. Landman Gay)
Date: Tue, 02 Aug 2005 10:07:41 -0500
Subject: global problems
In-Reply-To: <3547440295.20050801234259@ahsoftware.net>
References: <20050801194657.16C6E825579@mail.runrev.com> <86972dff310fdd3b42c2f31faa0ae8d9@interisland.net> <15528990786.20050801183530@ahsoftware.net> <42EED079.4000701@chipp.com>
<3547440295.20050801234259@ahsoftware.net>
Message-ID: <42EF8C3D.2010207@hyperactivesw.com>
Mark Wieder wrote:
> And I still can't imagine a scenario in which you would want a global
> left over from a previous stack *only for that session*. I'll warrant
> that I may still be missing something VERY basic, but it still makes
> no sense to me.
Globals are necessary when one has a suite of stacks that must interact
as a unit. One very common example is a "find" handler. Assume a number
of data stacks, each a clone of the others. A handler asks what you want
to find and puts that string into a global. The next time the user wants
to find something, you can use the same string to allow a persistent
search across many stacks.
If you are using only a single stack then a global may not be necessary,
since you could manage the variable within the stack itself. But if you
are distributing your stacks with Player or for use within the IDE, you
can't do that. You need a global.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
From mwieder at ahsoftware.net Tue Aug 2 11:30:33 2005
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Tue, 2 Aug 2005 08:30:33 -0700
Subject: global problems
In-Reply-To: <42EF1BAC.1040004@chipp.com>
References: <20050801194657.16C6E825579@mail.runrev.com>
<86972dff310fdd3b42c2f31faa0ae8d9@interisland.net>
<15528990786.20050801183530@ahsoftware.net>
<42EED079.4000701@chipp.com>
<3547440295.20050801234259@ahsoftware.net> <42EF1BAC.1040004@chipp.com>
Message-ID: <1731138467.20050802083033@ahsoftware.net>
Chipp-
Tuesday, August 2, 2005, 12:07:24 AM, you wrote:
> I have a splashscreen stack which manages updates via my own MagicCarpet
> Auto-update application architecture. It creates a global from a
> download URL prefs file for the domain where the stack and all the
> plugins reside, then downloads the main stack updates, etc. then closes
> itself. The 'main' stack now uses the same global to download the plugin
> stacks. Since there is no reference from to the splashscreen stack (it's
> closed) the global works just great!
Thanks. That does make sense to me, although I'm sure I would have
taken a different approach to solving the problem. At any rate, that's
what I was looking for.
> Mark, I believe it's a matter of programming style. Many of us that use
Point taken.
--
-Mark Wieder
mwieder at ahsoftware.net
From mwieder at ahsoftware.net Tue Aug 2 11:35:44 2005
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Tue, 2 Aug 2005 08:35:44 -0700
Subject: global problems
In-Reply-To:
References:
Message-ID: <581449544.20050802083544@ahsoftware.net>
xbury-
Monday, August 1, 2005, 11:48:56 PM, you wrote:
> Seems like a shoot-yourself-in-your-own foot script to me ;)
It is indeed. I'm quite aware of how to get in trouble using globals
. What I was looking for was an example of why semi-persistent
globals (sticky only during the current session when the stack that
initialized them is closed) are a Good Idea.
--
-Mark Wieder
mwieder at ahsoftware.net
From bann at sunncomm.com Tue Aug 2 11:38:45 2005
From: bann at sunncomm.com (Ban Nguyen)
Date: Tue, 2 Aug 2005 08:38:45 -0700
Subject: please help with "on playStopped"
Message-ID:
Thanks Jacqueline. That solved the problem.
---------------------------------------------------------------------
> Hello everyone,
>
>
> I have a list of songs (scrolling list field "list"):
>
> I put this script so when user select a song, then start the player
>
> on selectionchanged
> set the fileName of player "myPlayer" to the selectedtext of field
> "list"
> start player "myPlayer"
> end selectionchanged
>
>
> I put this script into the player object "myPlayer" because I want the
> next songs continue to play:
>
> on PlayStopped
> local thisLine
> put the hilitedLines of field "list" into thisLine --current line
> set the hilitedLines of field "list" to (thisLine+1) --next line
> set the fileName of player "myPlayer" to the selectedtext of field
> "list"
> start player "myPlayer"
> end PlayStopped
>
>
>
> For some reason, it does not work right. What it does is playing the
> first song. After the first song done, it selects the second song (no
> playing), then selects the third song and plays. I open the property
of
> player object and see in the source shows "the second song"
>
>
> Could someone please help? The code looks right to me but I don't
know
> if I am missing anything.
Try putting a "lock messages" before you set the hilitedline in
PlayStopped. I think setting the hilitedline is also causing a
"selectionchanged" message to be sent, so the script changes the
selection twice.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
From kray at sonsothunder.com Tue Aug 2 11:47:57 2005
From: kray at sonsothunder.com (Ken Ray)
Date: Tue, 02 Aug 2005 10:47:57 -0500
Subject: Revolution filepath to Applescript file: how to?
In-Reply-To: <4E7A7121-0709-463C-BB3B-2AECE5670F0C@net2000.ch>
Message-ID:
On 8/2/05 2:20 AM, "Joel Guillod" wrote:
> I am looking for a script to convert a filepath to an Applescript
> file statement. For example:
> "/Users/toto/Desktop/Image 6.png" => file "Image 6.png" in the
> folder "Desktop" in home
Joel, have you considered converting to a ":"-delimited path for use with
AppleScript? For example, your path above, if it was on a hard drive called
"Main HD" would be:
file "Main HD:Users:toto:Desktop:Image 6.png"
and AppleScript can use that just as easily. If colon-delimited will work
for you, let me know and I'll post my conversion routine.
Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com
From alex at tweedly.net Tue Aug 2 12:04:19 2005
From: alex at tweedly.net (Alex Tweedly)
Date: Tue, 02 Aug 2005 17:04:19 +0100
Subject: Objet : [OT] Software Carpentry
In-Reply-To: <7E73E34A-3F4E-4EDD-BFB6-1D273617BBC9@easynet.fr>
References:
<7E73E34A-3F4E-4EDD-BFB6-1D273617BBC9@easynet.fr>
Message-ID: <42EF9983.4000908@tweedly.net>
Pierre Sahores wrote:
> Hello All,
>
>> Major advances in programming come when languages start offering
>> support for things the best programmers are doing anyway
>> For loops and if/then/else formalized what good Fortran programmers
>> were already doing
>> Objects formalized the way good C, Pascal, and Lisp programmers
>> managed their data structures and functions
>> Java deserves credit for bringing two previously-esoteric practices
>> into the mainstream
>> Garbage collection: the computer recycles memory as it needs to
>> Reflection: programs can inspect themselves at runtime
>> Reflection simplifies the construction of large software systems
>> Most big applications are now frameworks that load plug-in
>> components dynamically
>> A little extra effort?
>> ?but it forces programmers to really, truly modularize their code?
>> ?which also reduces maintenance and customization costs
>> Watching programs run is an essential part of the software
>> development process
>> Which parts of my code can be thrown away?
>> Which parts am I actually testing?
>> Which parts of their work are my colleagues actually testing?
>> Why is my program so slow?
>> Modern computer systems are so complex that it's practically
>> impossible to figure this out from first principles
>> So write the code, profile, and then start tuning
>
>
> Very elegant analysis, isn't it..., execept one detail, unfortunally,
> bad knowed by the author : SmallTalk and Hypercard have to get the
> credits he is giving to Java.
I don't agree. He didn't say Java invented those features, he said that
Java gets credit "for bringing them to the mainstream". I think it's
quite reasonable to say that Smalltalk and Hypercard were outside the
mainstream.
And if it was about when the features were invented, LISP predates
either Smalltalk and Hypercard.
--
Alex Tweedly http://www.tweedly.net
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.9.6/59 - Release Date: 27/07/2005
From irog at mac.com Tue Aug 2 12:28:32 2005
From: irog at mac.com (Roger Guay)
Date: Tue, 2 Aug 2005 10:28:32 -0600
Subject: A Couple of Simple Physics Simulations
Message-ID: <0FDE8DBC-3961-4AD9-8AC2-CAEFCB7ECC95@mac.com>
Hello all,
I just uploaded a couple of simple Physics Simulations to the User
Spaces. It's entitled Physics Stuff, and you can find it in the
Education Category or by my name RogerG.
Cheers, Roger
From lists at mangomultimedia.com Tue Aug 2 12:37:30 2005
From: lists at mangomultimedia.com (Trevor DeVore)
Date: Tue, 2 Aug 2005 09:37:30 -0700
Subject: Spotlight indexing: feature request proposal
In-Reply-To:
References:
<811344C4-0A97-47FE-BBFB-A2DCEB1D3045@openpartnership.net>
<3B68887D-C186-445D-B6ED-2E9C1D925026@mangomultimedia.com>
Message-ID:
On Aug 2, 2005, at 7:54 AM, david bovill wrote:
>
> So you mean use your "qtSave" function after editing? Also need to
> look into being able to author subtitle support for MPEG4 and
> Teletext for cable broadcast... any links appreciated.
If you are using 0.6.0 then yes. In the 1.0 beta it is qtSaveAs.
When Revolution makes it possible to save a movie in place then
qtSave will do that.
I haven't done anything with subtitles and MPEG4 so I can't help you
there.
--
Trevor DeVore
Blue Mango Multimedia
trevor at mangomultimedia.com
From SimPLsol at aol.com Tue Aug 2 12:55:04 2005
From: SimPLsol at aol.com (SimPLsol at aol.com)
Date: Tue, 2 Aug 2005 12:55:04 EDT
Subject: While waiting for XP support....
Message-ID: <46.6e94f27b.3020ff68@aol.com>
Richard,
Looks like Microsoft has done a fair job of copying Puma (OS X 10.1) -
and there is still time to copy Panther (10.3), maybe even a bit of Tiger
(10.4)!
It is especially encouraging to see Microsoft is soliciting opinions 18
months before the product is released - they might actually avoid "ugly" this
time.
What's next? At the last minute they announce it will only run on
PowerPC?
Paul Looney
From jhurley at infostations.com Tue Aug 2 14:25:53 2005
From: jhurley at infostations.com (Jim Hurley)
Date: Tue, 2 Aug 2005 11:25:53 -0700
Subject: Text fonts of text and text fields
In-Reply-To: <20050802170004.03C8382551C@mail.runrev.com>
References: <20050802170004.03C8382551C@mail.runrev.com>
Message-ID:
I am learning a lot more about font than I really wanted to know.
I see now that the textfont of the field is not necessarily the same
as the text in that field--how else could you have multiple fonts in
a field.
So I can set the testFont of the field easily in script: Set the
textFont of field 1 to "times"
But how would I set the textFont of all the text in the field, other
than the kludge:
repeat with i = 1 to the number of lines in field 1
set the textFont of line i of field 1 to "times"
end repeat
Or by using the Text menu.
Also if "put the textfont of line 1 of field 1 into tFont" yields an
empty value for tFont, I presume that RR is using the User Font. I do
I script for the User Font? It's not listed in the preferences.
JIm
From bnz2 at cdc.gov Tue Aug 2 14:28:24 2005
From: bnz2 at cdc.gov (Lynch, Jonathan)
Date: Tue, 2 Aug 2005 14:28:24 -0400
Subject: Text fonts of text and text fields
Message-ID: <64878EF567131D4596246171F75FD4A9968142@m-epo-1.epo.cdc.gov>
Set the textfont of char 1 to -1 of field "myField" to...
-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Jim Hurley
Sent: Tuesday, August 02, 2005 2:26 PM
To: use-revolution at lists.runrev.com
Subject: Text fonts of text and text fields
I am learning a lot more about font than I really wanted to know.
I see now that the textfont of the field is not necessarily the same
as the text in that field--how else could you have multiple fonts in
a field.
So I can set the testFont of the field easily in script: Set the
textFont of field 1 to "times"
But how would I set the textFont of all the text in the field, other
than the kludge:
repeat with i = 1 to the number of lines in field 1
set the textFont of line i of field 1 to "times"
end repeat
Or by using the Text menu.
Also if "put the textfont of line 1 of field 1 into tFont" yields an
empty value for tFont, I presume that RR is using the User Font. I do
I script for the User Font? It's not listed in the preferences.
JIm
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
From mwieder at ahsoftware.net Tue Aug 2 15:13:15 2005
From: mwieder at ahsoftware.net (Mark Wieder)
Date: Tue, 2 Aug 2005 12:13:15 -0700
Subject: global problems
In-Reply-To: <42EF8C3D.2010207@hyperactivesw.com>
References: <20050801194657.16C6E825579@mail.runrev.com>
<86972dff310fdd3b42c2f31faa0ae8d9@interisland.net>
<15528990786.20050801183530@ahsoftware.net>
<42EED079.4000701@chipp.com>
<3547440295.20050801234259@ahsoftware.net>
<42EF8C3D.2010207@hyperactivesw.com>
Message-ID: <17214500670.20050802121315@ahsoftware.net>
Jacque-
Tuesday, August 2, 2005, 8:07:41 AM, you wrote:
> Globals are necessary when one has a suite of stacks that must interact
> as a unit. One very common example is a "find" handler. Assume a number
> of data stacks, each a clone of the others. A handler asks what you want
> to find and puts that string into a global. The next time the user wants
> to find something, you can use the same string to allow a persistent
> search across many stacks.
Yes, I do understand what globals are and why one may want to use
them. I do actually use them, albeit sparingly. My conceptual problem
here is with the persistence of global variables in the IDE once the
stack or suite of stacks that used them has been purged from memory.
In your example, can you think of a reason for the "find" string to
persist after you have closed the suite of stacks that initialized and
used the find handler and you've gone on to work on another project?
--
-Mark Wieder
mwieder at ahsoftware.net
From joel.guillod at net2000.ch Tue Aug 2 15:12:50 2005
From: joel.guillod at net2000.ch (Joel Guillod)
Date: Tue, 2 Aug 2005 21:12:50 +0200
Subject: Revolution filepath to Applescript file: how to?
In-Reply-To: <20050802170004.2CDD882551E@mail.runrev.com>
References: <20050802170004.2CDD882551E@mail.runrev.com>
Message-ID: <7765D1E7-AC14-4A5A-9E9B-62D8E25CBE57@net2000.ch>
Ken ,
Yes, I would be pleased to get your conversion routine.
My problem is that I dont know exactly know how to convert in MacOSX
(MacOS9?)
from: "/Users/toto/Desktop/Image 6.png"
to: "Main HD:Users:toto:Desktop:Image 6.png"
or from: "/Volumes/My Device/toto/Image 6.png"
to ...?
Thanks very much. jg
> have you considered converting to a ":"-delimited path for use with
> AppleScript? For example, your path above, if it was on a hard
> drive called
> "Main HD" would be:
>
> file "Main HD:Users:toto:Desktop:Image 6.png"
>
> and AppleScript can use that just as easily. If colon-delimited
> will work
> for you, let me know and I'll post my conversion routine.
From briany at qldlearning.com Tue Aug 2 15:48:33 2005
From: briany at qldlearning.com (Brian Yennie)
Date: Tue, 2 Aug 2005 15:48:33 -0400
Subject: Revolution filepath to Applescript file: how to?
In-Reply-To: <7765D1E7-AC14-4A5A-9E9B-62D8E25CBE57@net2000.ch>
References: <20050802170004.2CDD882551E@mail.runrev.com>
<7765D1E7-AC14-4A5A-9E9B-62D8E25CBE57@net2000.ch>
Message-ID: <87060714cdb53125827f9bbd5bc047a5@qldlearning.com>
Joel,
I think you'll find this useful.
http://www.satimage.fr/software/en/file_paths.html
Basically, there are native AppleScript methods for dealing with POSIX
style paths.
- Brian
From ambassador at fourthworld.com Tue Aug 2 16:00:40 2005
From: ambassador at fourthworld.com (Richard Gaskin)
Date: Tue, 02 Aug 2005 13:00:40 -0700
Subject: global problems
In-Reply-To: <17214500670.20050802121315@ahsoftware.net>
References: <20050801194657.16C6E825579@mail.runrev.com> <86972dff310fdd3b42c2f31faa0ae8d9@interisland.net> <15528990786.20050801183530@ahsoftware.net> <42EED079.4000701@chipp.com> <3547440295.20050801234259@ahsoftware.net> <42EF8C3D.2010207@hyperactivesw.com>
<17214500670.20050802121315@ahsoftware.net>
Message-ID: <42EFD0E8.40001@fourthworld.com>
Mark Wieder wrote:
> Jacque-
>
> Tuesday, August 2, 2005, 8:07:41 AM, you wrote:
>
>
>>Globals are necessary when one has a suite of stacks that must interact
>>as a unit. One very common example is a "find" handler. Assume a number
>>of data stacks, each a clone of the others. A handler asks what you want
>>to find and puts that string into a global. The next time the user wants
>>to find something, you can use the same string to allow a persistent
>>search across many stacks.
>
>
> Yes, I do understand what globals are and why one may want to use
> them. I do actually use them, albeit sparingly. My conceptual problem
> here is with the persistence of global variables in the IDE once the
> stack or suite of stacks that used them has been purged from memory.
>
> In your example, can you think of a reason for the "find" string to
> persist after you have closed the suite of stacks that initialized and
> used the find handler and you've gone on to work on another project?
I doubt this behavior is going to change. Apple established how globals
work in HyperTalk in 1987, and all xTalks have implemented them the same
since.
If this is causing a problem in your projects you might consider putting
initialization code into your stack's preOpenStack handler to set
globals to any values required by the current project.
--
Richard Gaskin
Managing Editor, revJournal
_______________________________________________________
Rev tips, tutorials and more: http://www.revJournal.com
From ambassador at fourthworld.com Tue Aug 2 16:12:54 2005
From: ambassador at fourthworld.com (Richard Gaskin)
Date: Tue, 02 Aug 2005 13:12:54 -0700
Subject: [OT] Pigs Fly
Message-ID: <42EFD3C6.5040800@fourthworld.com>
Just as I'd heard from Punxatawny Phil, the Prognosticator of
Prognosticators, Apple is finally joining the rest of the industry in
shipping a multi-button mouse for its customers:
New Mouse for Macs Has Multiple Buttons
While somewhat trivial, this says two great things for us multi-platform
developers:
1. We're now more motivated than ever to implement extensive right-click
menus throughout our apps. These are often overlooked by Mac
developers, but are a critical part of the Windows user experience and
implementing them thoroughly in many case will raise the perceived
professionalism of your Windows releases and increase sales.
2. Any time Apple moves beyond the old symptoms of NIH Syndrome and
plays nice with the rest of the industry they should be applauded, as it
makes our work as software designers much simpler. This is a healthy
sign of organizational maturity, a clear acknowledgement that the
industry and their audience has become more sophisticaed with mouse use
since 1984.
First MacTel, now multi-button mice. Now if only Windows would follow
suit and correct the positions of their dialog box buttons we'd all be
in platform-independence heaven. :)
--
Richard Gaskin
Managing Editor, revJournal
_______________________________________________________
Rev tips, tutorials and more: http://www.revJournal.com
From kray at sonsothunder.com Tue Aug 2 16:13:58 2005
From: kray at sonsothunder.com (Ken Ray)
Date: Tue, 02 Aug 2005 15:13:58 -0500
Subject: Revolution filepath to Applescript file: how to?
In-Reply-To: <7765D1E7-AC14-4A5A-9E9B-62D8E25CBE57@net2000.ch>
Message-ID:
On 8/2/05 2:12 PM, "Joel Guillod" wrote:
> Ken ,
>
> Yes, I would be pleased to get your conversion routine.
>
> My problem is that I dont know exactly know how to convert in MacOSX
> (MacOS9?)
> from: "/Users/toto/Desktop/Image 6.png"
> to: "Main HD:Users:toto:Desktop:Image 6.png"
> or from: "/Volumes/My Device/toto/Image 6.png"
> to ...?
Here you go:
on mouseUp
put stsConvertPath("/Users/toto/Desktop/Image 6.png",":")
end mouseUp
--> Main HD:Users:toto:Desktop:Image 6.png
function stsConvertPath pPath,pDestType
switch pDestType
case "POSIX"
case "/"
-- assumes colon-delimited full path with drive name as first item
replace "/" with tab in pPath
replace ":" with "/" in pPath
replace tab with ":" in pPath
set the itemDel to "/"
delete first item of pPath
if char 1 of pPath <> "/" then put "/" before pPath
return pPath
break
case "COLON"
case ":"
if isOSX() then
-- assumes slash-delimited full path with
-- root drive name not appearing
if char 1 to 9 of pPath = "/Volumes/" then
set the itemDel to "/"
put item 3 of pPath into tHD
-- leave the preceding "/" it's used in concatenating the path below
delete item 2 to 3 of pPath
else
-- root path
put line 1 of the drives into tHD
end if
replace ":" with tab in pPath
replace "/" with ":" in pPath
replace tab with "/" in pPath
put tHD & pPath into pPath
else
replace "/" with ":" in pPath
if char 1 of pPath = ":" then delete char 1 of pPath
end if
return pPath
break
end switch
end stsConvertPath
Have fun...
Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com
From jacque at hyperactivesw.com Tue Aug 2 16:15:52 2005
From: jacque at hyperactivesw.com (J. Landman Gay)
Date: Tue, 02 Aug 2005 15:15:52 -0500
Subject: global problems
In-Reply-To: <17214500670.20050802121315@ahsoftware.net>
References: <20050801194657.16C6E825579@mail.runrev.com> <86972dff310fdd3b42c2f31faa0ae8d9@interisland.net> <15528990786.20050801183530@ahsoftware.net> <42EED079.4000701@chipp.com> <3547440295.20050801234259@ahsoftware.net> <42EF8C3D.2010207@hyperactivesw.com>
<17214500670.20050802121315@ahsoftware.net>
Message-ID: <42EFD478.8000204@hyperactivesw.com>
Mark Wieder wrote:
> Jacque-
>
> Tuesday, August 2, 2005, 8:07:41 AM, you wrote:
>
>
>>Globals are necessary when one has a suite of stacks that must interact
>>as a unit. One very common example is a "find" handler. Assume a number
>>of data stacks, each a clone of the others. A handler asks what you want
>>to find and puts that string into a global. The next time the user wants
>>to find something, you can use the same string to allow a persistent
>>search across many stacks.
>
>
> Yes, I do understand what globals are and why one may want to use
> them. I do actually use them, albeit sparingly. My conceptual problem
> here is with the persistence of global variables in the IDE once the
> stack or suite of stacks that used them has been purged from memory.
>
> In your example, can you think of a reason for the "find" string to
> persist after you have closed the suite of stacks that initialized and
> used the find handler and you've gone on to work on another project?
>
Sure. How is Rev supposed to know I'm done with it? Suppose I close one
data stack and then open another one? I still want my global available.
I'd much rather be in charge of removing it myself.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
From soapdog at mac.com Tue Aug 2 16:16:06 2005
From: soapdog at mac.com (Andre Garzia)
Date: Tue, 2 Aug 2005 17:16:06 -0300
Subject: [OT] Pigs Fly
In-Reply-To: <42EFD3C6.5040800@fourthworld.com>
References: <42EFD3C6.5040800@fourthworld.com>
Message-ID:
On Aug 2, 2005, at 5:12 PM, Richard Gaskin wrote:
> Just as I'd heard from Punxatawny Phil, the Prognosticator of
> Prognosticators, Apple is finally joining the rest of the industry
> in shipping a multi-button mouse for its customers:
>
> New Mouse for Macs Has Multiple Buttons
> apple_s_new_mouse;_ylt=As1C3mk3YMOhH9.n16yV7fYDW7oF;_ylu=X3oDMTBiMW04N
> W9mBHNlYwMlJVRPUCUl>
It's not a multi-button mouse, it's a zero button mouse!!! :D less is
more!!!!
(it uses a touch sensor and it has a internal speaker for sound
feedback... clever ain't it. Tech is derived from iPod scroll wheel
tech.)
Cheers
andre
PS: I want one!
>
> While somewhat trivial, this says two great things for us multi-
> platform developers:
>
> 1. We're now more motivated than ever to implement extensive right-
> click menus throughout our apps. These are often overlooked by Mac
> developers, but are a critical part of the Windows user experience
> and implementing them thoroughly in many case will raise the
> perceived professionalism of your Windows releases and increase sales.
>
> 2. Any time Apple moves beyond the old symptoms of NIH Syndrome and
> plays nice with the rest of the industry they should be applauded,
> as it makes our work as software designers much simpler. This is a
> healthy sign of organizational maturity, a clear acknowledgement
> that the industry and their audience has become more sophisticaed
> with mouse use since 1984.
>
> First MacTel, now multi-button mice. Now if only Windows would
> follow suit and correct the positions of their dialog box buttons
> we'd all be in platform-independence heaven. :)
>
> --
> Richard Gaskin
> Managing Editor, revJournal
> _______________________________________________________
> Rev tips, tutorials and more: http://www.revJournal.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
From eric.chatonet at sosmartsoftware.com Tue Aug 2 16:39:35 2005
From: eric.chatonet at sosmartsoftware.com (Eric Chatonet)
Date: Tue, 2 Aug 2005 22:39:35 +0200
Subject: global problems
In-Reply-To: <42EFD478.8000204@hyperactivesw.com>
References: <20050801194657.16C6E825579@mail.runrev.com> <86972dff310fdd3b42c2f31faa0ae8d9@interisland.net> <15528990786.20050801183530@ahsoftware.net> <42EED079.4000701@chipp.com> <3547440295.20050801234259@ahsoftware.net> <42EF8C3D.2010207@hyperactivesw.com>
<17214500670.20050802121315@ahsoftware.net>
<42EFD478.8000204@hyperactivesw.com>
Message-ID:
Hi all,
I was very busy and did not follow accurately this thread.
I don't speak English very well but I know what global means: global
means global :-)
If you can empty a global, delete it from memory when needed, where
is the problem?
You can use good scripting conventions to be sure that local and
global can't shadow.
Above all, we have to remember that Rev is intended to build
standalones.
IDE behaviour is another thing and IDE is not the target.
On the other hand, you have many other ways to organise data if
globals don't suit your needs: local, script local, custom
properties, external files, substacks and many others :-)
I saw very clever examples where globals are essential by Chipp and
Jacque.
But if there is a better way to go, use it ;-)
The question does not seem to be a "global" problem, but a question
about the architecture you choose.
Rev provides many ways to do the job: choose the best one!
My two cents.
Best Regards from Paris,
Eric Chatonet.
Le 2 ao?t 05 ? 22:15, J. Landman Gay a ?crit :
> Mark Wieder wrote:
>
>> Jacque-
>> Tuesday, August 2, 2005, 8:07:41 AM, you wrote:
>>
>>> Globals are necessary when one has a suite of stacks that must
>>> interact
>>> as a unit. One very common example is a "find" handler. Assume a
>>> number
>>> of data stacks, each a clone of the others. A handler asks what
>>> you want
>>> to find and puts that string into a global. The next time the
>>> user wants
>>> to find something, you can use the same string to allow a persistent
>>> search across many stacks.
>>>
>> Yes, I do understand what globals are and why one may want to use
>> them. I do actually use them, albeit sparingly. My conceptual problem
>> here is with the persistence of global variables in the IDE once the
>> stack or suite of stacks that used them has been purged from memory.
>> In your example, can you think of a reason for the "find" string to
>> persist after you have closed the suite of stacks that initialized
>> and
>> used the find handler and you've gone on to work on another project?
>>
>
> Sure. How is Rev supposed to know I'm done with it? Suppose I close
> one data stack and then open another one? I still want my global
> available. I'd much rather be in charge of removing it myself.
----------------------------------------------------------------
So Smart Software
For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch
Free plugins and tutorials on my website
----------------------------------------------------------------
Web site http://www.sosmartsoftware.com/
Email eric.chatonet at sosmartsoftware.com/
Phone 33 (0)1 43 31 77 62
Mobile 33 (0)6 20 74 50 86
----------------------------------------------------------------
From SimPLsol at aol.com Tue Aug 2 17:50:35 2005
From: SimPLsol at aol.com (SimPLsol at aol.com)
Date: Tue, 2 Aug 2005 17:50:35 EDT
Subject: [OT] Pigs Fly
Message-ID: <81.2cdb5827.302144ab@aol.com>
Richard,
Knowing Apple, the mouse will probably have a proprietary port - that
only works on MacTels ;-)
PL
From vokey at uleth.ca Tue Aug 2 17:55:25 2005
From: vokey at uleth.ca (John Vokey)
Date: Tue, 2 Aug 2005 15:55:25 -0600
Subject: OS X 10.4 vs. 10.3 incompatibility
Message-ID: <0AA4605B-52B9-496D-AD55-FCF03596F62B@uleth.ca>
I have encountered a strange system incompatibility. Stacks that ran/
run fine under Mac OS X 10.3.x, produce the following peculiar
behaviour under 10.4.2 (whether using the MC or RR IDE). I have a
slider in a group that also contains a default (throbbing) button,
which is to be clicked when the slider is in the position the user
wants. All is fine under 10.3.x (i.e., the button throbs and the
slider tracks the mouse as the user slides it back and forth); under
10.4.2, the button s-l-o-w-l-y throbs (i.e., you can see each step of
the throb animation), and the slider no longer keeps up with the
mouse (i.e., it lags by a lot). It is like the whole system has been
slowed down by a factor of 2 or 3 (i.e., 100 or a 1000-fold). Yet,
other default buttons throb correctly. (I have no other sliders in
these stacks). It is clearly not my code (indeed, I have used this
group successfully since at least MC 2.2, and probably before, and on
all other versions of OS X).
I receive the list in digest mode, so please respond directly to me
if you have any insights.
--
- JRV
There are 10 kinds of people: those who understand binary, and those
who don't
From userev at canelasoftware.com Tue Aug 2 17:58:36 2005
From: userev at canelasoftware.com (Mark Talluto)
Date: Tue, 2 Aug 2005 14:58:36 -0700
Subject: OS X 10.4 vs. 10.3 incompatibility
In-Reply-To: <0AA4605B-52B9-496D-AD55-FCF03596F62B@uleth.ca>
References: <0AA4605B-52B9-496D-AD55-FCF03596F62B@uleth.ca>
Message-ID: <9633C076-75AD-4892-9443-9BD02B518AFE@canelasoftware.com>
On Aug 2, 2005, at 2:55 PM, John Vokey wrote:
> I have encountered a strange system incompatibility. Stacks that
> ran/run fine under Mac OS X 10.3.x, produce the following peculiar
> behaviour under 10.4.2 (whether using the MC or RR IDE). I have a
> slider in a group that also contains a default (throbbing) button,
> which is to be clicked when the slider is in the position the user
> wants. All is fine under 10.3.x (i.e., the button throbs and the
> slider tracks the mouse as the user slides it back and forth);
> under 10.4.2, the button s-l-o-w-l-y throbs (i.e., you can see each
> step of the throb animation), and the slider no longer keeps up
> with the mouse (i.e., it lags by a lot). It is like the whole
> system has been slowed down by a factor of 2 or 3 (i.e., 100 or a
> 1000-fold). Yet, other default buttons throb correctly. (I have
> no other sliders in these stacks). It is clearly not my code
> (indeed, I have used this group successfully since at least MC 2.2,
> and probably before, and on all other versions of OS X).
>
> I receive the list in digest mode, so please respond directly to me
> if you have any insights.
>
>
I noticed this problem as well. I just saved the script and made a
new slider with the old script. This solved the problem.
Mark Talluto
--
CANELA Software
http://www.canelasoftware.com
From sarahr at genesearch.com.au Tue Aug 2 18:01:07 2005
From: sarahr at genesearch.com.au (Sarah Reichelt)
Date: Wed, 3 Aug 2005 08:01:07 +1000
Subject: Revolution filepath to Applescript file: how to?
In-Reply-To: <4E7A7121-0709-463C-BB3B-2AECE5670F0C@net2000.ch>
References: <20050802045256.309F8825682@mail.runrev.com>
<4E7A7121-0709-463C-BB3B-2AECE5670F0C@net2000.ch>
Message-ID:
> I am looking for a script to convert a filepath to an Applescript
> file statement. For example:
> "/Users/toto/Desktop/Image 6.png" => file "Image 6.png" in the
> folder "Desktop" in home
You need the revMacfromUnixPath function. To use your example file path:
revMacFromUnixPath("/Users/toto/Desktop/Image 6.png")
-> Macintosh HD:Users:toto:Desktop:Image 6.png
Cheers,
Sarah
From soapdog at mac.com Tue Aug 2 18:43:00 2005
From: soapdog at mac.com (Andre Garzia)
Date: Tue, 2 Aug 2005 19:43:00 -0300
Subject: [OT] Pigs Fly
In-Reply-To: <81.2cdb5827.302144ab@aol.com>
References: <81.2cdb5827.302144ab@aol.com>
Message-ID:
On Aug 2, 2005, at 6:50 PM, SimPLsol at aol.com wrote:
> Richard,
> Knowing Apple, the mouse will probably have a proprietary port -
> that
> only works on MacTels ;-)
> PL
On the page they say its PC-Compatible...
Andre
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
--
Andre Alves Garzia ? 2004
Soap Dog Studios - BRAZIL
http://studio.soapdog.org
From charles.hartman at conncoll.edu Tue Aug 2 18:59:46 2005
From: charles.hartman at conncoll.edu (Charles Hartman)
Date: Tue, 2 Aug 2005 18:59:46 -0400
Subject: global problems
In-Reply-To:
References: <20050801194657.16C6E825579@mail.runrev.com> <86972dff310fdd3b42c2f31faa0ae8d9@interisland.net> <15528990786.20050801183530@ahsoftware.net> <42EED079.4000701@chipp.com> <3547440295.20050801234259@ahsoftware.net> <42EF8C3D.2010207@hyperactivesw.com>
<17214500670.20050802121315@ahsoftware.net>
<42EFD478.8000204@hyperactivesw.com>
Message-ID: <973E227D-751E-40A9-B082-23A2C5E118FC@conncoll.edu>
I agree (with everybody), of course.
But it is true that until this thread came up I didn't think to look
in the Variable Watcher for signs of this. There were a couple of
globals that I had declared at an earlier experimental stage of
development of this project, still hanging around without making a
peep. That does seem a little untidy.
But I guess this is a logical result of the (otherwise blessed)
absence of a code-and-compile cycle. In a Transcript-like
environment, it's hard to think _what_ non-explicit signal there
could be that a variable is no longer, and never will be, wanted.
Charles
On Aug 2, 2005, at 4:39 PM, Eric Chatonet wrote:
> I was very busy and did not follow accurately this thread.
> I don't speak English very well but I know what global means:
> global means global :-)
> If you can empty a global, delete it from memory when needed, where
> is the problem?
> You can use good scripting conventions to be sure that local and
> global can't shadow.
>
From JimAultWins at yahoo.com Tue Aug 2 19:07:04 2005
From: JimAultWins at yahoo.com (Jim Ault)
Date: Tue, 02 Aug 2005 16:07:04 -0700
Subject: global problems> benefits
In-Reply-To:
Message-ID:
Hypertalk, as I understood it from the beginning, was to be a free-form
style of programming that allowed interacting with many stacks, even
hundreds on multiple drives and computers. One major concept was the
navigation to prev>next>recent>push card>pop card. All this could involve
'jumping' to a new stack each step and the stack did not even have to be
open in memory before the leap, and could be closed after use.
Think about jumping directly to a card in a stack that is not even open yet,
then back 10 steps with one click. The only stack that had to remain open
was Home.
This structure required Hypercard, the application, to hold many values and
user preferences, mostly in the Home stack and resource fork. Also in the
concepts were 'stacksInUse' (which could be changed on the fly, using up to
10 at one time via startusing + stopusing) like a dynamic library of
functions.
Then the fabulous "re-writing a script" and then running it, on the fly
[>set the script of button "ShowUsersFace" to "on mouseUp, go card
"face112", end mouseUp", send mouseUp to button " ShowUsersFace"]
[>set the script of button "ShowUsersFace" to "" ] it now does nothing.
This edit on the fly could re-program the interface depending on conditions
and user choices. I used it often in point-of-sale software.
Also 'the target' and 'me' and 'the clickline', etc are not compiler-style
objects but we have come to like them, love them, and hold them dear.
In the IDE,
"global gUserName"
is saying create a variable in the IDE space, not the stack space. For a
compiled app, the global is maintained in the Mainstack space (ala Home).
Jim Ault
Las Vegas
On 8/2/05 1:39 PM, "Eric Chatonet"
wrote:
> Hi all,
>
> I was very busy and did not follow accurately this thread.
> I don't speak English very well but I know what global means: global
> means global :-)
> If you can empty a global, delete it from memory when needed, where
> is the problem?
> You can use good scripting conventions to be sure that local and
> global can't shadow.
>
> Above all, we have to remember that Rev is intended to build
> standalones.
> IDE behaviour is another thing and IDE is not the target.
> On the other hand, you have many other ways to organise data if
> globals don't suit your needs: local, script local, custom
> properties, external files, substacks and many others :-)
> I saw very clever examples where globals are essential by Chipp and
> Jacque.
> But if there is a better way to go, use it ;-)
> The question does not seem to be a "global" problem, but a question
> about the architecture you choose.
> Rev provides many ways to do the job: choose the best one!
> My two cents.
>
> Best Regards from Paris,
>
> Eric Chatonet.
>
> Le 2 ao?t 05 ? 22:15, J. Landman Gay a ?crit :
>
>> Mark Wieder wrote:
>>
>>> Jacque-
>>> Tuesday, August 2, 2005, 8:07:41 AM, you wrote:
>>>
>>>> Globals are necessary when one has a suite of stacks that must
>>>> interact
>>>> as a unit. One very common example is a "find" handler. Assume a
>>>> number
>>>> of data stacks, each a clone of the others. A handler asks what
>>>> you want
>>>> to find and puts that string into a global. The next time the
>>>> user wants
>>>> to find something, you can use the same string to allow a persistent
>>>> search across many stacks.
>>>>
>>> Yes, I do understand what globals are and why one may want to use
>>> them. I do actually use them, albeit sparingly. My conceptual problem
>>> here is with the persistence of global variables in the IDE once the
>>> stack or suite of stacks that used them has been purged from memory.
>>> In your example, can you think of a reason for the "find" string to
>>> persist after you have closed the suite of stacks that initialized
>>> and
>>> used the find handler and you've gone on to work on another project?
>>>
>>
>> Sure. How is Rev supposed to know I'm done with it? Suppose I close
>> one data stack and then open another one? I still want my global
>> available. I'd much rather be in charge of removing it myself.
>
> ----------------------------------------------------------------
> So Smart Software
>
> For institutions, companies and associations
> Built-to-order applications: management, multimedia, internet, etc.
> Windows, Mac OS and Linux... With the French touch
>
> Free plugins and tutorials on my website
> ----------------------------------------------------------------
> Web site http://www.sosmartsoftware.com/
> Email eric.chatonet at sosmartsoftware.com/
> Phone 33 (0)1 43 31 77 62
> Mobile 33 (0)6 20 74 50 86
> ----------------------------------------------------------------
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
From jbondy at sover.net Tue Aug 2 19:08:38 2005
From: jbondy at sover.net (Jon)
Date: Tue, 02 Aug 2005 19:08:38 -0400
Subject: global problems
In-Reply-To: <17214500670.20050802121315@ahsoftware.net>
References: <20050801194657.16C6E825579@mail.runrev.com> <86972dff310fdd3b42c2f31faa0ae8d9@interisland.net> <15528990786.20050801183530@ahsoftware.net> <42EED079.4000701@chipp.com> <3547440295.20050801234259@ahsoftware.net> <42EF8C3D.2010207@hyperactivesw.com>
<17214500670.20050802121315@ahsoftware.net>
Message-ID: <42EFFCF6.7090609@sover.net>
I agree: it is unfortunate that the original language designers used the
term "global" to mean "persistent global". Had they separated the
concept of scope from the concept of variable duration/lifetime, the
language would have been equally powerful while being easier to understand.
Jon
Mark Wieder wrote:
>Jacque-
>
>Tuesday, August 2, 2005, 8:07:41 AM, you wrote:
>
>
>
>>Globals are necessary when one has a suite of stacks that must interact
>>as a unit. One very common example is a "find" handler. Assume a number
>>of data stacks, each a clone of the others. A handler asks what you want
>>to find and puts that string into a global. The next time the user wants
>>to find something, you can use the same string to allow a persistent
>>search across many stacks.
>>
>>
>
>Yes, I do understand what globals are and why one may want to use
>them. I do actually use them, albeit sparingly. My conceptual problem
>here is with the persistence of global variables in the IDE once the
>stack or suite of stacks that used them has been purged from memory.
>
>In your example, can you think of a reason for the "find" string to
>persist after you have closed the suite of stacks that initialized and
>used the find handler and you've gone on to work on another project?
>
>
>
From ambassador at fourthworld.com Tue Aug 2 19:13:58 2005
From: ambassador at fourthworld.com (Richard Gaskin)
Date: Tue, 02 Aug 2005 16:13:58 -0700
Subject: global problems
In-Reply-To: <42EFFCF6.7090609@sover.net>
References: <20050801194657.16C6E825579@mail.runrev.com> <86972dff310fdd3b42c2f31faa0ae8d9@interisland.net> <15528990786.20050801183530@ahsoftware.net> <42EED079.4000701@chipp.com> <3547440295.20050801234259@ahsoftware.net> <42EF8C3D.2010207@hyperactivesw.com> <17214500670.20050802121315@ahsoftware.net>
<42EFFCF6.7090609@sover.net>
Message-ID: <42EFFE36.7040900@fourthworld.com>
Jon wrote:
> I agree: it is unfortunate that the original language designers used the
> term "global" to mean "persistent global". Had they separated the
> concept of scope from the concept of variable duration/lifetime, the
> language would have been equally powerful while being easier to understand.
What is a non-persistent global?
In any language I've worked with, you declare a global and it stays in
memory until you delete it or quit the program.
I don't know of any language that deletes globals automatically based on
whether the app closes or opens files from disk.
--
Richard Gaskin
Managing Editor, revJournal
_______________________________________________________
Rev tips, tutorials and more: http://www.revJournal.com
From JimAultWins at yahoo.com Tue Aug 2 19:17:28 2005
From: JimAultWins at yahoo.com (Jim Ault)
Date: Tue, 02 Aug 2005 16:17:28 -0700
Subject: Rev IDE bug in Win XP script windows
In-Reply-To: <20050801171323.0D00782562A@mail.runrev.com>
Message-ID:
Continuing saga... corruption now affecting more programs.. time for disk
clean up. Thanks for the good info.
(Note: reinstall of Rev worked for about an hour, client was surprised that
he had XP Home edition and will upgrade)
Jim Ault
Las Vegas
On 8/1/05 10:25 AM, "MisterX" wrote:
> Hi Jim
>
> Dont fear the PC world... it's not hard to beat...
>
> if your pc is NOT running "Normally" - crashes and all, run a virus scan AND
> a spyware scan... Update to the latest windows updates (save before you
> click the last ok button... Whatever protection they gave you, if not
> updated and maintained weekly, is as good as not having any (with a speed
> penalty!)
>
> if you're sure something else is wrong (do all your rev stacks work wrong?)
> do other scripter's stack go wrong?
>
> Reinstall rev - takes 3 minutes, no big deal. (rev can be backedup via copy
> paste no problem after your first installation for a quick restore (less
> than a minute). If you keep your project stacks out of the rev stack, it's
> even easier... zipping the folder is a good as any backup... for added
> security, keep the backup on a different drive (not partition).
>
> Next if it still goes wrong, test someone elses stacks without your stacks
> opened after restarting rev... single out your errors first... make sure
> your environment is working ok...
>
> if you bought winxp home edition, it's probably just a need to reinstall
> it...
> get a pro edition... it's much more solid... lots of stuff was removed from
> the home edition and some crap added surely for home users...
>
> I run windows smoothly with no virus protection, no firewall, no IE crap and
> despite all hte firefox crap and bugs, i get no bugs, no spywares, no
> virii... i've been hit 2 times in 6 years... careful and documented usage
> only = no problems.
>
> If you dont know how to drive a race car, there' isn't one team who will
> lend you their car, it's a precision instrument... alas the holes in
> security and the lack of user education is taking it's toll - guess that's
> why no many use linux yet ;). Im sure moft will push us into it sooner or
> later ;$
>
> cheers
> Xavier
> Sinclair -> trs80 -> Apple][ -> Mac 1.0-> 9.0 -> PC Quake 1 two 3
>
>
>
>> -----Original Message-----
>> From: use-revolution-bounces at lists.runrev.com
>> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Jim Ault
>> Sent: Monday, August 01, 2005 18:37
>> To: How to use Revolution
>> Subject: Rev IDE bug in Win XP script windows
>>
>> Hello, list,
>> I am experiencing window size problems in the Rev IDE.
>> - Smaller and smaller edit windows, (height, not width) with
>> normal text size.
>> - Variable Watcher window height limit
>>
>> Win XP, Rev 2.5.1, new Dell dual proc PC
>>
>> I am now down to about 6 lines of code showing, and sometimes
>> zero (just title bar and bottom of window rect) or a thin
>> horizontal line!!
>>
>> I am a Mac guy (so be kind), but a project has to be bebugged
>> on a WinXP machine to communicate with FoxPro and Stata that
>> only run on this platform.
>>
>> Using two monitors on a DVI-VGA dual card wreaked havoc on
>> window rects and 'not responding' errors, then reverting to
>> one display solved those problems. (bummer)
>>
>> Now the maximum window size is maddeningly short.
>> Do I reinstall Rev? Change the registry? Uninstall virus protection?
>> (Dell computer was purchased new 4 months ago with a full
>> boat of virus and firewall software installed)
>>
>> Thanks for your help
>>
>> Jim Ault
>> Las Vegas
>>
>>
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
From ambassador at fourthworld.com Tue Aug 2 19:22:14 2005
From: ambassador at fourthworld.com (Richard Gaskin)
Date: Tue, 02 Aug 2005 16:22:14 -0700
Subject: Rev IDE bug in Win XP script windows
In-Reply-To:
References:
Message-ID: <42F00026.9010804@fourthworld.com>
Jim Ault wrote:
> Continuing saga... corruption now affecting more programs.. time for disk
> clean up. Thanks for the good info.
Doesn't sound like corruption of the Rev files. But if this is
recurring has anyone BZ'd it?
--
Richard Gaskin
Fourth World Media Corporation
___________________________________________________________
Ambassador at FourthWorld.com http://www.FourthWorld.com
>>>Hello, list,
>>>I am experiencing window size problems in the Rev IDE.
>>>- Smaller and smaller edit windows, (height, not width) with
>>>normal text size.
>>>- Variable Watcher window height limit
>>>
>>>Win XP, Rev 2.5.1, new Dell dual proc PC
>>>
>>>I am now down to about 6 lines of code showing, and sometimes
>>>zero (just title bar and bottom of window rect) or a thin
>>>horizontal line!!
>>>
>>>I am a Mac guy (so be kind), but a project has to be bebugged
>>>on a WinXP machine to communicate with FoxPro and Stata that
>>>only run on this platform.
>>>
>>>Using two monitors on a DVI-VGA dual card wreaked havoc on
>>>window rects and 'not responding' errors, then reverting to
>>>one display solved those problems. (bummer)
>>>
>>> Now the maximum window size is maddeningly short.
>>>Do I reinstall Rev? Change the registry? Uninstall virus protection?
>>>(Dell computer was purchased new 4 months ago with a full
>>>boat of virus and firewall software installed)
>>>
>>>Thanks for your help
>>>
>>>Jim Ault
>>>Las Vegas
From wouter.abraham at scarlet.be Tue Aug 2 19:25:11 2005
From: wouter.abraham at scarlet.be (Wouter)
Date: Wed, 3 Aug 2005 01:25:11 +0200
Subject: OS X 10.4 vs. 10.3 incompatibility
In-Reply-To: <0AA4605B-52B9-496D-AD55-FCF03596F62B@uleth.ca>
References: <0AA4605B-52B9-496D-AD55-FCF03596F62B@uleth.ca>
Message-ID: <5D21D341-0E75-42FD-A85B-06231DF96011@scarlet.be>
Is it possible the thumbsize of the slider is 0?
This tends to slow down rev enormously in Tiger (may be also in older
OS but can't test it anymore)
Setting it to 1 resolves this problem.
Greetings,
Wouter
On 02 Aug 2005, at 23:55, John Vokey wrote:
> I have encountered a strange system incompatibility. Stacks that
> ran/run fine under Mac OS X 10.3.x, produce the following peculiar
> behaviour under 10.4.2 (whether using the MC or RR IDE). I have a
> slider in a group that also contains a default (throbbing) button,
> which is to be clicked when the slider is in the position the user
> wants. All is fine under 10.3.x (i.e., the button throbs and the
> slider tracks the mouse as the user slides it back and forth);
> under 10.4.2, the button s-l-o-w-l-y throbs (i.e., you can see each
> step of the throb animation), and the slider no longer keeps up
> with the mouse (i.e., it lags by a lot). It is like the whole
> system has been slowed down by a factor of 2 or 3 (i.e., 100 or a
> 1000-fold). Yet, other default buttons throb correctly. (I have
> no other sliders in these stacks). It is clearly not my code
> (indeed, I have used this group successfully since at least MC 2.2,
> and probably before, and on all other versions of OS X).
>
> I receive the list in digest mode, so please respond directly to me
> if you have any insights.
>
>
>
> --
> - JRV
> There are 10 kinds of people: those who understand binary, and
> those who don't
From revolution at jaedworks.com Tue Aug 2 11:45:09 2005
From: revolution at jaedworks.com (Jeanne A. E. DeVoto)
Date: Tue, 2 Aug 2005 08:45:09 -0700
Subject: Help, what am I doing wrong???
In-Reply-To: <813F5E0E-DD77-4B97-BD87-CD800559A217@writeme.com>
References: <20050730165945.37016.qmail@web60518.mail.yahoo.com>
<73E917CF-AF48-446C-8107-34172E513808@writeme.com>
<1003948417.20050730191500@ahsoftware.net>
<813F5E0E-DD77-4B97-BD87-CD800559A217@writeme.com>
Message-ID:
At 10:24 PM -0400 7/30/2005, Dennis Brown wrote:
>I never had any trouble remembering that something in a loop
>variable is a copy, because that is what I would expect. However,
>it appears that what we have is just a label, not really a variable
>--that is until we exit the loop, then we have a variable with the
>last contents in it.
>
>I would really like to get a real error message since it does not do
>what you expect from reading the code. How many newbies do we have
>to trip up before we erect a stop sign at that intersection?
>
>Should I BZ it?
Might be a good idea. (I think the lack of an execution error is in
fact a bug - it used to cause one.)
--
jeanne a. e. devoto ~ revolution at jaedworks.com
http://www.jaedworks.com
From charles.hartman at conncoll.edu Tue Aug 2 19:29:04 2005
From: charles.hartman at conncoll.edu (Charles Hartman)
Date: Tue, 2 Aug 2005 19:29:04 -0400
Subject: when can I set a substack's properties?
Message-ID:
I'm not clear about when a substack "exists." I want to set some
custom properties in a substack from a script in the main stack, and
it would be a lot handier if I could do it before issuing the "open"
command for the substack. It seems to work OK during my development
cycle in the IDE. But will it work (in a stack being run under the
Dreamcard Player) the first time out of the box? Or do I have to
issue an "open" command before Rev will know the substack exists, and
where to put stuff in it?
The substack is part of the stack file, so is it true that Rev knows
all about it, and properties (custom or built-in) can be set before
it's opened? The IDE's own evidence is kind of mixed: the Application
Browser knows the substack while it's closed, but the Inspector doesn't.
Charles Hartman
From charles.hartman at conncoll.edu Tue Aug 2 19:33:14 2005
From: charles.hartman at conncoll.edu (Charles Hartman)
Date: Tue, 2 Aug 2005 19:33:14 -0400
Subject: Rev quits on stack removed from memory?
Message-ID:
I haven't seen this often enough to be sure -- but it _seems_ to me
that if I have a couple of scripts open for editing, and close-and-
remove-from-memory the stack they belong to, and then as an
afterthought try to close those script windows, then Rev dies (Close,
Reopen, Report to Apple).
Would it make more sense for a stack being removed that way to take
any of its stacks with it into oblivion?
Charles Hartman
From SimPLsol at aol.com Tue Aug 2 19:39:05 2005
From: SimPLsol at aol.com (SimPLsol at aol.com)
Date: Tue, 2 Aug 2005 19:39:05 EDT
Subject: Rev quits on stack removed from memory?
Message-ID: <64.5a368d01.30215e19@aol.com>
Charles,
I had the same problem - a lot, just learned to always close scripts
before closing their stacks. Yes, Rev should handle this.
Paul Looney
From SimPLsol at aol.com Tue Aug 2 19:40:22 2005
From: SimPLsol at aol.com (SimPLsol at aol.com)
Date: Tue, 2 Aug 2005 19:40:22 EDT
Subject: [OT] Pigs Fly
Message-ID: <1a0.38fd0a82.30215e66@aol.com>
Just joking, Andre.
PL
From revdan at danshafer.com Tue Aug 2 19:45:10 2005
From: revdan at danshafer.com (Dan Shafer)
Date: Tue, 2 Aug 2005 16:45:10 -0700
Subject: Rev quits on stack removed from memory?
In-Reply-To:
References:
Message-ID: <200C251C-DA5B-4D88-879D-C7ECB439D1A8@danshafer.com>
I've seen things like this over the years but I'm not ever quite sure
what causes it because I haven't been able to recreate it consistently.
For example, I just did exactly what you describe three times without
a single crash.
I've disciplined myself not to leave script editor windows open.
Slows me down a bit sometimes but it seemed to prevent some crashing
I wasn't understanding.
On Aug 2, 2005, at 4:33 PM, Charles Hartman wrote:
> I haven't seen this often enough to be sure -- but it _seems_ to me
> that if I have a couple of scripts open for editing, and close-and-
> remove-from-memory the stack they belong to, and then as an
> afterthought try to close those script windows, then Rev dies
> (Close, Reopen, Report to Apple).
>
> Would it make more sense for a stack being removed that way to take
> any of its stacks with it into oblivion?
>
> Charles Hartman
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dan Shafer, Revolution Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"
From http://www.revolutionpros.com, Click "My Stuff"
From revdan at danshafer.com Tue Aug 2 19:46:28 2005
From: revdan at danshafer.com (Dan Shafer)
Date: Tue, 2 Aug 2005 16:46:28 -0700
Subject: when can I set a substack's properties?
In-Reply-To:
References:
Message-ID: <07FFA59A-B5AB-4E95-8FEB-7452467B51D0@danshafer.com>
I suspect it'll be just fine in the standlone. I've done this a few
times as I recall and haven't seen any negative consequences.
Another way of doing this -- I mention it because when I do, people
often say, "I didn't know you could do that!" -- is to use the open
invisible option on the substack.
On Aug 2, 2005, at 4:29 PM, Charles Hartman wrote:
> I'm not clear about when a substack "exists." I want to set some
> custom properties in a substack from a script in the main stack,
> and it would be a lot handier if I could do it before issuing the
> "open" command for the substack. It seems to work OK during my
> development cycle in the IDE. But will it work (in a stack being
> run under the Dreamcard Player) the first time out of the box? Or
> do I have to issue an "open" command before Rev will know the
> substack exists, and where to put stuff in it?
>
> The substack is part of the stack file, so is it true that Rev
> knows all about it, and properties (custom or built-in) can be set
> before it's opened? The IDE's own evidence is kind of mixed: the
> Application Browser knows the substack while it's closed, but the
> Inspector doesn't.
>
> Charles Hartman
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dan Shafer, Revolution Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"
From http://www.revolutionpros.com, Click "My Stuff"
From soapdog at mac.com Tue Aug 2 19:50:28 2005
From: soapdog at mac.com (Andre Garzia)
Date: Tue, 2 Aug 2005 20:50:28 -0300
Subject: [OT] Pigs Fly
In-Reply-To: <1a0.38fd0a82.30215e66@aol.com>
References: <1a0.38fd0a82.30215e66@aol.com>
Message-ID:
On Aug 2, 2005, at 8:40 PM, SimPLsol at aol.com wrote:
> Just joking, Andre.
> PL
;-)
(I am thinking if someone will write some software to reprogram the
mouse randomly...)
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
--
Andre Alves Garzia ? 2004 ? BRAZIL
http://studio.soapdog.org
From charles.hartman at conncoll.edu Tue Aug 2 20:02:55 2005
From: charles.hartman at conncoll.edu (Charles Hartman)
Date: Tue, 2 Aug 2005 20:02:55 -0400
Subject: when can I set a substack's properties?
In-Reply-To: <07FFA59A-B5AB-4E95-8FEB-7452467B51D0@danshafer.com>
References:
<07FFA59A-B5AB-4E95-8FEB-7452467B51D0@danshafer.com>
Message-ID: <514FC490-12DB-4F9E-88C4-A30EA29B7DA9@conncoll.edu>
Thanks. Two details just to check --
On Aug 2, 2005, at 7:46 PM, Dan Shafer wrote:
> I suspect it'll be just fine in the standlone. I've done this a few
> times as I recall and haven't seen any negative consequences.
And the same with a stack to be run under the Player? (I have
Dreamcard; no standalones.)
>
> Another way of doing this -- I mention it because when I do, people
> often say, "I didn't know you could do that!" -- is to use the open
> invisible option on the substack
That is cool. My substack has a pretty elaborate "on openCard"
handler -- but I suppose it can do anything it wants with an
invisible stack & card . . .
Charles
From see3d at writeme.com Tue Aug 2 20:08:34 2005
From: see3d at writeme.com (Dennis Brown)
Date: Tue, 02 Aug 2005 20:08:34 -0400
Subject: [OT] Pigs Fly --a rose by any other name...
In-Reply-To:
References: <42EFD3C6.5040800@fourthworld.com>
Message-ID:
Folks,
I hate to rain on your parade, but it IS a single button mouse.
Apple goes to great pains to point this fact out, just so they can
say they have not abandoned the single button mouse philosophy.
There is a single button. The touch sensors are on the left and
right sides (like holding down the control key when clicking the
single button mouse now). I guess pushing on the scroll button
clicks the mouse with neither right or left touch sensors activated,
so it is a third kind of click. The side "force" sensor is not
technically a button either. The whole mouse moves down to activate
the button --it is one big button.
The lengths a company will go to just to never admit they were
wrong. All I can say, is: If it walks like a duck and quacks like a
duck, it must be a rose...
Dennis
On Aug 2, 2005, at 4:16 PM, Andre Garzia wrote:
>
> On Aug 2, 2005, at 5:12 PM, Richard Gaskin wrote:
>
>
>> Just as I'd heard from Punxatawny Phil, the Prognosticator of
>> Prognosticators, Apple is finally joining the rest of the industry
>> in shipping a multi-button mouse for its customers:
>>
>> New Mouse for Macs Has Multiple Buttons
>> > apple_s_new_mouse;_ylt=As1C3mk3YMOhH9.n16yV7fYDW7oF;_ylu=X3oDMTBiMW04
>> NW9mBHNlYwMlJVRPUCUl>
>>
>
> It's not a multi-button mouse, it's a zero button mouse!!! :D less
> is more!!!!
>
> (it uses a touch sensor and it has a internal speaker for sound
> feedback... clever ain't it. Tech is derived from iPod scroll wheel
> tech.)
>
> Cheers
> andre
>
> PS: I want one!
From jperryl at ecs.fullerton.edu Tue Aug 2 20:10:56 2005
From: jperryl at ecs.fullerton.edu (Judy Perry)
Date: Tue, 2 Aug 2005 17:10:56 -0700 (PDT)
Subject: [OT] Pigs Fly
In-Reply-To:
Message-ID:
Whew! I'm feeling better already.
I'm in agreement with Raskin on the uni-button mouse being preferrable for
error-reduction.
(I know, I know: I'm ducking the expected onslaught of people who swear by
the right-click with an eye on whether they'd be equally enthusiastic
about using a Unix 3-button mouse or a court reporter's 8-button chording
machine).
Judy
On Tue, 2 Aug 2005, Andre Garzia wrote:
> It's not a multi-button mouse, it's a zero button mouse!!! :D less is
> more!!!!
From JimAultWins at yahoo.com Tue Aug 2 20:16:29 2005
From: JimAultWins at yahoo.com (Jim Ault)
Date: Tue, 02 Aug 2005 17:16:29 -0700
Subject: Rev IDE bug in Win XP script windows
In-Reply-To: <42F00026.9010804@fourthworld.com>
Message-ID:
I really don't believe it is a Rev problem. The system is doing other
whacky stuff and we are having a technician coming in to analyze the hard
drive. My suspicion is "no virus, no Rev problem, bad sector or something"
Jim Ault
Las Vegas
On 8/2/05 4:22 PM, "Richard Gaskin" wrote:
> Jim Ault wrote:
>> Continuing saga... corruption now affecting more programs.. time for disk
>> clean up. Thanks for the good info.
>
> Doesn't sound like corruption of the Rev files. But if this is
> recurring has anyone BZ'd it?
From webmaster at dreamscapesoftware.com Tue Aug 2 20:16:04 2005
From: webmaster at dreamscapesoftware.com (Derek Bump)
Date: Tue, 02 Aug 2005 19:16:04 -0500
Subject: While waiting for XP support....
In-Reply-To: <42EEF533.2050507@fourthworld.com>
References: <42EEF533.2050507@fourthworld.com>
Message-ID: <42F00CC4.4050109@dreamscapesoftware.com>
Richard Gaskin wrote:
> Good news for us developers: its appearance is very much like a slightly
> less candy-colored variant of OS X, so any graphic treatments in your
> UIs will look much more at home on both platforms....
I know this is not the appropriate forum, but I have to say it. I just
love the screen shots that show the artifacts that still remain from
Windows 95. Makes me wonder if MS will ever understand that if you
intend to change the GUI, you have to change the whole thing and not
just pieces.
Also, this honestly looks like nothing more than a new theme for Windows
XP. The only thing different I can see is window shadows and
transparency effects.
Yeah, I know. It's not done yet. I'll shut up now. :)
Derek Bump
Dreamscape Software
_______________________________________________
Compress Photos for the Web with JPEGCompress
http://www.dreamscapesoftware.com/
From ambassador at fourthworld.com Tue Aug 2 20:17:41 2005
From: ambassador at fourthworld.com (Richard Gaskin)
Date: Tue, 02 Aug 2005 17:17:41 -0700
Subject: [OT] Pigs Fly
In-Reply-To:
References:
Message-ID: <42F00D25.9020009@fourthworld.com>
Judy Perry wrote:
> Whew! I'm feeling better already.
>
> I'm in agreement with Raskin on the uni-button mouse being preferrable for
> error-reduction.
Three factors come into play, with error-reduction being one of them.
The other is productivity, and a third being learnability.
I have no doubt Raskin got it right with error-reduction, and of course
a single-button mouse will score higher on learnability by virtue of
having less to learn.
But the question manufacturers face in the 21st century is:
"Does our audience today have enough experience with
mice to use a multi-button mouse more productively
than a single-button mouse?"
Apple seems to have answered that question well.
The single-button mouse was revolutionary for adoption of modern GUIs --
thank you Mr. Engelbart.
But the majority of today's computer purchasers have previous experience
with computing, are quite comfortable with mice, and can take advantage
of the productivity gains of multi-button mice with far less trouble
than yesterday's newbies.
--
Richard Gaskin
Fourth World Media Corporation
___________________________________________________________
Ambassador at FourthWorld.com http://www.FourthWorld.com
From jspencer78 at mac.com Tue Aug 2 20:42:49 2005
From: jspencer78 at mac.com (James Spencer)
Date: Tue, 2 Aug 2005 19:42:49 -0500
Subject: global problems
In-Reply-To: <42EFFE36.7040900@fourthworld.com>
References: <20050801194657.16C6E825579@mail.runrev.com>
<86972dff310fdd3b42c2f31faa0ae8d9@interisland.net>
<15528990786.20050801183530@ahsoftware.net>
<42EED079.4000701@chipp.com>
<3547440295.20050801234259@ahsoftware.net>
<42EF8C3D.2010207@hyperactivesw.com>
<17214500670.20050802121315@ahsoftware.net>
<42EFFCF6.7090609@sover.net> <42EFFE36.7040900@fourthworld.com>
Message-ID:
On Aug 2, 2005, at 6:13 PM, Richard Gaskin wrote:
> In any language I've worked with, you declare a global and it stays
> in memory until you delete it or quit the program.
>
> I don't know of any language that deletes globals automatically
> based on whether the app closes or opens files from disk.
>
This of course brings us back to the real issue here. What is
different about Rev as versus other most other languages from Think
Pascal through Xcode Objective C is that when you are running a stack
in the IDE, the IDE IS the app and as you note, globals stick around
until the app exits or you delete them.
The remarkably tight integration between the projects we are building
and the IDE itself requires a concept change in many areas, not just
globals, e.g. messaging. When I send an Objective C message in an
Xcode program, even with ZeroLink on, that message is not going to
get to Xcode itself. But system messages that I don't handle can get
to all kinds of places I didn't expect.
Rev is just different in this regard and because of that difference,
you need and want the behavior to be exactly what it is because the
only way the IDE could tell that you want a certain group of stacks
to be considered an "app" would be by limiting the flexibility we
have now. Yes, this requires that the programmer be aware of
possible side effects in and from other stacks but that is no more
true for globals than it is for say the preopenstack message.
James P. Spencer
Rochester, MN
jspencer78 at charter.net
"Badges?? We don't need no stinkin badges!"
From davis.phil at comcast.net Tue Aug 2 20:46:50 2005
From: davis.phil at comcast.net (Phil Davis)
Date: Tue, 02 Aug 2005 17:46:50 -0700
Subject: when can I set a substack's properties?
In-Reply-To:
References:
Message-ID: <42F013FA.6080405@comcast.net>
Hi Charles,
You can do a LOT with a substack without officially opening it.
- I'm assuming you're talking about a substack of a stack that's already
open. If so, the substack is already in memory.
- You can get/set its properties.
- You can run its handlers by invoking them directly:
send "doSomething" to stack "sub1".
- If you 'start using' the substack, you can use its image object IDs as
icon IDs of your mainstack buttons. (It'll sometimes work even if you
don't 'start using' it, but it'll *definitely* work if you do.)
You can do all these same things to any unopened stack. But in the case
of an unopened stack that's not already in memory, the first thing that
happens when you "touch" it in any way is that is gets loaded into
memory. This means you can preload stacks into memory before opening
them by just referencing something about them. Then later when you "go
to" them, the navigation doesn't take as long. This can be helpful if
you're going to a large stack.
HTH.
Phil Davis
Charles Hartman wrote:
> I'm not clear about when a substack "exists." I want to set some custom
> properties in a substack from a script in the main stack, and it would
> be a lot handier if I could do it before issuing the "open" command for
> the substack. It seems to work OK during my development cycle in the
> IDE. But will it work (in a stack being run under the Dreamcard Player)
> the first time out of the box? Or do I have to issue an "open" command
> before Rev will know the substack exists, and where to put stuff in it?
>
> The substack is part of the stack file, so is it true that Rev knows
> all about it, and properties (custom or built-in) can be set before
> it's opened? The IDE's own evidence is kind of mixed: the Application
> Browser knows the substack while it's closed, but the Inspector doesn't.
>
> Charles Hartman
From alex at tweedly.net Tue Aug 2 20:51:40 2005
From: alex at tweedly.net (Alex Tweedly)
Date: Wed, 03 Aug 2005 01:51:40 +0100
Subject: [OT] Pigs Fly
In-Reply-To:
References:
Message-ID: <42F0151C.6090909@tweedly.net>
Judy Perry wrote:
>Whew! I'm feeling better already.
>
>I'm in agreement with Raskin on the uni-button mouse being preferrable for
>error-reduction.
>
>
And the one-key keyboard. Hardly any typing mistakes using that .... :-)
>(I know, I know: I'm ducking the expected onslaught of people who swear by
>the right-click with an eye on whether they'd be equally enthusiastic
>about using a Unix 3-button mouse or a court reporter's 8-button chording
>machine).
>
>
I learnt to use a mouse on a 3-button system - still, IMO, best for an
expert, all-day user. But because neither Mac nor Win UIs support it
well, there are few apps nowadays that take proper advantage of a third
button, so it's not as big an advantage now as it used to be. (And I
wouldn't give up my scroll wheel for it :-)
--
Alex Tweedly http://www.tweedly.net
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.9.9/62 - Release Date: 02/08/2005
From davis.phil at comcast.net Tue Aug 2 20:53:20 2005
From: davis.phil at comcast.net (Phil Davis)
Date: Tue, 02 Aug 2005 17:53:20 -0700
Subject: when can I set a substack's properties?
In-Reply-To: <42F013FA.6080405@comcast.net>
References:
<42F013FA.6080405@comcast.net>
Message-ID: <42F01580.4020802@comcast.net>
One forgotten yet exciting (?) detail:
Phil Davis wrote:
-- snip --
> You can do all these same things to any unopened stack. But in the case
> of an unopened stack that's not already in memory, the first thing that
> happens when you "touch" it in any way is that is gets loaded into
> memory. This means you can preload stacks into memory before opening
> them by just referencing something about them.
You can reference something about the unloaded stack that doesn't
actually exist, like this:
get the fakeProperty of stack "bigImages"
Phil
From bvlahos at mac.com Tue Aug 2 21:07:15 2005
From: bvlahos at mac.com (Bill Vlahos)
Date: Tue, 2 Aug 2005 18:07:15 -0700
Subject: [OT] Pigs Fly --a rose by any other name...
In-Reply-To:
References: <42EFD3C6.5040800@fourthworld.com>
Message-ID: <4F96C4D8-FB48-4CFF-B819-CE6383750F41@mac.com>
They say it can act like a single button mouse if you like but it
actually IS a multi-button mouse. I'll have to see it to see how well
it works but there are sensors in the front for both a left and right
mouse button action.
It looks interesting. I really like my Kensington Optical Elite
(scroll wheel multbutton) mouse. Hopefully Apple did a great job on
this but we will just have to try it.
The most interesting aspect to me is the advancement on the scroll
wheel so that it moves in all directions. This could be really good
if it is well done.
The only real concern I have is in the feedback to the user of
actions. A nice tactile feel and click is a good thing. I've never
really liked the idea of sounds (like from a little speaker in the
mouse) as the only feedback. We will have to try it to see.
Bill
On Aug 2, 2005, at 5:08 PM, Dennis Brown wrote:
> Folks,
>
> I hate to rain on your parade, but it IS a single button mouse.
> Apple goes to great pains to point this fact out, just so they can
> say they have not abandoned the single button mouse philosophy.
> There is a single button. The touch sensors are on the left and
> right sides (like holding down the control key when clicking the
> single button mouse now). I guess pushing on the scroll button
> clicks the mouse with neither right or left touch sensors
> activated, so it is a third kind of click. The side "force" sensor
> is not technically a button either. The whole mouse moves down to
> activate the button --it is one big button.
>
> The lengths a company will go to just to never admit they were
> wrong. All I can say, is: If it walks like a duck and quacks like
> a duck, it must be a rose...
>
> Dennis
>
> On Aug 2, 2005, at 4:16 PM, Andre Garzia wrote:
>
>
>>
>> On Aug 2, 2005, at 5:12 PM, Richard Gaskin wrote:
>>
>>
>>
>>> Just as I'd heard from Punxatawny Phil, the Prognosticator of
>>> Prognosticators, Apple is finally joining the rest of the
>>> industry in shipping a multi-button mouse for its customers:
>>>
>>> New Mouse for Macs Has Multiple Buttons
>>> >> apple_s_new_mouse;_ylt=As1C3mk3YMOhH9.n16yV7fYDW7oF;_ylu=X3oDMTBiMW0
>>> 4NW9mBHNlYwMlJVRPUCUl>
>>>
>>>
>>
>> It's not a multi-button mouse, it's a zero button mouse!!! :D less
>> is more!!!!
>>
>> (it uses a touch sensor and it has a internal speaker for sound
>> feedback... clever ain't it. Tech is derived from iPod scroll
>> wheel tech.)
>>
>> Cheers
>> andre
>>
>> PS: I want one!
>>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
From chipp at chipp.com Tue Aug 2 21:14:03 2005
From: chipp at chipp.com (Chipp Walters)
Date: Tue, 02 Aug 2005 20:14:03 -0500
Subject: [OT] Pigs Fly
In-Reply-To:
References:
Message-ID: <42F01A5B.2010502@chipp.com>
Judy Perry wrote:
> Whew! I'm feeling better already.
>
> I'm in agreement with Raskin on the uni-button mouse being preferrable for
> error-reduction.
Judy,
Good duck and cover ;-)
Never using a computer in the first place reduces errors to nill...does
that make it preferrable? Just wondering, how much experience do you
have with multi-button mice?
best,
Chipp
From chipp at chipp.com Tue Aug 2 21:20:11 2005
From: chipp at chipp.com (Chipp Walters)
Date: Tue, 02 Aug 2005 20:20:11 -0500
Subject: [OT] Pigs Fly --a rose by any other name...
In-Reply-To: <4F96C4D8-FB48-4CFF-B819-CE6383750F41@mac.com>
References: <42EFD3C6.5040800@fourthworld.com>
<4F96C4D8-FB48-4CFF-B819-CE6383750F41@mac.com>
Message-ID: <42F01BCB.9010609@chipp.com>
Bill Vlahos wrote:
> The only real concern I have is in the feedback to the user of actions.
> A nice tactile feel and click is a good thing. I've never really liked
> the idea of sounds (like from a little speaker in the mouse) as the
> only feedback. We will have to try it to see.
I'm with you on that Bill! Not having any feedback, or click sensation,
would IMO really make things difficult. Perhaps there's something else
to the experience once you've tried it.
As an Industrial Designer in a former life, I've spent a bit of time
with HF testing labs and can say w/out a doubt, Apple's interface
hardware products rarely scored above average. They always scored high
in the 'cool factor.' One year I was asked by Business Week to be a
judge for their annual design issue, and I believe we awarded Apple 2 or
3 prizes. But it was mostly for style, not substance.
-Chipp
From chipp at chipp.com Tue Aug 2 21:24:17 2005
From: chipp at chipp.com (Chipp Walters)
Date: Tue, 02 Aug 2005 20:24:17 -0500
Subject: Rev quits on stack removed from memory?
In-Reply-To:
References:
Message-ID: <42F01CC1.10903@chipp.com>
Hi Charles,
I, too, have seen this happen. I'm pretty sure it has something to do
with the breakpoints in your stacks.
Try this if you can produce a recipe where it predictably quits:
After you close your stacks and before you click on menu, or close the
scripts-- type and execute in the msg:
set the breakpoints to empty.
See if that doesn't fix it. If it does, then you should 'fix' your
stacks as they have some unresolved breakpoint properties. You can get
Xavier's plugin which will 'fix' stacks like this.
best,
Chipp
Charles Hartman wrote:
> I haven't seen this often enough to be sure -- but it _seems_ to me
> that if I have a couple of scripts open for editing, and close-and-
> remove-from-memory the stack they belong to, and then as an
> afterthought try to close those script windows, then Rev dies (Close,
> Reopen, Report to Apple).
From scott at elementarysoftware.com Tue Aug 2 21:23:56 2005
From: scott at elementarysoftware.com (Scott Morrow)
Date: Tue, 2 Aug 2005 18:23:56 -0700
Subject: open drawer bug 3026
Message-ID: <3440b0c6a5955a47657f82b9429aa9b2@elementarysoftware.com>
Using Rev 2.6 I noticed that when opening a stack as a drawer it does
not slide open smoothly (as in Rev2.5.1) but simply snaps open. It
does close with the standard drawer effect. I've submitted a BugZilla
report, 3026, if anyone else would care to cast a vote.
-Scott Morrow
Elementary Software
(Now with 20% less chalk dust !)
web http://elementarysoftware.com/
email scott at elementarysoftware.com
From douggilliland at gmail.com Tue Aug 2 21:30:06 2005
From: douggilliland at gmail.com (Douglas Gilliland)
Date: Tue, 2 Aug 2005 21:30:06 -0400
Subject: Flashing numbers added to Number Picker stack.
In-Reply-To: <203.6c16065.301e88b8@aol.com>
References: <203.6c16065.301e88b8@aol.com>
Message-ID: <890e3d26050802183065174e95@mail.gmail.com>
Thanks for the script but I can't get it to work. I get the error:
Type Handler: error in command
Object Button
Line on MakeList DerNumber
Hint on
I'm too new at this to figure it out. Any ideas?
Thanks,
Doug Gilliland
Sarasota, FL
On 7/31/05, Cubist at aol.com wrote:
> sez douggilliland at gmail.com:
> >One more question - if it's not asking too much.
> >Sometimes I want a number, once it is selected, to be taken out of
> >circulation. Is there a short script to add that will do this? I have
> >searched all the resources but cannot find anything that explains how
> >to do this.
> Try something like this:
>
> local WhatzLeft
>
> on MakeList DerNumber
> -- call this function when you want to generate a pool of numbers
> --
> -- it assumes DerNumber is a positive integer, so watch what you feed it
>
> put "" into Rezult
> repeat with K1 = 1 to DerNumber
> put K1 into item K1 of Rezult
> end repeat
> put Rezult into WhatzLeft
> end MakeList
>
> function PickOne
> put the number of items in WhatzLeft into PoolSize
> if PoolSize = 0 then
> return "Hey! Doofus! You ain't got nuttin' left!"
> else
> put the random of PoolSize into Fred
> put item Fred of WhatzLeft into Rezult
> delete item Fred of WhatzLeft
> return Rezult
> end if
> end PickOne
>
> Hope this helps...
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
From vokey at uleth.ca Tue Aug 2 21:32:13 2005
From: vokey at uleth.ca (John Vokey)
Date: Tue, 2 Aug 2005 19:32:13 -0600
Subject: use-revolution Digest, Vol 23, Issue 10
In-Reply-To: <20050803003215.5351782549A@mail.runrev.com>
References: <20050803003215.5351782549A@mail.runrev.com>
Message-ID: <5BE31E0B-D96D-4547-BAE0-696AF386631C@uleth.ca>
Nope. Thumbsize is 11. One other strange change: a grey bar occurs
a few pixels below the slider that doesn't appear with any previous
version of OS X.
On 2-Aug-05, at 6:32 PM, use-revolution-request at lists.runrev.com wrote:
> Is it possible the thumbsize of the slider is 0?
> This tends to slow down rev enormously in Tiger (may be also in older
> OS but can't test it anymore)
> Setting it to 1 resolves this problem.
>
> Greetings,
> Wouter
- JRV
--
There are 10 kinds of people: those who understand binary, and those
who don't
From vokey at uleth.ca Tue Aug 2 21:54:45 2005
From: vokey at uleth.ca (John Vokey)
Date: Tue, 2 Aug 2005 19:54:45 -0600
Subject: use-revolution Digest, Vol 23, Issue 9
In-Reply-To: <20050802225630.A435C82548F@mail.runrev.com>
References: <20050802225630.A435C82548F@mail.runrev.com>
Message-ID: <43372404-479F-4E72-9475-603A2DE04D0C@uleth.ca>
This is even stranger: there are no idle loops, etc., but under
10.4.2, it uses upwards of 85% CPU time (and the fans come on for
both my G5s and my powerbooks), but drops to virtually nothing under
10.3.x. This is a serious, but peculiar bug. BTW, Mark's solution
won't work as I have no scripts associated with the slider (they all
occur at the card level where the slider value is read).
On 2-Aug-05, at 4:56 PM, use-revolution-request at lists.runrev.com wrote:
> I have encountered a strange system incompatibility. Stacks that ran/
> run fine under Mac OS X 10.3.x, produce the following peculiar
> behaviour under 10.4.2 (whether using the MC or RR IDE). I have a
> slider in a group that also contains a default (throbbing) button,
> which is to be clicked when the slider is in the position the user
> wants. All is fine under 10.3.x (i.e., the button throbs and the
> slider tracks the mouse as the user slides it back and forth); under
> 10.4.2, the button s-l-o-w-l-y throbs (i.e., you can see each step of
> the throb animation), and the slider no longer keeps up with the
> mouse (i.e., it lags by a lot). It is like the whole system has been
> slowed down by a factor of 2 or 3 (i.e., 100 or a 1000-fold). Yet,
> other default buttons throb correctly. (I have no other sliders in
> these stacks). It is clearly not my code (indeed, I have used this
> group successfully since at least MC 2.2, and probably before, and on
> all other versions of OS X).
>
- JRV
--
There are 10 kinds of people: those who understand binary, and those
who don't
From charles.hartman at conncoll.edu Tue Aug 2 22:43:15 2005
From: charles.hartman at conncoll.edu (Charles Hartman)
Date: Tue, 2 Aug 2005 22:43:15 -0400
Subject: when can I set a substack's properties?
In-Reply-To: <42F013FA.6080405@comcast.net>
References:
<42F013FA.6080405@comcast.net>
Message-ID:
Very, very nifty. It's making me think about redesigning the main-
stack / complicated-dialog relation I'm working on. Many thanks.
Charles
On Aug 2, 2005, at 8:46 PM, Phil Davis wrote:
> Hi Charles,
>
> You can do a LOT with a substack without officially opening it.
>
> - I'm assuming you're talking about a substack of a stack that's
> already open. If so, the substack is already in memory.
>
> - You can get/set its properties.
>
> - You can run its handlers by invoking them directly:
> send "doSomething" to stack "sub1".
>
> - If you 'start using' the substack, you can use its image object
> IDs as icon IDs of your mainstack buttons. (It'll sometimes work
> even if you don't 'start using' it, but it'll *definitely* work if
> you do.)
>
>
> You can do all these same things to any unopened stack. But in the
> case of an unopened stack that's not already in memory, the first
> thing that happens when you "touch" it in any way is that is gets
> loaded into memory. This means you can preload stacks into memory
> before opening them by just referencing something about them. Then
> later when you "go to" them, the navigation doesn't take as long.
> This can be helpful if you're going to a large stack.
>
>
> HTH.
>
> Phil Davis
>
>
>
> Charles Hartman wrote:
>
>> I'm not clear about when a substack "exists." I want to set some
>> custom properties in a substack from a script in the main stack,
>> and it would be a lot handier if I could do it before issuing the
>> "open" command for the substack. It seems to work OK during my
>> development cycle in the IDE. But will it work (in a stack being
>> run under the Dreamcard Player) the first time out of the box? Or
>> do I have to issue an "open" command before Rev will know the
>> substack exists, and where to put stuff in it?
>> The substack is part of the stack file, so is it true that Rev
>> knows all about it, and properties (custom or built-in) can be
>> set before it's opened? The IDE's own evidence is kind of mixed:
>> the Application Browser knows the substack while it's closed, but
>> the Inspector doesn't.
>> Charles Hartman
>>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
From jperryl at ecs.fullerton.edu Tue Aug 2 22:54:58 2005
From: jperryl at ecs.fullerton.edu (Judy Perry)
Date: Tue, 2 Aug 2005 19:54:58 -0700 (PDT)
Subject: [OT] Pigs Fly
In-Reply-To: <42F00D25.9020009@fourthworld.com>
Message-ID:
I knowe you and others doubtless believe this. So, a uni-button mouse
scores higher on 2 out of 3. Not bad. As for 3, productivity, that's
something that comes later, as an advanced skill, much as does a 3 button
mouse or an 8-chord transcription device.
As I'm guessing that the purpose of the right-click is to offer a
short-hand access to a software's commands, it could be argued that
keystroke-accelerator-comands are about as fast (slower, to be certain,
unless you can tab to select items).
Every day there are people who are new to computers who are learning to
use them. I once had a retired cardiac surgeon take the 'how to turn it
on' class. It happened to be on the PC platform. He got so confused over
the two buttons that he ended up dropping the class.
Clearly, he was not a stupid man. And then there's children still
learning their left from their right. And then there's the elderly, with
perhaps diminishing fine motor control (this was one of several issues at
play with respect to the surgeon).
I suppose a 2 (or 3, or ...) button mouse scores higher on productivity
similar to how some people absolutely swear by an automatic transmission
(predictably, I'm swearing _at_ it).
Another issue I have with the right-clicking is that it sometimes
seriously violates Schneiderman's articulation of the direct manipulation
paradigm in that the user can sometimes right-click on nothing in the
middle of nowhere.
So, I'm happy to hear of another uni-button Apple mouse. People
preferring a 2 (or 3 or...) button mouse can already buy them.
(Kensington's trackball has up to 4 programmable buttons as you doubtless
are aware). I wonder how well they sell? Doubtless, Kensington's not
losing money, but still I wonder.
And, for what it's worth, whenever we discuss this issue in class, only
the unix geeks are (consistently) comfortable with a 3 button mouse.
Judy
On Tue, 2
Aug 2005, Richard Gaskin wrote:
> Three factors come into play, with error-reduction being one of them.
> The other is productivity, and a third being learnability.
From jperryl at ecs.fullerton.edu Tue Aug 2 23:06:08 2005
From: jperryl at ecs.fullerton.edu (Judy Perry)
Date: Tue, 2 Aug 2005 20:06:08 -0700 (PDT)
Subject: [OT] Pigs Fly
In-Reply-To: <42F01A5B.2010502@chipp.com>
Message-ID:
Chipp,
I use two-button mice when I teach on the PC platform. I've played
around with 3-button mice a bit. I have a 4-button programmable
Kensington trackball (and a two-button Stingray trackball that offers true
right-clickability).
In addition to reading and agreeing with Raskin (although I think he was a
bit of a nutter on the whole modality issue), my observations are partly
based on nearly a decade of teaching new computer users how to use a
computer. And it's definitely been a problem.
I'm not certain I understand your argument about not using a computer
reducing errors. Of course that's true. But that's not the issue. It's
which is easier to learn? A one-button mouse or a two button mouse or a
three button mouse... or an n-button mouse?
Englebert, of course, ultimately ended up preferring something else
altogether to a uni-button mouse. I think it was a foot-based control. I
once had an English teacher stricken by polio in his youth who steered his
car using a foot-based device...
Judy
On Tue, 2 Aug 2005, Chipp Walters wrote:
> Judy,
>
> Good duck and cover ;-)
>
> Never using a computer in the first place reduces errors to nill...does
> that make it preferrable? Just wondering, how much experience do you
> have with multi-button mice?
From jperryl at ecs.fullerton.edu Tue Aug 2 23:08:18 2005
From: jperryl at ecs.fullerton.edu (Judy Perry)
Date: Tue, 2 Aug 2005 20:08:18 -0700 (PDT)
Subject: [OT] Pigs Fly --a rose by any other name...
In-Reply-To: <42F01BCB.9010609@chipp.com>
Message-ID:
That's an interesting observation... the deaf for years have been
clamouring for such tactile devices, particularly for gaming, and the
visually impaired for, well, just about everything else I suspect.
'Twould be nice...
The puck sucked, though. But my kids like it (their hands are small
enough).
Judy
On Tue, 2 Aug 2005, Chipp Walters wrote:
>
>
> Bill Vlahos wrote:
>
> > The only real concern I have is in the feedback to the user of actions.
> > A nice tactile feel and click is a good thing. I've never really liked
> > the idea of sounds (like from a little speaker in the mouse) as the
> > only feedback. We will have to try it to see.
>
> I'm with you on that Bill! Not having any feedback, or click sensation,
> would IMO really make things difficult. Perhaps there's something else
> to the experience once you've tried it.
>
> As an Industrial Designer in a former life, I've spent a bit of time
> with HF testing labs and can say w/out a doubt, Apple's interface
> hardware products rarely scored above average. They always scored high
> in the 'cool factor.' One year I was asked by Business Week to be a
> judge for their annual design issue, and I believe we awarded Apple 2 or
> 3 prizes. But it was mostly for style, not substance.
From scott at elementarysoftware.com Tue Aug 2 23:38:06 2005
From: scott at elementarysoftware.com (Scott Morrow)
Date: Tue, 2 Aug 2005 20:38:06 -0700
Subject: numToChar(28) in list field
Message-ID:
I have a list field where the items on each line are delimited with
numToChar(28). This works fine when I edit the content of the list
field using a script. However, when I edit it using an object
inspector window the item delimiters all change to numToChar(215).
This is easy enough to work around but I'm curious about what the heck
is going on. There is probably a good reason but I can't think of it.
-Scott Morrow
Elementary Software
(Now with 20% less chalk dust !)
web http://elementarysoftware.com/
email scott at elementarysoftware.com
From userev at canelasoftware.com Wed Aug 3 00:47:14 2005
From: userev at canelasoftware.com (Mark Talluto)
Date: Tue, 2 Aug 2005 21:47:14 -0700
Subject: use-revolution Digest, Vol 23, Issue 10
In-Reply-To: <5BE31E0B-D96D-4547-BAE0-696AF386631C@uleth.ca>
References: <20050803003215.5351782549A@mail.runrev.com>
<5BE31E0B-D96D-4547-BAE0-696AF386631C@uleth.ca>
Message-ID: <98F525F8-288B-4F60-B5FF-836F835393AA@canelasoftware.com>
On Aug 2, 2005, at 6:32 PM, John Vokey wrote:
> Nope. Thumbsize is 11. One other strange change: a grey bar
> occurs a few pixels below the slider that doesn't appear with any
> previous version of OS X.
Bug 3043 has been posted in BugZilla to get this fixed.
Mark Talluto
--
CANELA Software
http://www.canelasoftware.com
From userev at canelasoftware.com Wed Aug 3 00:48:39 2005
From: userev at canelasoftware.com (Mark Talluto)
Date: Tue, 2 Aug 2005 21:48:39 -0700
Subject: use-revolution Digest, Vol 23, Issue 9
In-Reply-To: <43372404-479F-4E72-9475-603A2DE04D0C@uleth.ca>
References: <20050802225630.A435C82548F@mail.runrev.com>
<43372404-479F-4E72-9475-603A2DE04D0C@uleth.ca>
Message-ID: <0AD51F2B-5B9A-4E35-85B5-B0FCAA4E4FCA@canelasoftware.com>
On Aug 2, 2005, at 6:54 PM, John Vokey wrote:
> This is even stranger: there are no idle loops, etc., but under
> 10.4.2, it uses upwards of 85% CPU time (and the fans come on for
> both my G5s and my powerbooks), but drops to virtually nothing
> under 10.3.x. This is a serious, but peculiar bug. BTW, Mark's
> solution won't work as I have no scripts associated with the slider
> (they all occur at the card level where the slider value is read)
I was not very clear about the solution. The mentioning of scripts
was only if you needed to preserve any scripted behavior in your
sliders. The true solution is the replace the slider altogether with
a new one from Rev 2.6. That has worked for me in every case.
Mark Talluto
--
CANELA Software
http://www.canelasoftware.com
From ambassador at fourthworld.com Wed Aug 3 00:50:30 2005
From: ambassador at fourthworld.com (Richard Gaskin)
Date: Tue, 02 Aug 2005 21:50:30 -0700
Subject: [OT] Pigs Fly
In-Reply-To:
References:
Message-ID: <42F04D16.5060808@fourthworld.com>
Judy Perry wrote:
> I knowe you and others doubtless believe this. So, a uni-button mouse
> scores higher on 2 out of 3. Not bad. As for 3, productivity, that's
> something that comes later, as an advanced skill
The majority of people who buy computers today have used one before.
There are no doubt many who haven't (likely the majority of the world's
people), but from a manufacturer's point of view the main question is
"Who's buying our boxes and what can we do for them?"
So among those likely to buy computers, in the 21st century apparently
Apple believes the market has matured enough to warrant two-button
functionality.
While learnability is important, learning happens exactly once. From
then on it's all about productivity for the rest of one's computing life.
By providing a mouse that people's productivity can grow with, Apple may
indeed be risking the learning curve for a subset of their market. But
given Apple's dedication to learnability I have to trust their judgement
on this.
Besides, even if I disagreed with them, would they listen to me? The
multi-button functionality is about to become the universal standard,
whether we disagree with Apple or not.
It would seem that the minority who may have trouble learning computing
with multi-button mouse functionality are the ones Apple is now
suggesting purchase a specialized mouse.
> Another issue I have with the right-clicking is that it sometimes
> seriously violates Schneiderman's articulation of the direct manipulation
> paradigm in that the user can sometimes right-click on nothing in the
> middle of nowhere.
Where in a modern GUI is "nowhere"? Even the Desktop is a place, and
has properties.
> So, I'm happy to hear of another uni-button Apple mouse.
Apple's new mouse a multi-button mouse in terms of functionality.
Whether Apple succeeds in a cleaner design to provide that
functionality, or instead confuses people by making the delineation
between left and right unclear, remains to be seen. Sometimes they get
it right (the iPod wheel) and sometimes not (the hockey puck iMac mouse).
--
Richard Gaskin
Managing Editor, revJournal
_______________________________________________________
Rev tips, tutorials and more: http://www.revJournal.com
From charlessilverman at sympatico.ca Wed Aug 3 01:04:33 2005
From: charlessilverman at sympatico.ca (Charles Silverman)
Date: Wed, 3 Aug 2005 01:04:33 -0400
Subject: right-click on Macs
In-Reply-To: <20050803043950.0E574825513@mail.runrev.com>
References: <20050803043950.0E574825513@mail.runrev.com>
Message-ID: <9DCDBC48-C38E-4CAA-952A-B3F3CB82E40A@sympatico.ca>
Is there a way to get the right-click when Rev is running on Mac OS X
machines to bring up Apple's Application wide contextual menu? It
makes sense to let the user access these features... I've gotten used
to the built-in dictionary feature, spell-checking and highlighting a
word or phrase and right-clicking to go directly to google and would
imagine that most Mac users are coming to expect these features in
all applications.
thanks,
Charles Silverman
From jeff at siphonophore.com Wed Aug 3 01:15:38 2005
From: jeff at siphonophore.com (Jeffrey Reynolds)
Date: Wed, 03 Aug 2005 01:15:38 -0400
Subject: [OT] Pigs Fly
In-Reply-To: <20050803043950.2C76182557D@mail.runrev.com>
References: <20050803043950.2C76182557D@mail.runrev.com>
Message-ID: <413db17970f8081e02f97a2732dd9b6b@siphonophore.com>
I gotta say after teaching folks how to use computers since back in jr
high in the mid 70s, if you can simplify something when you start out,
it helps. folks that have pointed out that not everyone is a computer
expert that buys a computer is very true. I still come across folks
that have had and used computers for years and they still dont
understand many aspects of their system, including the right click.
Apple has always drawn the type of user that has the
desire/talent/interest to do something, but doesn't always care much
(at least in the beginning) about the machine and how it works, so
getting them doing something fast has kept them a profit making company
when most others have been knocked out of the pc market long ago...
Apple has continued to mine the PC market for folks that get frustrated
with the complexity of their pc and want something more direct.
I dare say that apple has it right, start simple and when you advance
you can buy a multibutton mouse that fits your brain (mine has 5).
Apple users are smart enough to realize this, pc users, well... now
I'll duck!
sorry apple bashing poking gets a response from me. i have had too many
good, fairly controlled situations comparing the two platforms head to
head with striking results.
jeff reynolds
From ambassador at fourthworld.com Wed Aug 3 01:22:36 2005
From: ambassador at fourthworld.com (Richard Gaskin)
Date: Tue, 02 Aug 2005 22:22:36 -0700
Subject: [OT] Pigs Fly
In-Reply-To: <413db17970f8081e02f97a2732dd9b6b@siphonophore.com>
References: <20050803043950.2C76182557D@mail.runrev.com>
<413db17970f8081e02f97a2732dd9b6b@siphonophore.com>
Message-ID: <42F0549C.6030201@fourthworld.com>
Jeffrey Reynolds wrote:
> I dare say that apple has it right, start simple and when you advance
> you can buy a multibutton mouse that fits your brain (mine has 5). Apple
> users are smart enough to realize this, pc users, well... now I'll duck!
>
> sorry apple bashing poking gets a response from me.
I haven't seen much bashing here. Apple has decided to move toward
shipping mice with multi-button functionality. We can fight them or
support them, but it's what they're doing just the same.
The senior editor of Macworld, Jason Snell, reviews it here:
--
Richard Gaskin
Managing Editor, revJournal
_______________________________________________________
Rev tips, tutorials and more: http://www.revJournal.com
From ambassador at fourthworld.com Wed Aug 3 01:24:14 2005
From: ambassador at fourthworld.com (Richard Gaskin)
Date: Tue, 02 Aug 2005 22:24:14 -0700
Subject: right-click on Macs
In-Reply-To: <9DCDBC48-C38E-4CAA-952A-B3F3CB82E40A@sympatico.ca>
References: <20050803043950.0E574825513@mail.runrev.com>
<9DCDBC48-C38E-4CAA-952A-B3F3CB82E40A@sympatico.ca>
Message-ID: <42F054FE.8060409@fourthworld.com>
Charles Silverman wrote:
> Is there a way to get the right-click when Rev is running on Mac OS X
> machines to bring up Apple's Application wide contextual menu?
Do you mean system-wide? Which apps support that?
It'd be nice to have access to it, and it's equivalent on Windows too if
there is such a best.
--
Richard Gaskin
Managing Editor, revJournal
_______________________________________________________
Rev tips, tutorials and more: http://www.revJournal.com
From jperryl at ecs.fullerton.edu Wed Aug 3 02:22:18 2005
From: jperryl at ecs.fullerton.edu (Judy Perry)
Date: Tue, 2 Aug 2005 23:22:18 -0700 (PDT)
Subject: [OT] Pigs Fly
In-Reply-To: <42F04D16.5060808@fourthworld.com>
Message-ID: