[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[OpenVerse] Oops, no exit
NetscapeUrl.tcl, should look like this:
--------BEGIN---------------------------------------------------------
#!/usr/bin/wish
############################################################################
# NetscapeUrl.tcl
# Written by Jack(c) <jack@openverse.org>
#
# NOTE: This is not an official part of the OpenVerse program
# written by Cruise <cruise@openverse.org>!!!
# This is underground.....
#
# Purpose: Just gives you the option of not having to open
# netscape again.
#
# Also: This program may pose a security risk! Use at own risk!!
#
############################################################################
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
# USA.
#############################################################################
if {$argc != 1} { exit }
set URL $argv
wm title . "Nutscape Url Loader"
frame .top
pack .top
frame .middle
pack .middle
frame .bottom
pack .bottom
label .top.warning -text "*** NOTE: THIS IS NOT PART OF OPENVERSE!! ***" \
-foreground red
pack .top.warning
label .middle.a -text "URL: "
label .middle.b -text "$URL"
pack .middle.a .middle.b -side left
button .bottom.opennuts -text "Open Nutscape" -activebackground green \
-command {
eval exec "netscape $URL &"
exit
}
# Could make it check for an error, but WHY?? Don't know netscape's
running?!
button .bottom.sendnuts -text "Send 2 Nutscape" -activebackground yellow \
-command {
eval exec "netscape -remote openURL\($URL\) &"
exit
}
button .bottom.cancel -text "CANCEL" -activebackground red \
-command { exit }
pack .bottom.cancel .bottom.sendnuts .bottom.opennuts \
-side left -fill both
# NETSCAPE SUCKS!!!
--------END-----------------------------------------------------------
SORRY FOR THE MIXUP
jack
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
-----------------------------------------------------------------
To unsubscribe to the OpenVerse mailing list send a message
to openverse-request@openverse.org with the following word
in the BODY of the message.
UNSUBSCRIBE
If you need assistance from a human, email cruise@openverse.org
-----------------------------------------------------------------