PDA

View Full Version : Using Note Pad for Text Editor


JOEVERSA
04-29-2003, 01:28 PM
Does anyone know how to invoke Windows Note Pad in place of the standard text editor under the WUI in One Space Designer Drafting 2002+ Release 11.06a?

I would like to place a button in one of the toolbars as an
optional text editor.

Advanced Thanks.

Mike "the Rat"
04-30-2003, 08:21 AM
You can call up NotePad with:
(make sure notepad.exe is within the path)
LET a (WINEXEC "C:\WINNT\notepad.exe")

You may also change the Text Editor, this is done in your start-up files:
MEEDITOR=c:\Program Files\UnixEditor\PFE32.exe

Mike "the Rat"

John Scheffel
04-30-2003, 09:19 AM
You can also set MEEDITOR as a Windows environment variable. This can be done by right clicking on My Computer and selecting Properties, or by setting the variable in a batch file that starts ME10/Drafting. If the path contains blanks, it's probably safest to enclose it in double quotes, although I'm not sure it's necessary.

JOEVERSA
04-30-2003, 11:44 AM
Thank you for the Replys.

What I intended to request was:

A shortcut for duplicating the text editor function under the PELOOK-3 environment when working in the PELOOK-2
(Full WUI Mode). :confused:

Shortcut to this mode is to enter: Startup_Menus

Sorry for the confusion. :rolleyes:

Advanced Thanks,

JOEVERSA

John Scheffel
04-30-2003, 02:25 PM
Originally posted by JOEVERSA
A shortcut for duplicating the text editor function under the PELOOK-3 environment when working in the PELOOK-2
Now I'm confused. PELOOK-2 is the Windows UI. PELOOK-3 is the new Mixed UI. As far as I can tell the text editor is the same in both of these UIs. Can you be more specific about how you open the "text editor" that you are refering to? Do you mean the one that opens when you create or edit the text in the drawing (shown in the attached GIF) or the one that opens when use EDIT_FILE, EDIT_MACRO, etc. (which defaults to NotePad).

JOEVERSA
05-01-2003, 08:50 AM
The Text Editor that I would like to use is in The PELOOK-3 (MIXED UI) and is activated by by navigating to: TEXT1, ENTER
and Selecting the SCREEN option.

On my system, this opens up a "Notepad" Window.

This is the function that I would like to use for Creating
text in ME10 instead of the Std. text editor (ATTACHED GIF)
that you have attached on the previous POST.

John Scheffel
05-01-2003, 01:34 PM
Originally posted by JOEVERSA
The Text Editor that I would like to use is in The PELOOK-3 (MIXED UI) and is activated by by navigating to: TEXT1, ENTER and Selecting the SCREEN option. On my system, this opens up a "Notepad" Window.
That's odd. If I do this on my PC running the mixed UI, it opens the editor shown in the GIF just like the Windows UI, it does not open Notepad. Is it possible that the TEXT 1 menu in your mixed UI had been customized?

Either way, the command you are looking for is:

TEXT SCREEN

This will open NotePad or whatever text editor is defined by MEEDITOR.

The command which opens the editor shown in the GIF I attached is. This is run when you click Text, Enter Text in the Windows UI.

WUI_ENTER_TEXT

Two commands which you might want to checkout are TRACE and EDIT_MACRO. If you enter EDIT_MACRO, you can click on buttons in the UI and find out which macro or command they run. The TRACE function will let you trace the macros and commands run by any sequence of operations. Both are documented in the Help.

Thom Ivancso
05-02-2003, 11:30 AM
Hello

There is a difference between PELOOK -3 (MIXED UI) and using the STARTUP_MENUS command. The PELOOK -3 is the new mixed version and does not include the menus in the lower portion of the screen like that of the CLASSIC UI (example TOOLBOX, WINDOW, VIEPORT). It does not even load the code that supports those older menus.

If you run PELOOK -2 (FULL WUI) and turn off the right side menus, type in STARTUP_MENUS (Called HYBRID at one time) the original CLASSIC Menus will load including all the lower ones.

The TEXT EDITOR command behind the button is different between the PELOOK -3 (MIXED UI) and PELOOK -2 and using the STARTUP_MENUS.

CLASSIC = TEXT SCREEN (ENTER and EDIT Blue screen editor)
WUI = WUI_ENTER_TEXT and WUI_EDIT_TEXT (New Editor)
MIXED = WUI_ENTER_TEXT (New Editor) and EDIT_TEXT (This opens up the default windows editor i.e. Notepad)

HYBRID (PELOOK -2 w/STARTUP_MENUS) = TEXT SCREEN (ENTER)(Notepad) and EDIT_TEXT (Notepad)

This can be changed through customizing the CLASSIC TEXT Menu definition for CLASSIC, MIXED and HYBRID to call what ever version you wish.

Hope this brightens the darkness a bit. :)

John Scheffel
05-02-2003, 03:23 PM
Originally posted by Thom Ivancso
There is a difference between PELOOK -3 (MIXED UI) and using the STARTUP_MENUS command...
Wow. Thanks for the detailed explaination. Hopefully that clears up the confusion.