Jump to content

Help in coding?


Recommended Posts

Alright, i tried creating a GUI and use AutoIT Cammands but it seems i cant get any further after the massage box thing. If you are wondering da hell am saying? Here:

If you could help me providing just with the code i would eventually understand how to create GUI and Manage Registry values.

Sorry for my english. :(

Edited by BlazingKing
Link to comment
Share on other sites

  • Moderators

BlazingKing, please post the code you have written so far, and we can try to assist from there.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

  • Moderators

I understand it can be difficult to get your feet wet, but understand that this forum operates on the "teach a man to fish" motto. We do not hand out code usually, we'd rather you code something (even if it is not entirely working) and then learn how to improve it. I would suggest starting with GUICreate in the help file. Use Example #2 as your launching point, and try changing the different Parameters until you get the hang of what each one does. Then, post what you have here and we can help you with the next step.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

The help file pretty much provides all you'll need to learn the language.

Open Scite for AutoIt and type

GuiCreate

And right after press F1. Cool eh? Every AutoIt function is accessible in this manner. At the bottom of the help page, they give you some examples. A lot of my first time learning to code, I copied the examples and changes parameters and added my own stuff to it to figure out how I can manipulate it.

GUI coding took me a couple of weeks to fully understand, mainly the concepts of control IDs and manipulating controls and multiple GUI instances.

Spoiler

“Hello, ladies, look at your man, now back to me, now back at your man, now back to me. Sadly, he isn’t me, but if he stopped using ladies scented body wash and switched to Old Spice, he could smell like he’s me. Look down, back up, where are you? You’re on a boat with the man your man could smell like. What’s in your hand, back at me. I have it, it’s an oyster with two tickets to that thing you love. Look again, the tickets are now diamonds. Anything is possible when your man smells like Old Spice and not a lady. I’m on a horse.”

 

Link to comment
Share on other sites

  • Moderators

BlazingKing,

You need to save the file first so that SciTE knows to turn on all the special stuff we have added for AutoIt. ;)

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png 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 columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...