PowerShell PowerShell-ps1中のParamの位置 PowerShellのスクリプトファイルへの起動引数を指定するParamの位置は、ファイルの先頭にする必要がある。関数定義やコマンの起動などを行う前の場所に記述すると、以下の様なメッセージが出力さる。+ Param($output)+ ~~... 2022.01.05 PowerShell
プログラム PowerPointでソフトのアイコンを作成する2 「PowerPointでソフトのアイコンを作成する」を考えるうえで、PowerPointやビットマップサイズ変更など、いくつか調査した内容についてまとめてみた。 2021.12.18 プログラム
プログラム PowerPointでソフトのアイコンを作成する 初めにAndroidやiPhone向けソフトウェアを作成するのに、アイコンを作成することが付いて回る。多くは無償利用可能なアイコンを利用することができるのだが、いくつかはそこに含まれていないものがあり、どうしても自作しなければいけなくなって... 2021.12.17 プログラム
PowerShell PowerShell-GUIを使ったDrag&Drop PowerShellスクリプトでファイル名などの引数を使用して起動する場合、エクスプローラー上でPS1ファイルに直接Drag&Dropを行うことはできない。バッチファイルをかませるかリンクを作り、それらを経由した形になってしまう。それだとち... 2021.12.16 PowerShell
Garmin-AutomationConnectIQ AutomationConnectIQ-サンプル12 Automation Connect IQ SDKVer0.3で追加したものに関しての説明。Unit Test、Connect IQでは「Run No Evil」と呼ばれているものの実行。using namespace Automation... 2021.01.08 Garmin-AutomationConnectIQ
Garmin-AutomationConnectIQ AutomationConnectIQ-Ver0.3を追加 Ver0.3を本日公開。Ver0.3.1を作ったのだが、日本語のヘルプが入っていないということが分かったため、すぐVer0.3.2を作成公開した。利用方法のサンプルは別途。機能追加項目Activity Monitor Information... 2021.01.07 Garmin-AutomationConnectIQ
Garmin-AutomationConnectIQ AutomationConnectIQ-サンプル4 Automation Connect IQ SDK主に設定関連のメニュー操作に関して前半は、AutomationConnectIQ-サンプル2の冒頭部分のコードと同じ。その後のシミュレーター操作部分のみをここでは記載する。# トグル型メニュ... 2020.12.28 Garmin-AutomationConnectIQ
Garmin-AutomationConnectIQ AutomationConnectIQ-サンプル6 # Diagnostics系の結果をもらう$sim.ToggleMenu(::LowPowerMode, $true)Start-sleep -Milliseconds 500 # 画面更新のための時間稼ぎ$val = $sim.GetTi... 2020.12.30 Garmin-AutomationConnectIQ
Garmin-AutomationConnectIQ AutomationConnectIQ-サンプル7 $time = $sim.CreateTime()$time.Open()$time.Time = Get-Date "2020-1-1 13:00:00"$time.Factor = 3$time.Action(::Start)Start... 2020.12.30 Garmin-AutomationConnectIQ
Garmin-AutomationConnectIQ AutomationConnectIQ-サンプル8 Automation Connect IQ SDKビルド、シミュレーター起動を行うコンビニエンスクラスCheckerの紹介。まずは、1デバイスのビルド、シミュレーター起動を行うメソッドについて。using namespace Automat... 2020.12.31 Garmin-AutomationConnectIQ