topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • February 23, 2019, 06:55 PM
  • Proudly celebrating 13 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Maestr0 [ switch to compact view ]

Pages: [1]
1
N.A.N.Y. 2019 / NANY 2019: Shorthand 3_2
« on: December 19, 2018, 04:00 AM »
NANY 2019 Entry Information

Application Name Shorthand 3_2
Version 3.2.0.37
Short Description Shorthand is a wrapper for Voidtools' Everything program, which is basically a search program.
"Everything" uses the NTFS Index files, so finding files with filenames is practically instantaneous.
Shorthand can be compared to Find And Run Robot, which every user of this website should be familiar with.
Supported OSes Windows
Web Page Earlier iteration: https://github.com/JohanKlos/shorthand3 (will upload to github later)
Download Link https://www.dropbox....2.0.37_full.zip?dl=1 (auto-updater included)
System Requirements
  • Windows (32 and 64 bit supported)
  • To find all files, admin privileges are required
  • For certain plugins admin privileges are required
Version History
  • 3.2.0.37:
    - fixed: when typing a short search it would freeze in a certain order, and then re-order. If the user pressed Enter during that time, the new top option would be run, instead of the earlier top hit.
    - fixed: editing plugins was not working right, thanks to Cap'n Od'n's help, this was fixed
    - fixed: lowered max_results from 10,000 to 1000
    - added: warning when max_results are 10,000 or over
    - fixed: loop adding plugins to GUI and tray were not limited to sh3_plugin_*.ahk which resulted in extra lines of non-plugins
    3.2.0.36:
    - added: sendraw option
    - added: gui_settings_add_plugins() will now write the version numbers of the plugins to the .ini file
    - added: #MaxThreadsPerHotkey 3
    - added: check for updates on startup also updates the plugin versions
    - fixed: scoring now works for subfolders of systemfolders
    3.2.0.35:
    - fixed: faulty interrupting search on enter
    - fixed: when clicking a checkbox in gui_settings it would make the GUI lose focus
    - fixed: made gui_main the +owner of gui_settings so gui_settings would always be on top of gui_main
    - added: increased settimer to do search after 250 ms, instead of 100 ms
    - added: {blind}{Raw} to send and password sends
    3.2.0.34:
    - changed: history will search from the first character, search from the second
    - fixed: prevented error when user presses enter when there are no results visible
    - added: checking if user did not allow Everything to start as admin
    - fixed: better search interrupting if user is still typing but app_es is still searching
    3.2.0.33:
    - added: settings: plugin system: checking/unchecking to enable/disable plugin
    - fixed: filter_ext wasn't working correctly, now it does
    - added: a simple/advanced option for the main search window
    - fixed: filtered count was wrong
    - fixed: toggling Extensions and Hide Folders now works
    3.2.0.32:
    - fixed: added score lists to variables for use in gui_settings
    - added: populated the gui_settings menu
    - added: more translations for the gui_settings
    - added: click/right-click to turn off splash
    - add: autostart with windows option (makes .lnk file when 1, and removes .lnk file when 0)
    - fixed: when starting a .bat file, the workingdir wasn't set correctly, now it is (also changed runasadmin to accomodate)
    3.2.0.31:
    - fixed: pressing down while there are no hits no longer shows an error
    - fixed: gui_move detected movement in the GUI_Settings, which was not intentional
    - added: treeview responsiveness in GUI_Settings
    3.2.0.30:
    - added: Spotify to search engine list
    - fixed: issue where edit of ini files and txt files would not work properly from the Tray menu
    - fixed: CTRL-Space now sets focus on search edit-control, also when GUI already has focus
    - fixed: password encrypting/decrypting issue (bad variable name on my part)
    - added: when typing while everything is not working, the hits from history are still shown
    3.2.0.29:
    - added: Spotify to search engine list
    - fixed: issue where edit of ini files and txt files would not work properly from the Tray menu
    - fixed: CTRL-Space now sets focus on search edit-control, also when GUI already has focus
    - fixed: password encrypting/decrypting issue (bad variable name on my part)
    3.2.0.28:
    - fixed: misc issues (fixed wrong var, optimized logging)
    - added: saving alternative name to the ini file, for the updater script
    - added: interrupt previous searches if the user is still typing
    - added: doubleclick ability in the listview to start a program
    - added: default scoring so if it's not set it won't throw an error
    3.2.0.27:
    - added: password functionality
    - added: password auto-log off after A_TimeIdlePhysical > xx minutes
    - added: GUI positioning so it's never outside of monitor work area
    3.2.0.26:
    - fixed: app_everyting and app_es would not be set correctly without a download, now fixed
    3.2.0.25:
    - fixed: GUI not saving location when it's hidden
    - fixed: Everything and ES not starting correctly
    3.2.0.24:
    - changed: debugging log-file now made to sort(_,"U") before appending
    - changed: removed ~ before the script-only up/down hotkeys
    - fixed: the everything service wasn't run properly all the t
    - changed: app_es can now be set via the ini file
    - fixed: gui_clear would grab focus, now fixed
    - added: app_everything_onlywithscript allows for user to automatically close app_everything if it was started by the script
    - changed: added super-global variables app_name, app_ver, and ini_file
    3.2.0.23:
    - changed: debugging log-file now made to sort(_,"U") before appending
    - changed: removed ~ before the script-only up/down hotkeys
    - fixed: the everything service wasn't run properly all the t
    - changed: app_es can now be set via the ini file
    - fixed: gui_clear would grab focus, now fixed
    - added: app_everything_onlywithscript allows for user to automatically close app_everything if it was started by the script
    3.2.0.22:
    - added: saving of both edit and checkbox fields of the Settings GUI
    - added: splash image and ini setting
    - changed: less non-vital logging (Fade in/out) and added timestamp to log
    - changed: finiread() has been adjusted so it will make an ini-entry for whatever entry does not exist
    3.2.0.21:
    - fixed: update system threw an empty msgbox
    - added: listview doubleclick opens the file that's being doubleclicked
    - fixed: update on startup was changed by the following settimer, now fixed
    - added: menu, tray to include open GUI, open Settings, Reload, debug options
    - changed: removed checks in update function
    3.2.0.20:
    - added: listview contextmenu more populated
    - fixed: logging more precise
    - added: update message in main statusbar
    3.2.0.19:
    - changed: when doing a manual check for updates: show a msgbox when there aren't any updates
    - added: debug subfolder to the GUI Settings Help menu
    3.2.0.18:
    - added: language function (later to load an external file, possibly)\n
    - fixed: recent history counted also when lines were not added\n
    - added: right-click menu to listview to remove a line from history (disabled if the line is not in the history)\n
    - changed: .ini makeup in regard to scoring, added a function to do iniread and write if it's not found\n\n
    3.2.0.17:
    - added: update msgbox only when script has focus
    - added: option in ini_file to not have GUI grabbing focus on start (gui_on_startup_noactivate). Default: on
    - fixed: recents would show after fade(in) even if search field was filled
    - fixed: listview was.... vertically challenged ... if there were just two rows
    3.2.0.16:
    - fixed: update check checked scripts in ./tmp/ which should have been ignored
    - fixed: searching for "?wordsearch" now correctly defaults to the default search engine
    - fixed: added LV.Delete() to recent list population so doubles are prevented
    3.2.0.15:
    - automatically empty the GUI after 30 seconds
    - fixed error where a file would be created when searching if the A_ScriptDir had a space in it
    - changed: listview based on number of entries (with a maximum of 20 rows, or h350)
    - fixed: if the hotkey to show the main GUI was executed while the GUI was visible, it'd fade back in, now it works correctly
    - edited: the main script can now have a different name and still be updated by the script updater
    - fixed: listview resizing would give error if row was 0
    3.2.0.14:
    - fixed a scoring not being applied issue
    - added save GUI position
    - added moving to the GUI
    - changed: add extra scoring history/recents for sorting (more recent files to get a higher score)
    - changed: updatecheck frequency in ini_file
    - changed: StrReplaced websearches for [email protected]#$%^&*()_+
    3.2.0.13:
    - added alternate search options (? > search google, ?w > search wikipedia, ?i > search imdb)
    - added statusbar icon and text when doing an alternate search option
    - added "Last Modified" option (0 by default, requires use_history to be 1) to show history lines when the GUI is started
    - added "score_system" to the scores, 25 points, so hits in in A_MyDocuments and A_Desktop appear higher in the list
    - added "filter_folders" option (1 by default) to filter folders from the shown results
    3.2.0.12:
    - added option to auto-show the GUI on startup (1 by default)
    - fixed some issues when A_ScriptDir had spaces in it
    - fixed some delaying functions on bootup: moved to settimers
    - add method to get around default filter (.png "search option" > would show the "search option".png files, regardless of the filter)
    3.2.0.11 and before:
    - lost in the mists of time
