<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-29505829</id><updated>2011-08-21T17:07:46.863+08:00</updated><category term='WebClip'/><category term='PHP'/><category term='Utility'/><category term='meta'/><category term='Feed'/><category term='iPhone'/><category term='MySQL'/><category term='CSS'/><category term='AutoCAD'/><category term='HTML'/><category term='Maxthon'/><category term='Web Standard'/><category term='Software'/><category term='JavaScipt'/><category term='AutoLISP'/><category term='Exif'/><category term='Design'/><category term='WebDesign'/><category term='Jiggy'/><category term='Blogger'/><category term='Photoshop'/><title type='text'>iVox: Tech</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>62</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-29505829.post-8117546591781404162</id><published>2008-04-20T23:09:00.004+08:00</published><updated>2008-04-20T23:36:36.961+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScipt'/><category scheme='http://www.blogger.com/atom/ns#' term='Jiggy'/><category scheme='http://www.blogger.com/atom/ns#' term='iPhone'/><category scheme='http://www.blogger.com/atom/ns#' term='WebClip'/><title type='text'>竟然做了一個iPhone NativeApp</title><content type='html'>一時興起，想到了是否能將iPhone 1.1.3及以上版本的WebClips功能實現到我的1.1.1上。&lt;br/&gt;
最初想法是想找一臺1.1.3的iPhone，復制一個WebClip過來，看看是否能用，其實自己也不抱什么希望。後來就想如果做一個NativeApp來實現這個功能應該也不難，於是上網搜了搜，居然被我找到一個好東西：Jiggy。&lt;br/&gt;
&lt;br/&gt;
Jiggy是一個簡單到不敢相信的iPhone NativeApp開發環境，只要用JavaScript就可以——別的語言我就不行，JavaScript雖然也談不上精通，摸了這么多年，倒還有一試之膽。於是趕緊裝上，試了起來。&lt;br/&gt;
真的很簡單，只是上網搜索了兩段例程，就大致搞定了我的程序。&lt;br/&gt;
說來我的要求也真是不高，無非是一個獨立的程序，可以快捷地去到我指定的網站，以免進到Safari之後還要去書簽裏面翻尋。&lt;br/&gt;
&lt;br/&gt;
這個讓我鐵了心想做WebClip，甚至考慮升級到1.1.3的網站是&lt;a href="http://www.buxfer.com" target="_blank"&gt;BuxFer&lt;/a&gt;。自從我的第二臺TH55丟失之後，記賬這件事就幾乎完全放棄了。iPhone上面不是沒有記賬軟件，但到目前為止，還沒有找到合用的，倒是這個Buxfer網站做得令人鼓舞——當然，這也是大大得益於iPhone對網絡應用的良好支持。良好到哪種程度？在iPhone上訪問Buxfer，速度明顯快過在PC上。&lt;br/&gt;
&lt;br/&gt;
把眼光放在Web上吧！&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-8117546591781404162?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/8117546591781404162/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2008/04/iphone-nativeapp.html#comment-form' title='1 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/8117546591781404162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/8117546591781404162'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2008/04/iphone-nativeapp.html' title='竟然做了一個iPhone NativeApp'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-3028386099038315761</id><published>2006-12-11T12:19:00.003+08:00</published><updated>2008-06-01T23:55:37.724+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScipt'/><category scheme='http://www.blogger.com/atom/ns#' term='Exif'/><category scheme='http://www.blogger.com/atom/ns#' term='Photoshop'/><title type='text'>失而復得的Photoshop加框程序</title><content type='html'>去年還是前年，用Javascript寫了一個圖片加框的程序，一直用得很順手。昨天竟然發現程序不見了！回頭想想，應該是Adobe CS升級到Adobe CS2時，我以為程序都備份了，就沒有保留——看完切爾西對阿森納的比賽，翻箱倒柜去找光盤，結果發現備份是備份了，但能找到的都是一個初級的版本，沒法用。極其郁悶。&lt;br/&gt;
最後一線希望是辦公室電腦里保存著一個備份，今早開工，第一件事情就是搜這東西。好彩真給我找到了！狡兔三窟，古人誠不余欺也！
&lt;textarea name="code" class="javascript:nocontrols" cols="50" rows="300"&gt;
// 单位设为像素
app.preferences.rulerUnits = Units.PIXELS;

// 生成副本，加框流程将在副本中进行
var dupDoc = app.activeDocument.duplicate();

// 合并图层
dupDoc.flatten();

//画线和框
var black = new SolidColor(); 
black.rgb.red = black.rgb.green = black.rgb.blue = 0; 
var mygray = new SolidColor(); 
mygray.rgb.red = mygray.rgb.green = mygray.rgb.blue = 160; 
var white = new SolidColor(); 
white.rgb.red = white.rgb.green = white.rgb.blue = 255; 

backgroundColor = white;
//backgroundColor = black;

var marginW = 15;
var marginH1 = 15;
var marginH2 = 65;
var newW = dupDoc.width + marginW + marginW;
var newH = dupDoc.height + marginH1 + marginH1;
// 四周加15
dupDoc.resizeCanvas(newW,newH);
// 下边再加65
newH = newH + marginH2;
dupDoc.resizeCanvas(newW,newH,AnchorPosition.TOPCENTER);

// 增加Stroke图层
var layf = dupDoc.artLayers.add();
var selRef = dupDoc.selection;
var selRegion = Array(Array(marginW, marginH1),
                      Array(newW - marginW, marginH1),
                      Array(newW - marginW, newH - marginH1 - marginH2),
                      Array(marginW, newH - marginH1 - marginH2));
selRef.select(selRegion, SelectionType.REPLACE, 0, false);
selRef.stroke(black, 2, StrokeLocation.INSIDE, 
              ColorBlendMode.NORMAL, 100, false);

var selRegion = Array(Array(0, 0),
                      Array(newW, 0),
                      Array(newW, newH),
                      Array(0, newH));
selRef.select(selRegion, SelectionType.REPLACE, 0, false);
selRef.stroke(black, 1, StrokeLocation.INSIDE, 
              ColorBlendMode.NORMAL, 100, false);
selRef.deselect();

// 放置LOGO
var logofile = new File("e:/my documents/fishlogo on white.psd");
var logoDoc = open(logofile);
logoDoc.mergeVisibleLayers();
logoDoc.resizeCanvas(newW,newH,AnchorPosition.BOTTOMRIGHT)

logoDoc.layers[0].duplicate(dupDoc,ElementPlacement.PLACEATBEGINNING);
logoDoc.close(SaveOptions.DONOTSAVECHANGES);

displayDialogs = DialogModes.NO; 
var defaultRulerUnits = preferences.rulerUnits; 
preferences.rulerUnits = Units.PIXELS; 

var resRatio = dupDoc.resolution/72; 

if(resRatio!=1)
{ 
 dupDoc.resizeImage(dupDoc.width.value,dupDoc.height.value,72); 
} 


//将一个长字串分解成单个字符串
function explodeArray(item) { 
 var i=0;
 var Count=0; 
 var tempString=new String(item); 
 tempArray=new Array(1); 

 do{ 
  i=tempString.indexOf(":");
  if(i&gt;0)
   tempString=tempString.substr(i+1,tempString.length-i-1);
  i=tempString.indexOf("&gt;");
  if(i&gt;0) {
   tempArray[Count]=tempString.substr(0,i); 
   tempString=tempString.substr(i+1,tempString.length-i-1);
   Count ++;
  }
  i=tempString.indexOf("&lt;");
  if(i&gt;0) {
   tempArray[Count]=tempString.substr(0,i); 
   tempString=tempString.substr(i-1,tempString.length-i+1);
   Count ++;
  }
 }while (tempString.indexOf("&lt;/x:xmpmeta&gt;")&gt;0);

 tempArray[Count]=tempString; 
 return tempArray; 
} 


//获取RAW保存的信息
var exifData = dupDoc.xmpMetadata.rawData.toString();

//将EXIF信息分成单个的相关信息
explodeArray(exifData); 

var model="";//机型
var exposureTime="";   //快门
var fNumber="";   //光圈
var ISOSpeedRatings="";  //ISO设置
var dateTimeOriginal=""; //拍摄时间
var FocalLength="";//焦距
var lensname="??";    //镜头名称
var creator="LittleFish";  //拍摄者。
var i=0;
var j=0;
var k=0;
var dateArray1="";
var dateArray2="";
var monthsArray="";
var phoDate = "";
var phoTime = "";
var exposureBiasValue = ""; //曝光补偿

//Photoshop CS获取EXIF信息

//机型
for(n = 0; n &lt; tempArray.length; n ++) 
{ 
 stringTemp=tempArray[n];
 if(stringTemp.indexOf("Model")!=-1)
 { 
  model = tempArray[n+1]; 
  break;
 } 
}
//快门速度
for(n = 0; n &lt; tempArray.length; n ++) 
{ 
 stringTemp=tempArray[n];
 if(stringTemp.indexOf("ExposureTime")!=-1)
 { 
  exposureTime = tempArray[n+1]; 
  break;
 } 
}

//焦距
for(n = 0; n &lt; tempArray.length; n ++) 
{ 
 stringTemp=tempArray[n];
 if(stringTemp.indexOf("FocalLength")!=-1)
 { 
  FocalLength = tempArray[n+1]; 
  break;
 } 
}

// 曝光补偿
for(n = 0; n &lt; tempArray.length; n ++)
{ 
 stringTemp=tempArray[n];
 if(stringTemp.indexOf("ExposureBiasValue")!=-1)
 { 
  exposureBiasValue = tempArray[n+1]; 
  break;
 } 
}

//光圈大小
for(n = 0; n &lt; tempArray.length; n ++) 
{ 
 stringTemp=tempArray[n];
 if(stringTemp.indexOf("FNumber")!=-1)
 { 
  fNumber = tempArray[n+1];
  break;
 } 
}


//镜头名称
for(n = 0; n &lt; tempArray.length; n ++) 
{ 
 stringTemp=tempArray[n];
 if(stringTemp.indexOf("aux:Lens")!=-1)
 { 
  lensname = tempArray[n+1];
        break;
 } 
}

//拍摄日期、时间
for(n = 0; n &lt; tempArray.length; n ++) 
{ 
 stringTemp=tempArray[n];
 if(stringTemp.indexOf("DateTimeOriginal")!=-1)
 { 
  dateTimeOriginal = tempArray[n+1]; 
  break;
 } 
}

//ISO设置
for(n = 0; n &lt; tempArray.length; n ++) 
{ 
 stringTemp=tempArray[n];
 if(stringTemp.indexOf("ISOSpeedRatings")!=-1)
 { 
  ISOSpeedRatings = " ISO"+tempArray[n+5]; 
  break;
 } 
}

//检查快门速度
dateArray1 = exposureTime.split("/");
j = dateArray1[0];
i = dateArray1[1];
if(j/i&gt;1)
 exposureTime=parseInt(j/i)+"."+(j-parseInt(j/i)*i);
else
{
 i=parseInt(i/j);
 j=1;
 exposureTime=j+"/"+i;
}

//计算光圈大小
dateArray1 = fNumber.split("/");
i = dateArray1[0];
j = dateArray1[1];
if(j&gt;1)
 fNumber=i/j;
else
 fNumber=i;

//检查曝光补偿
dateArray1 = exposureBiasValue.split("/");
i = dateArray1[0];
j = dateArray1[1];
if(i&gt;0)
exposureBiasValue="+"+(parseInt(i*10/j))/10;
else
exposureBiasValue=(parseInt(i*10/j))/10;


//计算焦距
dateArray1 = FocalLength.split("/");
i = dateArray1[0];
j = dateArray1[1];
if(j&gt;1)
 FocalLength=i/j;
else
 FocalLength=i;

//镜头名称
if (FocalLength&gt;75)
 lensname="Nikkor 80-200";
else
 lensname="Tamron A09";

var infoLayer = dupDoc.artLayers.add(); 
infoLayer.kind = LayerKind.TEXT; 
var TI = infoLayer.textItem; 

//右对齐，如果左对齐可以省略下面这行
TI.justification = Justification.RIGHT;

//标字的位置
TI.position = [dupDoc.width.value-60,dupDoc.height.value-50];
TI.contents = "Nikon D70 · " + lensname + " · " + 
              exposureTime+" · F/" + fNumber + " · " + 
              exposureBiasValue + "EV · " + FocalLength + 
              "mm";
if (ISOSpeedRatings!="")
{
    TI.contents = TI.contents + " ·" +ISOSpeedRatings;
}

