minif

look1.1

Jan 25th, 2020
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. --Minif OS Look Tool
  2. os.loadAPI("/system/cores/file")
  3.  
  4. --Execution
  5. mos.osDrawWindow("Choose File")
  6. local action, name = file.osListFilesAtRoot("/user/".. mos.osEnteredUser.."/")
  7.  
  8. if action == "edit" then
  9. shell.run('edit "'..name..'"')
  10. end
  11.  
  12. if action == "paint" then
  13. shell.run('paint "'..name..'"')
  14. end
Add Comment
Please, Sign In to add comment