Shell or Launch or HELP!!!!
Thomas J McGrath III
3mcgrath at adelphia.net
Sat Dec 20 17:44:27 EST 2003
OK, I am now completely confused.
I am building an OSX and WIN standalone and need to include a button
with a link that launches an .exe file on XP and 2000 BUT launches the
same .exe in VirtualPC if present in OSX.
I have tried a bunch of things and can't get it figured out. Please
help a desperate Revie.
Here is what I tried so far:
on MouseUp
--get shell ("OPEN=ShellExe.exe ClickMe.bat") this was code I found
in the AUTORUN.INF from the PC CD, also is ClickMe.bat and ShellExe.exe
then there is the actual installers that I need which are - PCSB101.exe
and PCPF109.exe
if the environment is "Win32" then -- we are in XP or 2000
try
get shell ("start ShellExe.exe") -- can't figure out how to open
ClickMe.bat in the ShellExe.exe
catch lerror
beep
end try
else -- we are in OSX
try
--launch "/media/Demos/demos/PCPF109.exe" -- in OSX no luck
--get shell ("/media/Demos/demos/PCPF109.exe") -- in OSX no Luck
--get shell ("start /Applications/Microsoft Office X/Microsoft
PowerPoint") -- now I am confused
catch lerror
beep
end try
end if
end MouseUp
Thank you all I really need the help
Tom
Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev
2.1.2
Advanced Media Group
Thomas J McGrath III • 2003 • 3mcgrath at adelphia.net
220 Drake Road, Bethel Park, PA 15102
More information about the use-livecode
mailing list