Programming Languages-Other

19K

Solutions

19K

Contributors

A programming language is a formal constructed language designed to communicate instructions to a machine, particularly a computer. Thousands of different programming languages have been created, mainly in the computer field, and many more still are being created every year. The description of a programming language is usually split into the two components of syntax (form) and semantics (meaning). Some languages are defined by a specification document (for example, the C programming language is specified by an ISO Standard), while other languages (such as Perl) have a dominant implementation that is treated as a reference. Some languages have both, with the basic language defined by a standard and extensions taken from the dominant implementation being common.

Share tech news, updates, or what's on your mind.

Sign up to Post

ArticlesVideosEE: Download statistics on Experts Exchange Articles and Videos - Demo of Enhancements
My 100th publication here at Experts Exchange is an article that presents a program called ArticlesVideosEE, which is able to download the Title, number of Views, number of Endorsements, number of Points, number of Comments, and Date Published for each article and video whose link is in a list. You may read the article here:

How to download number of Views, Endorsements, Points for Experts Exchange Articles and Videos

I also published a five-minute EE video Micro Tutorial with a demonstration of the program:

How to download number of Views, Endorsements, Points for Experts Exchange Articles and Videos--Demo

As you can see from the Title of the article and video, I enhanced the program after publishing the initial version to include columns for the number of Comments and the Date Published. There have also been three other enhancements:

• Ability to specify all the run-time parameters in a configuration file (config.ini) so that (i) the source code does not have to be modified to specify new options/settings and (ii) the Browse dialogs shown in the first video may be avoided.

• Support for a Command Line Interface (CLI) such that a different configuration file (not just config.ini) may be specified on the command line, thereby allowing great flexibility to run ArticlesVideosEE in a command/DOS prompt, a batch file (.bat), the Task Scheduler, programs/scripts, etc. — anywhere that a command line call can be made.

