• Latest
  • All
  • How To

Controlling your PC remotely using Twitter

June 8, 2011
Spiro Appoints Battery-Swapping Veteran Anant Badjatya as New Group CEO

Spiro Appoints Battery-Swapping Veteran Anant Badjatya as New Group CEO

June 9, 2026
Amazon Leo satellite

Amazon Seeks Approval to Build First African Satellite Ground Station in Kenya

June 9, 2026
iOS 27

iOS 27: What Apple Announced at WWDC 2026

June 9, 2026
OpenAI

OpenAI Files for IPO, Joining Anthropic in Race to Go Public

June 9, 2026
DHgate Tablet Cases deals
eCitizen

Government Plans to Sell eCitizen and State Data to Generate Revenue in New Proposal

June 8, 2026
Former Isiolo MP Bahari Ali Appointed as Konza Technopolis Chairperson

Former Isiolo MP Bahari Ali Appointed as Konza Technopolis Chairperson

June 8, 2026
NTSA Speed Cameras

NTSA Automated Traffic Fines System Frozen by High Court Days After Launch

June 7, 2026
IP Rating

What IP Rating Mean on Smartphones and Devices

June 6, 2026
Airtel

How to Top Up Airtel Airtime from M-Pesa without Charges

June 5, 2026
How To Watch Your Speed and Avoid New NTSA Fines

How To Watch Your Speed and Avoid New NTSA Fines

June 5, 2026
The Housing Levy Was Never Really About Housing Now That It’s a Permanent Deduction

The Housing Levy Was Never Really About Housing Now That It’s a Permanent Deduction

June 5, 2026
Electric Vehicle (EV)

Kenya Power Brings EV Chargers Onto the Right Tariff

June 4, 2026
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
252
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 [email protected] -f [email protected] -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

SendShare147Tweet92
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

Spiro Appoints Battery-Swapping Veteran Anant Badjatya as New Group CEO

Spiro Appoints Battery-Swapping Veteran Anant Badjatya as New Group CEO

June 9, 2026
Amazon Leo satellite

Amazon Seeks Approval to Build First African Satellite Ground Station in Kenya

June 9, 2026
iOS 27

iOS 27: What Apple Announced at WWDC 2026

June 9, 2026
OpenAI

OpenAI Files for IPO, Joining Anthropic in Race to Go Public

June 9, 2026
eCitizen

Government Plans to Sell eCitizen and State Data to Generate Revenue in New Proposal

June 8, 2026
Former Isiolo MP Bahari Ali Appointed as Konza Technopolis Chairperson

Former Isiolo MP Bahari Ali Appointed as Konza Technopolis Chairperson

June 8, 2026

Latest

Spiro Appoints Battery-Swapping Veteran Anant Badjatya as New Group CEO

Spiro Appoints Battery-Swapping Veteran Anant Badjatya as New Group CEO

June 9, 2026
Amazon Leo satellite

Amazon Seeks Approval to Build First African Satellite Ground Station in Kenya

June 9, 2026
iOS 27

iOS 27: What Apple Announced at WWDC 2026

June 9, 2026
OpenAI

OpenAI Files for IPO, Joining Anthropic in Race to Go Public

June 9, 2026
eCitizen

Government Plans to Sell eCitizen and State Data to Generate Revenue in New Proposal

June 8, 2026
Former Isiolo MP Bahari Ali Appointed as Konza Technopolis Chairperson

Former Isiolo MP Bahari Ali Appointed as Konza Technopolis Chairperson

June 8, 2026

Best devices

Best Infinix Phones of 2025

Best Infinix Phones of 2025: Budget Prices With Premium Features

December 31, 2025

The Best Infinix Accessories Worth Buying in 2025

November 26, 2025

Best Budget Wireless Earbuds To Buy in Kenya (2025)

October 8, 2025

Samsung Galaxy A36 5G vs Samsung Galaxy A56 5G: Comparison Review

August 29, 2025

Infinix Hot 60 Pro+ vs Infinix Hot 60i: Comparison Review

August 22, 2025

Best Budget Smartwatches To Buy in Kenya 2025

February 13, 2025

Techweez is where tomorrow’s tech stories break today, thanks to intelligent analysis, real-world insight, and visionary storytelling.

Follow Us

Editorials

Kenya Might Need to Crack Down on Wealth Porn Like China

Techweez and Gearhaus Score BAKE Awards 2026 Nominations

Death by AI: Opportunities That Were Disrupted by Automation

CBK Approved 200+ Digital Lenders, But That’s Not the Real Story

Data Centers, Petrodollars and the Price of Building the AI Age

The Standardization of the USB-C Port: What It Means for Users

More News

NTSA Automated Traffic Fines System Frozen by High Court Days After Launch

What IP Rating Mean on Smartphones and Devices

How to Top Up Airtel Airtime from M-Pesa without Charges

How To Watch Your Speed and Avoid New NTSA Fines

The Housing Levy Was Never Really About Housing Now That It’s a Permanent Deduction

Kenya Power Brings EV Chargers Onto the Right Tariff

  • 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.
.