Greg-H

[Win10] Run Windows Store Apps

5 posts in this topic

Good Day!

 

As the title suggests I am trying to run a Windows Store App with SciTE Lite on Windows 10.

There is no executable binary to use the Run Function with.

You can now use for example "ms-windows-store:" from the Windows "Run" prompt or "start ms-windows-store:" from a Command Line.

But how do I do that from within a SciTE Script?

"Run('start ms-windows-store:')" or "Run('mswindows-store:')" does not work!

 

Thank you very much!

Share this post


Link to post
Share on other sites



Greg-H,

I see you did not read those rules to which I linked very carefully - you missed the part that says:

"Do not repost the same question if the previous thread has been locked - particularly if you merely reword the question to get around one of the prohibitions listed above"

However, as this question does have some wider application (pun intended) I am prepared to let it run this time. But please do read those rules carefully and stick to them in future.

M23

 

2 people like this

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

Try:

Run(@ComSpec & ' /c start "" "ms-windows-store:"', '', @SW_HIDE)

 

1 person likes this

Share this post


Link to post
Share on other sites

Thank you very much!

It works for my application!

Run(@ComSpec & ' /c start "" "shell:Appsfolder\Microsoft.Messaging_8wekyb3d8bbwe!x27e26f40ye031y48a6yb130yd1f20388991ax"', '', @SW_HIDE)

- Hit Win-R to open a "Run" input, and type "shell:Appsfolder"

 

- When in that, hit F-10 to get a menu bar, and from that menu bar select "View / Choose Details"

- Select the radio box for "AppUserModelID". That ID is what you are going to want to execute.

 

- Select "Details" from the little "View" gadget" on the right hand side.

 

"shell:Appsfolder\"+AppUserModelID found in the right column

1 person likes this

Share this post


Link to post
Share on other sites

No problem, I should also mention, the following also works

ShellExecute('ms-windows-store:')
ShellExecute('shell:Appsfolder\Microsoft.Messaging_8wekyb3d8bbwe!x27e26f40ye031y48a6yb130yd1f20388991ax')

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now