StrokesPlus.net
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
ArxARV  
#1 Posted : Thursday, June 9, 2022 7:50:30 AM(UTC)
ArxARV

Rank: Newbie

Reputation:

Groups: Approved
Joined: 8/3/2020(UTC)
Posts: 3
Ukraine

Thanks: 1 times
Hello!

I am using the portable version of the program.
I set up sound confirmation for each action.

The sound folder (in wav format) is inside the S+ folder, and the path to the sound is simply "Sound\namefile.wav" without specifying the full path (and it worked)

Actually the problem:
When Windows starts, S+ autostarts, in which case no sounds are played.
However, if the application is closed manually and then restarted, the sounds are played normally.

How fix it to works during normal Windows boot. This problem appeared around version 0.5.6.3






Rob  
#2 Posted : Thursday, June 9, 2022 9:16:21 AM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 1,224
United States
Location: Tampa, FL

Thanks: 27 times
Was thanked: 378 time(s) in 328 post(s)
Since you're using the portable version, what method are you using to have it start with Windows?
ArxARV  
#3 Posted : Thursday, June 9, 2022 10:08:05 AM(UTC)
ArxARV

Rank: Newbie

Reputation:

Groups: Approved
Joined: 8/3/2020(UTC)
Posts: 3
Ukraine

Thanks: 1 times
It was a long time ago, but most likely added to autoload using AnVir Task Manager - it's easy to do there

Now I added to the "delayed loading" for 30 seconds, but this did not solve the problem

https://imgsh.net/a/SBSbM9e.png
Rob  
#4 Posted : Thursday, June 9, 2022 12:56:10 PM(UTC)
Rob

Rank: Administration

Reputation:

Groups: Translators, Members, Administrators
Joined: 1/11/2018(UTC)
Posts: 1,224
United States
Location: Tampa, FL

Thanks: 27 times
Was thanked: 378 time(s) in 328 post(s)
I would see if there's a way to define the working folder for a startup item.

Otherwise, you can try setting it via S+ in the Global Actions > Load/Unload > Load tab:
Code:
var spEXEPath = System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName;
System.IO.Directory.SetCurrentDirectory(System.IO.Path.GetDirectoryName(spEXEPath));
thanks 1 user thanked Rob for this useful post.
ArxARV on 6/9/2022(UTC)
ArxARV  
#5 Posted : Thursday, June 9, 2022 2:02:28 PM(UTC)
ArxARV

Rank: Newbie

Reputation:

Groups: Approved
Joined: 8/3/2020(UTC)
Posts: 3
Ukraine

Thanks: 1 times
It worked, thanks!
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.