//字体、字号、颜色等 
TI.font = "Tahoma"; 
TI.size = 12; 
TI.color = mygray; 
TI.fauxBold = true;
&lt;/textarea&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-3028386099038315761?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/3028386099038315761/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2006/12/photoshop.html#comment-form' title='1 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/3028386099038315761'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/3028386099038315761'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2006/12/photoshop.html' title='失而復得的Photoshop加框程序'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-5642556112394029490</id><published>2006-12-06T16:57:00.002+08:00</published><updated>2008-05-31T21:35:05.123+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AutoCAD'/><title type='text'>图块单位确定原则</title><content type='html'>最近因为做总图设计比较多，把几个旧的AutoLISP程序翻出来修修改改，发现以前很多程序设计的难点其实不在于编程，而是因为图块单位概念不清，人为把事情搞复杂了。仔细思考了一下，总结出图块单位确定的原则。&lt;br/&gt;&lt;ol&gt;&lt;li&gt;实物图块，比如家具等，因为具有一定的尺寸，所以只要单位跟图块中图元尺寸相匹配就好了。1米宽的长度，画成1个单位，那么单位就是米；画成1000个单位，那么单位就是毫米。这个很好理解。&lt;/li&gt;&lt;li&gt;图面元素，不是实物，因此并没有实际尺寸，只有图面尺寸的，比如标高符号等。这些图块单位就应该设为“无单位”。&lt;br/&gt;当一个图形无单位时，它插入到另一个图形中时，单位换算比例始终为1。而如果一个有单位的图块，比如单位为毫米，插入到不同单位的图形时，AutoCAD就会自动换算插入比例——插入到单位为毫米的图纸中，单位换算比例为1；而插入到单位为米的图纸中，单位换算比例就为0.001——显然，如标高符号之类，这时就变得太小，就需要程序分别对插入比例做不同的处理。这个处理并不难，但较为繁琐而可能造成低级错误。&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-5642556112394029490?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/5642556112394029490/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2006/12/blog-post.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/5642556112394029490'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/5642556112394029490'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2006/12/blog-post.html' title='图块单位确定原则'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-116143899395388386</id><published>2006-10-21T21:45:00.001+08:00</published><updated>2008-05-27T14:17:07.359+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WebDesign'/><category scheme='http://www.blogger.com/atom/ns#' term='JavaScipt'/><category scheme='http://www.blogger.com/atom/ns#' term='AutoLISP'/><title type='text'>AutoLISP Highlighter</title><content type='html'>上次介绍过一款很好的语法代码高亮script：&lt;a href="http://www.dreamprojections.com/SyntaxHighlighter/Default.aspx"&gt;dp.SyntaxHighlighter&lt;/a&gt;。&lt;br /&gt;
我想到可以在这个script上把AutoLISP的语法也加进去，还曾经给作者写了信，并提供了用于EditPlus的AutoLISP语法文件——但作者一直没有答复我。&lt;br /&gt;
&lt;br /&gt;
今天因为修改了一下那个CSS风格，顺便干脆就自己来做这件事。&lt;br /&gt;
应该说这件事并不复杂，但我缺乏script的深度认识，对于什么正则表达式啦、prototype啦，都头晕得很。照虎画猫，折腾了一阵子，居然也搞定了。&lt;br /&gt;
先看球，回头再传上网站。&lt;br /&gt;
&lt;br /&gt;
示例：
&lt;textarea name="code" class="lisp:nocontrols" rows="15"&gt;
; FishLISP C:RNB
; 通过点击实体，更改图块名称。避免查询、输入原有名称。
;
; 在AutoCAD当中，可以很方便地复制一组实体，并粘贴成图块。
; 但所得到的图块总是具有如“A$C4FD24C92”之类复杂的名称，
; 往往并不利于识别和操作，所以有时候有必要将这样的图块更
; 名；而其名称的复杂性，同样使得更名也并不容易。
; C:RNB则避免了查询、输入图块名称，使更名极为便利。
;
; 程序支持长名称（即名称中允许输入空格），所以新名称必须
; 靠回车来确认。
;-----------------------------------------------------
; 04-07-07  v1.0  可用版
;-----------------------------------------------------

(defun c:rnb (/ en ent ety ena enn)
  (princ "\nFishLISP C:RNB v1.0.")
  (if (setq en (entsel "\n选取要改名的图块："))
    (if en
      (progn
        (setq ent (entget (car en))
            ety (cdr (assoc 0 ent))
        )
        (if (= ety "INSERT")
          (progn
            (setq ena (cdr (assoc 2 ent)))
            (setq loop t)
            (while loop
              (princ "\n图块名称：&lt;")
              (princ ena)
              (setq enn (getstring 1 "&gt; "))
              (if (member enn (list "" " " ena))
                (setq loop nil enn ena)
                (if (tblsearch "block" enn)
                  (princ "\n已经存在此名称的图块。")
                  (setq loop nil)
                ); if exist?
              ); if no change?
            ); while
            (setvar "cmdecho" 0)
            (command "rename" "block" ena enn)
            (setvar "cmdecho" 1)
          ); progn =INSERT
          (princ "\n对象不是图块。")
        );if INSERT?
      ); progn en
    ); if en?
  ); if picked
  (princ)
)

