Sign in to follow this  
Followers 0
rvn

Windows Automator

6 posts in this topic

#1 ·  Posted (edited)

I working a "windows automator" right now, something like autoit's ScriptWriter but more complex. It's not only record mouse event but also record keystroke and direct event to control. I've done with the prototype; record mouse event, send key, direct event to form. But i need more reference to make it more stable, so Where i can find more reference about "windows automator" in the net ?

This is my school's project, so i need more reference to make paper about it.

In some reason, i can not post the code here, but i promise i'll post it one day.

Thanx for the help

quick help :

- to refresh list, just click on the header.

- u can right click on button click to bring more menu.

- checkbox "On Next Event", just like the name execute next, after other event executed.

- u can set "windows Active Timeout" to 0, so app will be wait forever.

[this can make app busy or frezee, i do no...]

- u can edit the code your self.

- app only show windows : visible and there's title

- if u set the assosiation; execution for ekstention "xix", that's run script.

Known bug :

- sometimes this app got error, when load control's list. Maybe the control too many.

App goes here :

note: In the end i just need the reference, so u dont need to test this app if u think there is "evil code" in it. But ofcourse i need your opinion :D

Edited by ervan

Share this post


Link to post
Share on other sites



Hi.. Looks pretty neat, I am not sure how to use it but look forward to seeing the code if or when you post it to see how ya did some things.. Keep up the great work.. :D

Share this post


Link to post
Share on other sites

@gesller

pretty neat huh ? Later i do simple. Thanx :D

@Valuater

Good app, more reference for me, Thanx :D

But again, i need more reference to do my school's paper :D

I've search in microsoft, trap in jungle for me, i can not find it :D

Any help please :)

Share this post


Link to post
Share on other sites

ximplex can do many things :D

as long as form got title and visible !!!

Example below will create 3 links in your desktop :D

Example : create link Shutdown, Restart and Abort with icon, start from coordinate (741,382)

Code :

<<||SendKeyStroke||>>[[||{LWINDOWN}d{LWINUP}||]]((||||)){{||||}}@@||||@@##||||##$$||||$$

<<||MouseClick||>>[[||right||]]((||741||)){{||382||}}@@||1||@@##||||##$$||||$$

<<||SendKeyStroke||>>[[||{UP}{UP}{RIGHT}{DOWN}{ENTER}||]]((||||)){{||||}}@@||||@@##||||##$$||||$$

<<||WinActivate||>>[[||Create Shortcut||]]((||||)){{||0||}}@@||||@@##||||##$$||||$$

<<||ControlSetText||>>[[||Create Shortcut||]]((||||)){{||Edit1||}}@@||Shutdown -s -t 9||@@##||||##$$||||$$

<<||WinActivate||>>[[||Create Shortcut||]]((||&Next >||)){{||0||}}@@||||@@##||||##$$||||$$

<<||ControlClick||>>[[||Create Shortcut||]]((||&Next >||)){{||Button3||}}@@||left||@@##||1||##$$||||$$

<<||WinActivate||>>[[||Select a Title for the Program||]]((||shutdown.exe||)){{||0||}}@@||||@@##||||##$$||||$$

<<||ControlSetText||>>[[||Select a Title for the Program||]]((||shutdown.exe||)){{||Edit1||}}@@||Shutdown||@@##||||##$$||||$$

<<||WinActivate||>>[[||Select a Title for the Program||]]((||Finish||)){{||0||}}@@||||@@##||||##$$||||$$

<<||ControlClick||>>[[||Select a Title for the Program||]]((||Finish||)){{||Button5||}}@@||left||@@##||1||##$$||||$$

<<||MouseClick||>>[[||right||]]((||728||)){{||489||}}@@||1||@@##||||##$$||||$$

<<||SendKeyStroke||>>[[||{UP}{UP}{RIGHT}{DOWN}{ENTER}||]]((||||)){{||||}}@@||||@@##||||##$$||||$$

<<||WinActivate||>>[[||Create Shortcut||]]((||||)){{||0||}}@@||||@@##||||##$$||||$$

<<||ControlSetText||>>[[||Create Shortcut||]]((||||)){{||Edit1||}}@@||Shutdown -r -t 9||@@##||||##$$||||$$

