[Auto Lisp / Excel / ±âŸ °ÇÃà°ú ÄÄÇ»ÅÍ¿¡ °ü·ÃµÈ »çÇ×]

    1 .. 11  12  13  14  15  16  17    ·Î±×ÀÎ  °¡ÀÔ
Auto LispÀ¸·Î ¸¸µé¾îÁø ÇÁ·Î±×·¥ÀÇ ¸í·É¾î¸¦ È®ÀÎÇÏ´Â ¹æ¹ý
ÀÌ ¸§ °­»ç  
Á¶ ȸ 3,652
±ÛÀÚÅ©±â
¸í·É¾î¸¦ È®ÀÎÇÏ´Â ¹æ¹ýÀº ¸Þ¸ðÀåÀ» ¿­¾î¼­
(defun c:XXXXX


XXXX°¡ ¸í·É¾î°¡ µË´Ï´Ù..

¢º º¯¼ö ÁöÁ¤¹æ¹ý
(setq º¯¼ö¸í )
ex)
(setq a 10) (setq b 20)


¢º »çÄ¢¿¬»ê ¹æ¹ý
(¿¬»êÀÚ º¯¼ö1 º¯¼ö2..)
(setq c (+ a b))
choijm67
 °­»ç  (2004-07-19 12:18:36 / 211.212.223.40)  
(defun text-first-upcase (strs / newstrs )
(setq newstrs (strcase (substr strs 1 1))
strs (substr strs 2)
)
(while (/= "" strs)
(if (wcmatch (substr strs 1 2) " ?")
(setq newstrs (strcat newstrs (strcase (substr strs 1 2)))
strs (substr strs 3)
)
(setq newstrs (strcat newstrs (strcase (substr strs 1 1) t))
strs (substr strs 2)
)
)
)
newstrs
)

(defun texts-first-upcase ( / ss n t-ent)
(setq ss (ssget '((0 . "text")))
n 0
)
(if ss
(progn
(repeat (sslength ss)
(setq t-ent (entget (ssname ss n)))
(entmod (subst (cons 1 (text-first-upcase (cdr (assoc 1 t-ent)))) (assoc 1 t-ent) t-ent))
(setq n (1+ n))
)
)
)
)

¡á À§¿¡ ó·³ (defun c:xxxx Çü½ÄÀ¸·Î µÇ¾îÀÖÁö ¾Ê´Â°æ¿ì
Command: (texts-first-upcase) ¿£Å͸¦ ÃÄ¾ß ÇÏ´Â °æ¿ìµµ ¹ß»ýÇÑ´Ù..

µû¶ó¼­ ÀÚ½ÅÀÌ Á÷Á¢ ¸í·É¾î¸¦ ¸¸µé¾î ¼öÁ¤Çؼ­ ÀúÀåÇÏ¿© »ç¿ëÇÒ¼öµµ ÀÖÀ¾´Ï´Ù..

(defun text-first-upcase (strs / newstrs )
(setq newstrs (strcase (substr strs 1 1))
strs (substr strs 2)
)
(while (/= "" strs)
(if (wcmatch (substr strs 1 2) " ?")
(setq newstrs (strcat newstrs (strcase (substr strs 1 2)))
strs (substr strs 3)
)
(setq newstrs (strcat newstrs (strcase (substr strs 1 1) t))
strs (substr strs 2)
)
)
)
newstrs
)

(defun c:ù±ÛÀÚ´ë¹®ÀÚ·Î ( / ss n t-ent)
(setq ss (ssget '((0 . "text")))
n 0
)
(if ss
(progn
(repeat (sslength ss)
(setq t-ent (entget (ssname ss n)))
(entmod (subst (cons 1 (text-first-upcase (cdr (assoc 1 t-ent)))) (assoc 1 t-ent) t-ent))
(setq n (1+ n))
)
)
)
)
ºÐ·ù
¹øÈ£ Á¦¸ñ À̸§º¸±â
 Auto LispÀ¸·Î ¸¸µé¾îÁø ÇÁ·Î±×·¥ÀÇ ¸í·É¾î¸¦ È®ÀÎÇÏ´Â ¹æ¹ý +1  °­»ç3652
15  Array-¿øÇü¹è¿­°ú³ª¼±¹è¿­   °­»ç2197
14  Array-¼±Çü¹è¿­   °­»ç1716
13  Area Shadows Rollout-2   °­»ç1402
12  Area Shadows Rollout-1   °­»ç1560
11  Area Shadows Rollout   °­»ç1482
10  amd   °­»ç1828
9  Ad-Aware.SE.Professional.v1.05   °­»ç1563
8  aa   °­»ç7045
7  3D Exploration /timekill +3  °­»ç1904
6  10Áø¼ö 100À» 16Áø¼ö ¹®ÀÚ¿­·Î º¯È¯ÇÏ´Â ¸î °¡Áö ¿¹ÀÔ´Ï´Ù.   °­»ç1863
5  # thumbs.db ÀÇ Á¤Ã¼¿Í ¿ø¸®   °­»ç3190
4   ¿¢¼¿ 7°­- ¼öÇÐ & »ï°¢ÇÔ¼ö -2   °­»ç1626
3   ¿¢¼¿ 5°­- ³¯Â¥ ¹× ½Ã°£ -2 ¿Í ³í¸®ÇÔ¼ö   °­»ç1561
2   php ȨÆäÀÌÁö¸¦ ±×´ë·Î ¿Å±â±â....   °­»ç8820
1   Noise ÇÊÅÍ   °­»ç2015
Copyright 1999-2025 Zeroboard / skin by SIRINI

[ äÆÃâ Å©°Ôº¸±â ] ¡á ÀÌ°÷Àº ½Ç½Ã°£ äÆà âÀÔ´Ï´Ù. ÀÚÀ¯·Î¿î ÀÇ°ß ³ª´©½Ã±â ¹Ù¶ø´Ï´Ù.[ 2025-01-25 ] ¡á