freeCellHeight.jsx
InDesignã«ããã表çµã®ã»ã«é«ããããã©ã«ãã§ã®æå°å¤ã¯3ptï¼ç´1.058mmï¼ã¨ãªã£ã¦ãã¾ãã
ããããã¨ãã°0.5mmã«ãããã¨ãã¦ããããã©ã«ãã®è¨å®ã®ã¾ã¾ã§ã¯ã¢ã©ã¼ãã表示ããã¦å¤æ´ã§ãã¾ããã
ããã¶ãæï¼ã¾ã InDesignã®ãã¼ã¸ã§ã³ãCSã ã£ãé ï¼ãæµæããã®ããã°ãInDesignScriptForWindowsWeblogãã«ã¦ä¸è¨VBSãçºè¡¨ããã¾ããã
表のセル幅と高さの設定
ãã®å¾ãæè¿ï¼ä¸æ¨æ¥ã®ãã¨ã§ããï¼ã«ãªã£ã¦ãããããã¹ãã¼ãã«ã»ã«ã®é«ããå¤æ´ã§ãããã¨ãããã£ãã¨ã®äºã§ãæ°ãã«æµæãããçºè¡¨ãªãã£ã¦ãã¾ãã
ä¸è¨VBSã使ãã°ã表çµã®ãè¡ã®å¹
ããããããããæå®å¤ã使ç¨ãã«å¤æ´ãããã¨ãªãã¹ã¯ãªãããå®è¡ã§ãã¾ãã
続・表のセルの高さ
ãã®æ¹åçã¹ã¯ãªãããä¾ã«ãã£ã¦JSåããã¦ããã ãã¾ãã
ã
åä½ç¢ºèªç°å¢ï¼WindowsXP sp3ï¼InDesign CS3 ver.5.0.4
â»æ¯åæ¸ãã¦ããããã§ã¯ããã¾ãããæ¹ãã¦ãä»ã®OSã»ãã¼ã¸ã§ã³ã§ãåãå¯è½æ§ãããã¾ããããå©ç¨ã¯èªå·±è²¬ä»»ã§ãé¡ããã¾ãã
//é¸æä¸ã®ã»ã«ã®é«ããä»»æã®å¤ã«è¨å®ãã¾ãã A=prompt("é«ãï¼åä½çç¥å¯ãçç¥ããå ´åã¯ç°å¢è¨å®ã«ããï¼",""); app.selection[0].autoGrow = false; app.selection[0].height = A;