-- Generic behavior to create a Shortcut at Startup, Start Menu, Programs Menu or Desktop
-- Desktop Xtra 1.0 or later required
-- Compatibilities: Director 6.x, 7.x, 8.x, Windows
on newShortcut
set Shortcut = [Location, AddInfo, ProgramName]
set Ok = CreateShortcut(Shortcut)
if getAt(Ok, 1)=0 then
SetShortcutParameter(Shortcut, "Object", Object)
SetShortcutParameter(Shortcut, "Icon", Icon)
SetShortcutParameter(Shortcut, "WrkDirectory", WrkDirectory)
else
-- Error
alert("Error: " & getAt(Ok, 1) & " - base error code")
end if
end
Contact
MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA