locked
Task scheduling for Windows 8 Store Apps?

    Question

  • Hi,

    I understand that modernUI apps cannot be opened from the desktop enviroment - as such I have been unable to create a task that automatically opens an app at a certian time of day.

    Do you know if it is possible to schedule the opening of Windwos 8 Store apps? If not, could this be considered as a future feature?

    Thanks,

    Edward

    Thursday, July 11, 2013 9:07 AM

Answers

  • Every morning at 7am I would like a calendar/note app to open so that as people come in, they pass the screen and know the days events. The machine is currently used as a noticeboard, so would not affect the end users.

    I'd expect this to be quite useful in many other applications?

    Hello,

    1. Create a program which is capable of running the Windows 8 apps as described in this article. (Check under 'Automating the activation of your app')

    2. Go to the Control Panel -> Administrative Tools -> Task Scheduler. 

    3. Then from the right pane, select Create Basic Task...

    4. Give a name/description and click Next.

    5. Select Daily and click Next.

    6. Set the time (7AM in your case), the date you want the task to be start from, and click Next.

    7. Select Start a program and click Next.

    8. Set the program (The .exe file you created in the step 1) by browsing to it. 

    9. Get the app ID of the required app. (Go to regedit -> HKEY_CURRENT_USER -> Software -> Classes -> ActivatableClasses -> Package -> You app ID-> Server -> Your app name). Refer this thread for the exact point

    10. Now again go back to where you paused the work of scheduling the task. Enter your app ID to the Add arguments (optional): textbox.

    11. Click finish and you are done!

    Wednesday, July 17, 2013 10:37 AM

All replies

  • this is not possible.

    why do you need this? can you descripe the scenario? cant use a toast notification to trigger the user?  can be pretty annoying for end users when application popups.


    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

    Thursday, July 11, 2013 10:20 AM
  • Hi,

    To put the request in to more context...

    Every morning at 7am I would like a calendar/note app to open so that as people come in, they pass the screen and know the days events. The machine is currently used as a noticeboard, so would not affect the end users.

    I'd expect this to be quite useful in many other applications?

    Thanks,

    Edward


    • Edited by Edward Crabtree Friday, July 12, 2013 11:03 AM Missed a comment
    Friday, July 12, 2013 11:02 AM
  • in windows 8.1 you have assigned access feature which let one app run and keep that one open and doesnt allow to navigate to other apps. would that help you?

    Microsoft Certified Solutions Developer - Windows Store Apps Using C#

    Friday, July 12, 2013 11:36 AM
  • A suggestion

    Create an app with multiple secondary tiles. Let's say you have from 10 to 20 daily events then create 20 secondary tiles. Create a background task which gets the necessary information and updates the secondary tiles. If the screen is displaying  the start screen then the passers by will see the daily schedule. If you remove all other tiles from the start screen you could create quite an effective notice board.

    Tile size, background color etc could be used to indicate activity types, current etc. 

    Friday, July 12, 2013 12:07 PM
  • Every morning at 7am I would like a calendar/note app to open so that as people come in, they pass the screen and know the days events. The machine is currently used as a noticeboard, so would not affect the end users.

    I'd expect this to be quite useful in many other applications?

    Hello,

    1. Create a program which is capable of running the Windows 8 apps as described in this article. (Check under 'Automating the activation of your app')

    2. Go to the Control Panel -> Administrative Tools -> Task Scheduler. 

    3. Then from the right pane, select Create Basic Task...

    4. Give a name/description and click Next.

    5. Select Daily and click Next.

    6. Set the time (7AM in your case), the date you want the task to be start from, and click Next.

    7. Select Start a program and click Next.

    8. Set the program (The .exe file you created in the step 1) by browsing to it. 

    9. Get the app ID of the required app. (Go to regedit -> HKEY_CURRENT_USER -> Software -> Classes -> ActivatableClasses -> Package -> You app ID-> Server -> Your app name). Refer this thread for the exact point

    10. Now again go back to where you paused the work of scheduling the task. Enter your app ID to the Add arguments (optional): textbox.

    11. Click finish and you are done!

    Wednesday, July 17, 2013 10:37 AM