SKILL code for file selection GUI

S

sm

Guest
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
 
On Dec 22 2006, 12:46 am, "sm" <imfeaw5...@pacbell.net> wrote:
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.

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
 
On 5 Jan 2007 14:13:56 -0800, "satya" <qufgmx@gmail.com> wrote:

On Dec 22 2006, 12:46 am, "sm" <imfeaw5...@pacbell.net> wrote:
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.


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
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.
 

Welcome to EDABoard.com

Sponsor

Back
Top