Thread Standardbrowser
(33 answers)
Opened by Froschpopo at 2005-05-12 01:55
Auch unter Tk habe mit diesem Beispiel keine Probleme:
Code (perl): (dl
)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 use TK; use strict; my $url = '[URL=http://wiki.perl-community.de/bin/view/Wissensbasis/StandardBrowserStarten]http://wiki.perl-community.de/bin....Starten[/URL]'; my $mw = MainWindow->new; $mw->Label(-text => 'Test start')->pack; $mw->Button( -text => 'Browser', -command => sub { system('start "Test" /B "' . $url . '"'); }, )->pack; $mw->Button( -text => 'Quit', -command => sub { exit }, )->pack; Tk::MainLoop(); Gruß
Thomas |