![]() |
PCDVD數位科技討論區
(https://www.pcdvd.com.tw/index.php)
- 疑難雜症區
(https://www.pcdvd.com.tw/forumdisplay.php?f=34)
- - 如何批次修改字串
(https://www.pcdvd.com.tw/showthread.php?t=645563)
|
|---|
如何批次修改字串
如何批次修改字串
如: [img]http://freeddom/01.jpg[/ixg] 讓他自動生成出 [img]http://freeddom/01.jpg[/ixg] [img]http://freeddom/02.jpg[/ixg] [img]http://freeddom/03.jpg[/ixg] ” ” ” [img]http://freeddom/98.jpg[/ixg] [img]http://freeddom/99.jpg[/ixg] 有什麼方法嗎?? |
看來樓主是要用在網頁貼圖的
用Excel就可以. |
我只會用EXCEL來做,其他就不會了
|
能教怎麼用EXCEL來用嗎。
|
新增文字檔 321.vbs, 將下面文字貼上然後執行
----321.vbs--- Set fso = CreateObject("Scripting.FileSystemObject") '敬愛的windows我要文字檔 Set ts = fso.OpenTextFile("c:\123.txt", 2, True) '檔名叫做, 資料覆寫 for i = 1 to 99 tmpstr = tmpstr & _ "[img]http://freeddom/" & _ String(2-len(i),"0") & i & _ ".jpg[/ixg]" & vbcrlf next ts.WriteLine(tmpstr) '第6行補0用(1->01), 若是 1~999 , 把2改成3 |
初看標題,我的直覺是Vim+regular express,批次修改最好用。
再看內容,似乎是要找「網址批次生成器」。以前愛用某好心人用javascript寫好的網頁。 現在則用右鍵選單,直接呼叫Firefox的一個知名套件flashgot,就可以完成批次抓圖的前置工作。 自由世界(Freeware)、光明世界(Opensourceware),有很多好物,功能強大又沒裝「後門」。 那些暗黑世界(「黑箱作業」、「封閉格式」、「暗藏後門」)的產品,少碰為妙。 |
我的比較麻煩一點點~~
檔案網址自動列表器 http://myweb.hinet.net/home1/loveblue1978/GenList.htm 裡面~貼上 http://freeddom/01~99.jpg 按下自動列表~就是所有圖片的連結~~ 如果前後面要有 [img] [/ixg] 我會將剛剛網址 copy下來 用記事本的取代 http:// ==> [img]http:// .jpg ==> .jpg[/ixg] 這樣即可~~ :D |
引用:
我的話會分成三欄 ----------第一欄-------------第二欄-----------第三欄-------- [img]http://freeddom/-------01------------.jpg[/ixg] 之後看是要到多少的數字,用拉的(抱歉不知道這動作叫什麼名詞) |
| 所有的時間均為GMT +8。 現在的時間是01:54 PM. |
vBulletin Version 3.0.1
powered_by_vbulletin 2026。