• Addition of a debugging parameter (
1
LVL 28

Administrative Comment

by:Andrew Leniart
Excellent video Joe and thank you or incorporating the enhancements I asked for in your program!

Endorsed!

Regards,

Andrew Leniart
Experts Exchange Senior Editorial Editor
Private Message Me
0
LVL 64

Author Comment

by:Joe Winograd
You're welcome, Andrew, and thanks back at you for your enhancement suggestions...definitely made the program better! Thanks, too, for the Endorsement and Approved accolade...both very much appreciated! Regards, Joe
0
Expert Spotlight: Joe Anderson (DatabaseMX)
LVL 13
Expert Spotlight: Joe Anderson (DatabaseMX)

We’ve posted a new Expert Spotlight!  Joe Anderson (DatabaseMX) has been on Experts Exchange since 2006. Learn more about this database architect, guitar aficionado, and Microsoft MVP.

How to download number of Views, Endorsements, Points for Experts Exchange Articles and Videos--Demo
My 100th publication here at Experts Exchange is an article that presents a program called ArticlesVideosEE, which is able to download the Title, Views, Endorsements, and Points for each article and video whose link is in a list. You may read the article here:

How to download number of Views, Endorsements, Points for Experts Exchange Articles and Videos

This video Micro Tutorial is a supplement to that article, providing a demonstration of the program.

1. Download and install AutoHotkey


If you do not already have AutoHotkey installed, read this EE article:

AutoHotkey - Getting Started

Follow the instructions in that article to download and install AutoHotkey.

2. Download the ArticlesVideosEE program


If you have not yet downloaded the ArticlesVideosEE program, read my EE article:

How to download number of Views, Endorsements, Points for Experts Exchange Articles and Videos

Download the ArticlesVideosEE program attached at the bottom of that article.

3. Create a plain text file with the URLs of your EE articles and videos


Following the instructions in my article, use Notepad (or whatever text editor you prefer) to create a file with the URL list (each article/video URL on a separate line).

4. Run the ArticlesVideosEE program


In Windows/File Explorer (or whatever file manager you use), double-click the ArticlesVideosEE.ahk file to run it.

The above works because a standard installation of AutoHotkey (done in Step #1) associates the .AHK file extension with the AutoHotkey program.

Respond to the Browse For Folder prompt to navigate to the folder where you want the Results file stored.

Respond to the Browse For File
2
LVL 28

Administrative Comment

by:Andrew Leniart
I find this so useful to EE members that I've decided this is worthy of an Approved accolade Joe.

Congratulations and keep up the great work.

Regards,

Andrew Leniart
Experts Exchange Senior Editorial Editor
Private Message Me
0
LVL 64

Author Comment

by:Joe Winograd
Hi Andrew,
Thanks for the kind words, Endorsement, and Approved accolade...all very much appreciated! Regards, Joe
0
Check for and download updated file - Example - FileZilla
In a question here at Experts Exchange, a member posted this requirement:
Script to Download a File Daily if file changes or updates.
Through an exchange of posts, we clarified the requirements and decided to use the latest version of the popular FileZilla product as the test case. The solution that I present in this video Micro Tutorial is specific to FileZilla, but with minor tweaking, the method will work for other products at other sites.

I wrote the script in the AutoHotkey scripting language. If you are not familiar with it, this Experts Exchange article will get you going on it:

AutoHotkey - Getting Started

The video and the script do not address the issue of daily checking. This is easily achieved by running the script as a task in the Windows Task Scheduler, with a Trigger set for every day (or whatever frequency you want). If you are not familiar with the Task Scheduler, this EE article will get you started on it:

How to use the Windows Task Scheduler - An Introduction

1. Download and install AutoHotkey


Read this Experts Exchange article:
AutoHotkey - Getting Started

2. Download the DownloadLatestFileZilla script


Download the plain text DownloadLatestFileZilla.ahk file attached to this Step.

Use a text editor to change the DownloadFolder:="X:\FileZilla\" assignment statement to have the location that you want.

DownloadLatestFileZilla.ahk

3. Run the DownloadLatestFileZilla script


In Windows/File Explorer (or whatever file manager you use), double-click the DownloadLatestFileZilla.ahk
1
On-Screen Display for CapsLock State (On or Off) - Enhanced
In a previous video Micro Tutorial here at Experts Exchange, I presented my CapsLockOSD program, which is a utility that constantly shows the state of the CapsLock key (ON or OFF) in the system tray. This video Micro Tutorial presents a modified version of CapsLockOSD with two enhancements: (1) the ability to create a stand-alone executable (an EXE file) that can run on a system without AutoHotkey installed and (2) an option to run automatically whenever Windows starts. If you do not require either of these new features, you may stick with the previous version of the program.

Note: The video does not demonstrate how to compile the AHK source code into an EXE file, so I've included Steps 5 and 6 below to explain that.

1. View previous EE video Micro Tutorial


This video assumes knowledge of the previous video. Please view it here:
On-Screen Display for CapsLock State (On or Off)

2. Download the enhanced CapsLockOSD program and the icon files


Download the plain text CapsLockOSD.ahk file attached to this Step.

Download the CapsLockOSD.ico, CapsLockOFF.ico, and CapsLockON.ico icon files attached to this Step.

Put all four files in the same folder.

CapsLockOSD.ahk
CapsLockOSD.ico
CapsLockOFF.ico
CapsLockON.ico

3. Test the previous features


Test all the features of CapsLockOSD as shown in my previous video to confirm that they all work correctly in this enhanced version.

4. Test the new feature that starts CapsLockOSD with Windows


Right-click the CapsLockOSD icon, then left-click Start with Windows.

Right-click the CapsLockOSD icon again and confirm that the Start with Windows menu item is checked.

Restart Windows and confirm that CapsLockOSD is running.

5. Compile the CapsLockOSD program

1
On-Screen Display for CapsLock State (On or Off)
In a thread here at Experts Exchange, a member posted this question:
I use a wireless keyboard. I need a utility that will constantly display the state of the caps lock key on my monitor. ... Can anyone recommend a program that will accomplish this for me?
The AutoHotkey program that I present in this video (called CapsLockOSD) accomplishes the task.

Update on 19-May-2019: I enhanced CapsLockOSD with two features: (1) the ability to create a stand-alone executable (an EXE file) that can run on a system without AutoHotkey installed and (2) an option to run automatically whenever Windows starts. If you require either of these new features, please visit my new video Micro Tutorial:

On-Screen Display for CapsLock State (On or Off) - Enhanced

However, please view this video first, as it lays the groundwork for the new video. Of course, if you do not require either of the new features, you may stick with the version presented in this video.

1. Download and install AutoHotkey


If you do not already have AutoHotkey installed, read this Experts Exchange article:
AutoHotkey - Getting Started

2. Download the CapsLockOSD program and the icon files


Download the plain text CapsLockOSD.ahk file attached to this Step.

Download the CapsLockOFF.ico and CapsLockON.ico icon files attached to this Step.

Put all three files in the same folder.

CapsLockOSD.ahk
CapsLockOFF.ico
CapsLockON.ico

3. Run the CapsLockOSD program


In Windows/File Explorer (or whatever file manager you use), double-click the CapsLockOSD.ahk file to run it.

The above works because a standard installation of AutoHotkey (done in Step 1) associates the AHK
0
How to add custom Run command to Notepad++ for AutoHotkey and other programming/scripting languages
In a recent question here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video Micro Tutorial shows how to do it by adding a custom Run command to NPP. The method may easily be extended to any programming/scripting language that is callable via the command line with a parameter for the source code file name. A second example of this technique is included in the video for running a batch file (.BAT) in NPP.

1. Click the Run menu, then click the first item — Run...


After running NPP and performing the actions above, you will have this dialog:

Step1

2. Browse to the AutoHotkey executable


Click the ... button and navigate to AutoHotkey.exe, which is in C:\Program Files\AutoHotkey\ in a standard installation (but may, of course, be in a different folder on your system).

Step2

3. Add a parameter for the full path of the file in the current tab


You will now have this dialog box:

Step3a
Go to the end of the AutoHotkey.exe file name in the box and add this (including the quote marks):

"$(FULL_CURRENT_PATH)"

Be sure to make it all upper case.

Step3b

4. Save the new Run command


Click the Save... button, which gives you this dialog:

Step4
Give the new, custom Run command a name (I chose AHK in the video) and assign it to a hotkey (if you wish) by ticking CTRL and/or ALT and/or SHIFT, then one of the keys in the drop-down. When you have an OK button that is not grayed out, click it, then click Cancel to close the dialog.

5. Repeat Steps 1-4 for other programming/scripting languages


The video shows how to do it for batch (BAT) files, namely:

cmd /c "$(FULL_CURRENT_PATH)"

You may, of course, do it for other programming/scripting languages.

Step5
2
LVL 19

Expert Comment

by:Kyle Santos
Nice.  I use AutoHotKeys and NotePad++ and they're great programs for what I do at my job.  Good video, Joe!
0
LVL 64

Author Comment

by:Joe Winograd
Hi Kyle,
Thanks for the compliment and the endorsement — both very much appreciated! Regards, Joe
0
Installing EGit on Eclipse
This video will show you how to get GIT to work in Eclipse.  

It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
3
Introduction to C++: Vectors - Clearing and Detecting Empty Vectors
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
1
LVL 30

Expert Comment

by:pepr
I suggest to switch to Visual Studio 2013, and start with the C++11 features. They make C++ much nicer also for beginners.

Related to the presentation, a vector initializer can be used, the new form of the for loop can be used (no hardwired numbers needed).
0
Introduction to C++: Functions - The Return Statement
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
0
Introduction to C++: Functions - Passing by Value vs Reference
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Both concepts will be explained as well as the consequences of each method.
0
Starting with Angular 5
LVL 13
Starting with Angular 5

Learn the essential features and functions of the popular JavaScript framework for building mobile, desktop and web applications.

Introduction to C++: Functions - Defining, Calling, Prototypes
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor and compiler. Sample code will be presented in addition to commentary while the code is written.
1
Exception Handling (Part 1: Introduction)
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
0
Installing VisualVM Launcher in Eclipse
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
0
Singleton Design Pattern
The viewer will learn how to implement Singleton Design Pattern in Java.
0
Basic Switch Statements in C
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.
0

Programming Languages-Other

19K

Solutions

19K

Contributors

A programming language is a formal constructed language designed to communicate instructions to a machine, particularly a computer. Thousands of different programming languages have been created, mainly in the computer field, and many more still are being created every year. The description of a programming language is usually split into the two components of syntax (form) and semantics (meaning). Some languages are defined by a specification document (for example, the C programming language is specified by an ISO Standard), while other languages (such as Perl) have a dominant implementation that is treated as a reference. Some languages have both, with the basic language defined by a standard and extensions taken from the dominant implementation being common.