program c-s to save a file

B

Billy Patton

Guest
I'm very used to hitting crtl-s to save.
How do I program the C-s to save and give me a message.
I hate it that I get no indication when I hit f2 or use the menu to
save. That always bothers me.
 
On Tue, 18 Sep 2007 14:01:56 -0500, Billy Patton <bpatton@ti.com> wrote:

I'm very used to hitting crtl-s to save.
How do I program the C-s to save and give me a message.
I hate it that I get no indication when I hit f2 or use the menu to
save. That always bothers me.
How about this?

procedure(abSave(@optional (cellView geGetEditCellView()))
when(dbSave(cellView)
hiDisplayAppDBox(
?name 'abCellViewSaveDBox
?dboxBanner "CellView saved"
?dboxText
sprintf(nil "%s/%s/%s saved"
cellView~>libName
cellView~>cellName
cellView~>viewName
)
?buttonLayout 'Close
?dialogStyle 'modal
?dialogType hicInformationDialog
)
)
)

hiSetBindKey("Schematics" "Ctrl<Key>s" "abSave()")

Regards,

Andrew.
--
Andrew Beckett
Senior Solution Architect
Cadence Design Systems, UK.
 

Welcome to EDABoard.com

Sponsor

Back
Top