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

Notification

Icon
Error

Options
Go to last post Go to first unread
Aguilucho  
#1 Posted : Friday, August 16, 2024 11:05:25 PM(UTC)
Aguilucho

Rank: Newbie

Reputation:

Groups: Approved
Joined: 10/11/2020(UTC)
Posts: 2
Chile
Location: Santiago

I was happy with Strokesplus and had high hopes for S+.net but...
I can't find tutorials or a compass to start with.
I start to slap my hands like a drowning person,
Apart from the app box 'script help', which lacks a search box,
from browsing the forums, from going to javascript sites,
in which sometimes the syntax is similar but other times not,
after diving into c# and the .NET Framework,
They are not useful for someone who wants to know the most basic things,
after having used S+ for years.
I have been able to survive with AutoHotKey,
which has very good tutorials, from the simplest.
I'm thinking of making the scripts in AutoHotKey
and running them using gestures but
I can't execute even a simple run! Crying

I put:
sp.Run(''C:\\Windows\\System32\notepad.exe'')
and I get

Script execution failed.
Error: The system cannot find the specified file
at Script [16]:13:4 -> sp.Run('"C:\Windows\System32\notepad.exe"')

I have tried:
//sp.Run('C:\Program Files\Mozilla\Firefox\firefox.exe')
//sp.Run("C:\Program Files\Mozilla\Firefox\firefox.exe")
//sp.Run C:\Program Files\Mozilla\Firefox\firefox.exe
//sp.Run "C:\Program Files\Google\Chrome\Application\chrome.exe"
//sp.RUN "C:\Windows\System32\notepad.exe"
//sp.Run ('C:\Windows\System32\notepad.exe')
//sp.Run "C:\Windows\System32\notepad.exe"
//sp.Run('C:\Windows\System32\notepad.exe')
//sp.Run("C:\Windows\System32\notepad.exe")
sp.Run('"C:\Windows\System32\notepad.exe"')

Data
* notepad is in the directory and is operative
* I have S+.net 0.5.7.9
* I have windows 10 x64
* My scripts, like
sp.SendModifiedVKeys([vk.LCONTROL], [vk.VK_A])
sp.Sleep(10);
sp.SendModifiedVKeys([vk.LCONTROL], [vk.VK_C])
// Go to the previous active screen to paste
sp.SendModifiedVKeys([vk.LMENU], [vk.TAB]);
They are working perfectly, as well as many gestures, except Run

1 What is wrong?
2 what is the channel for starter users?

As an anecdote,
I asked ChatGPT 4o mini and it responded only
assumptions, proposing double and single quotes
in all possible combinations,
which definitely I had done. Useless
After years, I still have hope.
I appreciate your attention to our needs

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.