Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SKILL code for file selection GUI

89 views
Skip to first unread message

sm

unread,
Dec 22, 2006, 2:46:07 AM12/22/06
to
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

unread,
Jan 5, 2007, 5:13:56 PM1/5/07
to


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

unread,
Jan 9, 2007, 5:08:56 AM1/9/07
to

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 new messages