Surya Posted September 5, 2015 Share Posted September 5, 2015 (edited) Ever wondered of passing on variables or words to other windows well there is a udf ready for it you can easily pass on variables words etc to other windows (non-autoit) and as well as recieve them.Basic functions and examples are provided with the UDF.The function allows two complied scripts to communicate with each other directly.UDF available here : Download Transpond UDF.zip Version updated [Current :2.0.1]------- [Changelog] ---------* Fixed bugs* Fixed errors in help Edited September 5, 2015 by Surya coffeeturtle 1 No matter whatever the challenge maybe control on the outcome its on you its always have been. MY UDF: Transpond UDF (Sent vriables to Programs) , Utter UDF (Speech Recognition) Link to comment Share on other sites More sharing options...
Surya Posted September 5, 2015 Author Share Posted September 5, 2015 Thanking Danyfirex for pointing out the mistake in the code No matter whatever the challenge maybe control on the outcome its on you its always have been. MY UDF: Transpond UDF (Sent vriables to Programs) , Utter UDF (Speech Recognition) Link to comment Share on other sites More sharing options...
TheDcoder Posted September 5, 2015 Share Posted September 5, 2015 Looks nice, Some errors though:1. Use relative paths instead of @ScriptDir in includes2. You forgot to include WindowsConstants.au3 and GUIConstantsEx.au3 TD EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion Link to comment Share on other sites More sharing options...
Surya Posted September 5, 2015 Author Share Posted September 5, 2015 (edited) i will look onto it TheDcoder thank you for pointing it out. Edited September 5, 2015 by Surya No matter whatever the challenge maybe control on the outcome its on you its always have been. MY UDF: Transpond UDF (Sent vriables to Programs) , Utter UDF (Speech Recognition) Link to comment Share on other sites More sharing options...
Qwerty212 Posted September 5, 2015 Share Posted September 5, 2015 (edited) Uop, thanks a lot for sharing it with us!Right now I'm working on a proect where some scripts should send data to the main one. I was thinking about writting the data in .ini files, and reading the .ini from the main script, but I'm going to try your solution. Greets from Barcelona PS: I don't know how to transpond an array, it's me or is it imposible? Edited September 5, 2015 by Qwerty212 Link to comment Share on other sites More sharing options...
Surya Posted September 6, 2015 Author Share Posted September 6, 2015 UDF updated as per your request now you can send array with _Transpond_SendArray() function. Qwerty212 1 No matter whatever the challenge maybe control on the outcome its on you its always have been. MY UDF: Transpond UDF (Sent vriables to Programs) , Utter UDF (Speech Recognition) Link to comment Share on other sites More sharing options...
Alenis Posted September 13, 2015 Share Posted September 13, 2015 (edited) Thanks for Sharing!Unfortunately, the example doesn't seems to work, (no message/data on the receiving program).(edited 2015.09.17)Surya: I have read the UDF and as other already point out, it seems an incomplete copy from other post. What is going on? Edited September 17, 2015 by Alenis The code seems not original, instead a copy/paste from other posts. (Plagiarism) Link to comment Share on other sites More sharing options...
LarsJ Posted September 15, 2015 Share Posted September 15, 2015 Surya, I have briefly looked at your code. Did you just copy it from here or here? Alenis 1 Controls, File Explorer, ROT objects, UI Automation, Windows Message MonitorCompiled code: Accessing AutoIt variables, DotNet.au3 UDF, Using C# and VB codeShell menus: The Context menu, The Favorites menu. Shell related: Control Panel, System Image ListsGraphics related: Rubik's Cube, OpenGL without external libraries, Navigating in an image, Non-rectangular selectionsListView controls: Colors and fonts, Multi-line header, Multi-line items, Checkboxes and icons, Incremental searchListView controls: Virtual ListViews, Editing cells, Data display functions Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted September 15, 2015 Moderators Share Posted September 15, 2015 Surya,The above spurred me to take a look as well.Having either blocking functions, or calls to functions of unknown duration, within a message handler is incredibly bad coding practice - you are doing both:Func WM_COPYDATA($hWnd, $iMsg, $wParam, $lParam) [...] MsgBox ("","calls",$return) Call($dat, $return) [...] EndFunc ;==>WM_COPYDATAThe Help file says quite clearly:Warning: blocking of running user functions which executes window messages with commands such as "MsgBox()" can lead to unexpected behavior, the return to the system should be as fast as possible !!!If you do not return ASAP you risk blocking the message flow and bringing the entire system down. I would strongly recommend recoding that handler.M23 Alenis 1 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Surya Posted September 25, 2015 Author Share Posted September 25, 2015 THE UDF HAS BEEN REMOVED AND I COPYED IT FROM BOTH THE LINKS LARYSJ ANY MORE QUESTIONS No matter whatever the challenge maybe control on the outcome its on you its always have been. MY UDF: Transpond UDF (Sent vriables to Programs) , Utter UDF (Speech Recognition) Link to comment Share on other sites More sharing options...
LarsJ Posted September 26, 2015 Share Posted September 26, 2015 You don't have to remove your code. Just give credit to guinness/KaFu that your code was based on their code. I think you should add your code again.Regards Lars Controls, File Explorer, ROT objects, UI Automation, Windows Message MonitorCompiled code: Accessing AutoIt variables, DotNet.au3 UDF, Using C# and VB codeShell menus: The Context menu, The Favorites menu. Shell related: Control Panel, System Image ListsGraphics related: Rubik's Cube, OpenGL without external libraries, Navigating in an image, Non-rectangular selectionsListView controls: Colors and fonts, Multi-line header, Multi-line items, Checkboxes and icons, Incremental searchListView controls: Virtual ListViews, Editing cells, Data display functions Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now