G’MICでカスタムコマンドを自分で作る

コマンドの流し方と作り方
拡張子がgmicのテキストファイルを作ります
gmic image.jpg macros.gmic -my_custom_commandcommand パラメーターの後ろに記述することもで ...
Windows のtimeoutコマンドを使って何がキーを押した時もしくは時間切れの場合に条件によって違うコマンドを実行する方法

choiceコマンドを使って条件分岐でコマンドを実行できますが毎回の答えは大変です
バッチファイル何かキーボードをしたらコマンドプロント 時間切れだとノートパッドを起動します
::powershell -Execut ...libraqmを Windows ビルドする

meson ダウンロードインストール
Releases · mesonbuild/meson (github.com)
meson-1.4.0-64.msi
libraqmダウンロードビルドgit clone" ...PowerShellでBOM無しUTF8を簡単に出力する方法

通常では bomがついて 出力されてしまいます
バージョンの確認$PSVersionTable新しいバージョンのパワーシェルPowerShellをインストールReleases · PowerShell/PowerShell ...
スクレーピングやWeb の自動化で使うXpathを一括で変更する

ホームページの仕様が変わるとXpathを作ったプログラムを変更するのが大変になります
変更前と変更後のXpathの一覧を作成変更前と変更後のXpathをカンマ区切りで並べるCSV エディタを使っても大丈夫です
一括で ...パワーシェルでテキストファイルを読んで文字列を置換するLinux の SED

バッチファイルpowershell -command "(Get-Content .\hello.txt) | %%{ $_ -replace 'hello','konbanwa'} | set-c ...
PowerShell を使ってテキストファイルの先頭や末尾の行や途中の行を表示する方法Linux のHead Tail

バッチファイルpowershell -command "Get-Content output1.txt -Head 2 | Out-Host"powershell -command "Get-Content o ...
パワーシェルでテキストファイルを読んで指定した行数ごとにファイルを分割して 出力するLinux のsplit

バッチファイルpowershell -command "$i=1;$inputF ='output1.txt';$baseName = ::GetFileNameWithoutExtension($inputF); ...
パワーシェルでテキストファイルを読んで指定した行数ごとに横に並べて CSV 出力する

バッチファイルpowershell -command "Get-Content output1.txt -ReadCount 2 | %%{$_ -join ','} | Out-Host"aqbkcma ...
linux paste コマンドのようにパワーシェルPowerShell でテキストファイルを横方向に結合する

Windows パソコンでペーストコマンドと同じようなことをします
バッチファイルpowershell -command "Get-Content output1.txt , output2.txt | Group-O ...