-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Window Feature? #4
Comments
Just FYI, this is going to require a lot of work. Also: Bedrock does most of this automagically, if you care to use it... List of difficult things needed to do this:
List of easier things
List of supporting things
|
the terminate will be marked as a red X using the ice window api being made. it will close the parallel window which should end the program, else, use an error, like error( "", 0 ) and that should terminate the program. |
I was going to just remove the program from the list of running programs, deleting all references to that program. It's much easier than trying to insert an error into the program. (On the topic of errors: Should we have a BSOD? Otherwise the program is just going to disappear, with no error message) |
copy the LMNet OS BSOD :P |
why not something like windows 7 BSOD? Like it could go: |
BSOD DUMP (EDIT THIS TO FIX): if fs.exists("BSOD1.dmp") then
fs.move("BSOD1.dmp", "BSOD2.dmp")
elseif (etc.)
end |
This'll shift all files up one number, unlike yours which won't work if BSOD2.dmp already exists. local nMaxDump = 0
local dumps = fs.list( "dumps" )
for _, dump in ipairs( dumps ) do
local n = tonumber( dump:gmatch( "BSOD(%d+).dmp" ) ) --extract the number
if n > nMaxDump then
nMaxDump = n
end
end
-- Delete 20th file
if fs.exists( "dumps/BSOD20.dmp" ) then
fs.delete( "dumps/BSOD20.dmp" )
end
for i = nMaxDump, 1, -1 do
fs.move( "BSOD" .. i .. ".dmp", "BSOD" .. ( i + 1 ) .. ".dmp" )
end
--tada! "BSOD1.dmp" is now free! |
function shiftAll()
local nMax, tDumps = 0, fs.list( "reports" )
for k, v in pairs( tDumps ) do
local n = v:match( "BSOD(%d+).dmp" )
if n > nMax then
n = nMax
end
end
for i = nMax, 1, -1 do
fs.move( "BSOD" .. i .. ".dmp", "BSOD" .. (i + 1) .. ".dmp" )
end
end |
What I mean by this is like pop up windows that you can move around, minimize, maximize and put it back into a small window again like Windows 7.
The text was updated successfully, but these errors were encountered: