2012-12-18

How to Create a Hotkey to Double Click Using AutoHotkey

Just created a hotkey to double-click so that I don't have to use the mouse! It is very much worth it and will speed up coding. There are other areas that I will be more productive in also. Just can't think of them right now.

I used an awesome program called AutoHotkey to achieve this and many other create keyboarding shortcuts/hotkeys/scripts. The following code basically says, "if ctrl is pressed twice consecutively in less than 500ms, then click two times at the caret position."


Ctrl::
    If (A_PriorHotKey = A_ThisHotKey and A_TimeSincePriorHotkey < 500) {
MouseGetPos X,Y
Send {Click  %A_CaretX%,%A_CaretY% 2} ; Moves the cursor
MouseMove (X),(Y) ; Moves back the cursor
    }
Return



  • Instead of using "%A_CaretX%,%A_CaretY%", it is possible to hardcode an x and y value to click on.
  • If you remove the line starting with MouseMove, then the cursor will move to the position the caret is at.


Let me know if this helps. =]

Disclaimer: I have not done an extensive test on all programs to see if this works. But, I know that it works in Notepad++, Eclipse, Notepad, and MS Word 2010. While typing this, the hotkey seems to return (aka double click) the top-left corner.

~ Simply Advanced ~



2012-12-16

Idea: Windows 8 Shutdown Tile App


At the time of this writing there are no shutdown tile apps in the Windows 8 Store. Window's shutdown.exe can be found in %windir%\System32\ (typically, C:\Windows\System32\). Double-clicking on that will start the shutdown process.

Or one workaround involves:

  1. Create a new shortcut on the desktop. Right Click -> New -> Shortcut
  2. Point it to "shutdown /a /t 00"
  3. Pin to the taskbar and/or the start menu for one-click access

~ Simply Advanced ~




2012-12-14

Idea: Everybody Wear Headphones in Speaking Class

Problem: I have to work with many groups of people and give presentations with them. A few members don't speak up so that the entire room can hear them.

Solution: My suggestions have been to practice presenting outside at least five meters apart from each other. Another suggestion is to make everybody in the group wear large headphones. This will force everybody to speak up and get used to speaking louder.

~ Simply Advanced ~



2012-12-10

Highlight Text in PowerPoint

There is no easy way to highlight text in PowerPoint. There is an easy method for Microsoft Word. But, PowerPoint wants you to first draw a rectangle around the text and use the "Shape Fill" feature...

Please, somebody prove me wrong. Show me an easier way to highlight text in PowerPoint 2010.

~ Simply Advanced ~



2012-12-05

Our Vibration Detectors

It seems more amazing that our ears can pick up vibrations that happen around us. More so than just saying that we can hear.

~ Simply Advanced ~



2012-11-28

Blame the Brain

It's not my fault that my brain decided not to remember _______.

EDIT: "I tried, but my brain took over."

EDIT2: Dang conscious thinking not as smart as sub-conscious thinking.

EDIT3: "The brain didn't name itself, I did."

EDIT4: Talking to myself too.

~ Simply Advanced ~



2012-11-21

Riddle: How Many Women May a Man Marry?

Random joke/riddle that I remember from a long time ago.. =]

Q: How many women may a man marry?

(highlight for answer)
A: 16 (4 better, 4 worse, 4 richer, 4 poorer)

~ Simply Advanced ~



2012-11-15

New Quora Post - Happiness

In the weekly email I get from Quora (a great Q&A forum, possibly the best), I decided to answer one of the questions posed, "To be happier, what's the smallest, simplest thing an average person could do?"

Let me know your thoughts too.

http://qr.ae/18SbT

~ Simply Advanced ~



2012-11-10

Windows 8 on a Mac

When people want Windows OS on a Mac they may think of dual booting or using a program like VMWare, VirtualBox, BootCamp, or Parallels to run the two simultaneously.

But, my roommate (Spence) and I experimented with another method to run Windows 7 and 8 on a Mac. We would replace the Mac's harddrive with the harddrive running Windows OS. Both were 2.5 inch.

What got us thinking on this track was that, first of all, the Mac wouldn't boot after being dropped. Us being computer savvy individuals, we didn't have another Mac lying around, but we did have an older Lenovo laptop that we thought we could possibly salvage parts from.

