Re: [MACTCL] catching quit from Wish menu
by Jim Ingham other posts by this author
Feb 27 2007 1:34PM messages near this date
Re: [MACTCL] catching quit from Wish menu
|
Re: [MACTCL] Copy canvas graphics to clipboard
If you had a Wish application that did:
proc tk::mac::PrintDocument {args} {
puts $args
}
then your "tell" applescript would print the documents you told it to
print to the console. OTOH, if you had a PrintDocument command that
actually PRINTED something, then it would print... These are just
hooks into the associated events, they don't by themselves do anything.
Jim
On Feb 27, 2007, at 1:28 PM, Kevin Walzer wrote:
> Jon Guyer wrote:
> > On Feb 27, 2007, at 3:42 PM, Jeff Hobbs wrote:
> >
> >
> >> It is invoked when the kAEPrintDocuments Apple event is received.
> >
> >> Your guess
> >
> >> is as good as mine on how that might get invoked ... docs seems
> >
> >> sparse on that
> >
> >> one.
> >
> > tell application "wish"
> > print
> > end tell
>
>
> Running this command in Script Editor causes Wish to fire up, but
> nothing happens/prints.
>
> --
> Kevin Walzer
> Code by Kevin
> http://www.codebykevin.com
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to
> share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Tcl-mac mailing list
> tcl-mac@[...].net
> https://lists.sourceforge.net/lists/listinfo/tcl-mac
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Tcl-mac mailing list
tcl-mac@[...].net
https://lists.sourceforge.net/lists/listinfo/tcl-mac
Thread:
Alastair Davies
Philip Aker
Robert Karen
Jon Guyer
Jeff Hobbs
Jon Guyer
Jeff Hobbs
David Zolli
Jon Guyer
Tim Jones
Jon Guyer
David Zolli
Jon Guyer
Jon Guyer
Jeff Hobbs
Robert Karen
Kevan Hashemi
David Zolli
Kevin Walzer
Jeff Hobbs
Robert Karen
Jon Guyer
Robert Karen
Kevin Walzer
Jon Guyer
Robert Karen
Robert Karen
Tim Jones
Robert Karen
Jon Guyer
Kevin Walzer
Jim Ingham
Jasper Taylor
Clarke
|