Page 1 of 1

Minor UVKSR thing - Sticky Notes

Posted: Wed Feb 19, 2020 9:05 pm
by Xander
I've gotten in the habit of using Sticky Notes for things that I want to remember to tell the client ("run the printer-install shortcut when you get home", HD has 5700hrs of use on it, etc.) As sort of mini-report.

Since most PCs I'm seeing are Win10, I have Command 1 as explorer.exe shell:appsFolder\Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe!App and have it set as [x] Run only if commands 2,3 don't exist and the radio button as (x) Run always.

Command 2 is just stikynot.exe for the odd Win7 system and (x) Run always
https://i.gyazo.com/b50548e01a30f7d64ca ... f3d94f.png (img tag isn't working)

But, when run on a Win10 PC, I get the 'file not found' on Command 2. What am I missing here?

Re: Minor UVKSR thing - Sticky Notes

Posted: Thu Feb 20, 2020 9:30 am
by Fred
Hi Xander.

I understand what your issue is, but the application is behaving as expected. Command 1 runs only if stickynot.exe does not exist, which will work fine on Windows 7, but Command 2 is always executed, which gives the 'file not found' error on Windows 10.

I suggest you create a separate app for each command, and run the good one for each windows version. Or you can make your app run a UVK script that will check for tha current Windows version and run the correct command automatically. Let me know if you need help with that.

Re: Minor UVKSR thing - Sticky Notes

Posted: Thu Feb 20, 2020 6:29 pm
by Xander
Think I figured it out. Just swap the two commands -- run StikyNot but only if the StickyNote App is not available.