Grupos de Google ya no admite publicaciones ni suscripciones nuevas de Usenet. El contenido anterior sigue visible.

SKILL code for file selection GUI

89 vistas
Ir al primer mensaje no leído

sm

no leída,
22 dic 2006, 2:46:07 a.m.22/12/2006
para
Hi,

I am stuck in writing code got a file selection GUI for my SKILL code.
I need some way to let the user select the file containing the data that the
rest
of my skill code uses.

Thanks,

-sm


satya

no leída,
5 ene 2007, 5:13:56 p.m.5/1/2007
para


Hi sm

I have used Xdialog in the past.

(if (sh "Xdialog --version >/dev/null 2>&1")
(let (cid)
(setq cid
(ipcBeginProcess (strcat "Xdialog --fselect '" (getWorkingDir)
"' 0x0")))
(ipcWait cid)
(setq SMFile (ipcReadProcess cid)))

You can use a more modern dialog program such as zenity for the purpose
too.

Hope that helps
Satya

Andrew Beckett

no leída,
9 ene 2007, 5:08:56 a.m.9/1/2007
para

In IC610 (and ICOA5251) there is a built in "hi" function for doing this (the
name escapes me - I'm off the network).

I did write one myself many years ago - it's not that hard to do this with
hiCreateListBoxField, for example.

Regards,

Andrew.
--
Andrew Beckett
Principal European Technology Leader
Cadence Design Systems, UK.

0 mensajes nuevos