FileImport Syntax changed?
Posted: Mon Jul 06, 2015 1:08 am
It used to be you could do:
moho:FileImport(file)
and insert whatever file you wanted into the system. Now, however, it brings up a dialog box where you must checkmark the items you want to import (even if there is only one layer or item). This is changed as of at least 11, and worked fine in 9 (so I don't know where the change actually occurred). Needless to say, I can find no documentation on this function, but I'm hoping there is at least some parameter I can pass so that it won't bring the @#$! dialog up but just import the whole file.
Anyone have any ideas?
moho:FileImport(file)
and insert whatever file you wanted into the system. Now, however, it brings up a dialog box where you must checkmark the items you want to import (even if there is only one layer or item). This is changed as of at least 11, and worked fine in 9 (so I don't know where the change actually occurred). Needless to say, I can find no documentation on this function, but I'm hoping there is at least some parameter I can pass so that it won't bring the @#$! dialog up but just import the whole file.
Anyone have any ideas?