質問編集履歴
3
引用元の追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -93,6 +93,8 @@
|
|
93
93
|
Register-ObjectEvent $watcher "Created" -Action $action
|
94
94
|
while ($true) {sleep 900}
|
95
95
|
```
|
96
|
+
ソース1:https://superuser.com/questions/226828/how-to-monitor-a-folder-and-trigger-a-command-line-action-when-a-file-is-created
|
97
|
+
ソース2:https://qiita.com/magiclib/items/12e2a9e1e1e823a7fa5c
|
96
98
|
|
97
99
|
### 補足情報(FW/ツールのバージョンなど)
|
98
100
|
|
2
試したことを追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -6,6 +6,13 @@
|
|
6
6
|
何故なのでしょうか。
|
7
7
|
ご教授お願いします。
|
8
8
|
|
9
|
+
### 追記
|
10
|
+
|
11
|
+
トースト通知を表示する関数を呼び出す部分をコメントアウトしたところ、ログは吐き出されていたので、関数部分がいけないっぽいです。
|
12
|
+
が、上記の様にVSCode上で実行するときちんとトースト通知が表示されるのです。
|
13
|
+
どこがいけないのか、見当がつきません。
|
14
|
+
どなたかお知恵をお貸しください...。
|
15
|
+
|
9
16
|
### 右クリックで実行した際の画面
|
10
17
|
|
11
18
|
```
|
1
初心者マークの付加
title
CHANGED
File without changes
|
body
CHANGED
@@ -100,4 +100,5 @@
|
|
100
100
|
WSManStackVersion 3.0
|
101
101
|
PSRemotingProtocolVersion 2.3
|
102
102
|
SerializationVersion 1.1.0.1
|
103
|
-
```
|
103
|
+
```
|
104
|
+
-
|