Quantcast
Channel: Planet DTP@jp
Viewing all articles
Browse latest Browse all 4816

FORCE: BACKDRAFT

$
0
0

Backdraft

久しぶりに見たら…結構良いじゃん…サントラも良いし
兄弟、同僚、仕事、家族、政治…とてんこ盛り…
TVドラマシリーズのER同様の『ルーキーの成長』系
死にオチなのが、残念…

『死』より脚本家の渾身のセリフや、演技で見せて欲しいんだよねぇ…

--------------------

MacOS Serverの機能が縮小する事が記事で出ている
https://support.apple.com/ja-jp/HT208312

まぁ、書いてある通り、ストレージぐらいにしか
利用していないが、各サブネット毎に設置している

WEBサーバーサポート中止は、中小のネットワーク管理者には痛いかな…


--------------------
『テキストに入力してある単語の順番を名前順にしたい』
https://okwave.jp/qa/q9427911.html

反応

tellapplication"TextEdit"
settheTextto (textoffrontdocument) astext
endtell
settheCntLineto 1
settheAnsLineto""
setAppleScript's text item delimitersto"\n"
settheListtotext itemsoftheTextaslist
setAppleScript's text item delimitersto""
setlistSortedTexttodoSortList(theList)
setnumCntListto (countoflistSortedText) asnumber

repeat (numCntList) times
settheReturnLineto (itemtheCntLineoflistSortedText) astext
settheReturnLineto (theReturnLine& "\n") astext
settheAnsLineto (theAnsLine& theReturnLine) astext
settheCntLinetotheCntLine + 1
endrepeat

logtheAnsLine

tellapplication"TextEdit"
makenewdocumentwith properties {name:"並び替え後", text:theAnsLine}


endtell





ondoSortList(theList)
settheIndexListto {}
settheSortedListto {}
repeat (lengthoftheList) times
settheLowItemto""
repeatwithafrom 1 to (lengthoftheList)
ifais notintheIndexListthen
settheCurrentItemtoitemaoftheListastext
iftheLowItemis"" then
settheLowItemtotheCurrentItem
settheLowItemIndextoa
elseiftheCurrentItemcomes beforetheLowItemthen
settheLowItemtotheCurrentItem
settheLowItemIndextoa
endif
endif
endrepeat
setendoftheSortedListtotheLowItem
setendoftheIndexListtotheLowItemIndex
endrepeat
returntheSortedList
enddoSortList

ぷぷ
ほとんど
こちらのコピペで…汗
https://developer.apple.com/library/content/documentation/LanguagesUtilities/Conceptual/MacAutomationScriptingGuide/ManipulateListsofItems.html

「TextEdit-2-sort.scpt.zip」をダウンロード

「TextEdit-2-sort.scpt.zip.rtf」をダウンロード


--------------------
lifehacker
『アメリカ人が映画館を避けるようになった理由』
https://www.lifehacker.jp/2018/02/heres-what-would-make-going-to-the-movies-worth-the-mon.html

反応

私の場合は『途中に一時停止出来ないから』だな…
原因は『トイレ』

歳とったのもあって、トイレ近いんだよね…
映画館ではビール飲むし…
試写とかいく時は、朝から水分コントロールするし
利尿作用の高い物は避けたりするしね…


Viewing all articles
Browse latest Browse all 4816

Trending Articles