|
|
|
Application Xtra
Added on 4/6/2007
|
This is a scripting xtra for Macromedia/Adobe Director. It allows you to run applications with arguments from within Director.
Price: $0
Mediamacros makes no guarantees that this price is correct
Get the Xtra
Application Xtra
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
HOW TO USE
-----------------------------------------------------------------------------
RunApp(Object me, String Path, String Args)
DESCRIPTION:
Runs an exe
USAGE:
object = new(xtra "ApplicationXtra")
object.RunApp("C:WindowsNotepad.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:WindowsNotepad.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:WindowsNotepad.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:WindowsNotepad.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:WindowsNotepad.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")
|
|