Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Confirm
Close Dialog

User Image
Robert Blum
36 discussion posts
Keith,

I am trying out the desktop unlock trigger. It works, sort of, and fails. Though you can make the "Run function: Add new custom function" accept a .vbs file, the trigger doesn't successfully run the .vbs (silently fails), so I tried using an application of CMD.EXE with a /C command line including the .vbs file. That silently fails, also. So I put the .vbs file in a .bat file. That runs, and the .vbs file is presented as having run, but it actually does nothing (i.e., silently fails). If I run the batch file from the command line or by double-clicking it (or the .vbs directly), it runs. I also find the named trigger in the taskbar button context menu under Run Function on Window>Custom Functions>Numlock (the name I gave it), and when I run that it works. It just silently fails to run the .vbs file in the .bat file when started by a trigger. The bottom line, no matter how you specify it, you cannot make the .vbs file run.

Since the information for the triggers seems to be in the troubleshooting section, I'm including that an the VBS and BAT file.

PS: When I use the Run Function: Add New Custom Function and then subsequently us the Remove button to delete it, it is not removed from the interface. You will see in the troubleshooter various iterations of a name that includes "numlock" that were discarded but not deleted. This may also be a bug.
• Attachment: dftrigger.zip [111,039 bytes]
• Attachment: troubler.TXT [156,562 bytes]
Feb 9, 2016  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Thanks for sending in the sample files! I was able to make it work by setting up the Custom Function like the attached screenshot.

Regarding it not being removed after removing it from the Trigger, this is expected. Adding a new Custom Function through a Trigger adds it to the list of Functions on the Settings > Functions tab, but removing it from the Trigger will not remove it from the Functions list.

Hope that helps!
• Attachment: VBSTrigger.jpg [173,267 bytes]
VBSTrigger.jpg
VBSTrigger.jpg
Feb 10, 2016  • #2
User Image
Robert Blum
36 discussion posts
Thanks. Set it up, but I cannot toggle numlock remotely. Since MS Remote Desktop on Mac does so when I quit, tomorrow when I log on to the affect PC, I hope to see the trigger save me the trouble. Will report after the test.
Feb 11, 2016  • #3
User Image
Robert Blum
36 discussion posts
Worked like a champ. The VBS ran and turned off the numlock after logging back on, exactly as desired.

While closing this problem report, perhaps you might want to make it more obvious in your help how to run scripts. Perhaps add a new function action in addition to Launch Application that might read Launch Windows script?

Thanks for all the help.
-Robert
Feb 11, 2016  • #4
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Awesome, glad to hear it! And good idea, that might be a do-able option. I'll add it to our list :)
Feb 12, 2016  • #5
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)