• Latest
  • All
  • How To

Controlling your PC remotely using Twitter

June 8, 2011
youtube-apple-ai

YouTube Rolls Out Custom Regional Thumbnails and Easier Video Promotion For Creators

June 11, 2025
Roam

Roam Launches New Electric Bike Built with Boda Boda Riders in Mind

June 11, 2025
Android 16

Google Releases Android 16 Early with Powerful New Tools

June 11, 2025
Social media surveillance

New Proposal to Give DCI KES 150M to Track Social Media Users

June 11, 2025
DHgate Tablet Cases deals
Snapchat

Snapchat Launches a Messaging App for Apple Watch

June 11, 2025
2025 Afrilabs Annual Gathering

AfriLabs Annual Event Returns to Nairobi With Big Plans for Tech Scene

June 10, 2025
Solar panels in a field.

Kenya’s Solar Industry Warns of Mass Job Losses Over 16% VAT Proposal

June 10, 2025
Infinix GT 30 Pro 5G

Infinix Launches the GT 30 Pro Gaming Phone in India

June 10, 2025
microsoft-xbox-rog-console

Microsoft Unveils Its First Handheld Xbox Gaming Console

June 10, 2025
WhatsApp auto-download media quality

You Will Soon Be Able to Pick Download Quality on WhatsApp

June 10, 2025
Apple-WWDC25-iOS-26

Apple Unveils iOS 26: A Redesign with Liquid Glass and Integrated AI

June 10, 2025
DCI Officer Nabbed in Gang Vandalizing Critical 66kV Power Lines

DCI Officer Arrested for Vandalizing Major Power Cables in Nairobi

June 9, 2025
Techweez | Tech News, Reviews, Deals, Tips and How To
  • News
  • Entertainment
  • Reviews
  • Features
  • Editorial
No Result
View All Result
Techweez | Tech News, Reviews, Deals, Tips and How To
  • News
  • Entertainment
  • Reviews
  • Features
  • Editorial
No Result
View All Result
Techweez | Tech News, Reviews, Deals, Tips and How To
No Result
View All Result

Controlling your PC remotely using Twitter

Morris Mwiti by Morris Mwiti
June 8, 2011
in News
Reading Time: 3 mins read
250
7

In the last few days, I have found myself in a difficult situation where I would like to leave office early and there are some stuff I am doing on the computer that don’t need much of my intervention, only need a check and switch off the computer when done.(e.g. Installing some heavy antivirus)

How would you do this and you already left the office?

This might lead to leaving the computer on till the following day.

Now I thought. If I ran the command “shutdown -s -t **”, the computer might shut down before the its through. Same case applies to other auto shut Apps.

Option 2 would be the windows remote desktop connection: this requires a public IP, do some port forwarding and some good internet. This is not so secure for your PC. and its hectic too.

Option 3. Use online remote desktop controllers like Logmein. This might be a good idea but also need some fast, and I mean fast internet to do stuff on your computer.

So the only solution is think how to send a shutdown command to your computer remotely and easily. I came across a small program called “TweetMyPc” This small App checks your Twitter tweets for preset commands every minute. If your tweet is any of the preset commands, it runs the command on your computer.

Apparently, most preset commands are not working e.g. “shutdown, lock, getfile, logoff…” I am running TweetMyPc on Windows Server 2003 and think there might be some compatibility issues.

The App is friendly; you can create custom commands and point to a specific file. So I did create custom command pointing to my shutdown script.

Tweet the command name, and the computer switches off just fine.

One problem is solved. Now I don’t know if the computer is through or not. *thinking* the “screenshot” command on tweetmypc isn’t working.

I need a program to capture the screen and may be send the image via email. A command line print screen tool would help.

I got the command line App to capture the screenshot. Working too well and simple. The App is called “cmdcapture.exe”

Download the app to \windows\system32\

Create a batch file with the code “cmdcapture /f screenshot.jpg /d c:” replace screenshot.jpg with the file name you intend to use and “c:” with the path.

Create a custom command on TweetMyPc to point to your batch file, give your command a unique name. tweet that command on tweeter, wait circa 1 minute and check your path to see if your file has been saved.

Its working. Now we need an app to send us the image file. And by the way, why do we need command line tools and not GUI apps? We want to execute our apps with preset parameters so we need not intervene.

We need a combination of two apps here. One to encode the file to MIME and another to send the MIME attachment

Download Bmail and Mpack from the links “ftp://ftp.andrew.cmu.edu/pub/mpack/old/mpack15d.zip” and “http://www.beyondlogic.org/solutions/cmdlinemail/bmailv107.zip” and extract the contents of the Zip files to “…\windows\system32\”

Now add these two lines of code to our earlier created batch file on line 2 and 3 respectively.

2. mpack -s “Email Subject”  -c image/jpeg -o body.msg c:\screenshot.jpg

3. bmail -s mail.server-p 25 -t send@to.com -f send@from.com -m body.msg

On Mpack

-c specifies the octet stream file type.

-o Is the file name where the translated mime will be stored. And its followed by the file path.

On Bmail

–s will specify the SMTP server

-t email to send to

-f email to send from

-h generate headers

-m specify the mime file you created earlier on with mpack on line 2

Again tweet your custom command, after confirmation (TweetMyPc will tweet the confirmation) check your mail.

Your screenshot is there.

With the power of custom commands, there is a lot more you can do to control your pc using TweetMyPc. You just need to think an extra mile.

