Author |
Topic |
|
Rob
USA
2615 Posts |
Posted - 02/13/2012 : 20:52:37
|
Did you know...
(Updated post for version 2.5.6+)
If you install the signed version of S+ into Program Files\StrokesPlus (and make sure the certificate is installed), S+ can be put in the Startup folder and run when Windows loads, without needing administrative privileges. |
|
Rob
USA
2615 Posts |
Posted - 06/27/2012 : 16:47:14
|
Some people have issues with using the Task Scheduler, such as S+ becoming unresponsive after standby and other oddities.
I'd like to state clearly that this isn't a supported method, just for those who understand the caveats in using this.
I just have a shortcut, seems to work quite well |
|
|
Andreasvb
Sweden
46 Posts |
Posted - 06/27/2012 : 17:26:02
|
I have a little question regarding starting S+ via CLI.
I use a simple start.bat script that just launches my portable apps I use, at startup.
start StrokesPlus\StrokesPlus.exe When starting via that way it says: "Failed to write StrokesPlus.xml".
Are there any switches I can use, and why won't it save the file?
Thanks. |
|
|
Rob
USA
2615 Posts |
Posted - 06/27/2012 : 17:36:02
|
Not sure about that, if I had to guess I'd say S+ doesn't have access to write the file under the permissions which it is being run.
You could always download ProcessMonitor to confirm that as well as see if it's something else (like it's not finding a file or something).
I just tried to run via start, both in its directory and up one level as in your example with no issue. S+ is located under my C;\Users\Rob\.. folder, not sure if that has anything to do with it (permissions).
The only command line parameter S+ accepts is the full path and file name (must be StrokesPlus.xml) to the config, no switches or quotes, just:
StrokesPlus.exe c:\Users\rob\blah\strokesplus.xml |
|
|
Andreasvb
Sweden
46 Posts |
Posted - 06/27/2012 : 17:42:35
|
No permission issues, it's on a different drive and I also have UAC disabled. I can create files everywhere. :P
When using the parameter, like so: start StrokesPlus.exe StrokesPlus.xml It works, but it creates a file named "StrokesPlus.exe StrokesPlus.xml" instead. |
|
|
Rob
USA
2615 Posts |
Posted - 06/27/2012 : 17:46:32
|
Heh, it just grabs the command line..guess I didn't think about the command line having something other than StrokesPlus.exe at the beginning.
I would still run ProcessMonitor and see what it's reporting under file activity, there must be an explanation in there. |
|
|
Andreasvb
Sweden
46 Posts |
|
Rob
USA
2615 Posts |
Posted - 06/27/2012 : 20:19:30
|
Weird, it's like it's never trying to load the config file nor the language file (even if it didn't exist, it would still try).
But it does load the ActionHelp.xml. Very odd. |
|
|
Andreasvb
Sweden
46 Posts |
Posted - 06/29/2012 : 13:18:57
|
Haha, I "solved" it.
explorer StrokesPlus.exe
Ran that from cmd, no more errors.
It's a workaround, but it works and I won't complain if it's not solved "correctly". :)
Now it's just the delay issue left for me then it's perfect. |
|
|
Rob
USA
2615 Posts |
Posted - 07/14/2012 : 17:07:41
|
FYI: StrokesPlus no longer requires elevation to run. But:
Note that if you run without elevated privileges AND StrokesPlus is being run from a protected folder (like Program Files), Windows will redirect the reading/writing of your StrokesPlus.xml and StrokesPlus.lua files to somewhere under the C:\Users\USERNAME\... folder.
Specifically, for Windows 7 and running from C:\Program Files\StrokesPlus, your StrokesPlus.lua and StrokesPlus.xml files will be saved (then later loaded from) here:
C:\Users\USERNAME\AppData\Local\VirtualStore\Program Files\StrokesPlus\ |
|
|
xpectmore
14 Posts |
Posted - 06/04/2014 : 15:09:19
|
it's not that
you make path inclusion so click right click on computer ..proprieties,advanced settings,environment variables(on the bottom),search path value, go to the path's end and insert :
;c:\my_strokesplus_path_where_it_is
so now run a command : regedit so you can navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run create a key like "michael_jackson" then put it like REG_SZ "c:\my_strokesplus_path_where_it_is\StrokesPlus.exe" and you have it running when the windows start..
cause you set it in the system environment's path now if you try RUN command from start you may try strokes plus without registry installation by running only : StrokesPlus.exe
Done... |
|
|
|
Topic |
|