KTUGFaq
KTUG FAQ
FrontPage › EmEditorTip/Macro
EmEditor/Professional + MTeXHelper ÀÇ »ç¿ë TipÀ» Á¦°øÇÏ´Â °÷ÀÔ´Ï´Ù. EmEditorTip |
[ÆíÁý]
1 Macro ±â·Ï/½ÇÇàÇϱ⠶
- ¸ÅÅ©·Î´ÜÃß(¶Ç´Â ´ÜÃàÅ° Shift+F4)¸¦ ´·¯ ¸ÅÅ©·Î¸¦ ±â·ÏÀ» ½ÃÀÛÇÏ°í, ´Ù½Ã ¸ÅÅ©·Î´ÜÃß(Shift+F4)¸¦ ´·¯ ±â·ÏÀ» Á¾·áÇÑ´Ù.
- ÃÖ±Ù¿¡ (½ÇÇàµÇ¾ú°Å³ª) ±â·ÏµÈ ¸ÅÅ©·Î´Â ½ÇÇà´ÜÃß(¶Ç´Â ´ÜÃàÅ° F4)¸¦ ´·¯ ¹Ýº¹ÀûÀ¸·Î ½ÇÇàÇÒ ¼ö ÀÖ´Ù.
[ÆíÁý]
2 Macro ÀúÀå/ÆíÁýÇϱ⠶
- ¸Þ´º¿¡¼ Macro¸¦ ´·¯ Ç®´Ù¿î¸Þ´º¸¦ ³»¸®°í, Save as...¸¦ ´·¯ (¹æ±Ý ±â·ÏÇÑ) ¸ÅÅ©·Î¸¦ ÀúÀåÇÑ´Ù.
- Macro°¡ ÀúÀåµÇ´Â °÷Àº [C:\Documents and Settings\Owner\My Documents\My Macros]ÀÌ´Ù.
- ¸ÅÅ©·ÎÆÄÀÏÀÇ È®ÀåÀÚ´Â jsee·Î ÀúÀåµÈ´Ù.
- ..\My MacrosÆú´õ¿¡¼ ¸ÅÅ©·ÎÆÄÀÏÀ» emeditor·Î ¿¾î ÆíÁýÇÒ ¼ö ÀÖ´Ù.
- MacrosÇ®´Ù¿î¸Þ´ºÀÇ Edit ´ÙÀ½¿¡ ¸ÅÅ©·Î°¡ Ç¥½ÃµÈ °æ¿ì, À̸¦ Ŭ¸¯ÇÏ¿© ÆíÁýÇÒ ¼öµµ ÀÖ´Ù.
- ¿¹¸¦ µé¾î, ÇöÀç ÇàÀ» ¾Æ·¡·Î ÇÑ ÁÙ ²ø¾î³»¸®°íÀÚ ÇÏ¸é ´ÙÀ½°ú °°ÀÌ ¸ÅÅ©·Î¸¦ ±â·ÏÇϰųª ÀÛ¼º/ÆíÁýÇÒ ¼ö ÀÖ´Ù.
document.selection.SelectLine(); document.selection.Cut(); document.selection.LineDown(false,1); document.selection.Paste(); document.selection.LineUp(false,1); document.selection.SelectLine();
- ÀÌ ÆÄÀÏÀ» ..\My Macros Æú´õ¿¡ OneLineDown.jsee ·Î ÀúÀåÇغ¸ÀÚ.
[ÆíÁý]
3 Macro µî·Ï/½ÇÇàÇϱ⠶
- µî·Ï: ¸Þ´º¿¡¼ Macros->Select...¸¦ ´·¯ ..\My Macros Æú´õ°¡ ¿¸± ¶§, ¸ÅÅ©·Î¸¦ ¼±ÅÃ(µî·Ï)Çϸé, ±× ÀÌÈķδ Ǯ´Ù¿î ¸Þ´º ¸Ç ¾Æ·¡¿¡ µî·ÏµÈ ¸ÅÅ©·Î ¸ñ·ÏÀÌ ³ªÅ¸³´Ù.
- ½ÇÇà: ¸ÅÅ©·Î ¸ñ·Ï¿¡¼ ¿øÇÏ´Â °ÍÀ» ´·¯ ½ÇÇàÇÏ¸é µÈ´Ù.
- °ü¸®: Macros->Customize...¿¡¼ µî·ÏµÈ ¸ÅÅ©·Î¸¦ ¸ñ·Ï¿¡¼ Áö¿ï ¼öµµ ÀÖ´Ù.(¸ÅÅ©·ÎÆÄÀÏÀº Áö¿öÁöÁö ¾ÊÀ½.)
- ´ÜÃàÅ° ¸ÅĪ: µî·ÏµÈ ¸ÅÅ©·Î´Â ´ÜÃàÅ°¿¡ ¹èÁ¤ÇÏ¿© »ç¿ëÇϸé Æí¸®ÇÏ´Ù.
- Tools->Properties for All Configurations->Keyboard
- Category: My Macros
- Command: ¿øÇÏ´Â ¸ÅÅ©·Î ¼±ÅÃÇÏ°í,
- ´ÜÃàÅ° ¼³Á¤¹æ¹ý(EmEditor/Professional#s-2.4)À¸·Î ¼³Á¤
- ¿¹¸¦ µé¾î À§ÀÇ OneLineDown.jsee¸¦ ctrl+shift+[¾Æ·¡È»ìÇ¥]·Î ´ÜÃàÅ°¿¡ ¹èÁ¤ÇÏ°í, À̸¦ ´©¸£°í ÀÖÀ¸¸é, ÇöÀç Ä¿¼°¡ ÀÖ´Â ÇàÀ» ¾Æ·¡·Î ÁÖ~¿í ²ø¾î³»¸± ¼ö ÀÖ´Ù.
- OneLineUp¿¡ ÇØ´çÇÏ´Â ¸ÅÅ©·Î¸¦ ÀÛ¼ºÇؼ ctrl+shift+[À§È»ìÇ¥]¿¡ ¸ÅÇνÃÄÑ »ç¿ëÇϸé, ctrl+shift¸¦ ´©¸¥ »óÅ¿¡¼ ¾Æ·¡/À§È»ìÇ¥·Î ÇÑ ÇàÀ» ¾Æ·¡/À§·Î ²ø°í ´Ù´Ò ¼ö ÀÖ¾î ¸Å¿ì Æí¸®ÇÏ´Ù. (°´°ü½Ä ¹®Á¦ ŸÀÌÇÎÇÒ ¶§ ¼±ÅÃÁö ¼ø¼ ¹Ù²Ù´Â °ÍÀÌ µÎ·ÆÁö ¾Ê°Ô µÈ´Ù. )
- Tools->Properties for All Configurations->Keyboard
[ÆíÁý]
4 Macro °¡Á®¿À±â ¶
- emeditorȨÆäÀÌÁö/¸ÅÅ©·Î¿¡¼ ¸¸µé¾î ³õÀº ¸ÅÅ©·Î¸¦ °¡Á®¿Í¼ À§¿¡¼ ¼³¸íÇÑ´ë·Î µî·ÏÇÏ¿© ½ÇÇàÇÏ¸é µÈ´Ù.
- ¿¬½À»ï¾Æ, OneLineDown.jsee.txt (200 Bytes) ¿Í OneLineUp.jsee.txt (198 Bytes) ¸¦ ´Ù¿î¹Þ¾Æ (¹°·Ð À̸§¿¡¼ .txt¸¦ ¶¼¾î³»°í) ..\My Macros Æú´õ¿¡ µÎ°í, ´ÜÃàÅ°¸¦ ¹èÁ¤ÇÏ¿© »ç¿ëÇغ¸ÀÚ.
EmEditorTip À¸·Î µ¹¾Æ°¡±â