Handling a shutDownRequest message lets us interrupt the process of Quitting
Metacard in order to make sure things are properly saved. But on my Mac OS9.2
it does not appear that this message is generated if the user is in the Finder
and chooses Shut Down while Metacard is running in the
You could try trapping for the quit appleevent (which I think is
aevtquit or reqdquit), as in:
on appleEvent pClass,pID
if pClass pID = aevtquit then
-- your code here
else
pass appleEvent
end if
end appleEvent
Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site:
What I'd really love is some sort of auto-complete for commands,
properties, functions, etc. At the very least for commands, once
you've typed a on as the first characters of a line in the script
editor, if common commands and messages could show up after that
like they do in Internet
What I'd really love is some sort of auto-complete for commands,
properties, functions, etc. At the very least for commands, once
you've typed a on as the first characters of a line in the script
editor, if common commands and messages could show up after that
like they do in Internet
Hi Shari, hi Glen,
...
I think auto-complete for commands etc. would be a very good idea. Just
include a preference to turn it on or off, then everyone can be happy.
:-)
YO :-)
As it is, I frequently have to delete on mouseUp/end mouseUps that
get inserted into the middle of my handlers,
We can download stacks easily using the load command, followed by a go url
command once the file is cached.
However, if we want to transfer gzipped stacks we need some way to run the
url cache through the decompress function.
How can we accss the cache to alter it before using the go url
At 10:21 am -0800 12/12/02, Richard Gaskin wrote:
We can download stacks easily using the load command, followed by a go url
command once the file is cached.
However, if we want to transfer gzipped stacks we need some way to run the
url cache through the decompress function.
How can we accss
Dave Cragg wrote:
At 10:21 am -0800 12/12/02, Richard Gaskin wrote:
We can download stacks easily using the load command, followed by a go url
command once the file is cached.
However, if we want to transfer gzipped stacks we need some way to run the
url cache through the decompress
Dave Cragg wrote:
How can we accss the cache to alter it before using the go url command?
go stack decompress(url http://whatever.com/whatever.gz;)
How can that be used with the load command?
--
Richard Gaskin
Fourth World Media Corporation
Developer of WebMerge 2.1: Publish any
Personally I never liked the Cmd-M to insert on mouseup...end mouseup in a
script; several times I've needed to open the message box with a script open
and by habit typed Cmd-M only to have the mouseup handler inserted in the
middle of my code.
Ken Ray
Sons of Thunder Software
Email: [EMAIL
--On Thursday, December 12, 2002 14:22:04 -0600 Ken Ray
[EMAIL PROTECTED] wrote:
Personally, I like the approach that programs like Flash, Visual Basic and
Homesite do - you type a word as part of the command, hit space, and a
dropdown menu with the available options appears with none of the
Cool it may be but I'm not sure enhancements like the one you
describe make life easier for the scripter. The time one spends
hitting the space key, reading a dropdown menu, choosing something
and so on, is most likely longer then just typing the command.
Surely this depends on the length of
Shari writes:
[snip]
What I'd really love is some sort of auto-complete for commands,
properties, functions, etc..
Oooh, bad idea!
As it is, I frequently have to delete on mouseUp/end mouseUps that get
inserted into the middle of my handlers, presumably thru some key
sequence.
I'd hate
--On Friday, December 13, 2002 09:00:07 +1100 Terry Judd
[EMAIL PROTECTED] wrote:
Cool it may be but I'm not sure enhancements like the one you
describe make life easier for the scripter. The time one spends
hitting the space key, reading a dropdown menu, choosing something
and so on, is most
At 10:53 am -0800 12/12/02, Richard Gaskin wrote:
Dave Cragg wrote:
How can we accss the cache to alter it before using the go url command?
go stack decompress(url http://whatever.com/whatever.gz;)
How can that be used with the load command?
First:
load url
MetaCard 2.5 beta 1 is now available in the directory:
ftp://ftp.metacard.com/MetaCard/2.5/
See the file README.2.5 in that directory for the list of new
features.
For those who downloaded before this announcement, please check the
buildNumber to make sure that it returns 3, particularly on OS
Dave Cragg wrote:
At 10:53 am -0800 12/12/02, Richard Gaskin wrote:
Dave Cragg wrote:
How can we accss the cache to alter it before using the go url command?
go stack decompress(url http://whatever.com/whatever.gz;)
How can that be used with the load command?
First:
load url
I don't think so. Here I get a not a stack error, which seems logical
once I thought it through.
Hi Richard
It may be a problem on the compression side. I use a compressed stack as a
custom file format for one of my apps and I use:
-- saving
save stack tName as pSave
put compress(url
At 3:47 pm -0800 12/12/02, Richard Gaskin wrote:
First:
load url http://whatever.com/whatever.gz; ##now in cache
then later:
go stack decompress(url http://whatever.com/whatever.gz;) ##will
take it from the cache
I don't think so. Here I get a not a stack error, which seems logical
Monte Goulding wrote:
It may be a problem on the compression side. I use a compressed stack as a
custom file format for one of my apps and I use:
-- saving
save stack tName as pSave
put compress(url (binfile:pSave)) into url (binfile:pSave)
-- opening
put decompress(url (binfile:tOpen))
I appreciate your chiming in here, Monte. I'll double-check my code, but
the implications of your presumably functioning code example
above are quite
a change to my understanding of things: I can use raw data (from a valid
stack file, of course) instead of a stack descriptor with the go
On 12/12/02 7:22 PM, Richard Gaskin wrote:
I appreciate your chiming in here, Monte. I'll double-check my code, but
the implications of your presumably functioning code example above are quite
a change to my understanding of things: I can use raw data (from a valid
stack file, of course)
Kind of cool, if it works.
Very cool if you write an app that needs to transfer data from one user's
version to another via email and want to save bandwidth. I didn't just come
up with the script off the top of my head I cut and pasted from the file
management library of my app. It works ;-)
Dave Cragg wrote:
I use this technique a lot so don't give up. Monte's point about
using compress on the binfile when making the compressed file may
be significant.
These are coming over the 'Net, and it seems the go url command faithfully
transfers binary files as such -- thanks to you and
On 12/12/02 7:43 PM, Monte Goulding wrote:
It works ;-)
I never really doubted you for a moment. ;)
--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software | http://www.hyperactivesw.com
___
metacard mailing list
Actually I think you should doubt me most of the time ;-)
I've been accused of writing speculative drivel on the rev list today ;-P
On 12/12/02 7:43 PM, Monte Goulding wrote:
It works ;-)
I never really doubted you for a moment. ;)
--
Jacqueline Landman Gay | [EMAIL
on 12/12/02 Ken Ray answered my question about how to intercept a system
shutdown:
You could try trapping for the quit appleevent (which I think is
aevtquit or reqdquit), as in:
on appleEvent pClass,pID
if pClass pID = aevtquit then
-- your code here
else
pass appleEvent
end if
Script Editor X next release offers the option to turn on and off the
auto-insertion.
If you're all lucky, i'll have the complete auto-insertion routine (all
keywords, locals, etc...)
available by tuesday night before I leave for my Xmas Alp surfing trip...
Otherwise it will be just be messages
28 matches
Mail list logo