Jump to content
SubSpace Forum Network

Blocks

»VIP
  • Posts

    426
  • Joined

  • Last visited

Everything posted by Blocks

  1. While you're at it, if you get the site updated, have it updated to reflect that Continuum runs on Windows 7. Good job guys!
  2. that's the weird part of it all.. SOMETIMES it works, SOMETIMES it doesn't.. So, to get this straight, the script only intermittently works when run on its own? That would be a strange problem if it has only appeared now, and I think would indicate that either something has changed with the barcode scanner software settings, or something in the background is hogging your CPUz.
  3. This is the potential problem I mentioned previously. Does my barebones script still work when run on its own?
  4. Good job. I told you you could do it.
  5. Yes. Once you get the necessary data into AHK, that part is easy. Getting the data might be as simple as a series of tabs and copy-paste operations, I don't know. There's probably a more elegant way. Exporting to files and reimporting a changed version would be desirable. You can do it, just sit down with the AHK manual for a bit.
  6. Okay. Now take everything you said and turn it into an AutoHotkey script (serious). Figure out what sequence of keystrokes it takes to do each thing, and then script it up. You can even do mouse movements and clicks with AHK, though this should be avoided for maximum reliability.
  7. Ah, whew.
  8. This is hard to do without knowledge of your system, which is why I think you'll have to do it yourself. You seem willing enough to learn, so just go for it. That said, how are you changing the item type right now if you don't have those administrative privileges? If the script is not done in AutoHotkey, it should probably be done in Python, as chances are half of it is already written.
  9. I'm going to go out on a limb here and say yes. However, it would be probably be more difficult (but still worth the effort) to read the database directly from the script. It would also be much more dangerous. I suggest you use an AutoHotkey script to let the database-reading-program do all the database reading and writing. AHK seems to be extremely versatile, and with a little ingenuity, a script could do what you've described.
  10. Should tell her not to use it then.
  11. It's occurred to me now that this script might not actually work. I tested it by manually keying in barcode strings like f-1-1-1-1-1-1-enter. If the barcode scanner sequentially streams in characters, then it will probably work. If it just dumps the whole barcode sequence like a paste operation, then it won't work. One could create a smarter script to properly handle that input though. it works! I can pause the script with F9 to type out file descriptions or whatever. THANK YOU from me and the rest of Records !! I added F9::Suspend Cool. That'll be $10 per computer.
  12. Can we rename Team Namp to Team Edward? I think it would better reflect our common interests.
  13. How do you properly flame noobs without a keyboard?
  14. This is most certainly SPAM. I signed up for online backup yesterday at Carbonite because of a deal available right now: 3 years unlimited storage for $37.23 after cashback ($64.97 up front). Regular price is $129.95. Shorter subscriptions are also available at good prices, but the best value is on three years. Use code CUST50 for 50% off, and sign up at Mr. Rebates and click through to Carbonite for $5 signup rebate + 35% cashback in 90 days. This sort of backup scheme installs a client onto your computer and backs up files your documents in addition to any other files you specify less than 4 GB in size. The first backup takes a long time, but all backups afterward are incremental. Files are encrypted locally and then stored on their servers. You can manage your private key if you're worried about them accessing your data. Old versions of files are available for 90 days, which is useful for oopsies.
  15. Saw this on Digg the other day. The bit at the end is quite enjoyable. http://www.thedailyshow.com/watch/thu-december-10-2009/beck---not-so-mellow-gold
  16. Girls are icky.
  17. It's occurred to me now that this script might not actually work. I tested it by manually keying in barcode strings like f-1-1-1-1-1-1-enter. If the barcode scanner sequentially streams in characters, then it will probably work. If it just dumps the whole barcode sequence like a paste operation, then it won't work. One could create a smarter script to properly handle that input though.
  18. I saw this too, and I was kind of baffled until I saw this video, which makes decent sense to me. http://www.youtube.com/watch?v=Zx8i5EfmYU4
  19. Okay, I created an AutoHotkey script for you, quoted and attached below. It's a pretty cool program and I'm glad I discovered it. ; Xog's Script by Blocks #InstallKeybdHook ; Run the macro on either an "f" or "t" from the barcode scanner. f:: t:: ; Capture the input, terminated by a newline or Enter. Input Barcode, ,`n{Enter} ; Prepend the leading zeroes. while StrLen(Barcode) < 10 { Barcode := % "0" . Barcode } ; Type out the new barcode followed by an Enter. SendInput %Barcode%{Enter} When it's running, all you can do is scan barcodes, unless you avoid use of the "f" and "t" keys. If you want, you can modify it so it's only activated by some other keypress. Run it by downloading AutoHotkey and loading the AHK file in the ZIP archive attached. Or you can use the executable also in the ZIP file if you trust me. Xog\'s Script.zip
  20. What is the final destination for each barcode you've scanned? If it's a big list in a text file, the problem is a lot easier as you can just save the file and parse through the whole thing later. If you want to do the conversion "on-the-fly," like to input to some text field in some program, the problem is harder.
  21. I gather that Xog needs to intercept "keyboard input" that the barcode scanner creates and modify it before it spits it out to the active window. This would probably be hard to do in Python (?). A better strategy might be to scan the barcode to Python, do the modification, switch windows, paste the new code in, and switch back to the running Python script, all automatically. That still might be difficult. You could do the switching and pasting yourself pretty easily, but that would be kind of gimp. Are you certain you won't run into trouble with conflicting code numbers with this modification scheme? Seems to me like it could be a problem. Never mind, I read your post more clearly. I think you should remove a lot of your specific information in the first post as well as that screenshot. If I was your employer, I might not be too happy about the specificity of information you've released.
  22. Pretty awesome. I went out to the Mojave Desert for the first spaceflight of SpaceShipOne in 2004, which was exciting. As cool as SpaceShipTwo and space tourism is, I am at least an order of magnitude more excited about the (successful) efforts of SpaceX at reaching low Earth orbit with a privately developed vehicle.
  23. USERNAME: BLOCKS CAPTAIN: NO REFEREE: NO
  24. And a doctorate in Subspace Studies.
×
×
  • Create New...