ããã¯ãã¼ã¯ãã¾ãã ããã«ãã¤ã¼ãå 容ãè¨è¼ããã¾ã https://b.hatena.ne.jp/URLã¯spanã§å²ãã§ãã ãã Twitterã§å ±æ
ç·ãã¸å¯¾å¿ã®é»åæ¸ç±ï¼ãã¼ã¿æï¼ãä½æããæãIDMLçµç±ã«ãããã¿ã°ãããã³ã°ã§XMLçµç±ã«ãããInDesignä¸ã®æ£è¦è¡¨ç¾ã¹ã¿ã¤ã«ã¯å ¨ç¡è¦ããã¦ãã¾ãã¾ããããã§ã段è½ã¹ã¿ã¤ã«ã§è¨å®ããã¦ããæ£è¦è¡¨ç¾ã¹ã¿ã¤ã«ãé çªã«æ¤ç´¢ç½®æãããªã¢ã«æåã¹ã¿ã¤ã«ãé©ç¨ãã¾ãã ã³ã¼ããè¦ãã°ãããã¨ããã段è½ã¹ã¿ã¤ã«ã®ä¸ã®æ£è¦è¡¨ç¾ã¹ã¿ã¤ã«ã ããè¦ã¾ãï¼æ®µè½ã¹ã¿ã¤ã«ã«æ¸ããã¦ããªãæ£è¦è¡¨ç¾ã¹ã¿ã¤ã«ã¯ç¡è¦ãã¾ãï¼ããªã¼ãã¼ã©ã¤ããããæåã¹ã¿ã¤ã«ã¯èæ ®ãã¾ãããæ£è¦è¡¨ç¾ã¹ã¿ã¤ã«ãéè¤ãã¦ããå ´åã¯ãæå¾ã®ã¹ã¿ã¤ã«ã ããé©ç¨ãã¾ãããªãããã®ã¹ã¯ãªããã¯ããã¥ã¡ã³ããç ´å£çã«å¤æ´ãã¾ãã®ã§ãé©ç¨å¾ã®ããã¥ã¡ã³ãã¯ä¿åããªãããã«ãã¦ãã ããã /* Apply_CharStyle_of_RegexStyle_origin.jsx 段è½ã¹ã¿ã¤ã«ã«è¨å®ããã¦ããæ£è¦è¡¨ç¾ã¹ã¿ã¤ã«ç±æ¥ã®æåã¹ã¿ã¤ã«ããªã¢ã«æåå
InDesign JavaScriptã§ä¿®é£¾åå½¢ã®æå® ã修飾åå½¢ã®æå®ã®ä»æ¹ãæãã¦ãã ãããã¨ããæ稿ããã£ãã®ã§ãã¡ãã«ãã¡ã¢ã å®ã¯ä»ã¾ã§ä½¿ãæ©ä¼ããªãã£ãã®ã§ãè²ã ãã¹ãããçµæãããã ããã¹ããã¬ã¼ã ä¸ã«æåã«ã¼ã½ã«ãç«ã¦ã¦æ¬¡ã®ã¹ã¯ãªãããå®è¡ããã¨3æåå ¥åããã¾ãã var ch = app.selection[0]; ch.contents ="\u2673"; ch.opentypeFeatures =[["aalt",9]]; ch = app.selection[0]; ch.contents ="\u2673"; ch.opentypeFeatures =[["aalt",5]]; ch = app.selection[0]; ch.contents ="\u2673"; ch.opentypeFeatures =[["aalt",20]];
ã¨ããããã°ã«ãInDesignã§ã¯ã«ãã®æ¤ç´¢ç½®æãã§ããªããã¨æ¸ãã¦ãã£ããã¾ãã確ãã«ã§ããªãã誰ããæ¸ãã¦ããã§ãããããã©ãJavaScriptã ã¨ãããªæãã«æ¸ããã¨æãã¾ãã var my_find_re = /ãããããããããããã¤/g; var my_change_str ="ã¡ãããããããããã¤"; var my_doc = app.documents[0]; var my_story = my_doc.stories; for (var i = 0; i < my_story.length; i++) { var my_style = my_story[i].textStyleRanges; for (var ii = 0; ii<my_style.length; ii++) { my_style[ii].rubyString = my_style[ii].ruby
ãã®ã¡ã¢ã¯ãJavaScriptã§ã¯ããã¼ãå¦çããå ´åã®ãã¤ã³ããã示ãããURLã¨ã³ã³ã¼ãã«é¢ãããã©ãã«ãåé¿ãã¦ããã ããã¨ãç®çã«ãã¦ãã¾ãããæ¥ãã®æ¹ã¯3ç« ã¨4ç« ãé£ã°ãã¦èªãã§é ãã¦æ§ãã¾ããããªããã®ã¡ã¢ã¯ãªãã¹ãIEã§ã覧ä¸ããã ç®æ¬¡ 1. 1ãã¯ããã¼ã¨URLã¨ã³ã³ã¼ãã£ã³ã° 2. 2ãURLã¨ã³ã³ã¼ãã£ã³ã°ã¨ã¯ 3. 3ãJavaScriptã«ãããescape()ã¨unescape()é¢æ° 4. 4ãJavaScriptã«ãããencodeURIãdecodeURIãencodeURIComponentãdecodeURIComponent 5. 5ãããã§ã¯ä¸ä½ã©ãããã°ãããï¼ 6. 6ãUTF-8ã®URLã¨ã³ã³ã¼ãã»ãã³ã¼ãé¢æ°ã®ä¾ï¼ ããã°ã©ã ä¾ 7. 7ãJSPã¨JavaScriptéã®ã¯ããã¼ã«ãããã¼ã¿äº¤æä¾ HTMLããã¹ã以å¤ã«ã¦ã§
è¶£æ¨ æ³£ãåãé»ã RFC2045 Base64 encode/decode ã Javascript ã§å®è£ ãã¦ã¿ãããBase64ã¯ããã¼ã¿ã64種é¡ã®å°åå¯è½ãªè±æ°åã®ã¿ãç¨ãã¦ããã以å¤ã®æåãæ±ããã¨ã®åºæ¥ãªãéä¿¡ç°å¢ã«ã¦ãã«ããã¤ãæåããã¤ããªãã¼ã¿ãæ±ãããã®ã¨ã³ã³ã¼ãæ¹å¼ã§ããã(Wikipedia) æ å ±ã½ã¼ã¹ Base64 ã® Javascript ã«ããå®è£ ã¯ãã°ã°ãã°æ°å¤ãããããã®ä¸ã§ã次ã®å®è£ ã¯ç§é¸ã ã£ãã Base64 Encode / Decode ä»åèªåã§æ¸ããã®ã¯ããã®å®è£ ã®ã©ã¤ã»ã³ã¹æ¡é ãã¡ãã£ã¨å³ããã£ãããã ãï¼åç¨å©ç¨ä¸å¯ï¼ ãã ãããã®ã³ã¼ãã®ã»ããç§ã®ãã®ããæ´ç·´ããã¦ããã®ã§ãã©ã¤ã»ã³ã¹æ¡ä»¶ãåè´ãããªããã£ã¡ã使ã£ãã»ããããããã 使ãæ¹ å ¥åæååã®æåã³ã¼ãã¯ä½ã§ãããããããªãã UTF-8 ã¨ãã¦ã¨ã³ã³ã¼ããããã(å é¨çã«
2008å¹´06æ18æ¥16:00 ã«ãã´ãªLightweight Languages javascript - Yet Another Base64 transcoder ãã§ã«JavaScriptã«ããBase64 Encodingã®å®è£ ã¯è¤æ°ããã®ã§ãããããã¾ãæ°ã«å ¥ã£ãè»è¼ªããªãã£ãã®ã§åçºæã dankogai's js-base64 at master - GitHub Demo Textã«ã¯encodeãã¹ãæååããBase64ã«ã¯decodeãã¹ãæååãå ¥å TextBase64 (URL Safe ) Roundtripiframe w/ data: Discussion ã¾ãè»è¼ªã®åçºæã«è³ã£ãçç±ã§ããã Firefox 2以éã¨Safari 3.1以éã«ã¯ãwindow.atobãªãã³ã«window.btoaãå®è£ ããã¦ããã®ã§ã使ããæã«ã¯ããã使ãããã£ãã
ããã«ã¡ã¯ãéçºç³»ï¼ InDesignãIllustratorãAppleScriptãJavaScriptãRubyï¼ãã»ããã¼ã®ã¬ãã¼ããªã©ã«ã¤ãã¦æ¸ãã¦ãã¾ãã
ããã¯InDesign CS以éã®ãªãã¸ã§ã¯ãã¢ãã«å³ã§ãã å ¨ãªãã¸ã§ã¯ããåããã¦ç¢ºèªãã¦ããããã§ã¯ããã¾ããã®ã§ãééããæ¬ è½ãããã¾ãã ã¾ããèªåã®ç解ã®çºã«æå³çã«è¿½å ã»åé¤çãè¡ã£ã¦ããã¨ãããããã¾ãã ããééããæ¬ è½ãçºè¦ãããå ´åã¯ãé£çµ¡ãé ããã¨å¹¸ãã§ãã ãªãã¸ã§ã¯ãåã®åã«ããâ ã¯é ã«CSãCS2ãCS3ãCS4ãCS5ã§ä½¿ç¨å¯è½ã§ãããã¨ã示ãã¦ãã¾ããâ¡ã¯ãã®ãã¼ã¸ã§ã³ã§ã¯ãµãã¼ãããã¦ããªããã®ã§ãã â»å°ã®ãã®ã¯è¤æ°ã®ãªãã¸ã§ã¯ããã¾ã¨ãã¦è¡¨è¨ãã¦ãããã¨ã示ãã¦ããã以ä¸ã®ç¨èªãç¨ãã¦ãã¾ã。
View this post on Instagram A post shared by kmuto (@mutokenshi) View this post on Instagram A post shared by kmuto (@mutokenshi) View this post on Instagram A post shared by kmuto (@mutokenshi) View this post on Instagram A post shared by kmuto (@mutokenshi) View this post on Instagram A post shared by kmuto (@mutokenshi) View this post on Instagram A post shared by kmuto (@mutokenshi) View this
Javascriptã®æ£è¦è¡¨ç¾ç½®æï¼replaceã¡ã½ããï¼ã§å¾æ¹åç §ï¼RegExp.$1ã¨ãï¼ã使ãããã¨æã£ãæã str = "aaaaaa123aaaaa456aaaa7890" str1 = str.replace(/(\d+)/g, " (" + RegExp.$1 + ") "); //=> aaaaaa () aaaaa () aaaa () ãªãã¦æ¸ãã¦ããã¾ãããã¾ããããªããªããRegExp.$1ã¯ååã®æ¤ç´¢æã«æå¾ã«ãããããå¾æ¹åç §ã§ããããå®éã«è©¦ãã¦ã¿ãã¨ãããã¾ãã str = "aaaaaa123aaaaa456aaaa7890" str1 = str.replace(/(\d+)/g, " (" + RegExp.$1 + ") "); str2 = str.replace(/(\d+)/g, " (" + RegExp.$1 + ") "); //=>
ç°¡åãªæ¤ç´¢ç½®æé¢æ°ãã ãããå¿ ãæ¸ãã¦ãããã ããã©ãæ¢ãã®ãããã©ãã®ã§ã¢ãããã¦ããã¾ããããããã¬ããæãã身ä¸ãªã®ã§ããã£ã¦ãã¿ããªç¥ã£ã¦ãã^^ æ®éã®ããã¹ãæ¤ç´¢ç½®æ ////////////////////////////////////////////ããã¹ãæ¤ç´¢ç½®æ /* my_range æ¤ç´¢ç½®æã®ç¯å² my_find æ¤ç´¢ãªãã¸ã§ã¯ã ex.) {findWhat:"ããã"} my_change ç½®æãªãã¸ã§ã¯ã ex.) {changeTo:"ã¼ã"} */ function my_TextFindChange(my_range, my_find, my_change) { //æ¤ç´¢ã®åæå app.findTextPreferences = NothingEnum.nothing; app.changeTextPreferences = NothingEnum.
ã¨ã£ã¦ããä¹ ãã¶ãã§ããæè¿ã¢ã¦ããããæ¸ã£ã¦ã¦*1ã¤ã³ããããæ»ã£ã¦ãã¾ãã ã¹ã¯ãªãããã¾ã¨ã¾ã£ããã®ã¯ãã¾ãæ¸ãã¦ãªããã§ãããä¹ ãã¶ãã«æ±ç¨ã£ã½ãã®ãã§ããã®ã§ãããããããã§ã«æ¸ãã¦ã人ããããããã¾ããâ¦â¦ ã©ã¤ãã©ãªã®åã¢ã¤ãã ãèªåã§ã¾ã¨ãã¦é ç½®ãã ãã¨ãã°ã³ã³ãã¥ã¼ã¿é¢é£ã®è§£èª¬æ¸ã¨ãã§ãCtrl+Pãæ¼ãã¾ãããªãã¦æ¸ããããã¦ãããããã®ãã¼ãçµµã§è¡¨ç¾ããããããããªã¨ãã ãã©ã³ããä½ã£ã¡ããã®ãæãªãã§ãããããã¾ã§ããæ°ãããªããããªå ´åã¯ã©ã¤ãã©ãªã使ãã¨ä¾¿å©ã ãã ãã²ã¨ã¤ãã¤D&Dãã¦é ç½®ããã®ã¯ããã©ãããã§ããç§ãªã3ã¤ããããã£ãã¨ãã§ã¤ã©ãã¨æ¥ã¾ãã ã¨ããããã§ãããªã®ãæ¸ãã¾ããããã¹ãã¯WinXP SP3ãInDesign CS4ã§ã®ã¿è¡ã£ã¦ãã¾ãã âââ ã#(åè§è±æ°ã®ã¢ã¤ãã å)ãã¨ããæååãé¸æç¯å²å ã«è¦ã¤ãã£ãããæå®ããã©ã¤ã
Google ã®ã¦ã§ããã°å ¬éãã¼ã«ã使ã£ã¦ãããã¹ããåçãåç»ãå ±æã§ãã¾ãã
id:cheesepie:20070131:1170172709 æè¿ã¯ããããã風㫠JavaScript ãåå¼·ãã人ãå¢ãã¦ãã¦ã¨ã¦ãå¬ããã§ã ^^ id:cheesepie ããé å¼µã£ã¦ãã ããï¼ ã§ãã¡ãã£ã¨é åã¨é£æ³é åã®ä½¿ããããéããããªã®ã§ãã¨ã³ããªã¼ãæ¸ããã¨æãã¾ãããããã£ããã ã£ãããã¿ã¾ããï¼ï¼ ï¼ ãã£ã±ãããã®ã¸ãã JavaScript ã®é£ããã¨ããã®ã²ã¨ã¤ãªã®ã ãããã ã¨ãããã¨ã§ã JavaScript ã®é åã¨é£æ³é åã®éã ãã£ã¦ã¿ããã¼ é£æ³é åã¨ã¯ JavaScript ã§ã¯é£æ³é åã¯ä¸çªã·ã³ãã«ãªãªãã¸ã§ã¯ãã®ãã¨ã§ãããã¤ã¾ãããã¹ã¦ã®ãªãã¸ã§ã¯ãã¯é£æ³é åã§ããã 以ä¸ã®ãã¹ã¦ã®é£æ³é åã¯ã¾ã£ããåããã®ã§ããã // 1 var obj = { hoge: 'hoge' }; // 2 var obj = { 'hoge': 'h
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}