We took out the Mac harddrive, took out the Lenovo harddrive with Windows 7 and 8 dual booted, and swapped them. The process took less than ten minutes to figure out and complete.

The results?
Windows 8 runs beautifully on a 2009 aluminum uni-body Mac. Both Modern UI and desktop versions supported. And we were surprised that the Wi-Fi was easily connected to without installing any additional drivers.

The problems?
Initially, the trackpad only partially works (movement only, no clicking), but an external mouse does work flawlessly. Clicking and multitouch were added by installing the proper drivers for them. There may be a few more issues, but this is just a preliminary rundown of our experimental harddrive organ transplant.

If you also do a harddrive transplant, let us know! You can download some of Apple's drivers [at your own risk] from http://www.2shared.com/complete/J5_Inbmt/Apple_folder_from_Boot_Camp_Wi.html.

~ Simply Advanced ~



Android Camera - A Problem I Spent Almost Twenty Hours On

Finally, there is a new post on my blog.SimplyAdvanced.net website. The last one I wrote was on 31 May 2012.

The Android development problem I talk about is the issues with the camera preview within onPreviewFrame() and setPreviewCallback(). The same code that worked for Android 2.2 didn't work for 4.0 and above.

http://blog.simplyadvanced.net/android-camera-a-problem-i-spent-almost-twenty-hours-on-trying-to-solve/

~ Simply Advanced ~



2012-11-08

Sticky Notes Shortcuts You Didn't Know

The desktop application I am talking about today is Sticky Notes that comes standard in Windows.

I used to think that Sticky Notes was a featureless program. But, one day I decided to try out some formatting shortcut keys that I typically use in other Windows products. So, then I discovered that the application supports Ctrl+b for bold, Ctrl+e for aligning text to center, Ctrl+Shift+> for increasing text size, and more. This has made Sticky Notes much more useful than before.

I used to think that just writing on paper was the quickest way to keep notes and a todo list. But now, for efficiency, I use just one large Sticky Note on my desktop. This has the added benefit of not having to throw away physical paper.

List of hidden Sticky Notes shortcuts:
BoldCtrl+b
ItalicCtrl+i
UnderlineCtrl+u
StrikethroughCtrl+t
Decrease Font SizeCtrl+Shift+<
Increase Font SizeCtrl+Shift+>
Align Text LeftCtrl+l
Align Text RightCtrl+r
Bullet/Numbered ListsCtrl+Shift+L
SubscriptCtrl+=
SuperscriptCtrl+Shift+=


I'd like the chance to answer any questions.
~ Simply Advanced ~



2012-11-06

How to Disable VLC Plugin in Google Chrome

VLC is the best media player in the market that plays just about any type of media file. But, one big flaw is its browser plugin. When it is running, there are no extra options to do anything with the media file.

Sometime I just rather download the file instead of watching it online. Then, that way I may speed up the video to 2x speed and watch it more efficiently. (It takes a bit of training in order to understand videos at 2x, I'd recommend starting off at 1.4x speed)

So, to disable VLC's plugin for Google Chrome

  1. type "chrome://plugins/" into the address bar (or omni bar) located at the top of Google Chrome.
  2. Search and find "VLC Web Plugin."
  3. Click on the "Disable" link.

You are done. There are no options in the desktop part of VLC to disable the web plugin. But now, you know how.

Google Chrome will now try to use another media plugin you have, or it will try to download the file.

Share the knowledge,
~ Simply Advanced ~



2012-09-28

"Don't Know" When I Do Know

Sometimes,
I answer a question with "I don't know" even though I may know the answer. It is a subconscious question,  "Does it really matter?" and an unconscious implicit "It doesn't matter."  I never really knew about these types of questions until I thought of it today. This is just a continuation of me trying to harness my subconscious mind by having the ability to think with it more. Meta-thought is where it's at.

Other times,
Explicitness is more beneficial, "I believe you know the answer if you think about it a little more."

~ Simply Advanced ~



2012-09-25

Software is Slower than Hardware

Maybe this has been obvious to you all the time, but I think it is actually too obvious to state out loud.

Does this make you think at all?

~ Simply Advanced ~