"Silent" installs for QuickTime and MySQL??
Tian De Kock
TDeKock at cellc.co.za
Tue May 6 12:43:01 EDT 2003
Hi!
Bit of a newbie here, so please be gentle :-)
Does anybody know of "Silent" installs for QuickTime and MySQL? What I
mean is install programs for the above two apps that will install them
on Windows, but will install with no user intervention(i.e. you can use
a script to automatically install them)'.
This will make one's apps look professional, since the user does not
have to install QuickTime and MySQL on their own, which could possibly
be a bit too much for techno-phobes.
Any help greatly appreciated! :-)
Kind Regards
Tian
-----Original Message-----
From: use-revolution-request at lists.runrev.com
[mailto:use-revolution-request at lists.runrev.com]
Sent: 06 May 2003 01:49
To: use-revolution at lists.runrev.com
Subject: use-revolution digest, Vol 1 #1337 - 11 msgs
Send use-revolution mailing list submissions to
use-revolution at lists.runrev.com
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.runrev.com/mailman/listinfo/use-revolution
or, via email, send a message with subject or body 'help' to
use-revolution-request at lists.runrev.com
You can reach the person managing the list at
use-revolution-admin at lists.runrev.com
When replying, please edit your Subject line so it is more specific
than "Re: Contents of use-revolution digest..."
you can find the archives for this list at:
<http://lists.runrev.com/pipermail/use-revolution/>
and search them using this link:
<http://www.google.com/advanced_search?q=site:lists.runrev.com>
Today's Topics:
1. Re: Where can I find a list of results returned from commands?
(Richard Gaskin)
2. Re: Building a search engine into a project (miscdas at boxfrog.com)
3. Re: Building a search engine into a project (miscdas at boxfrog.com)
4. Re: Where can I find a list of results returned from commands? (T.
R. Ponn)
5. Re: Grabbing HTTP Headers (Dave Cole)
6. Re: Grabbing HTTP Headers (Sannyasin Sivakatirswami)
7. Re: setting the loc of a cloned window (Sarah)
8. custom Prop question (Stephen Messimer)
9. Re: custom Prop question (Richard Gaskin)
10. Re: custom Prop question (Jeanne A. E. DeVoto)
11. remove from list (Steve Neumann)
--__--__--
Message: 1
Date: Mon, 05 May 2003 10:45:53 -0700
Subject: Re: Where can I find a list of results returned from commands?
From: Richard Gaskin <ambassador at fourthworld.com>
To: <use-revolution at lists.runrev.com>
Reply-To: use-revolution at lists.runrev.com
T. R. Ponn wrote:
> Where can I find a list of "results" returned from commands? I'm
> particularly interested in the "Socket" cmds for now, but I'm sure
there
> will be others later. Th
See the socketError message, and see also the entries listed in its See
Also.
--
Richard Gaskin
Fourth World Media Corporation
Developer of WebMerge 2.2: Publish any database on any site
___________________________________________________________
Ambassador at FourthWorld.com http://www.FourthWorld.com
Tel: 323-225-3717 AIM: FourthWorldInc
--__--__--
Message: 2
From: miscdas at boxfrog.com
To: use-revolution at lists.runrev.com
Subject: Re: Building a search engine into a project
Date: Mon, 05 May 2003 14:23:29 -0500
Reply-To: use-revolution at lists.runrev.com
Ray Bennett writes:
[snip]
> Relative to expandable and searchable without the DB, however, there
may
> be a million right answers, but one classic HyperCard approach would
be to
> basically create a card catalog
> Finally, don't neglect the "browse" effect. You know, when you wander
> through the bookstore and see related titles near each other on the
shelf.
> This is where our old buddy Dewey comes in handy.
If you go this route, you don't need to be so formal as to use the Dewey
system, but you could just use your own sytem, be it numbers,
characters, or
entire descriptive words that classify the books into various groups.
miscdas
--__--__--
Message: 3
From: miscdas at boxfrog.com
To: use-revolution at lists.runrev.com
Subject: Re: Building a search engine into a project
Date: Mon, 05 May 2003 14:29:26 -0500
Reply-To: use-revolution at lists.runrev.com
James Lewes writes:
[snip]
> The oproblem I have is how do you create a search engine for
Revolution
To get you started, take a look at the FIND command. You can do a lot
with
it in searching through the fields in the cards in a stack.
miscdas
--__--__--
Message: 4
Date: Mon, 05 May 2003 15:52:43 -0400
From: "T. R. Ponn" <alptex2 at orwell.net>
Organization: ALPTEX, Inc.
To: use-revolution at lists.runrev.com
Subject: Re: Where can I find a list of results returned from commands?
Reply-To: use-revolution at lists.runrev.com
--------------040304020200060800050102
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Thanks...I saw all of that. What I'm missing is the actual results
from each of those commands. For example, I've learned from
experimenting [read: screwing up] that the "Write to Socket" command
will send a result of "timeout" is there's no response before the
socketTimeoutInterval elapses. Likewise, it will send "Socket is not
open" if a socket is not open. I just thought that somewhere there was
a list of all possible results for each of the commands. So:
write "001600000000"&null to socket (line 5 of allStatusLo&":"&line 6 of
allStatusLo)
get the result
if it = "timeout" then
resetAll
cleanStuffUp
else if it = "Socket is not open" then
answer "Duh...try connecting first"
else if it = "Whatever" then
doSomethingAppropriateForWhatever
end if
Sorry, I probably should have shown this code in my first post.
Best Regards, Tim Ponn
Richard Gaskin wrote:
>T. R. Ponn wrote:
>
>
>
>>Where can I find a list of "results" returned from commands? I'm
>>particularly interested in the "Socket" cmds for now, but I'm sure
there
>>will be others later. Th
>>
>>
>
>See the socketError message, and see also the entries listed in its See
>Also.
>
>
>
--------------040304020200060800050102
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body>
Thanks...I saw all of that. What I'm missing is the actual
results from
each of those commands. For example, I've learned from
experimenting [read:
screwing up] that the "Write to Socket" command will send a result of
"timeout"
is there's no response before the socketTimeoutInterval elapses.
Likewise,
it will send "Socket is not open" if a socket is not open. I just
thought
that somewhere there was a list of all possible results for each of the
commands.
So:<br>
<br>
write "001600000000"&null to socket (line 5 of
allStatusLo&":"&line
6 of allStatusLo)<br>
get the result<br>
if it = "timeout" then<br>
resetAll<br>
cleanStuffUp<br>
else if it = "Socket is not open" then<br>
answer "Duh...try connecting first"<br>
else if it = "Whatever" then<br>
doSomethingAppropriateForWhatever<br>
end if<br>
<br>
Sorry, I probably should have shown this code in my first post.<br>
<br>
Best Regards, Tim Ponn<br>
<br>
<br>
Richard Gaskin wrote:<br>
<blockquote type="cite"
cite="midBADBF161.2C979%25ambassador at fourthworld.com">
<pre wrap="">T. R. Ponn wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Where can I find a list of "results" returned from
commands? I'm
particularly interested in the "Socket" cmds for now, but I'm sure there
will be others later. Th
</pre>
</blockquote>
<pre wrap=""><!---->
See the socketError message, and see also the entries listed in its See
Also.
</pre>
</blockquote>
<br>
</body>
</html>
--------------040304020200060800050102--
--__--__--
Message: 5
Date: Mon, 5 May 2003 13:16:46 -0700
To: use-revolution at lists.runrev.com
From: Dave Cole <runrev at colegroup.com>
Subject: Re: Grabbing HTTP Headers
Reply-To: use-revolution at lists.runrev.com
>OK, I give up. I've spent a few hours researching this and haven't
>found an answer.
>
dan:
are we talking a mac server environment here (ie: webstar and/or
machttp)?
if so, i have a slew of hypertalk code on grabbing headers from a
webstar server that i will share either with you directly or with the
list.
i wrote a bunch of webstar cgis in hc back in 1997 ... it all
leverages appleEvents. ...
\dmc
--__--__--
Message: 6
Date: Mon, 5 May 2003 12:13:04 -1000
Subject: Re: Grabbing HTTP Headers
From: Sannyasin Sivakatirswami <katir at hindu.org>
To: use-revolution at lists.runrev.com
Reply-To: use-revolution at lists.runrev.com
Dan:
Well if you are using Apache it's easy.. .you can just read the globals
which are poked by the header when the request some down the pipe
Maybe the following little script will help. Have put the entire script
here in case it is useful to
others doing CGI stuff.. we recently converted our entire
HinduismToday.com site to .shtml
and restructured directories and this was created to deal with the fall
out.
Delete the stuff pertaining to our particular situation. it is a simple
solution also for anyone want to handle 404's on their site. Basically
this is a redirect solution... incoming 404 is checked for the
requested page. If the redirect is known then it can be found in the
404s-map.txt file. If the page definitely does not exist or for some
reason we don't want to map it to another page then we simply return a
sweet 404 page to the user with suggestions etc.
We have Rev other tools that FTP the log files from the remote server,
strip out all dups and present a clean list of this weeks 404's which
are then used to build more cases in the switch below or up date the
URL map.
#!/export/vhost/com/h/hinduismtoday/www/public_html/cgi-bin/mc
on startup
## this CGI is trigged by the .htaccess file invocatio of
## Apache's "Errordocument" module which passes the
## the HTTP header and other data from the GET request.
## to the Apache global variable "globals"
## we simply take this data, restructure it a bit and turn it into
## a little array.
repeat for each item i in the globals
put i & "=" & value(i) & cr after tGlobes
end repeat
split tGlobes by cr and "="
## now you have all the header info in a nice little array
## New we read in our redirect matrix/map into an array.
put url "file:../ssi/404s-map.txt" into urlMap
split urlMap by cr and "="
## now put the extract from the global array the page
## the person is trying to go and put it into
## into a variable.
put tGlobes["$REQUEST_URI"] into tRequest
##### logging feature
## here we extract certain parts of the http header
## and pass it to our own 404 log... I did this just
## be able to "watch' the 404's a bit more and this passes
## a bit more data that what we get in the error logs.
## but later we would eliminate this log... it's redundant and
## make another maintenance task: to clean up that log file.
put "*" & the date & cr after logEntry
put "$REQUEST_URI" & tab & tGlobes["$REQUEST_URI"] & cr after logEntry
put "$REMOTE_HOST" & tab & tGlobes["$REMOTE_HOST"] & cr after logEntry
put "$REMOTE_ADDR" & tab & tGlobes["$REMOTE_ADDR"] & cr after logEntry
put "$0" & tab & tGlobes["$0"] & cr after logEntry
put cr & cr after logEntry
switch
case tRequest contains ".html"
##replace .html with .shtml
put tRequest into tempRequest
replace ".html" with ".shtml" in tempRequest
##check for existance then redirect if yes
if there is a file "../" & tempRequest then
redirect_um(tempRequest)
break
end if
##test to see if it is an ht article (add ../archives)
if there is a file "../archives/" & tempRequest then
redirect_um("/archives" & tempRequest)
break
end if
##if not see if it is in the map
if tRequest is among the lines of (keys(urlMap)) then
redirect_um(urlMap[tRequest])
break
else
error_page tRequest,logEntry
break
end if
##break ## shouldn't be needed
##check to see if it is an HT article index page (it's not an html
file)
case (char 1 to 5 of tRequest contains "2")
put tRequest into tempRequest
replace ".html" with ".shtml" in tempRequest
##put archives infront then test for index.shtml
if there is a file "../archives/" & tempRequest & "index.shtml"
then
redirect_um("/archives" & tempRequest)
break
end if
##put archives infront then test for index.shtml in format
(/1995/1)
if there is a file "../archives/" & tempRequest & "/index.shtml"
then
redirect_um("/archives" & tempRequest & "/")
break
end if
##check to see if it is another kind of file like pdf in the
archives folder
if there is a file "../archives/" & tRequest then
redirect_um("/archives" & tRequest)
break
end if
##if not see if it is in the map
if tRequest is among the lines of (keys(urlMap)) then
redirect_um(urlMap[tRequest])
break
else
error_page tRequest,logEntry
break
end if
case (char 1 to 5 of tRequest contains "19")--means it's a
directory
put tRequest into tempRequest
replace ".html" with ".shtml" in tempRequest
##put archives infront then test for index.shtml
if there is a file "../archives/" & tempRequest & "index.shtml"
then
redirect_um("/archives" & tempRequest)
break
end if
##put archives infront then test for index.shtml in format
(/1995/1)
if there is a file "../archives/" & tempRequest & "/index.shtml"
then
redirect_um("/archives" & tempRequest & "/")
break
end if
##if not see if it is in the map
if tRequest is among the lines of (keys(urlMap)) then
redirect_um(urlMap[tRequest])
break
else
error_page tRequest,logEntry
break
end if
default
##if not see if it is in the map
if tRequest is among the lines of (keys(urlMap)) then
redirect_um(urlMap[tRequest])
break
else
error_page tRequest,logEntry
break
end if
end switch
end startup
on error_page theError,logEntry
## the request is not on our map...
## we send the user a page that helps him out a bit
## with his predicament... we need to work on this page
## it could be better done.. this was a first draft.
put url "file:../ssi/redirect_404.shtml" into buffer
replace "***requestedPage***" with theError in buffer
put "Content-Type: text/html" & cr
put "Content-Length:" && the length of buffer & cr & cr
put buffer
put logEntry after url "file:../webmaster/logs/404s.txt"
end error_page
on redirect_um pageToRedirectTo
put pageToRedirectTo into newURL
put "Status: 301 Moved Permanently" & cr
## in theory the above updates caches
## in search engines and the local browser such
put "Location: " & newURL & cr & cr
end redirect_um
Good Luck!
Sannyasin Sivakatirswami
Himalayan Academy Publications
at Kauai's Hindu Monastery
katir at hindu.org
www.HimalayanAcademy.com,
www.HinduismToday.com
www.Gurudeva.org
www.Hindu.org
On Monday, May 5, 2003, at 10:16 AM, Dave Cole wrote:
> From: Dave Cole <runrev at colegroup.com>
> Date: Mon May 5, 2003 10:16:46 AM Pacific/Honolulu
> To: use-revolution at lists.runrev.com
> Subject: Re: Grabbing HTTP Headers
> Reply-To: use-revolution at lists.runrev.com
>
>> OK, I give up. I've spent a few hours researching this and haven't
>> found an answer.
>>
>
> dan:
>
> are we talking a mac server environment here (ie: webstar and/or
> machttp)?
>
> if so, i have a slew of hypertalk code on grabbing headers from a
> webstar server that i will share either with you directly or with the
> list.
>
> i wrote a bunch of webstar cgis in hc back in 1997 ... it all
> leverages appleEvents. ...
>
> \dmc
--__--__--
Message: 7
Date: Tue, 6 May 2003 10:22:06 +1000
Subject: Re: setting the loc of a cloned window
From: Sarah <sarahr at genesearch.com.au>
To: use-revolution at lists.runrev.com
Reply-To: use-revolution at lists.runrev.com
This is the answer!
My new procedure, which clones a stack and positions it invisibly, is
as follows:
In the script that does the cloning:
work out the positioning for the new stack (I use topLeft)
set a custom property of the ORIGINAL to this position setting
clone the original
The original (& therefore the clone) has a preOpenStack handler as
follows:
on preOpenStack
open invisible me
set the topleft of me to the cPresetTL of me
send "drawGraphics" to me in 5 ticks
end preOpenStack
I wouldn't have thought that an open invisible command would have
worked within a preOpenStack handler as it is already opening, but it
really does. Strangely, you don't even need to make the stack visible -
it just appears in the correct place.
One wrinkle (& the reason why the drawGraphics handler is not called
immediately) - as I mentioned before, cloning a stack overrides the
lock screen command, so at first, my graphics were drawing visibly and
slowly. I tried putting another lock screen command at the start of my
drawGraphics handler but it still didn't work until I used a send to
call drawGraphics after a delay. Now it all works perfectly :-)
Thanks to everyone who contributed to this solution and especially Ron.
Cheers,
Sarah
sarahr at genesearch.com.au
http://www.troz.net/Rev/
On Friday, May 2, 2003, at 05:26 pm, Ron wrote:
> Hi Sarah
>
> I use an expanded version of the following for several sub-stacks in
> an app
> and don't see the wd before it opens. This particular ex. tiles the
wd.
> Maybe you can try:
>
> on preopenstack
> global newnotecnt
> open inv me
> put the screenloc into themid
> put the last char of newnotecnt into thenum
> put (thenum * 20) -100 into themod
> put themod + item 1 of themid &","& themod + item 2 of themid into
> newloc
> set the location of me to newloc
> end preopenstack
>
> Ron
>>
>> No, that doesn't fix it. I still see the clone appearing in a
>> different
>> place and then moving. The place it appears varies according to the
>> size of the original window.
>>
>> Sarah
>>
>> On Friday, May 2, 2003, at 03:53 pm, Monte Goulding wrote:
>>
>>>
>>> Set the loc of the original before the clone then you won't get the
>>> move.
>>>
>>> Cheers
>>>
>>> Monte
>>>>
>>>> Related to the problem of setting the loc of modal dialogs, I have
a
>>>> problem setting the loc of a cloned stack without it appearing in
>>>> another place first.
>>>>
>>>> I have tried locking the screen and making the original invisible
>>>> but
>>>> the clone always appears above and to the right of the original
>>>> before
>>>> moving to where I tell it to go. Does anyone know how to do this
>>>> invisibly?
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
>
>
>
--__--__--
Message: 8
Date: Mon, 5 May 2003 22:58:13 -0400
Subject: custom Prop question
From: Stephen Messimer <steve at messimercomputing.com>
To: use-revolution at lists.runrev.com
Reply-To: use-revolution at lists.runrev.com
Hi,
Anyone have any idea how much text can be stored in a custom property?
Thanks.
Regards,
Steve
Stephen R. Messimer, PA
208 1st Ave. South
Escanaba, MI 49829
www.messimercomputing.com
--__--__--
Message: 9
Date: Mon, 05 May 2003 20:33:17 -0700
Subject: Re: custom Prop question
From: Richard Gaskin <ambassador at fourthworld.com>
To: <use-revolution at lists.runrev.com>
Reply-To: use-revolution at lists.runrev.com
Stephen Messimer wrote:
> Anyone have any idea how much text can be stored in a custom property?
I couldn't find that in the Rev docs, but here are the engine limits
from
the MC docs:
--==============================================================--
There are certain limits to how large various structures can be in
MetaCard.
Most limits are tied to the machine data types used to store them. A
uint1
is 255 (8 bits), a uint2 is 65,535 bytes (16 bits/64KB), and a uint4 is
4,294,967,295 bytes (32 bits/4GB). Those structures that have a maximum
size of uint4 share the same 4GB address space and so each structure can
only use space not used by other structures. Note that all MetaCard
structures, including stack size, are limited by available virtual
memory.
Stack, card, or bg size uint4
Control (including Image) size uint4
AudioClip or videoClip size uint4
Number of objects in a stack uint4
Number of objects per card or bg uint4
Custom properties per object uint4
Characters in custom property name uint1
Characters in each custom property uint4
Object name length uint2
Characters in a button uint2
All other string properties uint2
Characters in a field or variable uint4
Characters per line in a field uint2
Maximum shadow or border width uint1
Script length uint4
Command or function name length uint2
Nested repeats uint4
Active variables uint4
Message sent to or from external uint2
--==============================================================--
--
Richard Gaskin
Fourth World Media Corporation
Developer of WebMerge 2.2: Publish any database on any site
___________________________________________________________
Ambassador at FourthWorld.com http://www.FourthWorld.com
Tel: 323-225-3717 AIM: FourthWorldInc
--__--__--
Message: 10
Date: Mon, 5 May 2003 20:17:33 -0700
To: use-revolution at lists.runrev.com
From: "Jeanne A. E. DeVoto" <jeanne at runrev.com>
Subject: Re: custom Prop question
Reply-To: use-revolution at lists.runrev.com
At 7:58 PM -0700 5/5/03, Stephen Messimer wrote:
>Anyone have any idea how much text can be stored in a custom property?
It's unlimited, within the overall application limit of 4G.
--
Jeanne A. E. DeVoto ~ jeanne at runrev.com
Runtime Revolution Limited - Software at the Speed of Thought
http://www.runrev.com/
--__--__--
Message: 11
Date: Tue, 6 May 2003 12:34:18 +0100
Subject: remove from list
From: Steve Neumann <steveneumann at mac.com>
To: use-revolution at lists.runrev.com
Reply-To: use-revolution at lists.runrev.com
--Apple-Mail-4-899214601
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
format=flowed
please remove me from all revolution lists.
-----------------------------------------------------------------
Steve Neumann tel.+44-20-8683 2274 mob. +44-7961-937 753
24 Malvern Road, Thornton Heath, Surrey CR7 7LH, UK
e-mail: steveneumann at mac.com
--Apple-Mail-4-899214601
Content-Transfer-Encoding: 7bit
Content-Type: text/enriched;
charset=US-ASCII
please remove me from all revolution lists.
<color><param>3C3C,E7E7,FFFF</param>------------------------------------
-----------------------------</color>
<bold><color><param>2E2E,2020,FFFF</param>Steve
Neumann</color></bold>
<color><param>FFFF,0C0C,0C0C</param>tel</color>.+44-20-8683
2274 <color><param>FFFF,0C0C,0C0C</param>mob</color>. +44-7961-937
753
<color><param>FFFF,1919,6060</param>24 Malvern Road, Thornton Heath,
Surrey CR7 7LH, UK</color>
<color><param>FFFF,0C0C,0C0C</param>e-mail</color>:
steveneumann at mac.com
--Apple-Mail-4-899214601--
--__--__--
_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
End of use-revolution Digest
This communication is private, privileged and confidential intended only for the named addressee.
Any recipient who is not a named addressee is not entitled to retain, copy, disseminate or take
action in reliance upon this communication. If you have received it in error, please notify the
sender immediately and destroy the original.
More information about the use-livecode
mailing list