Closed ghost closed 6 years ago
Hi @janus0!
Thank you for reporting this.
I can confirm the problem on my computer.
This is what I observed:
SYSTEM
or Administrator
) not even the green H icon will be loaded.I don't remember if I actually had tested the Task Scheduler to autostart the program before, but it definitely does not work now for me neither.
@sdias I suggest removing this paragraph from the documentation altogether if this problem is confirmed to be without any solution as the shell:startup method should work,
Best regards
Is there any plan to fix this? I want to use task scheduler to launch virtual desktop enhancer on startup with administrator privileges without the annoying UAC prompt every time.
I am currently working on this, but from what I can see right now there is little hope to make it work correctly...
May I ask why are you unable to use the first procedure which seems to work correctly?
Best
To my knowledge, the first procedure won't auto-start virtual desktop enhancer in administrator mode without me having to press "yes" on a UAC prompt every time I start my computer up. I need to run VDE in administrator mode because otherwise it won't switch desktops when I have a window focused which has admin privileges. Minor things, but it's what makes my current setup seamless and it's nice to have. Thanks!
I see... Still no progress for me: reading some sources on the Internet it looks like it's not Autohotkey's problem, but something related to the code... I'll do my best to zero in on the problem.
At the moment I suspect this is strictly related to #21 and solving it would solve this.
I would really like to hear an opinion from someone more knowledgeable on AHK than me.
The problem should be caused by the fact that the tool needs to be launched from its working directory. When you create a shorcut (Procedure 1), Windows automatically fills the Start in
directory (viewable into "properties > shortcut" tab).
On the other hand, when creating a scheduled task, you need to manually enter that directory filling the Start in (optional):
box. It's working to me..
@starise
You got it! I never noticed that option because in italian it has been horribly translated to "Inizio" (Which means "start", but definitely not "start in"...).
I'll update the documentation accordingly as soon as I can.
Thank you!
PS: @janus0 if you could confirm that this solves your problem this issue can be closed.
I had this problem and solved it by creating and running this cmd script: " CD /d %~dp0 start virtual-desktop-enhancer.exe "
Though I like this way better :p
The program won't switch desktops or do anything else when I run this script via task scheduler with highest privileges. However, when I manually right click and do run as administrator, it works just fine. Thoughts?