English 中文(简体)
任务时间表——在我锁定我的计算机时向我传递信息
原标题:Task Scheduler - Show me a message when I lock my computer

在这方面,我需要做的是:

当我离开办公室时,我锁定我的电脑。 我们回想在离开之前填补我们的时间卡。 我总是忘记这样做。 我希望,在我试图锁定我的电脑时,如果我戴上了我的时间卡,就能够展示一个信息。

Here s what I ve done, and why it doesn t work:

我在任务时间表下设立了一个任务,其行动范围是:“交流信息”和触发因素=“工作站锁”。 问题在于工作拖到工作站实际上被锁定,而我直到我再次回去,那是毫无意义的。

在我发布Ctrl-Alt-Del之后,但在我计算机实际打开电文之前,我怎么能立即这样做?

希望得到任何帮助。 获授以下职位:

(1) 只有在3点之后,当我每天多锁我的电脑时,我才会发出信号。 3时的制约因素将假定我每天会离开,因此,我应该问一下我,我是否填写了。

2) 在电文的末尾,显示“你是否愿意访问定时点?”和显示2个县,是的,没有。 如果我点击“是”,则停工地的锁定被取消,时间卡点在我的浏览器上开工。 如果没有点击,工作站就会被锁定。

感谢。

最佳回答

您可以打电话MessageBox()和M MB_SERVICE_NOTIFICATION旗。 这将使电文箱在黄色上填满,即使日志屏幕显示......。

问题回答

我怀疑这是可能的。 当你接报CTRL+ALT+DELWindows处理这些关键新闻时,你可以发现。

你可以做些什么是把电脑锁锁在你的台上,而只是在显示你所希望的信息之后。 我的桌面上有一个停工短台,目标是:

C:WindowsSystem32
undll32.exe User32.dll,LockWorkStation

你可以非常容易地书写你自己的文字,甚至可能只字。 如果后者的话,你就只需要使用<代码>LockWorkStation功能,该功能是从user32.dll出口的。

将行动改为方案,实施这一方案

msg username message ie: msg patrick Please remember to do this.





相关问题
Why running a service as Local System is bad on windows?

I am trying to find out the difference between difference service account types. I tumbled upon this question. The answer was because it has powerful access to local resources, and Network Service ...

Programmatically detect Windows cluster configuration?

Does anyone know how to programatically detect that a Windows server is part of a cluster? Further, is it possible to detect that the server is the active or passive node? [Edit] And detect it from ...

get file icon for Outlook appointment (.msg)

I ve read Get File Icon used by Shell and the other similar posts - and already use SHFileInfo to get the associated icon for any given extension, and that works great. However, Outlook uses ".msg" ...

Identifying idle state on a windows machine

I know about the GetLastInputInfo method but that would only give me the duration since last user input - keyboard or mouse. If a user input was last received 10 minutes ago, that wouldn t mean the ...

Terminating a thread gracefully not using TerminateThread()

My application creates a thread and that runs in the background all the time. I can only terminate the thread manually, not from within the thread callback function. At the moment I am using ...

热门标签