Function Function23
more about osd
more about ShutDownProcess
more about close window
http://www.quickmacros.com/help/Commands/IDP_CLO.html
for even more information about these topics search the forum
OnScreenDisplay "If any instance of VoiceComputer or Dragon is running, it will now exit." 3 0 0 "" 0 0x0000FF
3
ShutDownProcess("VP")
ShutDownProcess("natspeak")
3
OnScreenDisplay "DONE! VoiceComputer will now start and relaunch Dragon" 2.5 0 0 "" 0 0x0000FF
3
OnScreenDisplay "This operation will probably leave some 'orphan' tray icons in your taskbar" 2.5 0 0 "" 0 0x0000FF
3
OnScreenDisplay "Simply hover your mouse cursor over them and they will be removed" 2.5 0 0 "" 0 0x0000FF
3
run "$program files$\VoiceTeach\VoiceComputer\scripts\VoiceComputer.exe"
;other options
;int w=win("- Notepad" "Notepad" "" 2)
;ShutDownProcess(w 2) ;;;with flag 2 soft close if poosible
;clo w ;;;using qm close window function
;using PostMessage
;PostMessage w WM_SYSCOMMAND SC_CLOSE 0;;
;or
;PostMessage w WM_CLOSE 0 0
more about osd
more about ShutDownProcess
more about close window
http://www.quickmacros.com/help/Commands/IDP_CLO.html
for even more information about these topics search the forum