AGlassman Posted July 11, 2010 Share Posted July 11, 2010 Over the years I've written stand-alone AutoIt scripts for specific purposes. So that now I have a large number of little scripts scattered all over. Each one using different methods to do common operations (message logging, error traping, etc), depending on my AutoIt experience at the time I wrote it. As part of a project to consolidate and standardize all of these scripts, and to make them all accessable from a consistent set of HotKeys and Windows Shortcuts, I found myself moving towards a framework of common methods that could be shared by all the scripts, that I call HotRod. Attached is my first try at this kind of framework. All of the framework code is in a set of AutoIt files with three letter names (ACE, BKE). The functions to perform specific actions are defined in lower level includes under the "PRO" (for Profile) directory. The main program is "_HRD" which sets up the framework and waits for HotKey sequences or a call from a Windows Shortcut (the LNK program) to execute a specific function. I would be very interested to hear from anyone else working along similar lines, or comments on what I've done so far.HotRod_Prelim.zip Sandeeptrp 1 Link to comment Share on other sites More sharing options...
Sandeeptrp Posted July 27, 2016 Share Posted July 27, 2016 Good Try, But an Issue is displayed will running the code, it says error: "_IIF() : undefined Function" Pls Fix it Link to comment Share on other sites More sharing options...
TheDcoder Posted July 27, 2016 Share Posted July 27, 2016 @Sandeeptrp Do you realize that this thread is 6 years old!? And I don't think @AGlassman is still maintaining his framework accounting that he hasn't posted a single update since the first version . 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...
Sandeeptrp Posted July 27, 2016 Share Posted July 27, 2016 8 minutes ago, TheDcoder said: @Sandeeptrp Do you realize that this thread is 6 years old!? And I don't think @AGlassman is still maintaining his framework accounting that he hasn't posted a single update since the first version . Maybe what you had just said can be a scenario but No Problem all I want a Solution for my Problem; If he sees and reply it, then thats a Plus Point for me else I am on my Track as usual Link to comment Share on other sites More sharing options...
TheDcoder Posted July 27, 2016 Share Posted July 27, 2016 @Sandeeptrp You have a point but its not good to necro an old post, a PM to @AGlassman would be more appropriate. 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...
JohnOne Posted July 27, 2016 Share Posted July 27, 2016 Just write your own _lif function, or copy it over from an older version of autoit. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
AutoBert Posted July 27, 2016 Share Posted July 27, 2016 (edited) 5 hours ago, Sandeeptrp said: Good Try, But an Issue is displayed will running the code, it says error: "_IIF() : undefined Function" Pls Fix it Go back to AutoItversion before 3.3.10.x then it runs, or do what is suggested: Removed: Documentation and example for _Iif(). Scripts should be updated to use ternary operators instead. THIS IS A SCRIPT BREAKING CHANGE. Edited July 27, 2016 by AutoBert Link to comment Share on other sites More sharing options...
TheDcoder Posted July 27, 2016 Share Posted July 27, 2016 @Sandeeptrp Try adding this function to your script: 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...
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