Having a brain fart here.
I have tried ALL the commented out lines. I just want to clear the command line in LX after I patch the light. The first part works for the string mypatch
tell application "LXConsole"
set mypatch to "@436"
set mylight to "Left L.E.D. Intensity Patched."
tell the front document to doCommand string mypatch
say mylight
delay 1
--set ClearCommandLine to "/key.lxconsole/clear"
--tell the front document to doCommand string ClearCommandLine
--tell the front document to doCommand string "clear"
--tell the front document to doCommand string "/key.lxconsole/clear"
end tell
As always thanks for the help and great software.
Easy one. How to clear Command Line via applescript
Code: Select all
-- script that clears the command line
tell application "LXConsole"
tell the front document
set currentCommand to ""
end tell
end tell
one more question
Is there a way to have QLab get the current command line info.
I need to get the number that is there.
tell application "LXConsole"
tell the front document to get currentCommand
set mytest to currentCommand
say mytest
end tell
I need to get the number that is there.
tell application "LXConsole"
tell the front document to get currentCommand
set mytest to currentCommand
say mytest
end tell
Mark Nizer
mark@nizer.com
mark@nizer.com