Author https://github.com/JohanKlos


Description
Shorthand is a wrapper for Voidtools' Everything. It adds functionality to it that I was missing.

Features
There's a LOT of features. The screenshots should give you a good idea, but here are some:
Scoring of results, filtering results, encrypt/decrypt strings for sending, plugins for miscellaneous purposes, etc, etc.

Planned Features
What features are you planning to implement in the future?
   - add: names from custom files
   - add: include files to tray menu
   - check: last run not updating correctly
   - add: add "last run" in history column
   - add: add logging change to gui_settings
   - add: score in GUI_showresults_history
   - add: ignorelist
   - add: create plugin button ... maybe using using ahk-studio or something?
   - add: change logging from a function to a class
   - add: "magnetic" GUI placement: when within 10px from the edge of the screen, snap to it
   - add: option to disable "run as admin" : this would stop "_admin" plugins from loading as well
   - add: click the status bar to allow for hiding/showing filtered entries
   - add: allow user to define which extensions to add to history
   - add: allow user to define maximum of history entries
   - tray message also to update when busy updating (and a settimer to keep that updated)
   - first-run tutorial
   - limit log variable to last 500 lines
   - allow for resizing of the GUI (tricky, as AHK adds weird borders when +resize is on)
   - use COM to use IE when searching google, so it can show titles and links in the hitlist ; wget -U "Firefox/3.0.15" "http://www.google.co...q=wget+google+search" -O- -q 2>&1 | grep -E -o -e "<cite>[^<]+</cite>" | sed -r -e "s/<[^>]+>//g"
   - first-run explanation if there's no internet connection
   - about
   - settings: add GUI for custom hotkeys
   - add searching inside
   - add icons to the listview
   - everything automatisch afsluiten en opstarten en verbergen toevoegen aan opties (Everything.ini aanpassen)
   - alternative searching system
   - add option to start app with Windows (app_autostart)
   - option to list the recent files alphabetically instead of by score/date

