This is a simple short tip on how to copy one or more layers and/or layer groups to a new Adobe Photoshop document.

  1. Open the document you want to duplicate layers from.
  2. Create a new document you want the duplicated layers to be placed in or open a current document.
  3. In the Layers panel, select the layer(s) and/or group(s) you want to copy.
  4. Right click what you selected in the Layers panel and choose Duplicate.
  5. In the popup there is a “Destination” section. In the dropdown pick the name of the document you created/opened in step 2 and click OK.
  6. Done! If you checkout the new file you made/opened earlier in step 2 you will see your layers/groups have been duplicated to there.
  7. Alternatively, you don’t have to create the new document first, in the “Destinations” dropdown the bottom option is “New” which means it will create a new document for you. You just have to fill in the “Name” field which is the title for the new document.

I think that title gets a +5 on the geek scale! So, I’ve tried to do this before with my old HTC HD2 and had mixed results. The problem I had back then was that MyPhoneExplorer would get launched when any USB device was connected, not just the phone. As you can imagine that was a bit annoying. Now I have a shiny new Samsung Galaxy Note I thought it was a good time to take another stab.

What is the goal? I use a free application called MyPhoneExplorer (MPE) to sync Outlook 2010 x32 with my phone. I sync my contacts, calendar, notes, tasks and custom directories. It works really well but you have to connect the phone and then manually load MyPhoneExplorer. That’s means loading it from the start menu and then clicking the multi-sync option. How much effort is that?! Ok, not much but it’s more than I can be bothered doing each time. The goal is to get MPE to load automatically when the phone is connected, do an automatic multi-sync and then close MPE. Took me like an hour to work it out and searching the depths of the interweb it seems nobody else on the planet has posted how to do this so I felt it would be a nice thing to share.

Continue reading “MyPhoneExplorer Android Auto Sync via Windows Task Manager”

Who wants to know what the legal UK residential sound levels are? There are none! I know crazy right. To make things even more fun, the council don’t even have to come to your house or your neighbours. They entirely base their decision on what the other person says and any “witnesses” they can scrounge up. Don’t be mistaken into thinking the councils ASB Action Team are there to mediate because they are not. They just want to shut you up and close the case as soon as possible. There is a common misconception that the council must send someone out with a sound measuring device, sit in your neighbours place and detect the level you are producing. That is a myth. As I said, they base their decision solely on the word of your neighbours and their friends. How do I know all this? Well I’m on the receiving end of a noise nuisance complaint.

Continue reading “UK Residential Sound Laws”

This has seriously had me screaming long streams of swear words but I finally sussed it out. What was I trying to do? Well I recently installed Windows 7 and therefore did a fresh install of Outlook 2010 as well. I had saved my old PST file so now I had just done “File->Account Settings->Data Files” and then added it there. It seemed ok but then I started getting phone calls from people asking why I hadn’t replied to their emails. Turns out I was a doofus and thought that my PST file would also hold the account settings. Wrong!

Continue reading “Outlook 2010 New Account Old PST Data File”

After doing a fresh install of Outlook 2010 I noticed an area above my email accounts titled Favorites. I don’t use this, I don’t plan on using this and it takes up about 2cm of vertical space which is much needed with all my email accounts. It’s easy to get rid of but you have to know where to look.

  • Expand the top ribbon bar if it is not already open and choose the “View” tab.
  • Click on the “Navigation Pane” option and then choose the “Favorites” item.
  • That’s it. That menu option acts as a toggle to turn it on and off.

See, I said it was easy Smile

I only jumped on the dual monitor bandwagon a few months ago but now I see how hard it is to go back to a single display. I decided that the next “new” thing to try out was 3D and I also wanted a better monitor than my old 24″ Samsung Syncmaster 245B. The problem was that I couldn’t find a monitor with its 1920×1200 resolution at the same size and with 3D. Then out of the blue I stumbled across the Acer HN274H 27″ 3D 120Hz LCD Monitor. There are lots of reviews about it but there are lots of things that are not covered by most people. This is my first hand review as someone that has used it for a week on a daily basis for work and gaming.

Continue reading “I Bought An Acer HN274H 27″ 3D Monitor!”

The project I’m working on today allows users to type their own filenames. The actual file extension is added afterwards by my system. I needed to check that the filename itself is valid for Windows so I came up with this:

var file_name:String = ” #DOG!”£$%^&*()_+{}~@:?><|¬`-=[]#’;/.,”;

