Application Xtra
CLICK HERE TO DOWNLOAD!
Created by Kevin Richard Fink
April 5th 2007
THIS XTRA IS PROVIDED AS IS, WITHOUT ANY IMPLIED WARRANTEE! FOLLOW INSTRUCTIONS
CAREFULLY AND USE AT YOUR OWN RISK!
This is a work in progress xtra, as such some features are not yet fully
operational. Here is the current status of each call:
Beta features:
RunApp(String Path, String Args) -- Runs an exe
RunAppMinimized(String Path, String Args) -- Runs an exe minimized
RunAppMaximized(String Path, String Args) -- Runs an exe maximized
RunAppHidden(String Path, String Args) -- Runs an exe hidden
AppDone() -- Returns true if any running app has exited
INSTALLATION
Simply extract and copy "ApplicationXtra.x32" to your xtra directory of your
Director Installation
HOW TO USE
-----------------------------------------------------------------------------
RunApp(Object me, String Path, String Args)
DESCRIPTION:
Runs an exe
USAGE:
object = new(xtra "ApplicationXtra")
object.RunApp("C:\Windows\Notepad.exe","")
--USE WITH APP DONE
on enterframe
if object.appDone() then
alert "Application Closed!"
end if
end if
-----------------------------------------------------------------------------
RunAppMinimized(Object me, String Path, String Args)
DESCRIPTION:
Runs an exe minimized
USAGE:
object = new(xtra "ApplicationXtra")
object.RunAppMinimized("C:\Windows\Notepad.exe","")
--USE WITH APP DONE
on enterframe
if object.appDone() then
alert "Application Closed!"
end if
end if
-----------------------------------------------------------------------------
RunAppMaximized(Object me, String Path, String Args)
DESCRIPTION:
Runs an exe maximized
USAGE:
object = new(xtra "ApplicationXtra")
object.RunAppMaximized("C:\Windows\Notepad.exe","")
--USE WITH APP DONE
on enterframe
if object.appDone() then
alert "Application Closed!"
end if
end if
-----------------------------------------------------------------------------
RunAppHidden(Object me, String Path, String Args)
DESCRIPTION:
Returns an exe hidden
USAGE:
object = new(xtra "ApplicationXtra")
object.RunAppHidden("C:\Windows\Notepad.exe","")
--USE WITH APP DONE
on enterframe
if object.appDone() then
alert "Application Closed!"
end if
end if
-----------------------------------------------------------------------------
AppDone (Object me)
DESCRIPTION:
Returns true if any application you called has closed
USAGE:
object = new(xtra "ApplicationXtra")
object.RunApp("C:\Windows\Notepad.exe","")
on enterframe
if object.appDone() then
alert "Application Closed!"
end if
end if
-----------------------------------------------------------------------------
MessageBox(Object me, String Title, String Message)
DESCRIPTION:
Creates a dialog box
USAGE:
object = new(xtra "ApplicationXtra")
object.MessageBox("Title","Message")
|