Author |
Topic |
|
Rob
USA
2615 Posts |
Posted - 06/21/2012 : 14:26:06
|
********************************************************** This is a Beta release, use at your own risk and make sure to back up your StrokesPlus.xml file. If you're new to S+, install 2.0.3 first, then replace the EXE and DLL with the contents of this release. **********************************************************
32-bit:
Portable/ZIP Download - Changed Files Only: http://www.strokesplus.com/files/StrokesPlus_2.0.5_x86_chg.zip
64-bit:
Portable/ZIP Download - Changed Files Only: http://www.strokesplus.com/files/StrokesPlus_2.0.5_x64_chg.zip
Change Log:
2.0.5 (Beta) - Same as before, report bugs starting with [BETA]. - Added acShowSettings() to open the new settings window to whichever tab it was last at. The existing acShowPrefs(), etc. actions still function as you would expect - Note that certain actions, especially those using acSendMessage, acPostMessage, and acSendKeys, used on the S+ window may cause very unpredictable behavior - Set S+ as DPI-aware. This was supposed to override DPI settings and seems to do so on Win XP, but not Win 7. However, it's usable at 125% and 150% so I'm not going to pursue for now. - Proper Settings tab is now selected when you call a action which sets a different tab as the active one and the Settings window is already open - Do not create an action that uses the mouse wheel when Fire on mouse wheel is enabled to call acShowSetting(), it causes problems and leads to S+ not capturing gestures until re-opened - Hopefully fixed a race condition which caused the image list in Actions and Actions Report to sometimes collide, leaving the wrong gesture thumbnail size in one of the tabs. Turns out it didn't fix it..worst-case scenario for now, just close and re-open the window and the thumbnails should be fine...if not, let me know, otherwise I'm going to keep working on it. - Added Action Active, Application Active, and Rule Active for Applications, Actions, and Ignored Actions. Note that if you manually tinkered with StrokesPlus.xml relating to the enabled attribute, you could have unexpected behavior. I would recommend backing up your StrokesPlus.xml file, opening up Settings and deleting any old apps/actions and duplicates (dupes will cause very unprediectable behavior). In theory, this shouldn't be an issue for nearly everyone, but just so it's said. Disclaimer out of the way, this new feature lets you disabled a whole app, an action, or an ignored rule so you can keep them around but turned off. The checkboxes are in the lower right for apps/actions, and below the Global checkbox for ignored windows - Note that the Actions Report window only shows ACTIVE actions - Changed the logic for New/Rename/Delete Gesture to be in line with the overall Settings window Apply/OK/Cancel logic. Now, nothing changed via the Settings window nor tray menu is saved to your config file unless you click OK in the Settings window, click OK on the Gesture Name window while in Training Mode (not while creating a new gesture from the Settings window), or Exit S+ normally. Clicking Apply simply applies the settings in memory, but does not save your config file. This allows you to make all kinds of changes in the Settings window, but not actually commit anything to disk unless you do one of the 3 steps listed above. This also means you can click Reload Config and Lua Engine from the tray menu to revert the settings to what's saved in your config; again, assuming you haven't performed any of those 3 steps. - Clicking Cancel in the Settings window reloads the config file from disk; so if you've been in and out of the window, made new gestures (via clicking New, not via Training Mode), etc. but never performed one of the 3 steps, they will be lost since clicking Cancel would seem to indicate you want to abort all changes. However, clicking the X to close Settings does NOT perform a reload from disk, for whatever that's worth to know. That gives you the option to Apply the setting, not save it, and not cause a reload of your config file. - Added language.Actions.Application.Active for new checkbox - Added language.Actions.Active for new checkbox - Added language.Ignored.Active for new checkbox |
|
Andreasvb
Sweden
46 Posts |
Posted - 06/21/2012 : 14:45:53
|
Wow, really nice to see the progress.
Unfortunately it seems to crash when loading Preferences or Actions with my previous xml. Works with blank xml.
quote: Problem signature: Problem Event Name: APPCRASH Application Name: StrokesPlus.exe Application Version: 2.0.5.0 Application Timestamp: 4fe363a5 Fault Module Name: StrokesPlus.exe Fault Module Version: 2.0.5.0 Fault Module Timestamp: 4fe363a5 Exception Code: 40000015 Exception Offset: 000000000001ab85 OS Version: 6.2.8400.2.0.0.256.48 Locale ID: 1053 Additional Information 1: 9274 Additional Information 2: 92740463c3ab03f68eb099375727605b Additional Information 3: e1a1 Additional Information 4: e1a1e621a8af7eb93c280cfeaadc071c
Edit: Seems my old was a bit bigger, can't post it here.
Old: 184 kB New: 2 kB
Guess I have to redo it from scratch (just copy the code from the old, should work).
|
Edited by - Andreasvb on 06/21/2012 14:52:18 |
|
|
Rob
USA
2615 Posts |
Posted - 06/21/2012 : 14:50:10
|
Can you email your previous config rob at strokesplus?
I have some work (actual job!) to do, so I may not get a chance to look into this until tomorrow or the weekend.
Again everyone, this is why you need to back up your configs, just in case! |
|
|
Hax
128 Posts |
Posted - 06/21/2012 : 14:51:19
|
I have the same problem. |
|
|
Andreasvb
Sweden
46 Posts |
Posted - 06/21/2012 : 14:57:04
|
I put it here, http://paste2.org/p/2057622
Update:
I remade my config to work with the new version. Copied my settings then made everything from scratch.
New, working xml: http://paste2.org/p/2057676
Here's my human readable settings:
StrokesPlus.xml:
-- Global Actions
- Always On top toggle ( ^ )
acToggleTopmost(nil, gsx, gsy)
- Configure Actions ( C )
acShowActions()
- Explorer ( E )
acRunProgram("c:\\windows\\explorer.exe","",0, 0, 500, 500, 2)
- Task Manager ( RD )
acRunProgram("c:\\windows\\system32\\taskmgr.exe","",0,1)
-- Chrome (pattern: Maxthon.exe|chrome.exe|iexplore.exe )
- Back ( L )
acSendKeys("{DELAY=50}{BROWSERBACK}")
- Chrome TM ( DL )
acSendKeys("+{ESC}")
- Close Tab ( DR )
acSendKeys("{DELAY=50}^w")
- New Tab ( D )
acSendKeys("^t")
- Next Tab ( R )
acSendKeys("{DELAY=50}^{TAB}")
--acActivateWindow(iHandle, nil, nil)
- Open Link in New Window ( LB + U )
acSendControlDown()
acMouseClick(gsx, gsy, 2, 1, 1)
acSendControlUp()
acMouseMove(gex, gey)
- Previous Tab ( U )
acSendKeys("{DELAY=50}^+{TAB}")
--acActivateWindow(iHandle, nil, nil)
- Refresh ( UD )
acSendKeys("{DELAY=50}{BROWSERREFRESH}")
- Scroll Tabs Left ( Scroll D )
acSendKeys("{DELAY=50}^{TAB}")
- Scroll Tabs Right ( Scroll U )
acSendKeys("{DELAY=50}^+{TAB}")
- Select Omnibox ( LR )
acSendKeys("^l")
- Stop ( Shift D )
acSendKeys("{DELAY=50}{BROWSERSTOP}")
- Toggle Fullscreen ( RL )
acSendKeys("{F11}")
StrokesPlus.lua:
function sp_before_action(gnm, gsx, gsy, gex, gey, gwd, gapp, gact)
if gact == "Chrome TM" then
else
acActivateWindow(nil, gsx, gsy)
end
end
function sp_after_action(gnm, gsx, gsy, gex, gey, gwd, gapp, gact)
act_len = string.len(gact)
acDisplayText(gact, "zeroes two", 80, 255, 0, 200, 450, 960-act_len*30, 300)
end
|
Edited by - Andreasvb on 06/21/2012 16:06:30 |
|
|
Hax
128 Posts |
Posted - 06/21/2012 : 16:28:18
|
Deleting more than one app causes instant crash of the clean S+ (2.0.3 + 2.0.5). |
|
|
Rob
USA
2615 Posts |
Posted - 06/21/2012 : 16:35:09
|
Odd, I just deleted multiple apps and actions without a hitch..I hate these kind of bugs |
|
|
Rob
USA
2615 Posts |
|
Hax
128 Posts |
Posted - 06/21/2012 : 18:15:46
|
Still crashes. |
|
|
Rob
USA
2615 Posts |
Posted - 06/21/2012 : 18:19:10
|
Are you getting any kind of message first? Like "Failed to load StrokesPlus.xml" and then app crash? Or just app crash right away? |
|
|
Rob
USA
2615 Posts |
|
Rob
USA
2615 Posts |
Posted - 06/21/2012 : 18:48:33
|
So get this, I got a blue screen out of nowhere..rebooted and now S+ is crashing when trying to open with your file....weird, but at least it's happening now. |
|
|
Hax
128 Posts |
Posted - 06/21/2012 : 19:12:21
|
T2 always crashes on start, even with different config files. Event Viewer says Event ID: 1000 Source: Application Error. |
|
|
Rob
USA
2615 Posts |
Posted - 06/21/2012 : 19:22:58
|
Try http://www.strokesplus.com/files/StrokesPlus_2.0.5t3_x64.zip.
It has a whole bunch of message boxes at various points in the code, if it crashes, make note of the message box displayed just before it crashes.
If it doesn't crash, then I think I may have found the problem. |
|
|
|
Topic |
|
|
|