Was macro called from command line?

Product Compare Forums Multi-Edit Support Was macro called from command line?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2963
    CharlesG
    Participant

    I have a macro that I would like to:

    1 – have special processing if it was called from the command line, but am not sure how to find out ?

    2- Is it possible to force closure of a window with a file loaded and has been modified and not even ask if it needs to be saved first?

    3 – How would I code for the macro to wait until a NEW keypress was done.

    Thank you…..

    #9557
    Clay Martin
    Keymaster

    Hi,
    I don’t know of any way to find out how a macro was called from inside the macro. You might use an optional parameter which you give a value only when you use it from the command line.

    Delete_window will close an unsaved file, thus loosing all changes since last save.

    Try Read_key.

    Thanks,
    Clay

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.