program c-s to save a file

Discussion in 'Cadence' started by Billy Patton, Sep 18, 2007.

  1. Billy Patton

    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.
     
    Billy Patton, Sep 18, 2007
    #1
  2. 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, Nov 15, 2007
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.