Need Help : using AMS commands when not main app

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • 2epro
    New Member
    • Jun 2008
    • 25

    Need Help : using AMS commands when not main app

    I am having trouble with people snooping around on m ypc when i am at work so i decided to create my own application to deal with it.

    Ive managed to create an app that will record certain keystrokes and save them to txt file for me to read later.

    Everything works fine but if u minimize or hide the app, it stops working. it seems that it must be the top application.

    maybe i could make an app sized 1 height 1 width but how could i constantly keep it on top of other windows ?

    or does anyone know another way to solve this problem.

    Thank you
  • arb
    Indigo Rose Customer
    • Jul 2007
    • 163

    #2
    You could use on timer and System.IsKeyDown to record typed things on your computer or enumirate windows and store result on a report file, then you can leave your application minimized or on system tray to do its job.

    Beside I offer you to use this software: Lock My PC

    Comment

    • 2epro
      New Member
      • Jun 2008
      • 25

      #3
      this is the code i have in ON KEY

      Code:
      if e_Key == 13 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", "  |enter|  ", true);
      end
      if e_Key == 8 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", "  |backspace|  ", true);
      end
      if e_Key == 9 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", "  |tab|  ", true);
      end
      if e_Key == 32 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", "  |space|  ", true);
      end
      if e_Key == 48 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " 0 ", true);
      end
      if e_Key == 49 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " 1 ", true);
      end
      if e_Key == 50 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " 2 ", true);
      end
      if e_Key == 51 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " 3 ", true);
      end
      if e_Key == 52 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " 4 ", true);
      end
      if e_Key == 53 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " 5 ", true);
      end
      if e_Key == 54 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " 6 ", true);
      end
      if e_Key == 55 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " 7 ", true);
      end
      if e_Key == 56 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " 8 ", true);
      end
      if e_Key == 57 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " 9 ", true);
      end
      if e_Key == 65 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " a ", true);
      end
      if e_Key == 66 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " b ", true);
      end
      if e_Key == 67 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " c ", true);
      end
      if e_Key == 68 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " d ", true);
      end
      if e_Key == 69 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " e ", true);
      end
      if e_Key == 70 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " f ", true);
      end
      if e_Key == 71 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " g ", true);
      end
      if e_Key == 72 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " h ", true);
      end
      if e_Key == 73 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " i ", true);
      end
      if e_Key == 74 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " j ", true);
      end
      if e_Key == 75 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " k ", true);
      end
      if e_Key == 76 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " l ", true);
      end
      if e_Key == 77 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " m ", true);
      end
      if e_Key == 78 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " n ", true);
      end
      if e_Key == 79 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " o ", true);
      end
      if e_Key == 80 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " p ", true);
      end
      if e_Key == 81 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " q ", true);
      end
      if e_Key == 82 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " r ", true);
      end
      if e_Key == 83 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " s ", true);
      end
      if e_Key == 84 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " t ", true);
      end
      if e_Key == 85 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " u ", true);
      end
      if e_Key == 86 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " v ", true);
      end
      if e_Key == 87 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " w ", true);
      end
      if e_Key == 88 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " x ", true);
      end
      if e_Key == 89 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " y ", true);
      end
      if e_Key == 90 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " z ", true);
      end
      if e_Key == 96 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " 0 ", true);
      end
      if e_Key == 97 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " 1 ", true);
      end
      if e_Key == 98 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " 2 ", true);
      end
      if e_Key == 99 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " 3 ", true);
      end
      if e_Key == 100 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " 4 ", true);
      end
      if e_Key == 101 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " 5 ", true);
      end
      if e_Key == 102 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " 6 ", true);
      end
      if e_Key == 103 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " 7 ", true);
      end
      if e_Key == 104 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " 8 ", true);
      end
      if e_Key == 105 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " 9 ", true);
      end
      if e_Key == 186 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " ; ", true);
      end
      if e_Key == 187 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " = ", true);
      end
      if e_Key == 189 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " - ", true);
      end
      if e_Key == 191 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " \ ", true);
      end
      if e_Key == 220 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " / ", true);
      end
      if e_Key == 188 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " , ", true);
      end
      if e_Key == 190 then
      TextFile.WriteFromString("AutoPlay\\Docs\\log.txt", " . ", true);
      end
      works fine until application is hidden or minimized... how to fix
      Last edited by 2epro; 07-15-2008, 03:49 AM.

      Comment

      • longedge
        Indigo Rose Customer
        • Aug 2003
        • 2496

        #4
        Keyloggers are universally considered to be malware at best.

        As an employer I would consider anyone creating such software or even knowingly running it as having committed a disciplinary offence.

        As an employee I would expect my employer to fully declare the degree to which my activity was being logged or monitored outside of the standard windows log files.

        The answer is to lock you PC when you leave it.

        Just my 2pence worth

        Comment

        Working...
        X