(princ)
&lt;/textarea&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-116143899395388386?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/116143899395388386/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2006/10/autolisp-highlighter.html#comment-form' title='1 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/116143899395388386'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/116143899395388386'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2006/10/autolisp-highlighter.html' title='AutoLISP Highlighter'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-116116393408728853</id><published>2006-10-18T17:10:00.004+08:00</published><updated>2009-03-16T14:06:47.175+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WebDesign'/><category scheme='http://www.blogger.com/atom/ns#' term='Maxthon'/><title type='text'>网页设计好帮手ViewPage</title><content type='html'>&lt;a href="http://viewpage.maxthon.com" target="_blank"&gt;&lt;img class="floatright" src="http://lh6.ggpht.com/_hF83NlDXqcA/Sb3sNgvCZyI/AAAAAAAAAw4/-SRefL5HQgU/vp.gif" border="0" alt="ViewPage" title="" /&gt;&lt;/a&gt;&lt;a href="http://viewpage.maxthon.com"&gt;&lt;strong&gt;ViewPage&lt;/strong&gt;&lt;/a&gt;是一个用于Maxthon的五星级插件。可以让用户在侧边栏浏览当前网页的DOM树——DOM树就是网页内所有元素的结构方式。&lt;br /&gt;
&lt;br /&gt;
在使用这个插件之前，我在为云影设计旧的那个Blog的模板（基于Blogcn）时，对其中代码的真相一直是两眼一抹黑。即便在网页加载完毕后，通过查看网页源代码也不能看到完整的代码，其中一些模块会是正在加载之类信息。&lt;br /&gt;
ViewPage则可以顺顺当当地把DOM树完整解析出来，并且可以把用户在DOM树中选中的标记在网页中亮显出来——非常直观！非常方便！&lt;br /&gt;
即便是能看到完整代码的网页，如果排版不佳、结构复杂，要搞清楚其结构，要从中找到某个不知道名称的标记，也是非常困难的。DOM树的好处就在于结构清晰，顺藤摸瓜十分利索。&lt;br /&gt;
&lt;br /&gt;
Blogger beta的模板标记虽然相较Blogcn之流算得上是完美，但也会让不熟悉的人很头痛，所以这个ViewPage也可以帮上忙。&lt;br /&gt;
&lt;br /&gt;
顺便就要推荐一下&lt;a href="http://cn.maxthon.com"&gt;&lt;strong&gt;Maxthon&lt;/strong&gt;&lt;/a&gt;了。Maxthon，流行读作：“马桶”，原名MyIE、MyIE2，也有好几年的历史了。很多人认为这是基于IE内核最好的浏览器。&lt;br /&gt;
新的Maxthon2正在开发中，具有很多令人兴奋的特性。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-116116393408728853?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/116116393408728853/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2006/10/viewpage.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/116116393408728853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/116116393408728853'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2006/10/viewpage.html' title='网页设计好帮手ViewPage'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_hF83NlDXqcA/Sb3sNgvCZyI/AAAAAAAAAw4/-SRefL5HQgU/s72-c/vp.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-116115367417715014</id><published>2006-10-18T14:18:00.001+08:00</published><updated>2008-05-27T14:17:59.213+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WebDesign'/><category scheme='http://www.blogger.com/atom/ns#' term='JavaScipt'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><title type='text'>标准的莫明其妙</title><content type='html'>严格的（strict）xhtml标准里面，打开链接的目标属性如target="_blank"等，是不合法的。&lt;br /&gt;
作为一个标准，如果编制者如此如此规定，大家也就如此如此执行，皆大欢喜，而标准自成为标准。&lt;br /&gt;
但大家显然不准备照此执行——点击链接时新开窗口常常有其必要。&lt;br /&gt;
那么如果不用target="_blank"，又该怎么办？答曰：用javascript。比如：
&lt;textarea name="code" class="javascript:nocontrols" rows="15"&gt;
function externallinks() { 
if (!document.getElementsByTagName) return; 
var anchors = document.getElementsByTagName("a"); 
for (var i=0; i&amp;lt;anchors.length; i++) { 
  var anchor = anchors[i]; 
  if (anchor.getAttribute("href") &amp;&amp; 
      anchor.getAttribute("rel") == "external") 
    anchor.target = "_blank"; 
} 
} 
window.onload = externallinks;
&lt;/textarea&gt;如何？明眼人一看就知道，这其实是绕了个圈子，归根结底还是target="_blank"。&lt;br /&gt;
&lt;br /&gt;
这是标准的莫明其妙。&lt;br /&gt;
&lt;br /&gt;
为什么要做这种蠢事？其实标准再莫明其妙都无所谓，但坏事就坏事在W3C要整一个xhtml规范的检校认证出来。于是无数coder为了通过那个认证，就不辞辛劳地去绕那个大圈子。显然检校程序并不知道那段代码本质跟不符合标准的东西完全一样。&lt;br /&gt;
&lt;br /&gt;
标准制定中的莫明其妙其实可以原谅，可能是因为疏忽，最多是因为偏执。但网页用户和Coder们的集体虚荣，就实在可鄙。通过了W3C检校又如何？&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-116115367417715014?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/116115367417715014/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2006/10/blog-post.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/116115367417715014'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/116115367417715014'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2006/10/blog-post.html' title='标准的莫明其妙'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-116107246190808997</id><published>2006-10-17T15:50:00.001+08:00</published><updated>2008-05-27T14:19:10.008+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WebDesign'/><category scheme='http://www.blogger.com/atom/ns#' term='Blogger'/><category scheme='http://www.blogger.com/atom/ns#' term='CSS'/><title type='text'>Blogger beta新模板</title><content type='html'>Blogger beta新模板修改起来并没有我预先估计的那样复杂。&lt;br /&gt;
&lt;br /&gt;
今天帮云影把新的Blog基本搭建好了，还有些细节要完善。地址：&lt;a href="http://hallenyu.blogspot.com" target="_blank"&gt;http://hallenyu.blogspot.com&lt;/a&gt;。主要工作就是把原来的CSS搬过去，然后根据布局的需要增加了几个DIV——顺便梳理了一下整个模板的结构，加了一些注释。&lt;br /&gt;
我是在Blogger beta提供的现成模板基础上加以修改的。在梳理结构过程中就发现那些高手的coding习惯也不是足够好。比如我的一个好习惯：为DIV加注，如：&amp;lt;div id=&amp;quot;idname&amp;quot;&amp;gt;...&amp;lt;/div&amp;gt;&amp;lt;!-- #idname --&amp;gt;在原始模板里就没有见到，于是要定位某些元素非常困难。梳理结构，既是主动了解，其实也是迫不得已。&lt;br /&gt;
&lt;br /&gt;
所谓技术进步，其实都是对最终用户而言。Blogger beta技术进步了，更方便了，是说对不需要像我这样去改代码而言，进步了，方便了。改代码其实要比以前做更多的事。当然设计者也是一个层面的最终用户，Blogger也需要为咱们多多努力。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-116107246190808997?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/116107246190808997/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2006/10/blogger-beta.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/116107246190808997'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/116107246190808997'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2006/10/blogger-beta.html' title='Blogger beta新模板'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-115889540289012664</id><published>2006-09-22T11:07:00.001+08:00</published><updated>2008-06-02T00:01:14.604+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Blogger'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><title type='text'>更改Blogger的“快速编辑”图标</title><content type='html'>Blogger的“快速编辑”还是很好用的，但并没有提供多种图标的选择，唯一的一个跟本站的界面不太和谐。原来是打算放弃“快速编辑”功能，但实际使用中发现没有它还的确不方便，那就还是用上吧，把图标改了就成。&lt;br /&gt;
Blogger的帮助文件提供了修改发送邮件图标的方法，但这个方法显然不能套用来修改“快速编辑”的图标。&lt;br /&gt;
我琢磨了一下，用以下方案可行：&lt;br /&gt;
&lt;textarea name="code" class="css:nocontrols" rows="12"&gt;
a span.quick-edit-icon {
background:url("http://www.ivox.cc/studio/lib/edit10.gif") no-repeat 0 1px;
padding:0 20px;
margin:0;
}
a:hover span.quick-edit-icon {
background-image:url("http://www.ivox.cc/studio/lib/edit10r.gif");
}
&lt;/textarea&gt;
这个例子修改了“快速编辑”图标，并且指定了普通、悬停两种状态使用不同的图标。如果只需要改为一个静态图标，就忽略第二段。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-115889540289012664?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/115889540289012664/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2006/09/blogger_22.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115889540289012664'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115889540289012664'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2006/09/blogger_22.html' title='更改Blogger的“快速编辑”图标'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-115882527817309024</id><published>2006-09-21T15:45:00.000+08:00</published><updated>2008-06-02T00:03:26.391+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSS'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><title type='text'>小心背景的fixed属性</title><content type='html'>在给标题、列表等做图标的时候，正确的方法是设背景。比如：&lt;br /&gt;
h2 {background:url(some.gif) no-repeat left top;}&lt;br /&gt;
但我做出来的效果在Firefox里面总是不显示图片，而在IE就正常，很郁闷。后来仔细检查，才发现代码跟上面不太一样：&lt;br /&gt;
h2 {background:url(some.gif) no-repeat &lt;span style="color:red;"&gt;fixed&lt;/span&gt; left top;}&lt;br /&gt;
去掉&lt;span style="color:red;"&gt;fixed&lt;/span&gt;，Firefox就能正常显示了。&lt;br /&gt;
&lt;br /&gt;
no-repeat fixed，是设页面背景时做顺手了的，而在给标题、列表设背景时也没多想，习惯性地就敲出来了。&lt;br /&gt;
CSS看似简单，水还是挺深啊。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-115882527817309024?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/115882527817309024/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2006/09/fixed.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115882527817309024'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115882527817309024'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2006/09/fixed.html' title='小心背景的fixed属性'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-115854817482268950</id><published>2006-09-18T10:51:00.001+08:00</published><updated>2008-05-27T14:20:39.891+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WebDesign'/><category scheme='http://www.blogger.com/atom/ns#' term='Blogger'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><category scheme='http://www.blogger.com/atom/ns#' term='meta'/><title type='text'>[链接] 空白显示页面问题的解决</title><content type='html'>&lt;a href="http://joomlar.org/index.php?option=com_content&amp;task=view&amp;id=10&amp;Itemid=26"&gt;点击访问原作&lt;/a&gt;&lt;p class="quote"&gt;在windows操作系统上使用IE作为浏览器时。常常会发生这样的问题：在浏览使用UTF-8编码的网页时，浏览器无法自动侦测（即没有设定“自动选择”编码格式时）该页面所用的编码。即使网页已经声明过编码格式：&lt;br /&gt;
&amp;lt;meta http-equiv=&amp;quot;Content-Type&amp;quot; content=&amp;quot;text/html; charset=UTF-8&amp;quot; /&amp;gt;&lt;br /&gt;
，由此造成某些含有中文UTF-8编码的页面产生空白输出。&lt;br /&gt;
&lt;br /&gt;
如果使用的是Mozilla、Mozilla Firefox、Sarafi的浏览器这不会造成这个问题。这是由于IE解析网页编码时以HTML内的标签优先，而后才是HTTP header内的讯息；而mozilla系列的浏览器则刚刚相反。&lt;br /&gt;
&lt;br /&gt;
由于UTF-8为3个字节表示一个汉子，而普通的GB2312或BIG5是两个。页面输出时，由于上述原因，使浏览器解析、输出&amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;的内容时，如果在&amp;lt;/title&amp;gt;前有奇数个全角字符时，IE把UTF-8当作两个字节解析时出现半个汉字的情况，这时该半个汉字会和&amp;lt;/title&amp;gt;的&amp;lt;结合成一个乱码字，导致IE无法读完&amp;lt;title&amp;gt;部分，使整个页面为空百输出。而这个时候如果察看源文件的话，会发现实际上整个叶面全部已经输出了。&lt;br /&gt;
&lt;br /&gt;
因此最简单的解决办法是再网页文件的&amp;lt;head&amp;gt;&amp;lt;/head&amp;gt;标签中一定要把字符定义&amp;lt;meta http-equiv=&amp;quot;Content-Type&amp;quot; content=&amp;quot;text/html; charset=UTF-8&amp;quot; /&amp;gt;
放在&amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;之前。&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-115854817482268950?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://joomlar.org/index.php?option=com_content&amp;task=view&amp;id=10&amp;Itemid=26' title='[链接] 空白显示页面问题的解决'/><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/115854817482268950/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2006/09/blog-post_18.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115854817482268950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115854817482268950'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2006/09/blog-post_18.html' title='[链接] 空白显示页面问题的解决'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-115833440274595881</id><published>2006-09-15T23:04:00.000+08:00</published><updated>2008-06-02T00:04:24.053+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Blogger'/><title type='text'>Blogger beta</title><content type='html'>试用了一下Blogger beta，功能的确加强了很多，表面上最突出的就是Label。这个功能的确很实用，也是Blogger因为没有提供这个功能而一直以来被诟病之处。看来Blogger beta要在这个问题上打个翻身仗。&lt;br /&gt;
Label，在大部分网站一般叫做Tag，反正是一回事，就是给主题添加一些简短的描述，然后就可以通过众多描述的共同之处进行分类。&lt;br /&gt;
最需要这个功能的其实是图片网站，比如flickr。因为Blog之流尚可通过文本搜索，进行人工的查找。效果自然不如Tag来得好，但总算有此功能。但图片站可就十分依赖Tag技术了。用户对同一张的描述会产生两维的效果，一维是广度——描述差异性越多，再次找到它的可能性就越高；另一维是深度——描述的相同性越高，就越接近图片主题的本质。比如一幅树叶的图片，最容易想到的Tag就是“树叶”，但也有可能是“黄色”；因为它是黄色的树叶；也可能是“秋”，因为它是秋天的树叶；也可能是“五角”，因为它有着五角的外形……&lt;br /&gt;
这应该跟人工智能有关吧？不懂，瞎猜。&lt;br /&gt;
&lt;br /&gt;
但实际上Blogger beta最大的变化之处是骨子里的，网络重构。新的模板必须采用严格的XHTML 1.0 Strict！内置的转换标记也是一套全新的系统，这些都增加了用户自定义模板的难度——要从Blogger转向Blogger beta并不是一件轻松愉快的事情；除非你采用那些老老实实的模板。&lt;br /&gt;
&lt;br /&gt;
其他的诸如翻页功能、新的档案文件列表方式，相较而言都是小儿科了。&lt;br /&gt;
&lt;br /&gt;
现在对我来说，遇到一个具体问题：我正试图把诗歌栏目也转向Blogger，但Blogger对帖子日期有限制，只支持最早到1990年，那么我80年代的作品就无法有正确时间了，虽然作品不多，但这总是不爽。试用Blogger beta发现它对日期的支持要好的多，还是方便的手工输入方式——那么到底用哪个？还是两个都不用，用MySQL+PHP自己做？&lt;br /&gt;
Blog这东西提供了一种网页（网站）结构与内容分离的极为便利的方式，不用还真是可惜啊。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-115833440274595881?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/115833440274595881/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2006/09/blogger-beta.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115833440274595881'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115833440274595881'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2006/09/blogger-beta.html' title='Blogger beta'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-115817873108311659</id><published>2006-09-14T04:10:00.001+08:00</published><updated>2009-03-16T23:53:05.744+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web Standard'/><category scheme='http://www.blogger.com/atom/ns#' term='CSS'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><title type='text'>h#标签的缺省值</title><content type='html'>h#的margin，在IE里面缺省值为0，但在Firefox和Safari里面top有个大约10px。后者比较奇怪。&lt;br /&gt;
所有有些地方需要强制指明h# {margin-top:0;}&lt;br /&gt;
&lt;br /&gt;
里昂：皇家马德里中场休息时发现上述问题。里昂打得不错，皇马整体性太差了，光有大牌是不行的！其实里昂阵中也不乏骁将，尤其是新生代的法国国家队几个核心，只不过名气尚且不大而已。&lt;br /&gt;
&lt;br /&gt;
2：0到70分钟了，继续看。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-115817873108311659?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/115817873108311659/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2006/09/h.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115817873108311659'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115817873108311659'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2006/09/h.html' title='h#标签的缺省值'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-115778953514348958</id><published>2006-09-09T16:12:00.001+08:00</published><updated>2009-03-16T23:53:33.180+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Blogger'/><category scheme='http://www.blogger.com/atom/ns#' term='Feed'/><title type='text'>更正一下</title><content type='html'>&lt;a href="http://ivox-tech.blogspot.com/2006/09/feed.html"&gt;Feed的几个技术&lt;/a&gt;里面说：&lt;br /&gt;
&lt;p class="quote"&gt;FeedJumbler生成聚合会有个问题，即我下次更改、增加RSS地址后，新生成的聚合就会有不同的名字。&lt;/p&gt;今天又研究了一下，在FeedJumbler注册以后，其实会获得一个固定的RSS地址，其对应的聚合可以根据自己的需要进行修改。&lt;br /&gt;
因此我就修改了一下，获得另一个全站Blog的RSS聚合：&lt;br /&gt;
&lt;a href="http://feedjumbler.com/users/ivox/all/rss.xml"&gt;http://feedjumbler.com/users/ivox/all/rss.xml&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-115778953514348958?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://ivox-tech.blogspot.com/2006/09/feed.html' title='更正一下'/><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/115778953514348958/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2006/09/blog-post_09.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115778953514348958'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115778953514348958'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2006/09/blog-post_09.html' title='更正一下'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-115774607216882694</id><published>2006-09-09T03:36:00.001+08:00</published><updated>2009-03-16T23:54:08.644+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Blogger'/><category scheme='http://www.blogger.com/atom/ns#' term='Feed'/><title type='text'>Feed的几个技术</title><content type='html'>首先是聚合。我很奇怪会有那么多桌面的RSS聚合阅读器，那些东西想来也的确不错，但何不就在线阅读呢？&lt;br /&gt;
针对我自己的这些Blog，聚合的意义很简单，就是把内容组织到一起，按时间顺序排下来——但如此简单一个要求，网上竟然找不到现成、合适的script。我查了算起来一整天的资料，总算明白AJAX不能跨域查询，OK！但我们不是非用AJAX不可啊。&lt;br /&gt;
Safari的RSS阅读器对我来说就十分理想。我甚至把那个.js文件抄过来好好研究了好一阵，但终于还是放弃了。毕竟自己不是专业的Coder哈。&lt;br /&gt;
&lt;br /&gt;
找不到合适的资料跟搜索引擎有极大关系。下午4点左右我试了一下在Google里面用“combine rss script”来搜索——这下豁然开朗了，总算找到一大堆在线聚合的网站。&lt;br /&gt;
接下来的事情就是研究到底哪个更好用……比较了无数了，总算暂时选定了&lt;a href="http://feedjumbler.com"&gt;&lt;strong&gt;lazytom's FeedJumbler&lt;/strong&gt;&lt;/a&gt;。这个聚合服务并不是有多好，总算能用了。&lt;br /&gt;
&lt;br /&gt;
有了聚合，本站首页就可以显示各个栏目的文章了，但Blogger放在我的FTP上的RSS有些问题。最好的解决办法就是把Blog放去Blogspot.com——反正现在这家速度还满快，那就放过去好了。同时这样也解决另一个很烦人的问题：由于Blog生成的文件极多，GoLive在发布、更新的时候速度超慢！现在删掉了大量文件，自然就好多了。&lt;br /&gt;
Adobe也该打五十大板，GoLive的FTP模块效率实在太低，还超级占资源。&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://feedjumbler.com"&gt;&lt;strong&gt;FeedJumbler&lt;/strong&gt;&lt;/a&gt;生成聚合会有个问题，即我下次更改、增加RSS地址后，新生成的聚合就会有不同的名字——原来的应当还能用吧，但订阅了旧的聚合的用户就不能得到新栏目的更新状况了。&lt;br /&gt;
这样就要用到&lt;a href="https://www.feedburner.com"&gt;&lt;strong&gt;FeedBurner&lt;/strong&gt;&lt;/a&gt;了。这项服务的基本内容就是把有可能变化的、不好记的、乱七八糟的，如此等等的RSS重新包装一番，再赋予一个好记的、稳定的名字。其实就跟我们用域名来代替IP一样。&lt;br /&gt;
&lt;br /&gt;
好了，本站永久性的Feed就这样炮制出来了！欢迎订阅——&lt;br /&gt;
&lt;a href="http://feeds.feedburner.com/ivox"&gt;http://feeds.feedburner.com/ivox&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-115774607216882694?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/115774607216882694/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2006/09/feed.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115774607216882694'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115774607216882694'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2006/09/feed.html' title='Feed的几个技术'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-115764667283550682</id><published>2006-09-08T00:16:00.000+08:00</published><updated>2008-06-02T00:04:24.054+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Blogger'/><title type='text'>Blogger的几个用法</title><content type='html'>今天最重要的事情就是把“爱好”这个栏目Blog化了。当中涉及到好几个技术问题。&lt;br /&gt;
&lt;br /&gt;
图片浮动是很容易实现的。但按照Blogger提供的，也就是通常的方式，图片只能在Blog内文里面浮动，并不影响日期和标题；并且那种浮动是围绕式浮动，跟我需要的效果不同。&lt;br /&gt;
好在Blogger的模板定制能力够强，内文也支持DIV。那么我就有办法了。
办法的关键是在设置里面里面取消&lt;strong&gt;浮动对齐方式&lt;/strong&gt;！然后在内文里面把图片放在一个DIV里面令其float:left;，而把文字放在另一个DIV里面，令其float:right;。&lt;br /&gt;
另一个同样关键之处就是在模板里面把日期和标题放在一个DIV里面，令其也float:right;。&lt;br /&gt;
实际效果见“爱好”栏目。&lt;br /&gt;
&lt;br /&gt;
把页面直接放在blogspot.com会有很多好处，但有个前提：去掉Nav条。&lt;br /&gt;
做起来倒是简单，在CSS里面放入这段就好：&lt;br /&gt;
&lt;textarea name="code" class="css:nocontrols" rows="7"&gt;
#b-navbar {
  height:0px;
  visibility:hidden;
  display:none;
}
&lt;/textarea&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-115764667283550682?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/115764667283550682/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2006/09/blogger.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115764667283550682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115764667283550682'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2006/09/blogger.html' title='Blogger的几个用法'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-115761496567915511</id><published>2006-09-07T15:39:00.002+08:00</published><updated>2009-03-31T22:19:25.963+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Utility'/><title type='text'>好玩的Seal自做</title><content type='html'>自己做来试试吧。可惜不支持中文。&lt;br /&gt;
&lt;br /&gt;
&lt;img class="b0" src="http://lh3.ggpht.com/_hF83NlDXqcA/SdImL7I914I/AAAAAAAAA4w/5Q-1PJAEDis/seal.gif" alt="Sample Seal" title="" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-115761496567915511?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.says-it.com/seal/index.php' title='好玩的Seal自做'/><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/115761496567915511/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2006/09/seal.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115761496567915511'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115761496567915511'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2006/09/seal.html' title='好玩的Seal自做'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh3.ggpht.com/_hF83NlDXqcA/SdImL7I914I/AAAAAAAAA4w/5Q-1PJAEDis/s72-c/seal.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-115759683584005912</id><published>2006-09-07T10:37:00.001+08:00</published><updated>2009-03-16T23:55:50.419+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Utility'/><title type='text'>browsershots.org</title><content type='html'>一个很好玩，很值得推荐的网站。作用是给一个在线的网站提供各平台、各浏览器的效果抓图。&lt;br /&gt;
不知道他们是怎么做到的，但的确满有意思。&lt;br /&gt;
&lt;br /&gt;
看了看本站的抓图，效果还算比较满意。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-115759683584005912?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://browsershots.org' title='browsershots.org'/><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/115759683584005912/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2006/09/browsershotsorg.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115759683584005912'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115759683584005912'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2006/09/browsershotsorg.html' title='browsershots.org'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-115744396769788197</id><published>2006-09-05T16:03:00.001+08:00</published><updated>2009-03-16T23:55:19.212+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScipt'/><category scheme='http://www.blogger.com/atom/ns#' term='Blogger'/><title type='text'>又是兼容性</title><content type='html'>dp.SyntaxHighlighter跟Blogger的自动断行不兼容。如何取舍成了问题。&lt;br /&gt;
暂时就在Tech这里取消自动断行，以使用dp.SyntaxHighlighter吧。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-115744396769788197?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/115744396769788197/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2006/09/blog-post.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115744396769788197'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115744396769788197'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2006/09/blog-post.html' title='又是兼容性'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-115742529168860284</id><published>2006-09-05T10:50:00.001+08:00</published><updated>2009-03-16T23:55:38.743+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScipt'/><category scheme='http://www.blogger.com/atom/ns#' term='CSS'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><title type='text'>dp.SyntaxHighlighter</title><content type='html'>这个页面工具太赞了！&lt;br /&gt;
&lt;br /&gt;
在&lt;a href="http://www.webreference.com/"&gt;&lt;strong&gt;WebReference&lt;/strong&gt;&lt;/a&gt;闲逛的时候，发现了这个dp.SyntaxHighlighter。其作用是高亮页面内的源代码，效果见WebRef的文章。&lt;br /&gt;
&lt;br /&gt;
更赞的是，dp.SyntaxHighlighter不但支持各种源代码，还是一个免费工具！&lt;br /&gt;
&lt;br /&gt;
我会把这个工具用到本站上。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-115742529168860284?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.dreamprojections.com/SyntaxHighlighter/Default.aspx' title='dp.SyntaxHighlighter'/><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/115742529168860284/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2006/09/dpsyntaxhighlighter.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115742529168860284'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115742529168860284'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2006/09/dpsyntaxhighlighter.html' title='dp.SyntaxHighlighter'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-115717913861544128</id><published>2006-09-02T14:33:00.000+08:00</published><updated>2008-06-02T00:04:24.054+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Blogger'/><title type='text'>Blogger ArchivePage 导航</title><content type='html'>查看Blogger的帮助文件，看到这个&lt;a href="http://help.blogger.com/bin/answer.py?answer=42199&amp;topic=8932"&gt;&lt;strong&gt;如何更改存档链接的顺序？&lt;/strong&gt;&lt;/a&gt;。&lt;br /&gt;
根据这个思路，我自己做了一个翻页的存档文件导航。这样比较更符合浏览习惯。&lt;br /&gt;&lt;br /&gt;
代码如下，还可以进一步定制、优化。&lt;br /&gt;
&lt;textarea name="code" class="js:nocontrols" rows="15" cols="100"&gt;
  var archives = new Array();
  &lt;BloggerArchives&gt;
    archives[archives.length] = new Array('&lt;$BlogArchiveURL$&gt;', '&lt;$BlogArchiveName$&gt;');
  &lt;/BloggerArchives&gt;
  &lt;MainPage&gt;
    document.write('&lt;p&gt;&lt;a href=\"' + archives[archives.length-1][0] + '\"&gt;' + archives[archives.length-1][1] + ' &gt;&gt;&lt;/a&gt;&lt;/p&gt;');
  &lt;/MainPage&gt;
  &lt;ArchivePage&gt;
    for (var i=archives.length-1;i&gt;=0;i--) {
      if (document.location.href == archives[i][0]){
        if (i==archives.length-1){
          document.write('&lt;p&gt;&lt;a href=\"' + archives[i-1][0] + '\"&gt;' + archives[i-1][1] + ' &gt;&gt;&lt;/a&gt;&lt;/p&gt;');
        }
        else if (i==0){
          document.write('&lt;p&gt;&lt;a href=\"' + archives[i+1][0] + '\"&gt;&lt;&lt; ' + archives[i+1][1] + '&lt;/a&gt;&lt;/p&gt;');
        }
        else {
          document.write('&lt;p&gt;&lt;a href=\"' + archives[i+1][0] + '\"&gt;&lt;&lt; ' + archives[i+1][1] + '&lt;/a&gt; | &lt;a href=\"' + archives[i-1][0] + '\"&gt;' + archives[i-1][1] + ' &gt;&gt;&lt;/a&gt;&lt;/p&gt;');
        }
      }
    }
  &lt;/ArchivePage&gt;