<<||WinActivate||>>[[||Create Shortcut||]]((||&Next >||)){{||0||}}@@||||@@##||||##$$||||$$

<<||ControlClick||>>[[||Create Shortcut||]]((||&Next >||)){{||Button3||}}@@||left||@@##||1||##$$||||$$

<<||WinActivate||>>[[||Select a Title for the Program||]]((||shutdown.exe||)){{||0||}}@@||||@@##||||##$$||||$$

<<||ControlSetText||>>[[||Select a Title for the Program||]]((||shutdown.exe||)){{||Edit1||}}@@||Restart||@@##||||##$$||||$$

<<||WinActivate||>>[[||Select a Title for the Program||]]((||Finish||)){{||0||}}@@||||@@##||||##$$||||$$

<<||ControlClick||>>[[||Select a Title for the Program||]]((||Finish||)){{||Button5||}}@@||left||@@##||1||##$$||||$$

<<||MouseClick||>>[[||right||]]((||730||)){{||571||}}@@||1||@@##||||##$$||||$$

<<||SendKeyStroke||>>[[||{UP}{UP}{RIGHT}{DOWN}{ENTER}||]]((||||)){{||||}}@@||||@@##||||##$$||||$$

<<||WinActivate||>>[[||Create Shortcut||]]((||||)){{||0||}}@@||||@@##||||##$$||||$$

<<||ControlSetText||>>[[||Create Shortcut||]]((||||)){{||Edit1||}}@@||Shutdown -a||@@##||||##$$||||$$

<<||WinActivate||>>[[||Create Shortcut||]]((||&Next >||)){{||0||}}@@||||@@##||||##$$||||$$

<<||ControlClick||>>[[||Create Shortcut||]]((||&Next >||)){{||Button3||}}@@||left||@@##||1||##$$||||$$

<<||WinActivate||>>[[||Select a Title for the Program||]]((||shutdown.exe||)){{||0||}}@@||||@@##||||##$$||||$$

<<||ControlSetText||>>[[||Select a Title for the Program||]]((||shutdown.exe||)){{||Edit1||}}@@||Abort||@@##||||##$$||||$$

<<||WinActivate||>>[[||Select a Title for the Program||]]((||Finish||)){{||0||}}@@||||@@##||||##$$||||$$

<<||ControlClick||>>[[||Select a Title for the Program||]]((||Finish||)){{||Button5||}}@@||left||@@##||1||##$$||||$$

<<||MouseClick||>>[[||right||]]((||739||)){{||433||}}@@||1||@@##||||##$$||||$$

<<||SendKeyStroke||>>[[||{UP}{ENTER}||]]((||||)){{||||}}@@||||@@##||||##$$||||$$

<<||WinActivate||>>[[||Shutdown Properties||]]((||&Change Icon...||)){{||0||}}@@||||@@##||||##$$||||$$

<<||ControlClick||>>[[||Shutdown Properties||]]((||&Change Icon...||)){{||Button2||}}@@||left||@@##||1||##$$||||$$

<<||WinActivate||>>[[||Change Icon||]]((||OK||)){{||0||}}@@||||@@##||||##$$||||$$

<<||ControlClick||>>[[||Change Icon||]]((||OK||)){{||Button1||}}@@||left||@@##||1||##$$||||$$

<<||WinActivate||>>[[||Change Icon||]]((||||)){{||0||}}@@||||@@##||||##$$||||$$

<<||ControlFocus||>>[[||Change Icon||]]((||||)){{||ListBox1||}}@@||||@@##||||##$$||||$$

<<||WinActivate||>>[[||Change Icon||]]((||||)){{||0||}}@@||||@@##||||##$$||||$$

<<||SendKeyStroke||>>[[||{DOWN}{DOWN}{DOWN}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}{RIGHT}||]]((||||)){{||||}}@@||||@@##|||

|##$$||||$$

<<||WinActivate||>>[[||Change Icon||]]((||OK||)){{||0||}}@@||||@@##||||##$$||||$$

<<||ControlClick||>>[[||Change Icon||]]((||OK||)){{||Button3||}}@@||left||@@##||1||##$$||||$$

