New topic: Return Check Not working correctly
<http://forums.realsoftware.com/viewtopic.php?t=44841> Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message JayBird Post subject: Return Check Not working correctlyPosted: Thu Jul 26, 2012 8:51 am Joined: Thu Mar 17, 2011 6:12 pm Posts: 53 Hi All, I believe that i have the below working correctly, however it doesn't seem to work. I cannot get to throw an exception: // Safari Downloads Dim Saf9 as FolderItem = SpecialFolder.Library.Child("Safari").Child("Downloads.plist") // Set to file to find If Saf9 <> nil and not Saf9.Exists then // if the file is does not exist SafariDLCheck.Enabled = False // do not enable the check button else SafariDLCheck.Enabled = True // Enable the check button end if I have gone to where Saf9 is defined and removed the Downloads.plist file. When i run the code it still shows as enabled when it shouldn't Can anyone see what i have done wrong ... Any help is greatly appreciated. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 1 post ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
