7plus V. 2.5.0 - Improve Explorer/Win, Launcher, Automation
F1:: cf:=GetSelectedFiles() msgbox, %cf% returnso I included all needed files and it compile correctly. Then, when I start the script with the code above, I get an empty message and not the selected files in explorer.
I also included these lines in the script
GroupAdd, ExplorerGroup, ahk_class ExploreWClass GroupAdd, ExplorerGroup, ahk_class CabinetWClass GroupAdd, DesktopGroup, ahk_class WorkerW GroupAdd, DesktopGroup, ahk_class Progman ;Progman for older windows versions <Vista GroupAdd, TaskbarGroup, ahk_class Shell_TrayWnd GroupAdd, TaskbarGroup, ahk_class BaseBar GroupAdd, TaskbarGroup, ahk_class DV2ControlHost GroupAdd, TaskbarDesktopGroup, ahk_group DesktopGroup GroupAdd, TaskbarDesktopGroup, ahk_group TaskbarGroup
Should I execute some initialization code?
You probably need to include navigate.ahk and COM.ahk.
In a later version you will probably be able to do this directly in 7plus without writing own code, but that will take a few more months probably.
If you want this to work in file dialogs, you need to define Vista7.
It adds tabs for windows explorer and customizable, context-sensitive hotkeys. They can be used to create application-specific hotkeys, and you may also specify "intelligent" parameters, such as the selected files or the current path in explorer. This allows it to create hotkeys to launch selected files in specific programs (like editors, diff tools, svn, compiler,...). There is also support for filenames extracted from the titlebar of any program.
Apart from that there are also some more new features and lots of bugfixes.
For a more complete list of changes, please see the changelog
Download it here !
I now implemented an event-based system that allows to modify nearly all features (change hotkeys etc) and create your own features without writing a single line of code!
There's probably also some interesting things in the code for other users, an example being the structure of the events system, or a tiny xml parser/writer I wrote since xpath was too slow for me and I didn't need most of its features. The one I wrote only supports the most basic <key>value</key> like syntax, but it is very fast (somewhere between 1-3 orders of magnitude faster, didn't measure) and easy to use. It just needs/ouputs an object representing the XML structure.
Get 7plus here!
Perhaps add [ahk_l] to your post title because it is a bit hidden in your first post (at the end and if you just want to try and download it you won't see it)
True, 7plus requires Autohotkey_L. I would recommend it to anyone doing something more advanced, mainly for #if and object/array support, but also if you need unicode and 64bit functionality.
The next version of 7plus is here. It improves the event system by a few things such as categories for the events, making it much smoother to handle.
The biggest change, however, is the new Accessor tool. Think of it as a launcher similar to programs like Launchy or Exekutor, but with many very useful plugins already integrated. It can run programs, switch windows, uninstall programs, do all kinds of web searches, browse the file system, do calculations and unit conversions, show weather forecast, take notes and much more!
Read the full news here