// Remove chars not allowed in Windows filename / : * ? ” < > |
file_name = file_name.replace(/[~\/:*?”<>|]/g, “”);

// Trim leading and trailing whitespace.
file_name = file_name.replace(/^s+|s+$/gs, “”);

// traces #DOG!£$%^&()_+{}@¬`-=[]#’;.,
trace(file_name);

Although it looks like crap that is still a valid file name. So then my system automatically appends the custom file extension that I’m using. I’m clearly not a regexp wizard but the above seems to work for me. Could probably combine the two but I’m not fussed for now. I got the trim regexp from the comments in this post.

Another option would of been to use the TextFields restrict property which will prevent them from typing or pasting in any of the illegal characters. In hind-site I’ll probably switch to using that as it will be less confusing for the user:

this.my_textfield.restrict = “^\\/:*?”<>|”;

I get a kick from making ringtones and notification sounds and my friends seem to enjoy them as well. I had an accident and deleted a bunch of them a few weeks ago and since then I’ve played with the idea of putting them all online so that I can have a live backup of them all. I’m hoping you will enjoy them as much as I do. I’ll keep updating the post as I make new ones.

I should point out that I haven’t made any of these from scratch, some are presented in their entirety whilst others I’ve chopped down to make more suitable for their new purpose. If anyone has a problem with me sharing them then let me know and I can take down the offending tune.

Ring Tones

Blur – Advert With Bass.wav
Blur – Advert.wav
Doctor P – Tetris Original.mp3
Doctor P – Tetris.mp3
Doctor P – Tetris.wav
Family Guy – I Like Farts – Short.ogg
Family Guy – I Like Farts – Short.wav
Family Guy – I Like Farts.ogg
Family Guy – I Like Farts.wav
Family Guy – Its Quagmire.mp3
Family Guy – Peanut Butter Jelly Time Tune.mp3
Jazzy Jeff and The Fresh Prince – The Fresh Prince Of Bel Air Intro.ogg
Jazzy Jeff and The Fresh Prince – The Fresh Prince Of Bel Air.ogg
Johnny Douglas – Dungeons and Dragons.mp3
Lipps Inc – Funky Town.mp3
Lipps Inc – Funky Town.wav
Monkey Island – Banjo Loop.wav
Muppet Show – Mana Mana Song Original Short.ogg
Muppet Show – Mana Mana Song Original.mp3
Muppet Show – Mana Mana Song Original.ogg
Old Dirty Bastard – Shimmy Shimmy Ya.wav
Old Dirty Bastard – Shmmy Shimmy Ya.ogg
Oompa Loompa Song 1.mid
RType – Super v2.mid
Sonic – Sky Base.mid
Sonic 2 – Invincibility.mid
Sonic Chaos – Intro.mid
Sonic Chaos – Invincibility.mid
Star Wars – Cantina Tune.mp3
Super Mario Brothers – Theme 2.mid
Teen Titans.mid
Tetris.mid
The Curse Of Monkey Island – A Pirate I Was Meant To Be.mid
The Godfather.mp3
The Grand Duel – Parte Prima.mp3
The Secrect Of Monkey Island – Chuck.mid
The Secrect Of Monkey Island – Lechuck.mid
Wonder Boy – Invincible.mid
Wonder Boy – Round.mid
X-Men – X-Men Cartoon Guitar Solo Version.mp3
X-Men – X-Men Cartoon Guitar Solo Version.ogg
X-Men – X-Men Cartoon Metal Version.mp3
X-Men – X-Men Cartoon Metal Version.ogg

Notifications