<<||WinActivate||>>[[||Shutdown Properties||]]((||OK||)){{||0||}}@@||||@@##||||##$$||||$$

<<||ControlClick||>>[[||Shutdown Properties||]]((||OK||)){{||Button4||}}@@||left||@@##||1||##$$||||$$

<<||MouseClick||>>[[||right||]]((||741||)){{||512||}}@@||1||@@##||||##$$||||$$

<<||SendKeyStroke||>>[[||{UP}{ENTER}||]]((||||)){{||||}}@@||||@@##||||##$$||||$$

<<||WinActivate||>>[[||Restart Properties||]]((||&Change Icon...||)){{||0||}}@@||||@@##||||##$$||||$$

<<||ControlClick||>>[[||Restart Properties||]]((||&Change Icon...||)){{||Button2||}}@@||left||@@##||1||##$$||||$$

<<||WinActivate||>>[[||Change Icon||]]((||OK||)){{||0||}}@@||||@@##||||##$$||||$$

<<||ControlClick||>>[[||Change Icon||]]((||OK||)){{||Button1||}}@@||left||@@##||1||##$$||||$$

<<||WinActivate||>>[[||Change Icon||]]((||||)){{||0||}}@@||||@@##||||##$$||||$$

<<||ControlFocus||>>[[||Change Icon||]]((||||)){{||ListBox1||}}@@||||@@##||||##$$||||$$

<<||WinActivate||>>[[||Change Icon||]]((||||)){{||0||}}@@||||@@##||||##$$||||$$

<<||SendKeyStroke||>>[[||{RIGHT 28}||]]((||||)){{||||}}@@||||@@##||||##$$||||$$

<<||WinActivate||>>[[||Change Icon||]]((||OK||)){{||0||}}@@||||@@##||||##$$||||$$

<<||ControlClick||>>[[||Change Icon||]]((||OK||)){{||Button3||}}@@||left||@@##||1||##$$||||$$

<<||WinActivate||>>[[||Restart Properties||]]((||OK||)){{||0||}}@@||||@@##||||##$$||||$$

<<||ControlClick||>>[[||Restart Properties||]]((||OK||)){{||Button4||}}@@||left||@@##||1||##$$||||$$

<<||MouseClick||>>[[||right||]]((||744||)){{||595||}}@@||1||@@##||||##$$||||$$

<<||SendKeyStroke||>>[[||{UP}{ENTER}||]]((||||)){{||||}}@@||||@@##||||##$$||||$$

<<||WinActivate||>>[[||Abort Properties||]]((||&Change Icon...||)){{||0||}}@@||||@@##||||##$$||||$$

<<||ControlClick||>>[[||Abort Properties||]]((||&Change Icon...||)){{||Button2||}}@@||left||@@##||1||##$$||||$$

<<||WinActivate||>>[[||Change Icon||]]((||OK||)){{||0||}}@@||||@@##||||##$$||||$$

<<||ControlClick||>>[[||Change Icon||]]((||OK||)){{||Button1||}}@@||left||@@##||1||##$$||||$$

<<||WinActivate||>>[[||Change Icon||]]((||||)){{||0||}}@@||||@@##||||##$$||||$$

<<||ControlFocus||>>[[||Change Icon||]]((||||)){{||ListBox1||}}@@||||@@##||||##$$||||$$

<<||WinActivate||>>[[||Change Icon||]]((||||)){{||0||}}@@||||@@##||||##$$||||$$

<<||SendKeyStroke||>>[[||{DOWN}{RIGHT 27}||]]((||||)){{||||}}@@||||@@##||||##$$||||$$

<<||WinActivate||>>[[||Change Icon||]]((||OK||)){{||0||}}@@||||@@##||||##$$||||$$

<<||ControlClick||>>[[||Change Icon||]]((||OK||)){{||Button3||}}@@||left||@@##||1||##$$||||$$

<<||WinActivate||>>[[||Abort Properties||]]((||OK||)){{||0||}}@@||||@@##||||##$$||||$$

<<||ControlClick||>>[[||Abort Properties||]]((||OK||)){{||Button4||}}@@||left||@@##||1||##$$||||$$

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0