Jump to content

amokoura

Active Members
  • Posts

    307
  • Joined

  • Last visited

About amokoura

  • Birthday 11/19/1984

Profile Information

  • Member Title
    AutoIt fanatic
  • Location
    Finland
  • Interests
    TF2 (Medic!)

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

amokoura's Achievements

Universalist

Universalist (7/7)

1

Reputation

  1. Check out manual -> UDF -> IE. There might be some helpers for enumerating website buttons and inspecting their properties.
  2. I've had the same problem sometimes. I recall there was a unfixable bug in Scite that caused the behaviour. There were some threads about the problem also.
  3. A very nice function collection, thank you! I had to calculate the full desktop area minus taskbar's dimensions. Therefore I needed _TaskBarGetSide() and _TaskBarGetPos(). Feature request: A function to tell whether Autohide is on or off. Maybe the info is found from registry somehow.
  4. Works brilliantly, thank you!
  5. Impressing! Anyone else think this could be attached to the official UDF collection?
  6. Thanks, it'll make the code cleaner. Apparently the actual implementation is similar, though.Anyways, the UDF look very nice. Don't have to remember the hex codes anymore. It should be attached to the official UDF collection!
  7. Keyboard Beep Prank: On every key press, PC beeps with a random frequency. I'll install this to my co-workers pc before I leave the company. The implementation feels quite poor, any improvement ideas? #NoTrayIcon #include <Misc.au3> $dll = DllOpen("user32.dll") While 1 for $i=1 to 221 If _IsPressed(Hex($i, 2), $dll) Then beep(random(100,1000,1), 100) ExitLoop EndIf Next Sleep ( 100 ) WEnd DllClose($dll) EDIT: Changed the beep frequency to random instead of a calculation based on the key hex. Cooler effect.
  8. The answer is in the manual
  9. A wild guess: They're "special" icons. Their visibility should be checked from the registry.
  10. If it's true, the function should return a Collection object. Probably the Count property isn't set then. As the manual says, using @EXTENDED should also give the link count. But i don't know, error checking by evaluating the link count sounds tricky. Maybe the page should be checked some other way before going any deeper.
  11. OK I guess _IELinkGetCollection failed and didn't return any object at all. How about checking _IELinkGetCollection's errors (Check out from manual) before using its data.
  12. I presume the links object is a normal collection object. You could then use the Count property: if $IE_Links.Count = 0 then MsgBox(0,0,'Link count zero!') endif
  13. I guess Autoit's goal is to be a simple scripting and automation tool. No radical changes like OO is needed....Although I'd love that feature If autoit feels too simple, it might be time to move to another language.
  14. A very fascinating idea! However, I'd rather use some true OO language with AutoItX. Then you get two things at their best combined.
  15. Try using Excel ActiveX control.
×
×
  • Create New...