![]() |
|
What gender is your computer(Windows only)? - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: General (https://sinister.ly/Forum-General) +--- Forum: The Lounge (https://sinister.ly/Forum-The-Lounge) +--- Thread: What gender is your computer(Windows only)? (/Thread-What-gender-is-your-computer-Windows-only) |
What gender is your computer(Windows only)? - peter lee - 11-07-2017 In light of recent LGBTQ advancements, I finally decided to set my foot down and find out what my millions of transistors identifies as. Karen is officially a guy now. 1. Open your favorite text editor. 2. Type CreateObject("SAPI.SpVoice").Speak"I Love You" 3. Save it as a .VBS file 4. Let your computer sing
RE: What gender is your computer(Windows only)? - Saikou - 11-07-2017 my computer identifies as an error
RE: What gender is your computer(Windows only)? - mothered - 11-07-2017 (11-07-2017, 07:34 AM)Saikou Wrote: my computer identifies as an error Running Windows 7 I see? Same error on my end. Spoiler:![]() RE: What gender is your computer(Windows only)? - Bish0pQ - 11-07-2017 @Saikou, @mothered Probably because it's missing brackets. It should be this I think: CreateObject("SAPI.SpVoice").Speak("I Love You”) RE: What gender is your computer(Windows only)? - mothered - 11-07-2017 (11-07-2017, 11:51 AM)Bish0pQ Wrote: @Saikou, @mothered That doesn't work either. I've had a close look at the code and worked It out. In the OP's code, have a very careful look at the quotation marks at the end of the code. They're In fact "curly" (typography) quotation marks whilst the rest are straight. Change them to straight and the code will work. From this (notice the end quotes are curly): Code: CreateObject("SAPI.SpVoice").Speak"I Love You”To this (the end quotes are straight, hence the syntax Is consistent so It will work): Code: CreateObject("SAPI.SpVoice").Speak"I Love You"RE: What gender is your computer(Windows only)? - Drako - 11-07-2017 Looks like my PC is also male so please, respect HIS pronouns . Just kidding lol. Anyways, It never crossed my mind to try this out at all. Thanks a million I guess.
RE: What gender is your computer(Windows only)? - mothered - 11-08-2017 (11-07-2017, 04:39 PM)Drako Wrote: Looks like my PC is also male so please, respect HIS pronouns I neglected to mention that my lappy Is male as well. I was hoping for the opposite gender, so I'll either trash my 3k Predator or write a code myself. I think the latter Is the better option. RE: What gender is your computer(Windows only)? - Bloody Eye - 11-14-2017 My computer identifies as a potato. RE: What gender is your computer(Windows only)? - Blink - 11-14-2017 (11-07-2017, 02:48 PM)mothered Wrote: From this (notice the end quotes are curly): Finding stuff like this in random source code can drive one crazy. Be careful Seriously though, why do we even have curly quotes RE: What gender is your computer(Windows only)? - mothered - 11-14-2017 (11-07-2017, 02:48 PM)mothered Wrote: From this (notice the end quotes are curly): (11-14-2017, 06:48 AM)Ender Wrote: Finding stuff like this in random source code can drive one crazy. Be careful To be honest, I work with code everyday and Identifying errors (syntax etc) has become second-nature. As a programmer yourself, you just know when a piece of code doesn't look right. It sort of hits you In the face. You're right though, at times It does drive me Insane. (11-14-2017, 06:48 AM)Ender Wrote: Seriously though, why do we even have curly quotes In all my years of computing, I've never had the need to use curly quotes. They're useless to me. |