Jump to content
Macro Express Forums

Scheduled Macros


weezypenguin

Recommended Posts

Can anyone help please?

Is it possible to create any kind of macro that would be able to open a program, then run either a series of key commands or even captured macro, and then close the application.... BUT, and this is a big BUT...I nee this all to happen when the system is logged off (in the background).

I am desperate for any help with this....

Thanks in advance

Link to comment
Share on other sites

I don't believe ME can pass keystrokes to Windows when the user is logged off. However, if the system is "locked" (as opposed to logged off) then you can at least open and run programs. For example, I have batch command files that are started by macros while the server is locked. I don't know about passing keystrokes to an application while locked.

Link to comment
Share on other sites

But what you can do is this:

- Schedule a macro to allow Windows to boot without requiring a password

this requires that you download a small free utility, and have your macro change 2 registry settings, run this utility and reboot

 

- Schedule a startup macro to change the 2 registry settings above back to what they were

this means that your computer is unprotected for only as long as it takes your computer to reboot

 

- Run the macro you refer to in your message as the final step in your startup macro

This macro is triggered only when the 2 registry settings were in the unprotected state

 

- Lock your desktop when your macro is finished

 

I have used this scenario for several years with great success.

Link to comment
Share on other sites

Thanks for the help.

Can you send me the infomation regarding the utility you mentioned please?

Would this be able to run with a macro that is keystrokes aswell as recorded?

Many Thanks

 

reg

But what you send me the info

can do is this:

- Schedule a macro to allow Windows to boot without requiring a password

this requires that you download a small free utility, and have your macro change 2 registry settings, run this utility and reboot

 

- Schedule a startup macro to change the 2 registry settings above back to what they were

this means that your computer is unprotected for only as long as it takes your computer to reboot

 

- Run the macro you refer to in your message as the final step in your startup macro

This macro is triggered only when the 2 registry settings were in the unprotected state

 

- Lock your desktop when your macro is finished

 

I have used this scenario for several years with great success.

Link to comment
Share on other sites

Shutdown

 

Schdule this macro:

Write Registry Value "%T[1]%" into 
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\AutoAdminLogon
-- T1 contains 1

Write Registry Value "%T[99]%" into 
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\DefaultPassword
-- T99 contains your login password

Program Launch: "shutdown.exe" (Normal)
Parameters: -s reboot -f -l 1

 

Once rebooted, schedule this macro to run on startup:

Write Registry Value "%T[1]%" into 
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\AutoAdminLogon
-- T1 contains 0

Delete Registry Value: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\DefaultPassword

Link to comment
Share on other sites

Thanks for the help with this.

so to recap the situation is this...

I want to create a script or macro that will

 

1. open a particular document/application.

2. Capture a series of keystrokes or captured mouse movement.

3. Kill/stop the process/service that is running the document in step 1.

 

My problem is that this has to run whilst the machine is unattended. Preferably logged off.

 

So how would yu do it?

If you pm me is it possible to talk about this??

I really appricate you time and help with this one.

 

 

Shutdown

 

Schdule this macro:

Write Registry Value "%T[1]%" into 
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\AutoAdminLogon
-- T1 contains 1

Write Registry Value "%T[99]%" into 
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\DefaultPassword
-- T99 contains your login password

Program Launch: "shutdown.exe" (Normal)
Parameters: -s reboot -f -l 1

 

Once rebooted, schedule this macro to run on startup:

Write Registry Value "%T[1]%" into 
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\AutoAdminLogon
-- T1 contains 0

Delete Registry Value: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\DefaultPassword

Link to comment
Share on other sites

I want to create a script or macro that will

1. open a particular document/application.

2. Capture a series of keystrokes or captured mouse movement.

3. Kill/stop the process/service that is running the document in step 1.

My problem is that this has to run whilst the machine is unattended. Preferably logged off.

I don't understand your point 2 above when taken in conjunction with your last sentence! How do you get a sequence of keystrokes or mouse movements if the machine is unattended or logged off. Are we writing a macro for ghosts here?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...