Aliens – Game Over Man.wav
Back To The Future Horn And Strings.mp3
Back To The Future Horn.mp3
Back To The Future Jingle.mp3
Back To The Future Wind.mp3
Batman – Horn Tune.wav
Batman – Riddler Laugh.wav
Battlestar Galactica – Starbucks Piano Riff.mp3
Battlestar Galactica – Starbucks Piano Riff.ogg
Bill And Ted – 69 Dudes.mp3
Bill And Ted – Dude.mp3
Bill And Ted – Excellent With Riff.mp3
Bill And Ted – Excellent.mp3
Bill And Ted – Riff.mp3
Dragonball Z – Goku Kamehameha.mp3
Dukes of Hazard – Dixie Horn.wav
Family Guy – Giggitygiggitygoo.mp3
Family Guy – Its Quagmire Short.mp3
Family Guy – Peanut Butter Jelly Time.mp3
Gears Of War – Cog Tag Collected.ogg
Gears Of War – Completed.ogg
Gears Of War – Guitar Riff.ogg
Gears Of War – Objective.ogg
Gears Of War – Stage Start.ogg
Halo.mp3
Left 4 Dead – Boomer.wav
Monkey Island – Banjo Riff 1 Fast.wav
Monkey Island – Banjo Riff 1.wav
Monkey Island – Banjo Riff 2 Fast.wav
Monkey Island – Banjo Riff 2.wav
Monkey Island – Banjo Riff 3.wav
Monkey Island 2 – Chapter Tune.mid
Muppet Show – Mana Mana Song Original Short.ogg
MW2 – Continue.mid
RType – Over v2.mid
Shinobi – Complete.mid
Sonic – Death.mid
Sonic – Emerald.mid
Sonic – Start.mid
Sonic 2 – Complete.mid
Sonic 2 – Emerald.mid
Sonic Chaos – Death.mid
Sonic Chaos – Got Emerald.mid
Sonic Chaos – Rocket Shoes.mid
Sonic Chaos – Try Again.mid
Sonic Chaos – Unused.mid
Star Trek – Door Chime.mp3
Star Trek Next Generation – Door Chime.mp3
The Trashmen – Surfin Bird – Everybodys Heard.mp3
The Trashmen – Surfin Bird – Mow Mow.mp3
Thundercats – Danger Score Short.wav
Thundercats – Danger Score.wav
Thundercats – Forever.wav
Thundercats – Ho.wav
Thundercats – Mumm-Ra Transformation.wav
Thundercats – Sight Beyond Sight.wav
Thundercats – Sword Danger Full.wav
Thundercats – Sword Danger Short.wav
Thundercats – Sword Danger.wav
Thundercats – Thundertank.wav
Wilhelm Scream.wav
Wonder Boy – Continue.mid
Wonder Boy – Death.mid
Wonder Boy – Unused 3.mid
Wonder Boy 2 – Round Clear.mid
X-Men – X-Men Cartoon Mario Paint Version Ending.mp3
X-Men – X-Men Cartoon Mario Paint Version Ending.ogg
X-Men – X-Men Cartoon Mario Paint Version.mp3
X-Men – X-Men Cartoon Mario Paint Version.ogg
X-Men – X-Men Cartoon Short.mp3
X-Men – X-Men Guitar Solo Ending.mp3
X-Men – X-Men Guitar Solo Ending.ogg
X-Men – X-Men Guitar Solo.mp3
X-Men – X-Men Guitar Solo.ogg
Yo Gabba Gabba Party In My Tummy – Green Beans.mp3

This had me banging my head for ages today. On the design I am implementing there needs to be both a “Best Seller” panel and a “Latest Products”. There is no latest product module as default and I refuse to pay for a third party one when I can just make my own. The problem I ran into was that no matter what I did the internal products array would only ever show four products. This was driving me crazy until I finally took a step back and thought about what was happening. I think the home/welcome page is actually using its own fake category called “Featured Products”. So even though my module was supposed to pull the entire product list it was only actually pulling items from the featured products category.

In the end I decided to ditch my “Latest Products” module and just use the “Featured Products” one instead. That led me to the next problem, how do I change which products are set as featured? Turns out it is well easy. Just head into the admin section and then on the main menu Catalog->Categories. At the bottom of the page you can add and remove products from the featured category. That mostly handles my problem, the final step was to modify the featured_products template file and impose a static limit to the number of items visible. The most we want to show are 4 as more will break the tile wrapping we’re using for displaying them.

So after all the hassle I went through to finally get Bad Company 2 working properly AMD have gone and done it again, they spoilt my game!

I had it all tweaked out and running smoothly, the last big hurdle for me was the screen going black during game-play which obviously, totally kills things as you can’t see what you’re doing. Yesterday I upgraded to the new 11.3 AMD Catalyst drivers. What a disaster. The game will no longer load at my 1920×1200 60Hz resolution. Instead it keeps forcing itself into 59Hz mode. No biggie on its own but for some reason when the level starts loading the screen starts to shake. It makes the game totally unplayable.

I spent a few hours testing out various setting combinations to find something that works and as usual, I thought I’d post my findings here for others to check out.

Continue reading “AMD Catalyst 11.3 Kills Bad Company 2”

Would you like an adventure now, or would you like to have your tea first?

— Peter Pan