Sign in to follow this  
Followers 0
sksguy

Semi - Newb Needs A Little Push

3 posts in this topic

I have a little knowledge of A2 and very little of 3. I was far better at using autoit 2 to make things work for me with the use of loops etc...

Anyway. I want to create a gui that will fetch a text file via Inetget (that parts easy for me) Load the text file contents into a clickable button (just the product name) so a simple button is ok here. The gui button or whatever must change to indicate that the product is selected and will be ordered when the submit button is pushed. It should laso be able to be toggled between ordered and not ordered state at any time before the "Order" button is pushed. Then when the "Order" button is pushed it should generate a text file of the ordered products and email it back to me.

The harder part of this is that the product list can vary in size. Today Im offering 150 products....tomorrow could be 167 or whatever. So the gui would have to read how many products are in the text file and then create the right amount of buttons with product names.

The gui window would also have to allow the product buttons window to scroll so that the product list can be 2000 products and still be able to "scroll" through the product buttons. Maybe 40-50 buttons per (page, window, button area) whatever you want to call it.

Oh boy..... everyones going to get a laugh out of this but Im attaching the file Ive been working on and it is rudimentary at best. :)

Any help appreciated...... thanks

Get_files.au3

Share this post


Link to post
Share on other sites



Is this an online ordering system? Would it be better on a web server with a suitable package behind the scenes to take care of inventory, customer details, purchases, etc? Are you sure you want to do this with AutoIT when there are so many web based solutions that may fit the bill (and some are very simple to setup and use, and free or low cost).

Simply put, you will have to master a GUI interface, some sort of database, email sending, and a host of other issues, and get them to integrate perfectly. Customers will have to trust your exe file is not a payload for nasties, and that it is working correctly. The frequent false positives on popular anti-virus packages will make your code disappear without warning from customers computers, and the error messages they get will make them even more suspicious that your code is problematic.

Sorry to be so pessimistic - have you thought about and done some design and considered all available options before coding?

Share this post


Link to post
Share on other sites

You're absolutely right. This is a very thing to do using a php cart or something similar. My reason for makng this is security of use. I dont want it to be readily accessible. The people using the program will all be authorized purchasers. Secured likely by using an old piece of code I have called "protkeygen" I dont know who wrote it but it seems fairly secure. There is method to my madness.....hehe. I dont want public access to the ordering process.

Thanks for your reply.

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