Yea dude. I did that to a spider and it commited suicide by eating it's own head off... don't ask me how it did it, I'm still clueless...
Ok time for a serious solution... spiders love dark cramped hiding places so go to the store and buy a trap, these traps looks like a triangle shaped tube that has glue all over the inside. This would hopefully offer the spider a better hiding place and it would hopefully coax it out into a trap! (Cue "Its a trap!" Audio file) Another one is sticky traps that are flat and filled with glue, they have baited ones just made for spiders, you could lay it on top of your keyboard (sticky side up lol) and hopefully if it is not dead it will smell the bait and walk right into a trap! (Cue "Its a trap!" Audio file)