AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TekOS
Goto page 1, 2  Next
 
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
Fry



Joined: 01 Nov 2007
Posts: 885

PostPosted: Sun May 04, 2008 9:26 pm    Post subject: TekOS Reply with quote

TekOS
Version:4.0
Size: Approximately 3KB Zipped
Download:Source Download

Heres my version of the KimOS.

Its essentially the same thing but I think my version has a better gui
and much less errors, and it has some other things too.

Thanks to
Titan
Laszlo
System Monitor

Now Includes Run

Just type in the program name(In The resources folder)

and click run.




Last edited by Fry on Thu May 08, 2008 1:06 am; edited 1 time in total
Back to top
View user's profile Send private message
Fry



Joined: 01 Nov 2007
Posts: 885

PostPosted: Mon May 05, 2008 7:46 pm    Post subject: Reply with quote

Bump
Back to top
View user's profile Send private message
Fry



Joined: 01 Nov 2007
Posts: 885

PostPosted: Tue May 06, 2008 12:33 pm    Post subject: Reply with quote

Any suggestions?
Back to top
View user's profile Send private message
imapow



Joined: 13 Mar 2008
Posts: 155
Location: Trøndelag, Norway

PostPosted: Tue May 06, 2008 12:40 pm    Post subject: Reply with quote

how aout
- taskmgr
- kontrollpanel
- cpu and ram use
_________________
-._.-¨¯¨-._.-IM@PΩW-._.-¨¯¨-._.-
Back to top
View user's profile Send private message
Fry



Joined: 01 Nov 2007
Posts: 885

PostPosted: Wed May 07, 2008 11:39 pm    Post subject: Reply with quote

Before coming out with another version I'd like to know.

Does any like it or even use it?
Back to top
View user's profile Send private message
trik



Joined: 15 Jul 2007
Posts: 1320

PostPosted: Wed May 07, 2008 11:45 pm    Post subject: Reply with quote

I love the layout, just not the concept.
_________________
Religion is false. >_>
Back to top
View user's profile Send private message
Fry



Joined: 01 Nov 2007
Posts: 885

PostPosted: Thu May 08, 2008 12:23 am    Post subject: Reply with quote

What do you mean by concept?

It's mean't to be a easier way to maneuver around windows.

Do you have any ideas then?
Back to top
View user's profile Send private message
trik



Joined: 15 Jul 2007
Posts: 1320

PostPosted: Thu May 08, 2008 12:29 am    Post subject: Reply with quote

Sure, hundreds of ideas that would be far to much work just to code.
_________________
Religion is false. >_>
Back to top
View user's profile Send private message
Fry



Joined: 01 Nov 2007
Posts: 885

PostPosted: Thu May 08, 2008 12:36 am    Post subject: Reply with quote

Well, forget that I'm 10,I cant code that much as I have other things to do.

Have any suggestions,bugs,reasons to be no next version,etc?
Back to top
View user's profile Send private message
trik



Joined: 15 Jul 2007
Posts: 1320

PostPosted: Thu May 08, 2008 12:44 am    Post subject: Reply with quote

Suggestions:

File manager, MP3 Player (Cool), maybe some games?
_________________
Religion is false. >_>
Back to top
View user's profile Send private message
Fry



Joined: 01 Nov 2007
Posts: 885

PostPosted: Thu May 08, 2008 12:46 am    Post subject: Reply with quote

Well, Im including a file manager,media palyer(mine)

The file manager is not going to be mine but from the forum here.

All credits will be given
Back to top
View user's profile Send private message
Fry



Joined: 01 Nov 2007
Posts: 885

PostPosted: Thu May 08, 2008 1:08 am    Post subject: Reply with quote

New Version !

Including :

AHK Write (Notepad Type Thing)
File Manager (Self Explanatory)
AHK Media Player (Self Explanatory)
ACConsole (A Dos but with AHK)
Back to top
View user's profile Send private message
System Monitor



Joined: 09 Mar 2007
Posts: 509
Location: Unknown

PostPosted: Thu May 08, 2008 3:17 am    Post subject: Reply with quote

Did you update the code because there is no run bar ect. for me Confused
Back to top
View user's profile Send private message Visit poster's website
Elesar



Joined: 28 Jun 2007
Posts: 622
Location: Somewhere around 35 12N 101 49W

PostPosted: Thu May 08, 2008 5:55 am    Post subject: Reply with quote

I do believe that he forgot to update the Download file.

Anyways, I got bored tonight, and redid this script a tad bit (Mostly cosmetic changes)

Code:
;<=====  System Settings  =====>
#SingleInstance Force
#NoEnv

;<=====  Menu  =====>
Menu, MyMenu, Add, Run, RunFile
Menu, MyMenu, Add, Remove, RemoveFile

;<=====  GUI  =====>
Gui, Color, FFFFFF
Gui -Border
Gui, Font,, Comic Sans MS Bold

Gui, Add, Text, x6 y6 w150 h20 , Welcome to TekOS REMIX

Gui, Add, GroupBox, x6 y30 w250 h220 , Date
Gui, Add, MonthCal, x16 y50 w230 h190 ,

Gui, Add, GroupBox, x266 y30 w250 h220 , Quick Launcher
Gui, Add, Button, x276 y50 w230 h20 gAddFile, Add file to Quick Launcher
Gui, Add, ListView, x276 y70 w230 h170 gCentral, Name|Extension|Directory

