From: botp Date: 2012-12-25T15:50:26+09:00 Subject: Re: "Open" dialog of Windows --20cf30334da76a43a204d1a7baeb Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, Dec 25, 2012 at 4:37 AM, Dami=C3=A1n M. Gonz=C3=A1lez wrote: > Do you have the way to do that? Thank you. i cannot answer the win32ole part, but, .. regarding gui dialogs, you may want to try tk. simpler and works on almost all platform.. eg to select a .rb file, and then print its content, >require 'tk' >puts File.read Tk::getOpenFile( 'filetypes'=3D>[['Currently', '*.rb']] ) tested to run in windows/linux/aix unix kind regards -botp --20cf30334da76a43a204d1a7baeb Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

= On Tue, Dec 25, 2012 at 4:37 AM, Dami=C3=A1n M. Gonz=C3=A1lez <lists@ru= by-forum.com> wrote:
=C2=A0Do you have the way to do that? Thank = you.

i cannot answer the win32ole part, but, .. =C2= =A0regarding gui dialogs, you may want to try tk. simpler and works on almo= st all platform..

eg to select a .rb file, and then print its content,

>require= 'tk'
>puts File.read Tk::getOpe= nFile( 'filetypes'=3D>[['Currently', '*.rb']] )<= br>

teste= d to run in windows/linux/aix unix

kind regards -botp



--20cf30334da76a43a204d1a7baeb--