|
Use with caution. These public beta programs contain new fixes and new features that haven't been fully tested. I need you to tell me if you find any problems with these program or even if the changes listed work as you expect. |
ArsClip Backup Issue
I'm working with a user that had an install where his backups of the clip database would be corrupted in the ZIP file. The current Public Beta is updated to do a checksum of the files after the ZIP is created.
For users that have backups, I ask you to open the ZIP file and "verify/test" your older backups. You'll need to use a ZIP program that has a verify option, or you'll need to extract all the files to a temporary location. I need to find if someone has the same issue, so I can figure out a way to reproduce it.
ArsClip Current Beta (Test 2)
This was a lot of work. The macro engine had to be re-vamped to support the new RUNCLIP command. This command will run any Permanent Clip before or after the current clip, so there is a minor limitation.
In JavaScript clips, you can execute AC macros using a convenience label system or by using the manuallyExecuteMacro() function. The new RUNCLIP command lets you call any type of clip to execute. So, you could run a JavaScript clip from an AC Macro. This lets you technically combine plain text with pictures and other formatted text. From a JavaScript macro, you could also use the RUNCLIP command to execute other Permanent Clips.
Nesting is supported. You can create a clip that uses RUNCLIP and the clip you run could also use RUNCLIP, and so on. Currently, there's no cyclical checking - so beware of infinite loops.
AC will do its best to optimized these clips. Clips will run faster if they can be combined into one big clip instead of running each clip separately. Only Plain Text and other Macros are candidates for optimization; JavaScript, Pictures, and Formatted Text are not. If a macro uses specific pasting features (like Mimic or Clipboard Only), it cannot be combined.
A clips specific paste settings will not override another clips settings. If you use Clipboard Only in the current clip, it will not cause all run clips to use this mode.
There's also an undocumented [INLINECLIP="Group\Clipname"] command that will let you run a clip at a very specific part of the macro instead of Before or After. This is also not optimized.
Current Beta Roadmap
Rename Master is getting ready for an official release. It's been in beta for a long time, since there weren't many changes to the program to warrant a new release. The last beta fixed a freeze issue, so I figured this would be a good time for a new release. Unless new issues are found, the current build will be the official release.
I've a few ideas for an ArsCip update to help with outside automation and scripting. The problem with these ideas is they're very niche and for advanced users. I wouldn't use the features, but I could see how they could be useful.
The first idea is to add a command line parameters to execute a Permanent Clip/Macro. Currently, the only way for outside programs to trigger AC is to simulate a global hotkey associated with a clip. Having a command line parameter option would be less limiting.
The second idea is to add a command to execute another script before or after the current script. This would help to reduce clutter in macros that perform common tasks. You could chain together several clips, so this would take some work to figure out.
ArsClip Pending Release
The current Public Beta of ArsClip is likely to be an official Release soon. I was waiting for some new features to be added first, but it's been a long time since an official release.
More Rename Master Tweaks
There's a small tweak to the Remove/Replace Expression step that makes incredibly more flexible. When in Remove mode, you can now specify which parts of the expression to remove. By default, all parts are removed.
In the above example, it will find anything between parenthesis and only remove the middle part. For removal options, it can remove all parts, one part, or all but one part.
Rename Master New Renaming Option
It's been a while since I found a renaming option that RM didn't support. Above is the new Replace/Remove Between feature.
This was a request from a user to "remove text between (something) and (something else)". The "Remove Expression" Renaming Step could do the task, but it would also remove the conditional phrases. While the Full Regular Expression support was able to do the task, this feature was common enough that I feel RM should support directly. Regular Expressions are also complicated and for very advanced users.
The current Public Beta includes this update and a fix for the "before and including" option of the Renaming Step.
ArsClip Exception when Exiting
The latest Public Beta of ArsClip adds sequence information to the debug log when exiting the program. I'm currently trying to track down an intermittent issue that can cause an exception during shutdown.
Previously, during the finalization of the program, the debug log information would be cleared when the debug window was destroyed. The debug log has been updated that it is the last to be finalized.
EDIT: This issue has been fixed in the next Public Beta upload (Test 17).
Text Inspector and JavaScript
I've updated the Text Inspector window with a JavaScript section. This is designed to auto-generate code for the selected control to use in a Permanent Clip/Macro. The current two functions are "clickInWindow" and "focusControlByPath".
The clickInWindow() function is designed to click inside a specific top-level window using coordinates based on the top-left of this window. As long as the control is always located in the same location on the window, the relative coordinates will always click the same location independent of the top-left position of the window. The "ClassName" of the window is used to specify which window to focus. The simulated mouseclick can either set focus on a control or activate a control like a Button.
The focusControlByPath() function uses a relational path to navigate to specific control by ClassName/id instead of a coordinate location. The control is then given "keyboard focus". Windows controls have a designed parent>child relationship, similar to folders on a hard drive. The path string is similar to the full path name of a file.
Both functions may fail for specific programs if the window dynamically changes the location or the parent>child relationship of controls.
The Edit Permanent Clip window has a new [JavaScript > Text Inspector] section. This is mainly used for reference, but a programmer may be able to manually set the parameters of these functions.

