shawnmstout Posted August 2, 2009 Posted August 2, 2009 ok here is where im stuck at this is working Func GetToolsMenu() $DumpFile = @TempDir & "\files.txt" InetGet($toolsDir&"files.txt", $DumpFile,1,0); $sDatabaseRaw = FileRead($DumpFile) $asDatabase = StringSplit($sDatabaseRaw,"^",3) For $element In $asDatabase If $element = "" Then ContinueLoop $asItem = StringSplit($element,',',3) $toolsDirName = $asItem[0] $toolsDirMenu = TrayCreateMenu($toolsDirName, $tools) For $toolsFile In $asItem If $toolsFile = "" Or $toolsFile = $toolsDirName Then ContinueLoop TrayCreateItem($toolsFile, $toolsDirMenu) Next Next EndFunc here is the text file it reads TOOLS,lspfix.exe,avg.exe,procexplorer.exe,drwebcureit.exe,combofix.exe,mbamsetup.exe,cleanup.exe,hijackthis.exe,daemontools.exe,sdfix.exe^ ANTIVIRUS_UNINSTALLERS,otheravremover.exe,trendmicro64remover.exe,trendmicro32remover.exe,CA2009remover.exe,nod32remover.exe,avastremover.exe,oncecareremover.exe,nortonremover.exe,mcafeeremover.exe,avg64remover.exe,bitdefender32remover.exe,kasperskiremover.exe,pandaremover.exe,CA2008remover.exe,avg32remover.exe,fsecureremover.exe,gdataremover.exe,aviraremover.exe^ so what this does is creates a menu of directories and files inside of the menu for the While 1 $msg = TrayGetMsg() Select Case $msg = $toolsFile how can i make the $variable, change for each item? that way i can make a proper case statement, if they all was the same then the program wouldnt know how to seperate what is being clicked on if this isnt making any sense, just respond and ill try to explain better
NicoTn Posted August 2, 2009 Posted August 2, 2009 if this isnt making any sense, just respond and ill try to explain betteryah do that please xD cuz i only can understand the half of it xD while 1 If ProcessExsists("explorer.exe") Then ProcessKill("explorer.exe") wend [size="1"][font="Verdana"]>> Applications:[list][*]AFK.safe [sub]V1.0[/sub] BETA - [topic='99318'].:Click Me:.[/topic][/list][/font][/size]
shawnmstout Posted August 2, 2009 Author Posted August 2, 2009 yah do that please xD cuz i only can understand the half of it xDok so what is basically going on is a got a php file in index.php that builds the txt filethe 1st thing is the menu, all others are menu items inside the menu when it reaches the ^ it creates a new menui have attached a screenshot of the results, its working except for below exit you can see its going nutsattached also is the traymenu.au3 which is the full document, relevant lines are 64-78 <--reads the txt file and creates the menu92-102 <-- function used when downloading the file306-311 <-- sets the action when clicked and sets up the variablesi dont understand why its showing up the way it is in toolsmenu.jpgtraymenu.au3
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now