Help - Search - Members - Calendar
Full Version: Fileexist Does Not Work In N6 Or Is It Just Me?
Scenyx Entertainment Community > Xbox1 Forums > Dashboard Forums > Official MediaXMenu (MXM) Forum > MXM ActionScripting Forum
SumDumGuy3
Hello All,

I am writing an action script and I ran into a problem with using SETFUNC with the FILEEXIST function. I tried everything I could think of. It would keep giving me an error saying (SelFunc) "Function Not Found" or something like that. I finally ended up trying FILESIZE which worked fine. I am trying to test for the existance of a folder, so if the folder is empty, I assume that filesize will fake me out. But it is the only thing I can get to work for now. Is this a known problem in n6 or am I doing something wrong or is this just a unnoticed bug?

Many Thanks for any help...
SumDumGuy

flattspott
QUOTE
(SelFunc)


is this a typo or does it really say that?
SumDumGuy3
hmmm, gonna have to retest that now... it should be setfunc shouldnt it? im not sure if I made the typo or if mxm did.. hehe
flattspott
yes it should be setfunc

and its FileExists

CODE
SetFunc IGR FileExists E:\x2_IGR_disabled
SumDumGuy3
ok, first... yeah your right the error says Setfunc not Selfunc... that was my bad... also FileexistS does seem to do the trick... but ALL of the documentation I found for n6 says that the function is Fileexist without the S... anyway, thanks for the info...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.