Bo Peng wrote: > That string (open or edit) will actually be used as command. I do not > think it makes much sense to > > if (mode == OPEN) > command = "open" > else if (mode == EDIT) > command = "edit") > > and blah...
It does make sense. Did you not read one my previous comments? I wrote that you should use view and edit, not open and edit, because that is the terminology used in LyX. Besides that, think about other platforms: They will probably not use a string, so think of the above as the special windows case. Georg