Hello Monks, I want to ask you advice on something

I'm making a program where I alter some images. I have made a GUI with the TK module.

After you hit the button to finish the conversion a dialog box pops up like this:

$converted = $mw->Dialog(-title => ' Conversion', -text => 'The conversion is completed', -default_button => 'open file', -buttons => [ 'open file', 'close'] +, -bitmap => 'info' )->Show( );

But now I'm looking for a way to open a window of your filemanager where you can view your new image at the right folder location

I know about the  getOpenFile() commando, but that is to open a file. I just want to open a window of the filemanager at the new image location.

I am working on a unix environment so I'm not looking for solutions on win.

so summarized, when you hit the open file button on the dialog box, a window of file manager opens up at the location of the new image, which is already given elsewhere in the program.

Any ideas how to do this? can't seem to find it.

Thanks in advance


In reply to Open a folder by jerre_111

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.