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
Get command line into Qlab
Get command line into Qlab
Mark Nizer
mark@nizer.com
mark@nizer.com
currentCommand is a property of the document
Code: Select all
tell application "LXConsole"
copy the currentCommand of the front document to foo
say foo
end tell