Home » Extra libraries, Code snippets, applications etc. » U++ users applications in progress and useful code snippets, including reference examples! » simmxtools v0.1 (simple scripting - easily 'place' windows, etc, w32ver)
simmxtools v0.1 [message #47100] |
Tue, 06 December 2016 22:23 |
luoganda
Messages: 211 Registered: November 2016
|
Experienced Member |
|
|
simmxtools v0.1:
some usefull stuff, usage:
-simmxtools -help
-simmxtools <=will read config.txt
-simmxtool "keywords", eg: simmxtools "msgbox:'hola'" or
simmxtools "run:'cmd /c notepad'\nplacewindow:'notepad',1,2000" <= will wait for notepad start max 2sec
simmxtools "run:'cmd /c notepad'\nplacewindow:'notepad',1,2000"\nsendkeys:'hello{SPACE}from{SPACE}simmxtools!'"
will execute notepad and write text in it
plug can be created simply with regular dll, 2 functions must be defined:
-INT32 plugInitKeywords(char **ptrtokeywordsnullterm)
-INT32 plugOnKeyword(DWORD keywind,DWORD numArgs,Pgn pgn,Pgs pgs,Pgr pgr,Psr psr,pluginter &pi)
known bug:
-upp version of dll sample crashes, even on simple call PromptOK("str");
Usage:
Unzip and click simmxtools.exe.
'sendkeys' key ids are in note.txt
Tool is also available here:
https://ws-tools.000webhostapp.com/
[Updated on: Tue, 06 December 2016 22:26] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Sun Apr 27 15:47:56 CEST 2025
Total time taken to generate the page: 0.03833 seconds
|