Farbflash projects: Imaging lingo table | 3-D scene list | Find all | Handler menu | Lingo message window

Ignore:
Timestamp:
04/06/08 11:11:43 (4 years ago)
Author:
alex
Message:

now with version checking

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lingosource/castlib2/FileIOFunktionen.ls

    r74 r163  
    6363  if not(internetLink) then internetLink = (fname starts "www.") 
    6464  if the runmode contains "plugin" or internetLink then 
    65     scr = xscr().mGetInstance("NetLingoManagerPS__") 
    66     if ilk(scr) = #instance then 
    67       scr.mStartNetOP(paramList) 
    68     else 
     65    --    scr = xscr().mGetInstance("NetLingoManagerPS__") 
     66    --    if ilk(scr) = #instance then 
     67    --      scr.mStartNetOP(paramList) 
     68    --    else 
    6969      scr = xscr().mGetInstance("NetTextReaderPS") 
    7070    if ilk(scr) = #instance then 
     
    7575      call(paramList.getaprop(#handler), [paramList.getaprop(#target)], paramList) 
    7676    end if 
    77     end if 
     77    --    end if 
    7878  else 
    7979    paramList.setaprop(#theTextResult, mGetTextFromFile(me, paramList.getaprop(#theURL))) 
     
    385385      retval = fx.fx_FolderToList(folderpath) 
    386386      delim = the last char of the moviepath 
    387       if length(delim) < 1 then delim = the last char of the applicationpath 
     387      if length(delim) < 1 then 
     388        if not(the runmode contains "plug") then 
     389          delim = the last char of the applicationpath 
     390        end if 
     391      end if 
    388392      if length(delim) < 1 then delim = "/" 
    389393      repeat with n = count(retval) down to 1 
     
    426430      retval = fx.fx_FolderToList(folderpath) 
    427431      delim = the last char of the moviepath 
    428       if length(delim) < 1 then delim = the last char of the applicationpath 
     432      if length(delim) < 1 then 
     433        if not(the runmode contains "plug") then 
     434          delim = the last char of the applicationpath 
     435        end if 
     436      end if 
    429437      if length(delim) < 1 then delim = "/" 
    430438      repeat with n = count(retval) down to 1 
Note: See TracChangeset for help on using the changeset viewer.