AutoHotkey Applications by Jack Dunning

AutoHotkey Applications by Jack Dunning

Author:Jack Dunning [Dunning, Jack]
Language: eng
Format: epub
Tags: Programming, Windows - General, Graphic User Interface, intermediate, free software, script writing, GUI, tutorial, guide, Microsoft, how-to, Software, Operating Systems, AutoHotkey, Windows Desktop, Windows, Computers & Technology, Utilities
Amazon: B00KAAM7C4
Publisher: ComputorEdge E-Books
Published: 2014-05-11T00:00:00+00:00


Figure 3. This is a view of the copied text in Google Chrome. There are numerous new lines in the copied text which vary depending upon which Web browser is used.

While the data from Internet explorer is not formatted identically to that from Google Chrome, all of data keys are located in a way that the subroutine will retrieve the proper data with the code as explained in the original introduction of the Calorie Count app. I'm sure that it would be possible to make formatting identical, but it may not be worth the effort.

If you look through the current version of CalorieCount.ahk found at the download site, you'll see a number of places where carriage returns (`r) and/or line feeds (`n) may be stripped out, eventually adding the complete set (`r`n) back to the end of each line. This is done to ensure that the data is clean and readable in virtually any program. It may be overkill, but each time I added the code it was done for a reason, although I may not remember each incident.

The following portion of the script shows the code additions discussed in context with the import routine. See the CalorieCount.ahk file available at the ComputorEdge AutoHotkey Dropbox download Web site in the CalorieCount.zip file for the entire script:

^#!c:: ;Import food items from caloriecount.about.com



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.