I want to move files containing a specific keyword to a specific folder

Problem:

I want to move files containing a specific keyword to a specific folder

Solution:

Discussion:

To start with we need to define 3 things:

1. They keyword we are searching for,

2. The folder whose files we shall be looking into

3. The folder to which the files should be moved to in the event the keyword is found within.

It is very important that we understand that the “Read Text from File” action, can only be used to read the contents of files that can be successfully read within notepad.

 

So we use a “Display Input Dialog” action to allow the user define the keyword, we use a “Display Select Folder” dialog to select the folder we shall be looking within for files that contain the keyword we are looking for, and a second “Display Select Folder” dialog to select the folder to which we shall be moving our files.

I want to search for a specific keyword in one or more files

Problem:

I want to search for a specific keyword in one or more files

Solution:

Discussion:

We start our keyword search by specifying the folder and subfolders in which we want to search for text files (or any other type of file that can be read using notepad). Using the Get Files in Folder, we retrieve a list of all the files, that match our criteria, found within the folder (and subfolders) we specified.

Using a For each loop, for each item on the list, we can execute specific actions. So within the loop, we enter a Read Text from File action to read the text of the file we are currently going through, and save its contents to the %FileContents% variable.

I want to find common friends between two Twitter Users

This functionality will require installation of the free Twitter Addon!

Problem:

I want to find common friends between two Twitter Users

Solution:

Discussion:

To start our twitter search and find common friends between two twitter users, we simply have to start by specifying our account.

Ξ€hen using the “Get Twitter User Friends” action twice, one for each user.

We then use the “Find Common List Items” that will give us a list that contains all items that exist on both lists.

That would be the name of each common friend of the two users.

What we shall do with that list is down to us to decide, we can either write the list contents to a text file or even use the output list to follow each User, send a tweet that mentions each user, etc.

I want to post on Twitter the text I have on the clipboard

This functionality will require installation of the free Twitter Addon!

Problem:

I want to post on Twitter the text I have on the clipboard

Solution:

Discussion:

In order to post any text you have on your clipboard to Twitter, you simply have to get the text you have copied to the clipboard, and using the “Get Clipboard Text” action. After that, using an “if” condition we check whether the characters count for the text on the clipboard less or equal to 140 (which is the default lenght for all tweets). If that condition is true, then using the “Specify Twitter Account” action, we specify the account we want to use to login, and using the “Post a Tweet” action, we configure the action to post our Clipboard text.

I want to replace a specific word found in a list of files and replace it with another word

Problem:

I want to replace a specific word found in a list of files and replace it with another word

Solution:

We can use the job displayed above, to find a specific keyword in a list of a text files and replace it with another word.

Discussion:

We start by displaying 3 dialogs. The first dialog, is a “Display Select File” dialog, which is used to prompt the user to select the file that contains the full path to the files that he wants to check and replace a keyword with another. The second and third dialogs, are “Display Input Dialogue” actions, that prompt the user to 1st type in the keyword we should look for, and 2nd the word the keyword should be replaced with.

Copyright 2016 - Softomotive Ltd