Jump to content

Logic isn't working... what's wrong?


Recommended Posts

Writing a simple script that types "blah" no matter what the user types into the keyboard. (atm I only have characters a-z set because of the 64 MAX number of hotkeys thing; i'll worry about that later)

Anyway, my logic isn't working. The result is that every key types "ababababa" or sometimes "lhlhlhlhlhlhlh" instead of "blahblahblahblah" likes it's supposed to--doesn't matter whether I type the keys slowly or not, still happens.

I've searched the web and help file and still can't figure it out. Here's my code:

<snip>

Any insight would be greatly appreciated.

Ciao,

Caleb

Edited by Melba23
Removed code - which did not work properly anyway!
Link to comment
Share on other sites

  • Moderators

scrilla103,

And the purpose of this liitle gem is what exactly? :)

We do not encourage "joke" scripts here so I hope the explanation is a good one. ;)

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

Yes, it's a "joke" script. As I am new to AutoIt, I'm mostly doing this for the shear novelty and the involvement of logic.

I have a few friends I might pull this on, but it's mostly for fun.

(I understand your concern, as a "joke" script could easily be taken too far)

Regardless of whether or not this is encouraged however, I would really like to know what's wrong with my logic?

Thanks,

Caleb

Link to comment
Share on other sites

  • Moderators

scrilla103,

Yes, it's a "joke" script

Regardless of whether or not this is encouraged however, I would really like to know what's wrong with my logic?

You are joking, I take it? :)

Thread locked - do NOT start another on the same subject or any other "joke". ;)

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

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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