Screenshots
7LSgXZu.pngmKQjAfk.png
album: https://imgur.com/a/xTSWw2m

Usage
Installation
Unzip in a new folder, retaining the folder structure.
Run shorthand3_ahk2.ahk with autohotkey v2 (if you don't have it installed, you can use the included start.bat file, this will start the script with ./app/AHKv2_x32.exe.
The application will ask you once to be run as admin, this is so "Everything" can find all files.
On first run, the Everything application will build a database, which can take about a minute on most systems. After that, you shouldn't notice it updating that database.

Using the Application
Control-Space will open the main GUI. If you start typing, results should start appearing in the field below it. Pressing Enter will open the top result.

Uninstallation
The program installs no programs or services, uninstalling is done by simply deleting the folder it was unzipped to.
The possibly exception to this is the startup .lnk file, if the user selects to start Shorthand on Windows startup.

Tips
Up and down arrows can be used to go through the list of results.

Control-Alt-Space will open the settings GUI, where you can adjust miscellaneous settings.

There are several Search Engines installed by default, you can find them in Settings > Program Options > GUI > Search Results.
You can use a search engine by pressing Control-Space and typing ? followed by the letter assigned to the search engine. For example: "?w DonationCoder" will open Wikipedia and search for "DonationCoder". "?i Batman Begins" will open IMdb and search for Batman Begins.

If you want to search for files with specific extensions, you can do this (it will override any extension filters): ".txt text". This will search for any file with text in it, with the .txt extension.

Known Issues
It is very much a work in progress, and there is certainly room for improvement, but I use this script every single time I'm on my computer. It does what I need it to.
Some functionality is still missing and/or unpolished, I'm working on it :)

2
Unfinished Requests / IDEA: network detection
« on: February 10, 2010, 08:39 AM »
I'm looking for something that detects when network connection is achieved with a certain network.
That can be handy to do certain things, like sync, make/unmake networkmappings, etcetera.

For now I've been doing something like below in a settimer:

RunWait , %comspec% /c ipconfig > %A_Temp%\ipconfig.txt, , Hide UseErrorLevel
FileRead , ipcnfg , %A_Temp%\ipconfig.txt
FileDelete %A_Temp%\ipconfig.txt
if ipcnfg contains %DNS_suffix%
network = 1
else
network = 0

Any thoughts?

Pages: [1]