&lt;/textarea&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-115717913861544128?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/115717913861544128/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2006/09/blogger-archivepage.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115717913861544128'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115717913861544128'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2006/09/blogger-archivepage.html' title='Blogger ArchivePage 导航'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-115699303148644216</id><published>2006-08-31T10:46:00.001+08:00</published><updated>2009-03-16T23:57:13.273+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Web Standard'/><category scheme='http://www.blogger.com/atom/ns#' term='CSS'/><title type='text'>filter造成页面刷新失败</title><content type='html'>一直都有发现我的部分页面存在一个问题：页面一些元素在滚动时会消失或破碎，比如Flash或者下拉框。实际上并没有消失，只是在滚动时这些元素刷新失败，所以就看不到了。而这个问题也仅仅存在于IE，或IE内核的比如Maxthon当中，Firefox或Safari就很正常。&lt;br /&gt;
&lt;br /&gt;
本站最近一次更新取消了原来设计的一个很酷的效果：鼠标悬停关闭按钮时，整个页面变成黑白。&lt;br /&gt;
这个效果基于CSS之filter特效，但只有IE才支持。而本站首页现在不用弹出新窗口打开，那个关闭按钮意义就不大了。如此等等，那就取消吧。&lt;br /&gt;
取消filter特效以后，CSS中定义的filter属性也顺手删除了，这时意外地发现：页面元素刷新失败的问题不存在了！&lt;br /&gt;
&lt;br /&gt;
IE啊IE，让我们说什么好呢？&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-115699303148644216?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/115699303148644216/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2006/08/filter.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115699303148644216'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115699303148644216'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2006/08/filter.html' title='filter造成页面刷新失败'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-115690487568783741</id><published>2006-08-30T09:37:00.001+08:00</published><updated>2009-03-16T23:56:38.889+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WebDesign'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Standard'/><category scheme='http://www.blogger.com/atom/ns#' term='CSS'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><title type='text'>一些收获</title><content type='html'>总算把“布局和表现分离”这一思路落实到了云影的Blog上。这几天研究下来，还是有些收获的。&lt;br /&gt;
&lt;br /&gt;
在兼容性方面，应该优先考虑更规范的浏览器。在IE和Firefox之间，更规范的当然就是后者了。所以大部分调试工作应该放在Firefox当中，而不是IE当中进行。&lt;br /&gt;
&lt;br /&gt;
多层背景的放置，有一个小技巧。首先，与内容无关的图片，按WEB规范应该做成背景图，而这并不光是规范问题，把图片做成背景还非常有利于定位。&lt;br /&gt;
我在云影的Blog里就是这样做的，有一层真正的页面背景，还有一层背景其实是顶部的Banner。最初我是把页面背景放在body标记里面、居中，而Banner是放在一个Headbox的div层里面、居中。&lt;br /&gt;
问题就出现了——在Firefox里面看，一切正常，但在IE里面，Banner比预想的位置偏左了1px！如果把body的左边距设成1px，那么在IE里面看上去就正常了，但在Firefox里面，Banner又会向右偏1px。&lt;br /&gt;
基于上面的“在兼容性方面，应该优先考虑更规范的浏览器。”，可以判定这是IE的Bug！但仍然要解决这个问题。&lt;br /&gt;
同时，这样的布局还带来别的问题——如果浏览器窗口缩小，在Firefox里面毫无问题，上下两层图片对应的位置保持不变；而在IE里面，body里面的背景边上却会出现一段未曾预料的边距。糟糕的IE！&lt;br /&gt;
如何解决？其实不难想到——把页面背景从body里面拿出来放在页面最外层那个定位容器里面就好。于是以上两个问题：偏移和边距，都解决了。&lt;br /&gt;
&lt;br /&gt;
云影的Blog是放在Blogcn的。这是一家极其糟糕的Blog提供商，技术方面乏善可陈。但抱怨归抱怨，问题还是要解决。我在做这个“布局与表现分离”的过程中，遇到最大的问题就是Blogcn的标记兼容性太差。&lt;br /&gt;
&lt;br /&gt;
模板里面没法放!DOCTYPE声明。&lt;br /&gt;
这样的后果就是没法让IE和Firefox对BOX的解释取得一致。在没有适当的!DOCTYPE声明时，IE里面的BOX尺寸是含边框、内边距在内的，而按WEB规范，这样是错误的。&lt;br /&gt;
那么如何在没有!DOCTYPE声明的情况下，让IE听话一点呢？我想到一个办法：嵌套DIV，让两层div的边框和内边距均为0，而内层div的外边距就充当了如果使用单层DIV时的内边距。&lt;br /&gt;
因为这两层DIV当中，边框和内边距都为0，所以不管浏览器加不加这两个尺寸，都没影响了。&lt;br /&gt;
&lt;br /&gt;
这个技巧附带的好处是：在保持布局跨浏览器的兼容性的同时，可以使用一些IE特殊的属性，比如滚动条的自定义。按规范不应当这样做，但其实这样也满有趣。&lt;br /&gt;
&lt;br /&gt;
对于嵌套DIV情况下，如何让外层DIV的高度自适应内层DIV，网上的论述很多了。就是让内层DIV具有float属性，成为浮动层，并在下边加上一个控制DIV，具有clear:both属性。&lt;br /&gt;
综合一下，还应该加上两条：&lt;br /&gt;
浮动层还应该具有display:inline;属性，以解决IE莫明其妙的边框加倍问题；&lt;br /&gt;
控制层为了不影响布局，可以把height、font-size和line-height设为0。&lt;br /&gt;
&lt;br /&gt;
有一个调试中的技巧，可能大部分coder早就在用了，不过对我来说还是一个新的收获，因为毕竟以前还没有切实、全面地采用DIV+CSS。&lt;br /&gt;
具体做法是在调试时把各个DIV都加上“border:1px solid #color;”这样的属性。很简单，但很有效。&lt;br /&gt;
&lt;br /&gt;
最后，我发现采用DIV+CSS、布局与表现分离的思路，用文本编辑器来写网页其实更方便、更舒服了。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-115690487568783741?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://hallenyu.blogcn.com' title='一些收获'/><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/115690487568783741/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2006/08/blog-post.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115690487568783741'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115690487568783741'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2006/08/blog-post.html' title='一些收获'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-115669567241155027</id><published>2006-08-27T23:34:00.001+08:00</published><updated>2009-03-16T23:57:05.665+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WebDesign'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Standard'/><category scheme='http://www.blogger.com/atom/ns#' term='CSS'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><title type='text'>DIV + CSS 布局的几点体会</title><content type='html'>这个周末，白天接待彩虹，晚上研究网页设计到很晚，总算搞清楚了几个问题。有点累，倒也值得。&lt;br /&gt;
&lt;br /&gt;
IE计算div的宽度，通常会忽略margin、border和padding的宽度属性，而Safari、Firefox不会。为了保持布局跨浏览器的一致性，必须在网页的head里面加上一段!DOCTYPE声明。&lt;br /&gt;
&lt;br /&gt;
另一个涉及跨浏览器一致性的布局问题是li标记的list-style，在Firefox里面被解释得比较奇怪。务必留意。&lt;br /&gt;
&lt;br /&gt;
学会了嵌套DIV情况下，如果让外层div的高度自适应子div的高度。这种情况经常出现在两列布局情况下。比如一列Blog正文，一列Sidebar。往往这两列都不可能正好等高，所以它们的背景就会出现高差，如果你不希望看到结果，最容易的解决办法就是把这两列div放置到一个外层的div当中，而用这个外层div的背景来替代列背景。但在普通情况下，这个外层div并不会如我们所愿——它并不会自动适应子div的高度。&lt;br /&gt;
解决这个问题的关键有两点：&lt;br /&gt;
第一：在子div中使用float属性；&lt;br /&gt;
第二：不指定浮动层的position属性。&lt;br /&gt;
&lt;br /&gt;
多重Style的问题。虽然目前Firefox已经支持这个CSS官方要求的特性，但实际使用的时候，遇到的问题还是不少。IE和Safari根本就不支持，如果要实现用户选择Style，就得用script来处理。script还不够，比如在一个Blog里面，用户选择了“风格二”，但他在点击链接、评论或存档文件之后，或刷新之后，又回到了缺省页面——那么又得加上Cookie来存储用户选用的那个风格表……真是麻烦啊！&lt;br /&gt;
所以如果我要使用多重风格，我就只会简单地在页面告诉用户：如果你想使用多重风格，请使用Firefox浏览本页。&lt;br /&gt;
这样算是为Firefox做广告吧？呵呵。&lt;br /&gt;
&lt;br /&gt;
多重风格必须要建立在DIV+CSS基础上。如果靠Table布局，改改颜色、字体什么的没问题，但做不到比如交换左右两列的位置之类的变化。&lt;br /&gt;
另外一个要点：把你能想到的所有内容都用div做出来。如果在某个风格里，你不想显示某些内容，很简单，用display:none把它们隐藏就好了。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-115669567241155027?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/115669567241155027/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2006/08/div-css.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115669567241155027'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115669567241155027'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2006/08/div-css.html' title='DIV + CSS 布局的几点体会'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-115396560903105553</id><published>2006-07-27T09:48:00.001+08:00</published><updated>2009-03-16T23:57:47.541+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WebDesign'/><category scheme='http://www.blogger.com/atom/ns#' term='MySQL'/><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><title type='text'>上网之必要</title><content type='html'>为了规划新的个人网站，昨晚将飞机上的PHP+MySQL重新捣腾了一晚上，以便学习、调试。
其实前年春节在家就已经搞好了，但OSX升级以后就将很多设置破坏了——以前有人提到过，并且提出了解决办法，但我试了之后显然无效。&lt;br /&gt;
&lt;br /&gt;
昨晚搞得还算顺利，PHP很快搞定，MySQL从内部访问毫无问题，从外部访问始终不行。PHP调试页里面反映的mysql.sock路径和MySQL反映的路径不同，但我不知道怎么改——现在想起来真该死，应该可以spotlight的吧？&lt;br /&gt;
&lt;br /&gt;
最关键的问题是现在我上不了网，在需要查找资料的时候，才发现google、baidu之必要！上网之必要！
这不？一早来到办公室，立刻就找到某Blog里面关于相同症状的描述和解决办法。&lt;br /&gt;
&lt;br /&gt;
我本想留言感谢这个Blog作者，不料要注册才行——那还是算了吧，呵呵。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-115396560903105553?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.chengtao.name/modules/wordpress/?p=60' title='上网之必要'/><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/115396560903105553/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2006/07/blog-post.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115396560903105553'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115396560903105553'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2006/07/blog-post.html' title='上网之必要'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-115335958053645959</id><published>2006-07-20T09:30:00.001+08:00</published><updated>2009-03-16T23:57:58.671+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Blogger'/><title type='text'>Blog究竟是什么？</title><content type='html'>这个问题是问Blogcn和广大Blog用户的。&lt;br /&gt;
&lt;br /&gt;
我早已发现Blogcn提供的Blog里面，“引用”功能是无效的——总是报告“缺少参数!!”。前几天我给Blogcn的技术支持打了电话，报告了这个严重Bug。接电话的小伙子听得时分茫然，明显没有遭遇过这个问题。我不得不耐心细致地给他讲解了问题的症状。&lt;br /&gt;
&lt;br /&gt;
几天后，Blogcn总算作出了反应，但不是改正，而是儿戏地把“引用”链接改成了“####”！&lt;br /&gt;
&lt;br /&gt;
为什么一个大型的Blog提供商居然无视Blog的引用功能？&lt;br /&gt;
为什么千万计的用户居然无视Blog引用功能不健全的严重Bug？&lt;br /&gt;
难道说Blog就仅仅是一个廉价的普通网站？对于这些家伙来说——&lt;br /&gt;
Blog究竟是什么？&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-115335958053645959?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/115335958053645959/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2006/07/blog.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115335958053645959'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115335958053645959'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2006/07/blog.html' title='Blog究竟是什么？'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-7642714014452121804</id><published>2005-12-02T11:04:00.000+08:00</published><updated>2009-04-02T22:28:37.408+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AutoCAD'/><title type='text'>AutoCAD 2006 面积查询有问题</title><content type='html'>经验：AutoCAD 2006&lt;br /&gt;查询Hatch实体的面积，结果有可能不准确，甚至查询不到。&lt;br /&gt;一项极为实用的功能由此而蒙上阴影。很不爽啊！&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-7642714014452121804?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/7642714014452121804/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2005/12/autocad-2006.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/7642714014452121804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/7642714014452121804'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2005/12/autocad-2006.html' title='AutoCAD 2006 面积查询有问题'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-115900328258803054</id><published>2005-08-19T17:17:00.001+08:00</published><updated>2009-03-16T23:58:08.754+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Photoshop'/><title type='text'>关于“隆重成立：所有DSLR无PS俱乐部！”</title><content type='html'>口水贴……&lt;br /&gt;
Resize本身就是一个严重失真的后期操作。 &lt;br /&gt;
&lt;br /&gt;
从技术上讲，既然要Resize，就势必要做Sharpen。Resize之后不做Sharpen的片子大多没法看。&lt;br /&gt;
Sharpen是一个很考验技巧、眼光和趣味的操作——甚至是一系列操作。但为了弥补Resize对片子效果的损害，这是必须的。&lt;br /&gt;
Resize本身就是一个严重失真的后期操作——这句话是像素层面上讲的。对像素而言，Photoshop的每一个操作，不论Resize还是Sharpen，都是损害！&lt;br /&gt;
但从效果而言，适度的Sharpen能够挽回Resize丢失的细节，使得缩小的图片更接近原来的效果。&lt;br /&gt;
毕竟你要的是像素，还是效果？&lt;br /&gt;
&lt;br /&gt;
什么是适度的Sharpen？&lt;br /&gt;
建议参考D100Fans的相关文章。为了获得更好的Sharpen结果，你必须使用多种复杂的Photoshop技术，必须涉及色阶、蒙版、通道种种概念——而这些就是楼主所不提倡的“PS”。&lt;br /&gt;
除非你不Resize，否则你必须“PS”。&lt;br /&gt;
&lt;br /&gt;
楼主对PS的理解太浅。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-115900328258803054?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/115900328258803054/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2005/08/dslrps.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115900328258803054'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115900328258803054'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2005/08/dslrps.html' title='关于“隆重成立：所有DSLR无PS俱乐部！”'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-115900389278603692</id><published>2005-08-03T17:22:00.001+08:00</published><updated>2009-03-16T23:58:27.966+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScipt'/><category scheme='http://www.blogger.com/atom/ns#' term='Photoshop'/><title type='text'>用Photoshop Script来加Logo</title><content type='html'>加LOGO，首先你需要有一个自己的LOGO，然后把这段代码放在加框的Script里面：
&lt;textarea name="code" class="javascript:nocontrols" rows="15" cols="100"&gt;
var frameDoc = activeDocument;
var logofile = new File("e:/my documents/fishlogo on white.psd");
var logoDoc = open(logofile);
logoDoc.mergeVisibleLayers();
logoDoc.resizeCanvas(frameDoc.width,frameDoc.height,AnchorPosition.BOTTOMRIGHT);
logoDoc.layers[0].duplicate(frameDoc,ElementPlacement.PLACEATBEGINNING);
logoDoc.close(SaveOptions.DONOTSAVECHANGES);
&lt;/textarea&gt;
&lt;h4&gt;详解：&lt;/h4&gt;
var frameDoc = activeDocument;&lt;br /&gt;
这是定义放置logo图案的目标图档。如果放在在流行的那个加框程序里面，可以不要这一行，但要把后面的frameDoc改成AD。&lt;br /&gt;
&lt;br /&gt;
var logofile = new File("e:/my documents/fishlogo on white.psd");&lt;br /&gt;
这是定义logo文件的地址，一定要改成自己的那个。&lt;br /&gt;
&lt;br /&gt;
var logoDoc = open(logofile);&lt;br /&gt;
打开logo文件，并定义它。&lt;br /&gt;
&lt;br /&gt;
logoDoc.mergeVisibleLayers();&lt;br /&gt;
合并logo的图层。&lt;br /&gt;
&lt;br /&gt;
logoDoc.resizeCanvas(frameDoc.width,frameDoc.height,AnchorPosition.BOTTOMRIGHT);&lt;br /&gt;
这是一个关键步骤，把logo图案的画布尺寸改成跟目标图档一样大，如此才能保证把logo复制过去后位置精确。&lt;br /&gt;
BOTTOMRIGHT，意味着logo位置是相对右下角固定。各位应该根据自己摆放logo的习惯调整。&lt;br /&gt;
&lt;br /&gt;
logoDoc.layers[0].duplicate(frameDoc,ElementPlacement.PLACEATBEGINNING);&lt;br /&gt;
这一步是复制logo的图层到目标图档。&lt;br /&gt;
&lt;br /&gt;
logoDoc.close(SaveOptions.DONOTSAVECHANGES);&lt;br /&gt;
关闭logo图档。&lt;br /&gt;
DONOTSAVECHANGES，意味着不保存。&lt;br /&gt;
&lt;br /&gt;
另外的提示：&lt;br /&gt;
Logo文件的画布尺寸应该具有某个边角的尺寸特性，这样才能精确放置。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-115900389278603692?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/115900389278603692/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2005/08/photoshop-scriptlogo.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115900389278603692'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115900389278603692'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2005/08/photoshop-scriptlogo.html' title='用Photoshop Script来加Logo'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-2795471966561074867</id><published>2005-05-31T15:59:00.000+08:00</published><updated>2009-04-02T22:31:17.376+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AutoLISP'/><title type='text'>更新：C:DD</title><content type='html'>更新：C:DD&lt;br /&gt;通用文字编辑。&lt;br /&gt;&lt;br /&gt;其实AutoCAD通过双击文字即可编辑的功能已经很不错了，但这次在AutoCAD2006里面遇到点麻烦。原因是AutoCAD2006过于殷勤，在文字编辑中加入了自动转换Unicode的功能。这个想法本来不错，但AutoCAD的转换方式是不分青红皂白将输入内容转换成Unicode，而不管当前的字体是不是用了这样的编码。问题就出现了。&lt;br /&gt;比如我们常用的字体，要得到平方号的时候，就输入%%199。这时候AutoCAD2006就会原地将输入的%%199转换成平方号——看上去很好，但输入完成后，这个平方号就消失了！因为AutoCAD2006实际上把这个%%199转换成了\U+00C7。好心办错事。&lt;br /&gt;我想应该有一个系统变量在管AutoCAD2006是否进行这样的转换，可惜没有找到。但我发现了一个变通的方法——不使用原位文字编辑，而使用输入对话框来编辑单行文字就可以避免这样的转换。&lt;br /&gt;&lt;br /&gt;这次更新是加入了一个版本判断，如果是2006版，在用C:DD进行编辑的时候就会通过对话框输入，而不是原位输入。控制文字编辑是采用对话框还是原位编辑的系统变量是Dtexted。&lt;br /&gt;当然，如果是双击文字编辑，就还是会存在转换问题。那就不是这个命令的问题了。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-2795471966561074867?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/2795471966561074867/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2005/05/cdd.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/2795471966561074867'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/2795471966561074867'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2005/05/cdd.html' title='更新：C:DD'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-5019999465078623703</id><published>2005-05-09T14:53:00.000+08:00</published><updated>2009-04-02T22:31:17.377+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AutoLISP'/><title type='text'>更新：C:ZB</title><content type='html'>更新：C:ZB&lt;br /&gt;座标标注。&lt;br /&gt;&lt;br /&gt;修正了一个比例问题。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-5019999465078623703?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/5019999465078623703/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2005/05/czb.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/5019999465078623703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/5019999465078623703'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2005/05/czb.html' title='更新：C:ZB'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-856939687337017580</id><published>2005-04-15T17:10:00.000+08:00</published><updated>2009-04-02T22:31:17.377+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AutoLISP'/><title type='text'>更新：C:WA</title><content type='html'>更新：C:WA&lt;br /&gt;调用标准Area命令，然后标注面积值。&lt;br /&gt;&lt;br /&gt;增加对当前图形Units的判断，解决了单位为米时，面积值错误的问题。&lt;br /&gt;增加了更改后缀的标注选项。&lt;br /&gt;&lt;br /&gt;提示：图形应该正确设置所采用的单位，这样才有利于不同单位图形共享信息。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-856939687337017580?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/856939687337017580/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2005/04/cwa.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/856939687337017580'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/856939687337017580'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2005/04/cwa.html' title='更新：C:WA'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-1058689205812905296</id><published>2005-04-08T16:38:00.000+08:00</published><updated>2009-04-02T22:28:37.448+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AutoCAD'/><title type='text'>Field</title><content type='html'>找了好几天都没找到Field编程的详细资料。&lt;br /&gt;Field是很有潜力的一项技术，但如果总是要手动建立的话，方便性就大打折扣了。&lt;br /&gt;&lt;br /&gt;AutoCAD每一次升版，带来最大的问题就是新的编程问题：兼容性、新技术、新函数、新特性，太复杂了。&lt;br /&gt;我一直都还以AutoLISP为主要的编程语言，但每当看到别人用VLA之类的函数，短短几行就能解决自己要用数十百行才能解决的问题——心里那个寒啊。。。&lt;br /&gt;&lt;br /&gt;学习资料也是难以收集。VL函数至今都没搞清楚到底有哪些，更别说怎么用。&lt;br /&gt;AutoDesk的官方新闻组里面也看不到什么有价值的东西。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-1058689205812905296?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/1058689205812905296/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2005/04/field.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/1058689205812905296'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/1058689205812905296'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2005/04/field.html' title='Field'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-4090618353767139851</id><published>2005-03-22T17:00:00.000+08:00</published><updated>2009-04-02T22:28:37.454+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AutoCAD'/><title type='text'>AutoCAD 2006 体验</title><content type='html'>体验：AutoCAD 2006&lt;br /&gt;&lt;br /&gt;今天装上AutoCAD2006，第一件事就是看Field中引用Object的属性是否有改进——结果大喜！&lt;br /&gt;AutoCAD2005开始引入了Field，理念虽则先进，但实现得并不好。比如最容易想到的一个应用：标注面积，由于不能对属性值进行格式化，以毫米为单位的图就只能标注成平方毫米——这样的功能只好说有不如无。&lt;br /&gt;现在则增加了用户自定的格式化，甚至包括前后缀，终于真正可用。&lt;br /&gt;&lt;br /&gt;第二个惊喜是填充的功能增强了很多。&lt;br /&gt;比如自定基准点、重新生成边界、查询多个Hatch实体的属性时可以显示面积总和等。&lt;br /&gt;&lt;br /&gt;最大的改进则是动态图块。但这并不见得是一种惊喜，最多是“痛并快乐”——因为较为复杂。&lt;br /&gt;其实动态图块的概念在ADT较早的版本中已经存在，现在则是做到了标准的AutoCAD平台中。ArchiCAD的图块也早就是参数化的了；AutoCAD现在才开始引入概念，要达到实用阶段，相信还要有相当一段时间。因为图块的问题实际上是个积累的问题。&lt;br /&gt;动态图块的核心是参数化。这使得图块的设计制作成为一项更有意义、更为专业的工作。在一个工作组当中，你不能指望每个人都能制作出复杂的、参数化的动态图块。他们能有效地使用就谢天谢地了。&lt;br /&gt;&lt;br /&gt;用户界面的改进也值得称道，但可能很多用户需要一定时间才能适应。但根据AutoCAD历史经验，更可能的是这些用户将会摒弃新的界面，用回老的方式，理由是：习惯——为什么有些人会比较愚蠢？就是因为他们的习惯 :)&lt;br /&gt;&lt;br /&gt;新特色和改进相当之多。慢慢体验中……&lt;br /&gt;&lt;br /&gt;AutoCAD的双数版在历史上大多成为经典，这次似乎也不例外。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-4090618353767139851?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/4090618353767139851/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2005/03/autocad-2006.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/4090618353767139851'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/4090618353767139851'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2005/03/autocad-2006.html' title='AutoCAD 2006 体验'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-4332440942191600783</id><published>2004-11-18T15:15:00.000+08:00</published><updated>2009-04-02T22:28:37.461+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AutoCAD'/><title type='text'>解决AR-CONC填充散乱问题</title><content type='html'>技巧：解决AR-CONC填充散乱问题。&lt;br /&gt;&lt;br /&gt;AutoCAD各个版本都存在这个问题，在填充AR-CONC时，本应得到的小三角形变成了散乱的线段。&lt;br /&gt;今天为了解决这个长期困扰大家的问题，摸索了大半个上午，终于得到解决方法：&lt;br /&gt;填充之前改变一下UCS原点就可以了！&lt;br /&gt;&lt;br /&gt;目前尚不明白为什么UCS原点会影响到填充效果。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-4332440942191600783?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/4332440942191600783/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2004/11/ar-conc.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/4332440942191600783'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/4332440942191600783'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2004/11/ar-conc.html' title='解决AR-CONC填充散乱问题'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-1923184252816932948</id><published>2004-11-17T13:00:00.000+08:00</published><updated>2009-04-02T22:31:17.377+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AutoLISP'/><title type='text'>更新：C:FFT</title><content type='html'>更新：C:FFT&lt;br /&gt;文字查找跟踪。&lt;br /&gt;&lt;br /&gt;增加了一个Continue选项，可以在上次退出的地方继续查找。&lt;br /&gt;增加了点击鼠标左键退出功能。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-1923184252816932948?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/1923184252816932948/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2004/11/cfft.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/1923184252816932948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/1923184252816932948'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2004/11/cfft.html' title='更新：C:FFT'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-5781525344964398783</id><published>2004-11-17T10:17:00.000+08:00</published><updated>2009-04-02T22:31:17.377+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AutoLISP'/><title type='text'>增加：C:LAYERIN</title><content type='html'>增加：C:LAYERIN&lt;br /&gt;输入由C:LAYEROUT所输出的图形文件。&lt;br /&gt;&lt;br /&gt;本来用INSERT命令即可，但为了简化操作，还是写了这个小命令。&lt;br /&gt;将来会增加更多功能：&lt;br /&gt;检查本图是否已经存在将要输入的图层，并提供一个是否删除现存图层上实体的选项。&lt;br /&gt;&lt;br /&gt;C:LAYEROUT命令也需要提供更多功能或选项：&lt;br /&gt;新文件命名方式，现在是图名靠前、层名靠后。可以提出两种方式供用户选择。&lt;br /&gt;覆盖确认。&lt;br /&gt;处理图纸空间实体。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-5781525344964398783?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/5781525344964398783/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2004/11/clayerin.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/5781525344964398783'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/5781525344964398783'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2004/11/clayerin.html' title='增加：C:LAYERIN'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-1789435239991406328</id><published>2004-11-17T10:14:00.000+08:00</published><updated>2009-04-02T22:31:17.378+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AutoLISP'/><title type='text'>更新：C:LAYEROUT</title><content type='html'>更新：C:LAYEROUT&lt;br /&gt;将所选图层上的实体输出为新图形文件。&lt;br /&gt;&lt;br /&gt;修改了输出过程的信息反馈。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-1789435239991406328?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/1789435239991406328/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2004/11/clayerout.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/1789435239991406328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/1789435239991406328'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2004/11/clayerout.html' title='更新：C:LAYEROUT'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-115900458724771162</id><published>2004-11-09T17:39:00.001+08:00</published><updated>2009-03-16T23:58:44.660+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Software'/><title type='text'>ACDSee7.0</title><content type='html'>ACDSee7.0优点不少，问题也多。&lt;br /&gt;
&lt;br /&gt;
新版本优点：&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;可以看RAW。&lt;/li&gt;
&lt;li&gt;更方便的Category和Rating。&lt;/li&gt;
&lt;li&gt;方便的缩略图大小调节。&lt;/li&gt;
&lt;li&gt;可以在缩略图下面显示EXIF数据，并可以根据EXIF数据排序——这很方便比较、管理。&lt;/li&gt;
&lt;li&gt;更好的批量更名，现在支持替换功能。&lt;/li&gt;
&lt;li&gt;速度还不错。&lt;/li&gt;数据库更稳定。&lt;/li&gt;当然，更吃内存。&lt;/li&gt;
&lt;/ul&gt;
新版本缺点：
&lt;ul&gt;
&lt;li&gt;浏览界面的鼠标操作经常莫名其妙乱来，比如拖动一下就成了COPY。&lt;/li&gt;
&lt;li&gt;浏览界面新文件更新不及时。&lt;/li&gt;
&lt;li&gt;自从6.0取消一个拷贝/移动时可以自动比较的实用功能后，再也没有恢复它，所以我经常更愿意用5.0。&lt;/li&gt;
&lt;li&gt;EXIF搜索功能，但做的一塌糊涂！还不如5.0——比如搜索光圈数值、焦距什么的，非得要你填一个莫名其妙的分数。&lt;/li&gt;
&lt;li&gt;搜索条件不能储存——这一点会很烦人。&lt;/li&gt;
&lt;li&gt;Favorites不如老版本好用。&lt;/li&gt;
&lt;li&gt;全屏状态，Properties没有自动隐藏的选项。&lt;/li&gt;
&lt;/ul&gt;
总体而言，这个PC机的王牌图像浏览软件，可以说远远远远不如MAC机上的iVewPro。&lt;br /&gt;
比如对于EXIF的支持，后者在老早前的版本就支持得非常良好了。&lt;br /&gt;
&lt;br /&gt;
ACDSee这个软件的奇妙之处在于——&lt;br /&gt;
它的每一个版本都有独特的优点，都值得保留，所以你应该装很多个ACDSee。&lt;br /&gt;
&lt;br /&gt;
而ACD Systems这家公司的特点就在于——&lt;br /&gt;
缺乏自知之明而善于折腾，把糟的改好了，同时又把好的改糟。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-115900458724771162?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/115900458724771162/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2004/11/acdsee70.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115900458724771162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/115900458724771162'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2004/11/acdsee70.html' title='ACDSee7.0'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-1338113980316549747</id><published>2004-11-01T23:22:00.000+08:00</published><updated>2009-04-02T22:31:17.378+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AutoLISP'/><title type='text'>增加：FishLISP菜单</title><content type='html'>增加：FishLISP菜单。&lt;br /&gt;&lt;br /&gt;加载Fish.lsp之后，在命令行输入Fishmenu，即可建立FishLISP局部菜单。&lt;br /&gt;菜单为全中文，包含了大多数FishLISP程序。&lt;br /&gt;&lt;br /&gt;现在上Blogger真是越来越困难了！&lt;br /&gt;原因很可能是……不说也罢。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-1338113980316549747?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/1338113980316549747/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2004/11/fishlisp.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/1338113980316549747'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/1338113980316549747'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2004/11/fishlisp.html' title='增加：FishLISP菜单'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-602727427234705821</id><published>2004-10-29T17:14:00.000+08:00</published><updated>2009-04-02T22:31:17.378+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AutoLISP'/><title type='text'>更新：C:LAYEROUT</title><content type='html'>更新：C:LAYEROUT&lt;br /&gt;将所选图层上的实体输出为独立的图形文件。在和3DMax协作建模的时候较为有用。&lt;br /&gt;&lt;br /&gt;更合理的输出方式，不再使用子文件夹，而是将输出文件放在原文件同一文件夹。&lt;br /&gt;新文件文件名为：%原文件名%_Layer_%图层名%.dwg&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-602727427234705821?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/602727427234705821/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2004/10/clayerout.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/602727427234705821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/602727427234705821'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2004/10/clayerout.html' title='更新：C:LAYEROUT'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-5485623502990586495</id><published>2004-08-26T12:43:00.001+08:00</published><updated>2009-04-02T22:30:46.602+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AutoLISP'/><title type='text'>用于EditPlus的AutoLISP语法定义文件</title><content type='html'>终于把用于EditPlus的AutoLISP语法定义文件重新整理了一遍。&lt;br /&gt;&lt;a href="http://www.ivox.cc/fishlisp/autolisp.stx"&gt;点这里下载&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;EditPlus是非常好用的一个纯文本编辑器。具有很多实用功能，比如自定义语法着色等等。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-5485623502990586495?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/5485623502990586495/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2004/08/editplusautolisp.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/5485623502990586495'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/5485623502990586495'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2004/08/editplusautolisp.html' title='用于EditPlus的AutoLISP语法定义文件'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-481080548239091509</id><published>2004-08-24T23:56:00.000+08:00</published><updated>2009-04-02T22:31:17.378+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AutoLISP'/><title type='text'>更新：C:DD</title><content type='html'>更新：C:DD&lt;br /&gt;通用文字编辑。&lt;br /&gt;&lt;br /&gt;优化程序。&lt;br /&gt;增加了专门针对轴线号图块和标高图块的处理模块。&lt;br /&gt;对于轴线号，可以根据属性值的文字长度，自动选择合适的图块。&lt;br /&gt;对于标高，可以自动填充文字长度较短的属性值；如果存在基准点变量，将属性值置空则能够根据基准点自动计算标高值。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-481080548239091509?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/481080548239091509/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2004/08/cdd.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/481080548239091509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/481080548239091509'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2004/08/cdd.html' title='更新：C:DD'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-9164574417929070488</id><published>2004-07-28T10:57:00.000+08:00</published><updated>2009-04-02T22:31:17.379+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AutoLISP'/><title type='text'>更新：C:WRID</title><content type='html'>更新：C:WRID&lt;br /&gt;自动编号。&lt;br /&gt;&lt;br /&gt;增加了序号检查，可以检查序号的重复或遗漏。现在已经是可用版。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-9164574417929070488?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/9164574417929070488/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2004/07/cwrid.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/9164574417929070488'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/9164574417929070488'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2004/07/cwrid.html' title='更新：C:WRID'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-5958900325226540676</id><published>2004-07-27T17:15:00.000+08:00</published><updated>2009-04-02T22:31:17.379+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AutoLISP'/><title type='text'>增加：C:WRID</title><content type='html'>增加：C:WRID &lt;br /&gt;连续自动编号。 &lt;br /&gt;&lt;br /&gt;前面写的停车位编号虽然可用，但限制太多，尤其只能根据图元的生成顺序来排序，确实不能满足多数情况下的需要。按照图面排列顺序进行排序又过于复杂，不适宜用AutoLISP来实现。 &lt;br /&gt;&lt;br /&gt;这个C:WRID就非常简单，完全由人工点取要标注的位置，程序只是提供合适的序号。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-5958900325226540676?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/5958900325226540676/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2004/07/cwrid_27.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/5958900325226540676'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/5958900325226540676'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2004/07/cwrid_27.html' title='增加：C:WRID'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-252888490194443680</id><published>2004-07-17T11:21:00.000+08:00</published><updated>2009-04-02T22:31:17.379+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AutoLISP'/><title type='text'>增加：C:PKRID</title><content type='html'>增加：C:PKRID&lt;br /&gt;停车位编号。&lt;br /&gt;&lt;br /&gt;以前作图，停车位只需要画出，并给出总数量即可。现在的施工图深度要求停车位编号要明确。所以写了这个程序。&lt;br /&gt;程序要求使用一个带属性的图块来画出停车位，运行命令后，程序选择全部停车位图块，将其属性文本从1开始，逐一修改，同时将属性文本的角度重设为0。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-252888490194443680?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/252888490194443680/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2004/07/cpkrid.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/252888490194443680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/252888490194443680'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2004/07/cpkrid.html' title='增加：C:PKRID'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-6345603579870791899</id><published>2004-07-16T11:16:00.000+08:00</published><updated>2009-04-02T22:31:17.379+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AutoLISP'/><title type='text'>更新：C:GR C:GD C:GM</title><content type='html'>更新：C:GR C:GD C:GM&lt;br /&gt;总图标高、坡度工具集&lt;br /&gt;&lt;br /&gt;C:GR 根据两个总平面标高，计算并标注这两点之间的坡度和距离；&lt;br /&gt;C:GD 以一个平面标高为基准点，标注一定坡度的另一点标高；&lt;br /&gt;C:GM 根据两个标高，标注同一坡度上另一点标高。&lt;br /&gt;&lt;br /&gt;修改了标高值为%%P0.000时的错误。&lt;br /&gt;修改了插入图块与所选图块不匹配的问题。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-6345603579870791899?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/6345603579870791899/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2004/07/cgr-cgd-cgm.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/6345603579870791899'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/6345603579870791899'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2004/07/cgr-cgd-cgm.html' title='更新：C:GR C:GD C:GM'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-7193073349006893434</id><published>2004-07-12T14:32:00.000+08:00</published><updated>2009-04-02T22:31:17.380+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AutoLISP'/><title type='text'>增加：C:XRR C:XRU C:XRD C:XRBB C:XRBI</title><content type='html'>增加：C:XRR C:XRU C:XRD C:XRBB C:XRBI&lt;br /&gt;XREF工具集。&lt;br /&gt;&lt;br /&gt;直接点取图形中的XREF图块进行基本操作。&lt;br /&gt;C:XRR&amp;nbsp;&amp;nbsp; 点取重载；&lt;br /&gt;C:XRU&amp;nbsp;&amp;nbsp; 点取卸载；&lt;br /&gt;C:XRD&amp;nbsp;&amp;nbsp; 点取解除；&lt;br /&gt;C:XRBB&amp;nbsp; 点取以Bind方式结合；&lt;br /&gt;C:XRBI&amp;nbsp; 点取以Insert方式结合。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-7193073349006893434?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/7193073349006893434/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2004/07/cxrr-cxru-cxrd-cxrbb-cxrbi.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/7193073349006893434'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/7193073349006893434'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2004/07/cxrr-cxru-cxrd-cxrbb-cxrbi.html' title='增加：C:XRR C:XRU C:XRD C:XRBB C:XRBI'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-3781514638374947623</id><published>2004-07-09T15:59:00.000+08:00</published><updated>2009-04-02T22:31:17.380+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AutoLISP'/><title type='text'>增加：C:RNB</title><content type='html'>增加：C:RNB&lt;br /&gt;通过点击实体，更改图块名称。避免查询、输入原有名称。&lt;br /&gt;&lt;br /&gt;在AutoCAD当中，可以很方便地复制一组实体，并粘贴成图块。但所得到的图块总是具有如“A$C4FD24C92”之类复杂的名称，往往并不利于识别和操作，所以有时候有必要将这样的图块更名；而其名称的复杂性，同样使得更名也并不容易。&lt;br /&gt;C:RNB则避免了查询、输入图块名称，使更名极为便利。&lt;br /&gt;&lt;br /&gt;程序支持长名称（即名称中允许输入空格），所以新名称必须靠回车来确认。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-3781514638374947623?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/3781514638374947623/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2004/07/crnb.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/3781514638374947623'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/3781514638374947623'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2004/07/crnb.html' title='增加：C:RNB'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-1434334206815196315</id><published>2004-07-07T10:57:00.000+08:00</published><updated>2009-04-02T22:31:17.380+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AutoLISP'/><title type='text'>更新：C:VPL</title><content type='html'>更新：C:VPL &lt;br /&gt;锁定/解锁ViewPort(s)&lt;br /&gt;&lt;br /&gt;解决在Model Tab（TILEMODE=1)中运行该命令出现错误提示的情况。&lt;br /&gt;原因是MVIEW命令仅用于Layout Tab。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-1434334206815196315?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/1434334206815196315/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2004/07/cvpl.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/1434334206815196315'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/1434334206815196315'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2004/07/cvpl.html' title='更新：C:VPL'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-3211355904352677563</id><published>2004-07-05T17:36:00.000+08:00</published><updated>2009-04-02T22:31:17.380+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AutoLISP'/><title type='text'>更新：C:DF</title><content type='html'>更新：C:DF&lt;br /&gt;连续不等距的OFFSET。&lt;br /&gt;&lt;br /&gt;在同一方向上连续使用不等距的OFFSET是枯燥和低效率的，所以写了这个程序以解决这个问题。&lt;br /&gt;程序实际上是封装了多个OFFSET命令，一次性给出所有距离间隔，其间用空格分隔，然后即可一次性完成多重OFFSET。&lt;br /&gt;&lt;br /&gt;本次更新添加了保存、恢复原有OFFSETDIST系统变量的功能。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-3211355904352677563?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/3211355904352677563/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2004/07/cdf.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/3211355904352677563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/3211355904352677563'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2004/07/cdf.html' title='更新：C:DF'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-3696998369247468549</id><published>2004-07-05T16:06:00.000+08:00</published><updated>2009-04-02T22:31:17.381+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AutoLISP'/><title type='text'>增加：C:VPL</title><content type='html'>增加：C:VPL&lt;br /&gt;锁定/解锁ViewPort(s)。&lt;br /&gt;&lt;br /&gt;ViewPort一旦被锁定，Mspace和Pspace即同步显示，可防止在Layout的Mspace中意外地缩放、平移图形。          &lt;br /&gt;ViewPort实体的缩放锁定信息记录于组码90，这是一个bit-coded flags，锁定状态为16384 (0x4000)。&lt;br /&gt;                                                      &lt;br /&gt;本程序为方便起见，采用开关模式，并不对每一个ViewPort单独操作，而是同时锁定/解锁所有的ViewPort，因此只需要求得第一个ViewPort的锁定状态即可。&lt;br /&gt;锁定或解锁，都使用相同一个命令C:VPL。运行之后直接得到反馈信息，无需其他操作。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-3696998369247468549?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/3696998369247468549/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2004/07/cvpl_05.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/3696998369247468549'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/3696998369247468549'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2004/07/cvpl_05.html' title='增加：C:VPL'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-8053445306257000161</id><published>2004-07-03T14:19:00.000+08:00</published><updated>2009-04-02T22:31:17.381+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AutoLISP'/><title type='text'>增加：C:FLVER</title><content type='html'>增加：C:FLVER&lt;br /&gt;用于局域网工作组中FishLISP版本检查。&lt;br /&gt;&lt;br /&gt;程序访问我在局域网中发布的版本信息，即可提供是否存在新版本的信息。如有新版本，也同时提供更新内容的描述。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-8053445306257000161?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/8053445306257000161/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2004/07/cflver.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/8053445306257000161'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/8053445306257000161'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2004/07/cflver.html' title='增加：C:FLVER'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-1342130024167501945</id><published>2004-06-23T20:11:00.000+08:00</published><updated>2009-04-02T22:31:17.381+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AutoLISP'/><title type='text'>增加：C:GR C:GD C:GM</title><content type='html'>增加：C:GR C:GD C:GM&lt;br /&gt;总图标高、坡度工具集。&lt;br /&gt;&lt;br /&gt;C:GR    根据两个总平面标高，计算并标注这两点之间的坡度和距离；&lt;br /&gt;C:GD    以一个平面标高为基准点，标注一定坡度的另一点标高；&lt;br /&gt;C:GM    根据两个标高，标注同一坡度上另一点标高。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-1342130024167501945?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/1342130024167501945/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2004/06/cgr-cgd-cgm.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/1342130024167501945'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/1342130024167501945'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2004/06/cgr-cgd-cgm.html' title='增加：C:GR C:GD C:GM'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-5923842275537916058</id><published>2004-03-30T20:10:00.000+08:00</published><updated>2009-04-02T22:31:17.381+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AutoLISP'/><title type='text'>增加：C:FDS</title><content type='html'>增加：C:FDS&lt;br /&gt;切换AutoCAD 2005新特性FIELD的显示模式。&lt;br /&gt;&lt;br /&gt;相关系统变量FIELDDISPLAY，＝0 则无背景，＝1 则显示灰色背景。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-5923842275537916058?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/5923842275537916058/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2004/03/cfds.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/5923842275537916058'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/5923842275537916058'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2004/03/cfds.html' title='增加：C:FDS'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-3629113429100443948</id><published>2004-03-20T22:06:00.000+08:00</published><updated>2009-04-02T22:31:17.382+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AutoLISP'/><title type='text'>永远的话题——关闭/打开图层，历程和我的方法</title><content type='html'>其实具体这个程序写了很久了，关闭/打开图层的其他程序则还有更久远的例子。&lt;br /&gt;因为要给同事介绍这个程序，所以&lt;br /&gt;让我们来回顾这段历程——&lt;br /&gt;&lt;br /&gt;一开始你只是想：能不能选一个实体就关闭那个实体所在的那个图层？&lt;br /&gt;当然能，于是就实现了。&lt;br /&gt;现在流行的关闭图层的LISP都是这个思路。&lt;br /&gt;&lt;br /&gt;关闭是关闭了，可你要再恢复那个图层。。。那个什么图层呢？你只是点了一下，甚至都不知道那个图层是什么名字！&lt;br /&gt;是的，除了关闭，还能不能恢复所关闭的那个图层？&lt;br /&gt;当然能，于是又实现了。&lt;br /&gt;&lt;br /&gt;你的图形不可避免地越来越复杂了——你点这个点那个，点来点去点烦了，于是你想：&lt;br /&gt;能不能一次性选好几个要关闭的东西呢？&lt;br /&gt;当然能，你能想到就能实现，于是真的实现了。&lt;br /&gt;&lt;br /&gt;现在你可以一次关闭很多图层，并且在需要的时候一次性恢复他们。总之，你的注意力越来越集中在图形上，而不是那些让你头晕的图层名称。&lt;br /&gt;然而。。。管理图层总是有很多然而——&lt;br /&gt;然而你关闭A、B层之后，又关闭了C层，现在就只能恢复C层了。&lt;br /&gt;于是你想：能不能把C层添加到原来关闭的A、B层里面去，然后一起恢复？&lt;br /&gt;当然能，于是你得到了现在这个程序：&lt;br /&gt;&lt;br /&gt;SF.LSP&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-3629113429100443948?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/3629113429100443948/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2004/03/blog-post.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/3629113429100443948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/3629113429100443948'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2004/03/blog-post.html' title='永远的话题——关闭/打开图层，历程和我的方法'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-2546880720418082331</id><published>2004-03-19T20:09:00.000+08:00</published><updated>2009-04-02T22:31:17.382+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AutoLISP'/><title type='text'>增加：C:DFT</title><content type='html'>增加：C:DFT&lt;br /&gt;取代原来的C:DDOL，使用VLAX技术，可以对各种线形实体做双向OFFSET。&lt;br /&gt;&lt;br /&gt;删除：C:DDOL&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-2546880720418082331?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/2546880720418082331/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2004/03/cdft.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/2546880720418082331'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/2546880720418082331'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2004/03/cdft.html' title='增加：C:DFT'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-3703252076288687677</id><published>2004-03-05T20:06:00.000+08:00</published><updated>2009-04-02T22:31:17.382+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AutoLISP'/><title type='text'>更新：C:ZB</title><content type='html'>更新：C:ZB&lt;br /&gt;坐标标注程序。&lt;br /&gt;&lt;br /&gt;升级到4.0。&lt;br /&gt;使用新的带引线的图块；&lt;br /&gt;提供一个选项在UCS中直接使用WCS座标；&lt;br /&gt;可以根据DIMSCALE自动设置比例系数。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-3703252076288687677?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/3703252076288687677/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2004/03/czb.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/3703252076288687677'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/3703252076288687677'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2004/03/czb.html' title='更新：C:ZB'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-1235448003870195741</id><published>2003-09-04T19:05:00.000+08:00</published><updated>2009-04-02T22:31:17.383+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AutoLISP'/><title type='text'>增加：C:AW</title><content type='html'>增加：C:AW&lt;br /&gt;在矩形内部画一组矩形阵列。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-1235448003870195741?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/1235448003870195741/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2003/09/caw.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/1235448003870195741'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/1235448003870195741'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2003/09/caw.html' title='增加：C:AW'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-6503312551602751829</id><published>2003-07-02T22:13:00.000+08:00</published><updated>2009-04-02T22:31:17.383+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AutoLISP'/><title type='text'>说明：C:FFT</title><content type='html'>说明：C:FFT&lt;br /&gt;文字查找。&lt;br /&gt;&lt;br /&gt;这个程序对于R14而言十分有用，不但可以查找TEXT，而且可以直接把找到的TEXT显示在屏幕正中，还可以进一步对它进行替换。所查找的文字还支持通配符。&lt;br /&gt;R2002以上建议使用AutoCAD自带的查找功能，这个不但能查TEXT，连MTEXT和块属性都可以查找、替换。确实强大。&lt;br /&gt;只是在浏览所查找的TEXT时，我这个程序还稍微有些优势 ：）&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-6503312551602751829?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/6503312551602751829/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2003/07/cfft.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/6503312551602751829'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/6503312551602751829'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2003/07/cfft.html' title='说明：C:FFT'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-7197734384393515743</id><published>2003-06-08T19:26:00.000+08:00</published><updated>2009-04-02T22:31:17.383+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AutoLISP'/><title type='text'>增加：C:MD</title><content type='html'>增加：C:MD&lt;br /&gt;以“modiYYMMDD”形式的名称建立当前图层，以放置修改标记。如果是初次建立，则设此图层为红色、不打印；如果图层已经建立，则不对图层属性作修改。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-7197734384393515743?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/7197734384393515743/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2003/06/cmd.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/7197734384393515743'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/7197734384393515743'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2003/06/cmd.html' title='增加：C:MD'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-114992421813154271</id><published>2000-01-01T17:00:00.001+08:00</published><updated>2009-03-16T14:09:38.277+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='AutoCAD'/><title type='text'>把.DWG转换成Photoshop可用的格式</title><content type='html'>我经常遇到的转换任务几乎都是把.DWG转换成Photoshop可用的格式。这个问题实际上伴随着我学习AutoCAD的整个过程。最初我用的是最笨的“屏幕拷贝”的办法——要完成一次转换其中辛苦可想而知。后来分别试过用.BMP或者.TIF输出，这样的过程比“屏幕拷贝”虽然简单了不少，但这种屏幕到点阵图像的方法在实质上跟“屏幕拷贝”并没有什么区别。这样的到的文件不能通过调整分辨率的方法得到更精密或更粗糙的图像。要想获得另一种分辨率的图像，你只能一步步地重新来，在整个过程当中还得严格、清醒地控制缩放比例。后来我发现了PSOUT输出的用法，并在相当长的一段时间使用了这种方法。一定程度上，PSOUT满足了转换的需要。而事实上，.EPS的确是AutoCAD图形转换成Photoshop图像的最佳途径。&lt;br /&gt;
&lt;br /&gt;
PSOUT是AutoCAD的标准命令，我感到最为头痛的是用EPS格式输出的经过裁剪后图形总是会有问题。一部分图形会错位，而一些剪掉了的图形又会冒出来。我只好用Adobe Illustrator来修整以下，再交给Photoshop。&lt;br /&gt;
Corel Draw可以直接读取DWG文件，但并不包括R14或者更高版本的DWG文件。Corel Draw打开的DWG文件效果也不好，我还是偏爱在AutoCAD里面用EPS输出。&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://lh6.ggpht.com/_hF83NlDXqcA/Sb3s7lMq5KI/AAAAAAAAAxA/YuI6CIe6yiI/addprntr.jpg" style="float:right; padding-left:5pt;"&gt;&lt;/img&gt;值得庆幸的是，AutoCAD提供了一种非常完美的.EPS输出方式，只不过AutoCAD并没有把它当作一种标准的文件交换方式，也就没有在用户手册、帮助文件中提及。这就是PostScript打印。不错，是打印，而不是输出。&lt;br /&gt;
&lt;br /&gt;
首先，添加一台打印机。如图，选择PostScript device。然后，在接下来的配置过程中可以一路回车，接受缺省配置。如果需要彩色输出，那么可以另外再添加一台打印机，在配置过程中确认彩色输出即可。至于分辨率、端口等等问题，都不重要。&lt;br /&gt;
然后就可以通过这台打印机输出.EPS文件了。打印对话框里面的Plot to file检查框是一定要打上勾的。&lt;br /&gt;
&lt;br /&gt;
通过Windows系统的Postscript打印机可不可以得到同样的效果呢？我试了一下，不能。因为Plot to file得到的是.PLT，把文件名改成.EPS也不行。&lt;br /&gt;
&lt;br /&gt;
使用Postscript打印跟PSOUT有很大的不同。首先，PSOUT经常遇到的图形裁剪、Line错位等问题都没有了。而且PSOUT输出的Line是0宽度，而Postscript打印的Line是由笔号、笔宽决定的，这样的控制更为灵活，也更为直接。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-114992421813154271?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/114992421813154271/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2000/01/dwgphotoshop.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/114992421813154271'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/114992421813154271'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2000/01/dwgphotoshop.html' title='把.DWG转换成Photoshop可用的格式'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://lh6.ggpht.com/_hF83NlDXqcA/Sb3s7lMq5KI/AAAAAAAAAxA/YuI6CIe6yiI/s72-c/addprntr.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-29505829.post-114992406195496549</id><published>2000-01-01T16:00:00.002+08:00</published><updated>2009-03-31T22:23:31.805+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Photoshop'/><category scheme='http://www.blogger.com/atom/ns#' term='Design'/><title type='text'>通道</title><content type='html'>色彩是由多种元素组成的，比如RGB模式的色彩就是由红(R)、绿(G)、蓝(B)三种元素组成的。一种颜色，就是混合了一定强度的红绿蓝而产生的。一幅图像，也就是由不同强度的红绿蓝混合而成的。那么，红绿蓝在这幅图上面有着各自的强度分布——这里的红色多一点那里的蓝色多一点；这里红绿蓝都很多，那里都很少。这样就有了通道概念的必要性，我们需要他来反映单独一种色彩元素的分布。&lt;br /&gt;
RGB图像包含三种元素，RGB各自有一个通道，那么就是三个通道，分别表示红色、绿色、蓝色的分布情况。通道反映的只是强、弱，为了能够通过肉眼识别，就把强弱模拟成灰度，白色表示最强，黑色表示最弱——这样就形成了Photoshop里面看到的通道图像。&lt;br /&gt;
&lt;br /&gt;
如果你能理解三维坐标系的XYZ轴，那么不妨把通道理解成数轴平面，R通道就是图像上面每一个点在红色轴平面上的投影。&lt;br /&gt;
&lt;br /&gt;
有了色彩通道，你就可以象对一幅图像操作一样，对色彩通道进行操作。你可以试一下，看看只对一个色彩通道做滤镜效果会产生什么效果。实际上色彩通道的作用是很广泛的，举一个实际应用例子：你可以观察一下，很多图像看上去虽然还不错，但从单独的色彩通道来看就不行了。通常是蓝色通道质量比较糟糕——扫描不精、过度压缩造成的。要修复这种图像，就要靠一些独特的手法（步骤繁多，不讲啦）。&lt;br /&gt;
&lt;br /&gt;
那么α通道又是什么呢？&lt;br /&gt;
原来图像的元素并不仅仅是色彩元素，还有一个占有率（不透明度）问题。如果你想透过一层图像隐隐约约看到另一层图像，就会用到这个概念了。α通道就是用来反映像素的占有率。由于占有率也是一个强弱问题，很适合用灰度来模拟，跟色彩通道的表示法相似，所以通道的概念就扩展了。&lt;br /&gt;
&lt;br /&gt;
α通道最常用的功能就是用来存储选择区。当你保存选择区后，你可以看到通道面板上会出现一个新的α通道。直接用喷笔、画笔等工具编辑a通道，就可以做出仅仅依靠菜单不可能做出来的选择区或者蒙版（层蒙版也是α通道）。这在合成图像、剪辑图像时是必不可少的技法。&lt;br /&gt;
&lt;br /&gt;
其实并不仅仅Photoshop才会用到通道。在3DS里面用贴图做人、树等东西时也是要用α通道来屏蔽轮廓以外的东西。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/29505829-114992406195496549?l=ivox-tech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ivox-tech.blogspot.com/feeds/114992406195496549/comments/default' title='帖子评论'/><link rel='replies' type='text/html' href='http://ivox-tech.blogspot.com/2000/01/blog-post.html#comment-form' title='0 条评论'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/114992406195496549'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/29505829/posts/default/114992406195496549'/><link rel='alternate' type='text/html' href='http://ivox-tech.blogspot.com/2000/01/blog-post.html' title='通道'/><author><name>Little Fish</name><uri>http://www.blogger.com/profile/08637375630352522996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://lh3.ggpht.com/_hF83NlDXqcA/SRWx1vX3EBI/AAAAAAAAAK4/5IRBfJyJ0BE/cKVU_msn01.jpg'/></author><thr:total>0</thr:total></entry></feed>
