This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Gumball's profile picture

AppleOS | FileBrowser

Started by Gumball, 23 October 2014 - 12:02 AM
Gumball #1
Posted 23 October 2014 - 02:02 AM
This is just a little button file-browser I made, its not hat hard to understand if atleast you know variables, buttons, and index tables and if statements. Its a bit glitchy but otherwise it good to use!

pastebin:

pastebin get tgxqJMi6 [file]
cdel #2
Posted 23 October 2014 - 07:06 AM
add some images, generally makes people want to download the program more.
TheCaptainSly #3
Posted 23 October 2014 - 01:42 PM
You should also add some background too. It can give us a bit of understanding about the program.
Gumball #4
Posted 24 October 2014 - 01:15 AM
add some images, generally makes people want to download the program more.

You should also add some background too. It can give us a bit of understanding about the program.

Got it! Im trying to add something that says what directory your in.
Agent Silence #5
Posted 24 October 2014 - 04:57 AM

This is just…
Why…
I don't know how to…
sigh.

It is very buggy, only edits files, and calling

shell.run("Filebrowser "..files[Y])
when you said :
"pastebin get tgxqJMi6 [file]"
as in making optional

EDIT : Sorry I was rude
but I'll walk through the bugs besides the one above.
First off :
No browsing directories
Buggy GUI
No screenies
It requires a directory file argument
Exiting a file causes the screen to go black
These are all easy fix so you don't have to worry,
Except for Buggy GUI
Edited on 24 October 2014 - 03:19 AM
Gumball #6
Posted 26 October 2014 - 01:05 AM
Yeah, I know, i'll tell you the files[Y], if X and Y passed the if statement its in between Y blah and under Y blah and X blach blah then
if its a directory then
run the program with the argument files, the files there is, and Y as in where to call the index. If i said that right.