home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Flight + Action
/
FlightAction.img
/
mrmore
/
popup.dir
/
00008_Script_8
< prev
next >
Wrap
Text File
|
1995-12-06
|
790b
|
22 lines
-- Spezial-OK fⁿr Ordner-Fenster
on mouseUp
global gsPopupReturn, goPopup, gsOldDir, goGBTools
set gsPopupReturn = goGBTools(mGetCurPath)
if length(gsPopupReturn) > 3 then set gsPopupReturn = gsPopupReturn & "\"
set the text of cast "NewDir" = alltrim(the text of cast "NewDir")
if length(the text of cast "NewDir") > 8 then set the text of cast "NewDir" = char 1 to 8 of the text of cast "NewDir"
if the text of cast "NewDir" <> "" then
if goGBTools(mMakeDir, the text of cast "NewDir") then ¼
set gsPopupReturn = gsPopupReturn & the text of cast "NewDir"
end if
tell the stage to UpdateDirField(gsPopupReturn)
goGBTools(mChDir, gsOldDir)
close goPopup
set goPopup = 0
set the windowList = List()
end