WAH

SendShare146Tweet92
Morris Mwiti

Morris Mwiti

Doing Web Hosting, Reseller Web Hosting, domain registration, SSL certificate sale, Web Design. I am mostly into IT issues.

Related Posts

youtube-apple-ai

YouTube Rolls Out Custom Regional Thumbnails and Easier Video Promotion For Creators

June 11, 2025
Roam

Roam Launches New Electric Bike Built with Boda Boda Riders in Mind

June 11, 2025
Android 16

Google Releases Android 16 Early with Powerful New Tools

June 11, 2025
Social media surveillance

New Proposal to Give DCI KES 150M to Track Social Media Users

June 11, 2025
Snapchat

Snapchat Launches a Messaging App for Apple Watch

June 11, 2025
2025 Afrilabs Annual Gathering

AfriLabs Annual Event Returns to Nairobi With Big Plans for Tech Scene

June 10, 2025

Latest

youtube-apple-ai

YouTube Rolls Out Custom Regional Thumbnails and Easier Video Promotion For Creators

June 11, 2025
Roam

Roam Launches New Electric Bike Built with Boda Boda Riders in Mind

June 11, 2025
Android 16

Google Releases Android 16 Early with Powerful New Tools

June 11, 2025
Social media surveillance

New Proposal to Give DCI KES 150M to Track Social Media Users

June 11, 2025
Snapchat

Snapchat Launches a Messaging App for Apple Watch

June 11, 2025
2025 Afrilabs Annual Gathering

AfriLabs Annual Event Returns to Nairobi With Big Plans for Tech Scene

June 10, 2025

Best devices

budget smartwatches 2025

Best Budget Smartwatches To Buy in Kenya 2025

February 13, 2025

Best Infinix Smartphones To Buy in Kenya 2024

February 13, 2025

Best Laptops for Battery Life in 2024

August 21, 2024

Best “Battery Warrior” Smartphones To Buy in 2024

August 22, 2024

YouTube Rolls Out Custom Regional Thumbnails and Easier Video Promotion For Creators

June 11, 2025

Roam Launches New Electric Bike Built with Boda Boda Riders in Mind

June 11, 2025

Techweez is a fast growing influential source of technology news, reviews and analysis by leading tech geeks in the industry.

Follow Us

Editorials

Actors and Film Crews Are Worried About Veo 3 Taking Their Jobs

Samsung QLED TVs Now Officially Certified for Real Quantum Dot Technology

Trump’s Tariffs Will Be the End of Affordable Tech

5 Ways to Prep Your Tech for Resale

The Weaponization of PDFs: How Cybercriminals Are Exploiting a Trusted Format

Introducing A Brainbox Quiz: Techweez’s Monthly Trivia Night!

More News

Kenya’s Solar Industry Warns of Mass Job Losses Over 16% VAT Proposal

Infinix Launches the GT 30 Pro Gaming Phone in India

Microsoft Unveils Its First Handheld Xbox Gaming Console

You Will Soon Be Able to Pick Download Quality on WhatsApp

Apple Unveils iOS 26: A Redesign with Liquid Glass and Integrated AI

DCI Officer Arrested for Vandalizing Major Power Cables in Nairobi

  • Terms Of Use
  • Techweez Brand
  • Privacy & Policy
  • Contact Us

© 2024 Techweez - Palahala Media Group may earn a commission when you buy through links on our sites.
A Palahala Media Group Brand. All rights reserved.
.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In

Add New Playlist

Techweez | Tech News, Reviews, Deals, Tips and How To
Crunchy Cookies 🍪 Ahead!

Hey there! Just a heads-up: we're big fans of cookies - both the digital and edible kind! 🍪 We use our cookies and some from third parties to ensure your browsing experience on our site is smooth sailing and secure.

 

But wait, there's more! We also use cookies to gather stats and insights on how you navigate our site. It's like getting a behind-the-scenes peek at your digital adventures!

 

Don't worry, you're in control. You can adjust your cookie settings anytime to suit your preferences. Feeling curious? Dive into our Privacy Policy for all the juicy details. Happy browsing! 🚀

Functional Always active
Listen, this legal stuff is about as exciting as watching paint dry. But it basically says we only use your stuff for what you asked us to do, and nobody else gets to peek!
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
It's those sneaky cookie crumbs websites leave behind to count visitors, like counting ants at a picnic! Totally harmless, just for fun facts. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
Hey there! Just letting you know we use some fancy gizmos to remember your preferences. This way, we can show you ads that are, well, not completely bananas.
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
Make cookies
{title} {title} {title}
Techweez | Tech News, Reviews, Deals, Tips and How To
Crunchy Cookies 🍪 Ahead!
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
Listen, this legal stuff is about as exciting as watching paint dry. But it basically says we only use your stuff for what you asked us to do, and nobody else gets to peek!
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
It's those sneaky cookie crumbs websites leave behind to count visitors, like counting ants at a picnic! Totally harmless, just for fun facts. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
Hey there! Just letting you know we use some fancy gizmos to remember your preferences. This way, we can show you ads that are, well, not completely bananas.
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
Make cookies
{title} {title} {title}
No Result
View All Result
  • News
  • Reviews
  • Features
  • Editorial
  • Automotive
  • Entertainment

© 2024 Techweez - Palahala Media Group may earn a commission when you buy through links on our sites.
A Palahala Media Group Brand. All rights reserved.
.