0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

マウスカーソルを特定の位置に移動

Posted at

【仕様目的】

管理者権限回避のために作成
単純移動だけなら管理者権限がいらない事が分かった

【ファイル名】

mouseSimple.ps1

【タイムスケジューラ】

プログラム/スクリプト

powershell.exe

引数の追加

-NoProfile -ExecutionPolicy Bypass -File "mouseSinmle.ps1"

設定

タスクが既に実行中の場合に適用される規則
「新しいインスタンスを並列で実行」を選択
※タスクが被ってると実行されないのがデフォのため

【進捗】

スクリプト正常稼働確認済

タイムスケジューラ正常稼働確認済
ただPowerShellがそもそも起動するためマウスカーソル移動で
スクリーンセイバー防止になってるのかは不明

【その他】

管理者権限が思った以上に厳しいため管理者権限回避スクリプト前提で作っていった結果。
ただ1つ前の記事にあるShiftを押すだけのシンプルなものに比べてスタイリッシュ性もないし作業に弊害が出るためお蔵入り
PCにはファイルとして残っている

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?