ahk_代码后加空格2

---------------------------------------------------------------------------------------
gosub »ñÈ¡××Ö·û¸öÊı                                                                 ;
                                                                                       ;
gosub ¶ÁÈ¡Êı¾İ                                                                         ;
                                                                                       ;
                                                                                       ;
;---------------------------------------------------------------------------------------
×:=""

---------------------------------------------------------------------------------------
»ñÈ¡××Ö·û¸öÊı:                                                                      ;
Loop                                                                                   ;
{                                                                                      ;
    FileReadLine, L, a.txt, %A_Index%                                                  ;
                                                                                       ;
     if ErrorLevel                                                                     ;
        break                                                                          ;
                                                                                       ;
    changdu :=StrLen(L)                                                                ;
  if (changdu > ×)                                                                  ;
                                                                                       ;
   × := changdu
  ifMsgBox, No                                                                         ;
        return                                                                         ;
}                                                                                      ;
                                                                                       ;
return                                                                                 ;
;---------------------------------------------------------------------------------------



                                                                                       ;
                                                                                       ;
                                                                                       ;
                                                                                       ;
                                                                                       ;
                                                                                       ;

;---------------------------------------------------------------------------------------
                                                                                       ;
¶ÁÈ¡Êı¾İ:                                                                              ;
                                                                                       ;
Loop                                                                                   ;
{                                                                                      ;
    FileReadLine, L, a.txt, %A_Index%                                                  ;
                                                                                       ;
     if ErrorLevel                                                                     ;
        break                                                                          ;
    changdu :=StrLen(L)                                                                ;

    n := ×-changdu                                                                  ;
 if(changdu = 0)                                                                       ;

     L:=";0"
else 
   gosub Ìí¼Ó¿Õ¸ñ                                                                       ;

                                                                                       ;
                                                                                       ;
                                                                                       ;
   ifMsgBox, No                                                                        ;
        return                                                                         ;
}                                                                                      ;
                                                                                       ;
return                                                                                 ;
                                                                                       ;
;---------------------------------------------------------------------------------------


                                                                                       ;
                                                                                       ;
                                                                                       ;
                                                                                       ;
                                                                                       ;
                                                                                       ;

;---------------------------------------------------------------------------------------
                                                                                       ;
Ìí¼Ó¿Õ¸ñ:                                                                              ;
                                                                                       ;
loop %n%                                                                               ;
{                                                                                      ;
                                                                                       ;
L=%L%;                                                                                 ;
                                                                                       ;
}                                                                                      ;
;L := StrReplace(L, ";", " ")        ;Ìæ»»Îª»»¿Õ¸ñ                                     ;
;L := StrReplace(L, ";", A_space)      ;Ìæ»»Îª»»¿Õ¸ñ                                   ;
                                                                                       ;
L:=RegExReplace(L, ";", " ")      ;ÕıÔòÒ²ÊÇÈ«²¿Ì滻Ϊ»»¿Õ¸ñ                            ;
                                                                                       ;
L=%L%;`r`n                                                                             ;
;MsgBox % L                                                                            ;
     FileAppend,%L% , b.txt                                                            ;                           
return

;---------------------------------------------------------------------------------------

给TA捐赠
共{{data.count}}人
人已捐赠
其他

AHK_创建数字标记文件夹2

2021-12-11 9:08:21

其他

AHK_代码后加一定数量空格和注释符

2021-12-11 9:08:34

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索