create a menu in the CIW and launch FrameMaker

S

sherki

Guest
I would like to create a new menu in my CIW (using a SKILL code).
Then I would like to run unix commands from this menu in order to
open my FrameMaker document.
Is there some tutorial avaible to learn how to use SKILL to do that?
Or maybe is it possible to just tell me which code I have to write to
do these tasks (one or the both).

I must confess that I m just begining with the SKILL language, and
that I really need some help!!

THX

Jérôme
 
The SKILL reference manuals are in your IC installation or on
sourcelink.cadence.com. You can also use a tool called cdsFinder to
search for SKILL functions.

procedure(inm()
prog(()

system("maker &")

return(t)
) ; prog
) ; procedure

;create menu item
invoke_maker=hiCreateMenuItem(?name 'invoke_maker
?itemText "invoke maker"
?callback "inm()")

;create pulldown menu
hiCreatePulldownMenu('fm_pulldown
"Framemaker"
list(invoke_maker)
)

hiInsertBannerMenu(hiGetCIWindow() 'fm_pulldown
hiGetNumMenus(hiGetCIWindow()))
---
Erik

sherki wrote:
I would like to create a new menu in my CIW (using a SKILL code).
Then I would like to run unix commands from this menu in order to
open my FrameMaker document.
Is there some tutorial avaible to learn how to use SKILL to do that?
Or maybe is it possible to just tell me which code I have to write to
do these tasks (one or the both).

I must confess that I m just begining with the SKILL language, and
that I really need some help!!

THX

Jérôme
 

Welcome to EDABoard.com

Sponsor

Back
Top