Gui, Add, GroupBox, x6 y260 w250 h140 , System
Gui, Add, Picture, x16 y280 w40 h40 , Resources\Computer.ico
Gui, Add, Button, x66 y280 w80 h20 gHibernate, Hibernate
Gui, Add, Button, x66 y310 w80 h20 gLogoff, Log Off
Gui, Add, Button, x66 y340 w80 h20 gReboot, Reboot
Gui, Add, Button, x66 y370 w80 h20 gShutdown, Shut Down
Gui, Add, Button, x156 y280 w80 h20 gGetSystemInfo, System Info
Gui, Add, Button, x156 y340 w80 h20 gEject, Eject
Gui, Add, Button, x156 y370 w80 h20 gRetract, Retract

Gui, Add, GroupBox, x266 y260 w250 h140 , Internet
Gui, Add, Picture, x276 y280 w50 h50 , Resources\Web page.ico
Gui, Add, Button, x336 y280 w110 h20 gGoogle, Google
Gui, Add, Button, x336 y310 w110 h20 gHotMail, HotMail
Gui, Add, Button, x336 y340 w110 h20 gGMail, gMail
Gui, Add, Button, x336 y370 w110 h20 gWeather, Weather

Gui, Show, xCenter yCenter h406 w522, Tek OS REMIX
WinSet, Transparent, 185, Tek OS REMIX
WinGet, TekID, ID, A
Return

;<=====  System Buttons  =====>

Reboot:
  ShutDown, 2
  Return

Shutdown:
  Shutdown, 1
  Return

Logoff:
  Shutdown, 0
  Return

Hibernate:
  DllCall("PowrProf\SetSuspendState", "int", 0, "int", 0, "int", 0)
  Return

GetSystemInfo:
  DriveGet,Capacity,Capacity,%SystemDrive%
  Drivespacefree, FreeSpace, %Systemdrive%
  If Capacity > 1024
    CapacityGB := Capacity / 1024
  CapacityGBR := Round(CapacityGB)
  If FreeSpace > 1024
    FreeSpaceGB := FreeSpace / 1024
  FreeSpaceGBR := Round(FreeSpaceGB)
  Memory := DllCall("resources\gmem.dll\GetMemStats", "str", "dwTotalPhys")
  MemoryMB := Memory / 1024 /1024
  MemoryMBR := Round(MemoryMB)
  Code (Copy):
  Runwait, %comspec% /c ver > %temp%\OSSP.txt,,Hide
  Fileread,OperatingSystem,%temp%\OSSP.txt
  Filedelete,%temp%\ver.txt
  MsgBox, 64, ,Operating System: %OperatingSystem%`nDrive: %Systemdrive%`nHolding Capacity (GB):%CapacityGBR%`nTotal Space Left (GB):%FreeSpaceGBR%`nTotal RAM (MB): %MemoryMBR%
  Return

;<=====  Internet Buttons  =====>

Google:
  Run, www.google.com
  Return

HotMail:
  Run, www.hotmail.com
  Return

GMail:
  Run, www.gmail.com
  Return

Weather:
  Run, www.weather.com
  Return

Eject:
  Drive, Eject,,
  Return

Retract:
  Drive, Eject,, 1
  Return

;<=====  Quick Launcher  =====>

AddFile:
  Gui, +OwnDialogs
  FileSelectFile,FilesToAdd,M3,,Select  File,
  If (!FilesToAdd)
    {
      MsgBox, No File(s) Selected
      Return
    }
  Loop, parse, FilestoAdd, `n
    {
      If (a_index != 1)
        {
          SplitPath,A_loopField,,,FileExt
          LV_Add("",a_loopfield,FileExt,dir)
        }
      Else
        {
          Dir:=a_loopField
        }
    }
  LV_ModifyCol()
  Return

Central:
  Remove = %A_EventInfo%
  LV_GetText(name, A_EventInfo, 1)
  LV_GetText(dir, A_EventInfo, 3)
  ToRun = %dir%\%name%
  If A_GuiEvent = DoubleClick
    GoSub, RunFile
  If A_GuiEvent = RightClick
    Menu, MyMenu, Show
  Return

RunFile:
  Run, %ToRun%
  Return

RemoveFile:
  LV_Delete(Remove)
  Return

;<=====  Show/Hide  =====>

HideTek:
  If TekID <> -1
    {
      WinHide, ahk_id %TekID%
    }
  Return

ShowTek:
  If TekID <> -1
    {
      WinShow, ahk_id %TekID%
      WinActivate, ahk_id %TekID%
      ControlFocus, Edit1, ahk_id %TekID%
    }
  Return

^!x:: ;Change this to Show/Hide with desired hotkey.
  IFWinExist, ahk_id %TekID%
    {
      GoSub, HideTek
      Return
    }
    DetectHiddenWindows, ON
    IFWinExist, ahk_id %TekID%
      GoSub, ShowTek
    DetectHiddenWindows, OFF
  Return


Lets see...what I changed:

-Cosmetic Changes (Gui is borderless, white, semi-transparent and much smaller thanks to combining everything on one page and removing empty space)

-No more tabs

-Quick Launcher is now on main GUI

-Double clicking an item in the QuickLauncher will launch it, right clicking
will bring up the context menu.

-Default hotkey of Ctrl+Alt+X to show/hide window. (right next to my nDroid key Very Happy)

-Minor formating change in code (I cant help it, I like uniform, readable code Razz)

I think it all works, not 100% on that though, as I'm tired and don't remember how many times I have reloaded the script tweaking things.
Back to top
View user's profile Send private message
Fry



Joined: 01 Nov 2007
Posts: 885

PostPosted: Thu May 08, 2008 12:31 pm    Post subject: Reply with quote

Sorry about that. Embarassed

I changed the script download to newer version.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group