This behavior opens the windows explorer to the specified directory.
property spriteNum, driveLocation, relative
on getPropertyDescriptionList me
p_list = [:]
addProp p_list, #driveLocation, [#format : #string, #comment : "Location to open explorer to:", #default : "C:"]
addProp p_list, #relative, [#format : #boolean, #comment : "Relative to the movie?", #default : true]
return p_list
end
on mouseUp me
if relative = true then
location = the moviePath & driveLocation
else
location = driveLocation
end if
baShell("open", "explorer.exe", location, "", "normal")
end
on getBehaviorDescription me
describe = "This behavior opens the windows explorer to the specified directory."
return describe
end
on getBehaviorTooltip me
describe = "This behavior opens the windows explorer to the specified directory."
return describe
end
Contact
MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA