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

Projs - Prorgrams And Api [folder Compression]

Started by Micheal Pearce, 10 November 2013 - 02:04 AM
Micheal Pearce #1
Posted 10 November 2013 - 03:04 AM
Welcome to ProjS beta testing thread if you would like to help please download the following programs/apis and work with them and give feed back on bugs. Thanks

ProjS API
Spoilerdownload: http://pastebin.com/EV5aebsu
usage:
load as api and insert into code as "projs.pack(folder)" or "projs.unpack(file)"

Video:
[media]http://www.youtube.com/watch?v=MipkaV5lOJY[/media]

function list:
Spoilerpack(folder)
unpack(file)

FileViewer
Spoilerdownload:http://pastebin.com/AQVUNNgn

images: http://imgur.com/a/jjY0O


Edited on 16 November 2013 - 01:44 PM
Bomb Bloke #2
Posted 10 November 2013 - 06:55 AM
Seems it shows more then 64 items already, but glitches out somewhat when it tries (/rom/help for eg shows some of the items in the fifth column over on the left, for whatever reason).

It'd be nice if the currently selected filename was shown in full, or if all items in the current column had their name shown in full. Mouse support is a given, but in particular use of the scrollwheel would be handy. The keyboard controls are currently decent though allowing the use of the space bar in addition to enter would be a plus.
Micheal Pearce #3
Posted 10 November 2013 - 12:23 PM
The keyboard controls are currently decent though allowing the use of the space bar in addition to enter would be a plus.
Yes the space bar selects items so you could do a mass delete or package them , I would love to add mouse support but I'm garbage at setting up click areas that work but yea scroll wheel goes though the items like the up and down arrows
Micheal Pearce #4
Posted 10 November 2013 - 02:31 PM
updated the code added some new stuff and fixed some bugs

*it is suggested that you put the program in the main dir so is less likely to be messed with*
Edited on 10 November 2013 - 01:33 PM
neptune12100 #5
Posted 10 November 2013 - 03:24 PM
I don't think reassigning os.pullEvent is healthy. But I might be wrong, I'm new to CC (but not lua).
Micheal Pearce #6
Posted 10 November 2013 - 03:28 PM
I don't think reassigning os.pullEvent is healthy. But I might be wrong, I'm new to CC (but not lua).
if this is what you are talking about

os.pullEvent = os.pullEventRaw
only way I've known to stop crt+T which exits the program
Edited on 10 November 2013 - 02:28 PM
Micheal Pearce #7
Posted 16 November 2013 - 04:13 AM
updated thread with ProjS API