JustinReno Posted October 19, 2007 Author Posted October 19, 2007 (edited) Sorry about getting all mad about, and for getting you warned, :"> I'll give out some parts like the ones you just suggested! Also a function.application/thing suggestion would be to allow users to create folders/txt files on the OS. I thought about that, And I succeed in making the folder, but took it out for the release becuase it didn't do much, and would be a bit hard to configure, but I'll think about it! Some Things: To make your script talk put this: (Windows XP or higher will be needed!) Put this at the top of your script: Global $Speech = ObjCreate("SAPI.SpVoice")oÝ÷ Øû¶¬j|°z·¢*.®Ç+m«r¢ìضZF®¶sbb33cµ7VV6å7V²gV÷C´VÆÆòb333²gV÷C²oÝ÷ Ù8^.$«º0ØgºfÞ®¬³ +vÆî´wöÇ}ç-÷Û"^jëh×6Func _Lock() $Pass = InputBox("MicroOS - Lock", "What password do you want to lock MicroOS with?", "", "*M") $Lock = GUICreate("MicroOS - Lock - Type your Password to unlock.", 388, 26) $Input1 = GUICtrlCreateInput("", 0, 0, 121, 21, $ES_PASSWORD) $Ok = GUICtrlCreateButton("Ok", 120, 0, 267, 25, $BS_DEFPUSHBUTTON) GUISetState(@SW_SHOW) While 1 If Not WinActive($Lock) Then WinActivate($Lock) $LockMsg = GUIGetMsg() Switch $LockMsg Case $Ok $ReadPasswordField = GUICtrlRead($Input1) If $ReadPasswordField <> $Pass Then MsgBox(16, "MicroOS - Lock", "Invalid Password.") Else MsgBox(0, "MicroOS - Lock", "Correct.") GUIDelete($Pass) ExitLoop (2) EndIf EndSwitch WEnd EndFunc ;==>_Lock And you said something about certain windows and how they work? I'll be glad to tell you. Edited October 19, 2007 by JustinReno
Foy Posted October 19, 2007 Posted October 19, 2007 (edited) Here's the start menu sizing problem screenie:Two things, make it not crop the menu. Also move the icons a fw pixels to the right, they're too squished nest to the border. Edited October 19, 2007 by Foy
Foy Posted October 19, 2007 Posted October 19, 2007 Ooooh I mean unofficially warned, not forum warned, as in I won't do it again. No problem, I didn't mean to seem naggy, just really curious lol, there's so many things autoit can do and the help file isn't (most unfortunately) infinitely helpful. >< That's cool, the talking thing. Always wondered how AutoIt 1-2-3 did that.
Foy Posted October 19, 2007 Posted October 19, 2007 Do you use the registry for the startup password? and if so do you encrypt it? Also..... ummm.... Yeah, for the start menu, how is there no window... yet it's a window.
JustinReno Posted October 19, 2007 Author Posted October 19, 2007 Yes, I use the registry for startup password, and no, its not encrypted, which will be there in future versions! Like you said, it is a window but isn't! I put $WS_POPUP as a GUI style, like this:$StartMenu = GUICreate("", 150, 244, -1, -1, $WS_Popup)And here is my screenshot of my MicroOS desktop:
JustinReno Posted October 19, 2007 Author Posted October 19, 2007 Um, yeah, I think the picture might take a couple minutes to load even though its a jpeg.
Foy Posted October 19, 2007 Posted October 19, 2007 Ahhh, also your monitor resolution is 1440x900 which is far from normal lol, so just make YOUR button extra big and ours will be just right. xD But pushing the icons over would be cool too. =]
JustinReno Posted October 19, 2007 Author Posted October 19, 2007 (edited) I see the screenshot, I'll try to fix it! Edited October 19, 2007 by JustinReno
Foy Posted October 19, 2007 Posted October 19, 2007 1024x768 other most common one is 800x600 and all others at least stay in that ration. Ration is 8:6 yours doesnt fit that ratio. xP 1440/8 <> 900/6 Maybe you have a widescreen?
JustinReno Posted October 19, 2007 Author Posted October 19, 2007 I have a laptop 17inch, I guess its widescreen, looks sort of the same. I remembered that I adjusted it to fit my screen resolution because the default resizing wouldn't fit the start button image.
Foy Posted October 19, 2007 Posted October 19, 2007 Maybe add a function/application/thing that allows people to make custom desktop icons to their fav files, I mean icons on microOS. of course. xD
JustinReno Posted October 19, 2007 Author Posted October 19, 2007 I'm trying to use @DesktopWidth/Height but it doesn't work at all, so yeah.
Foy Posted October 19, 2007 Posted October 19, 2007 it works okay, it's just that it's hard to test to see if it works well on both yours and normal screens. xD I dunno how you sizing the button but make it add some more width lol.
JustinReno Posted October 19, 2007 Author Posted October 19, 2007 I guess I could do that for now, but anyone know another fix: $StartButton = GUICtrlCreateButton("Start", 0, 435, 50, -1, $BS_BITMAP) GUICtrlSetImage($StartButton, @TempDir & "\StartButton.bmp")
Foy Posted October 19, 2007 Posted October 19, 2007 Try $StartButton = GUICtrlCreateButton("Start", 0, @desktopwidth/25, 50, -1, $BS_BITMAP) GUICtrlSetImage($StartButton, @TempDir & "\StartButton.bmp 25 can be whatever I guess, try out some numbers. xP
JustinReno Posted October 19, 2007 Author Posted October 19, 2007 Ok, wait, Let me upload the new file, I think this will work:http://h1.ripway.com/mrreno/MicroOS/434323-MicroOS.exeTry it and please post a screenshot! Thanks.
Foy Posted October 19, 2007 Posted October 19, 2007 it's even smaller, the icons work better now. Gotta make that number smaller i guess lol
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now