Thanks.
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici
cov...@ccs.covici.com
God bless,
Mark
Here it is below:
-- Announcing foreground window Example Script
-- Copyright (c) 2005 by Code Factory, S.L. All rights reserved
-- June 9^th 2005
--[[
This script shows how to get the title of the foreground window (that is, the window that the user is working on). To do this, we call a function
called GetForegroundTitle, which is defined in msp_win.lua (this is why we need the require "msp_win.lua)
]]
require "msp_win.lua"
function OnAppStart ()
TRACE("OnAppStart")
local title=GetForegroundTitle ()
if ( title == nil ) then -- Variable is not nil.
TRACE("Cannot get title of foreground window")
else
TRACE("Foreground Window Title: "..title )
end
end
But when I placed it in my windows directory, it seemed to do nothing.
on Wednesday 08/01/2007 Mark Torgerson(markto...@my180.net) wrote