0
プラットフォームはWindows XP x86です。Windowsのルビコードから命令をポップアップする最も単純な方法は何ですか?
pop_up_instruction()
のような関数を記述したいときは、ポップアップダイアログやメモ帳やコマンドラインなど、命令ブロックを表示する必要があります。
Explorer [/n] [/e] [(,)/root,<object>] [/select,<object>]
/n Opens a new single-pane window for the default
selection. This is usually the root of the drive Windows
is installed on. If the window is already open, a
duplicate opens.
/e Opens Windows Explorer in its default view.
/root,<object> Opens a window view of the specified object.
/select,<object> Opens a window view with the specified folder, file or
application selected.
私はVB-文字列に上記の文字列を変換し、VBSファイルにそれを印刷し、このVBSを呼び出すための関数を書いた:
命令は、そのようなような「\ r \ n」が、含まれていシステム(the_vbs_file)、the_vbs_fileコンテンツを使用してファイル:
MsgBox "Explorer [/n] [/e] [(,)/root,<object>] [/select,<object>]" & vbCrLf & _
"" & vbCrLf & _
"/n Opens a new single-pane window for the default" & vbCrLf & _
" selection. This is usually the root of the drive Windows" & vbCrLf & _
" is installed on. If the window is already open, a" & vbCrLf & _
" duplicate opens." & vbCrLf & _
"/e Opens Windows Explorer in its default view." & vbCrLf & _
"/root,<object> Opens a window view of the specified object." & vbCrLf & _
"/select,<object> Opens a window view with the specified folder, file or" & vbCrLf & _
" application selected." & vbCrLf & _
""
は、我々は他のより良い方法はありますか?
@pguardiario、涼しい、ありがとう! – aaron
さらに、テキストを選択してコピーできるウィンドウをポップアップすることは可能ですか? – aaron