Need help with code...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • GoOgLe
    Forum Member
    • Mar 2007
    • 452

    Need help with code...

    i want to make menu with internet explorer favorites but it doesnt work !!!

    Code:
    favorites = Shell.GetFolder(SHF_APPLICATIONDATA);
    pos = String.ReverseFind(favorites, "\\", false);
    favorites = String.Left(favorites, pos);
    favorites = favorites.."Favorites";
    
    tblFavFiles = File.Find(favorites, "*.url", false, false, nil)
    
    if tblFavFiles then
    	tblMenuItem = {};
    	tblPopup = {};
    	for favi,favv in tblFavFiles do
    		tblMenuItem[1]={text=favv,type=[[0]],checked=[[false]],enabled=[[true]]} 
    		Table.Insert(tblMenu, 2, tblMenuItem[1])
    	end
    end
  • GoOgLe
    Forum Member
    • Mar 2007
    • 452

    #2
    any help :o

    Comment

    • rexzooly
      No longer a forum member
      • Jul 2007
      • 1512

      #3
      Originally posted by GoOgLe View Post
      any help :o
      Try using differnt names for some things i find calling the same
      name all the time can make problems but i don't know what you
      calling there seems your just calling the appdata folder

      Comment

      Working...
      X