Messages - lifeweaver [ switch to compact view ]

Pages: [1] 2 3 4 5next
1
Skrommel's Software / MultiMonMan - How to support 3 monitors
« on: February 06, 2016, 09:18 AM »
If anyone tried to use MultiMonMan with 3 monitors and it didn't work, try adding:
x := x > 0 ? x : 0
before the line
Gui,%monitor%:Show,x%x% y%y% w%w% h-1,%monitor% - %applicationname%

I can't say this will fix everyones problem, but it fixed mine, somehow 'x' wasn't set so the line sets 'x' to zero if it's not greater than zero.

2
Can you do web development in LOLCODE?

A minimal HTTP server written in LOLCODE by justinmeza

OBTW
    httpd.lol -- a minimal HTTP server written in LOLCODE
    example:
        ./lci httpd.lol
        point your favorite HTTP-getter to http://127.0.0.1:13337/lol.html
        ...
        profit?
    by Justin J. Meza, 2014
TLDR
HAI 1.4
    CAN HAS STDIO?
    CAN HAS SOCKS?
    CAN HAS STRING?

    HOW IZ I parse YR header
        I HAS A len ITZ I IZ STRING'Z LEN YR header MKAY
        I HAS A readin ITZ FAIL
        I HAS A file ITZ ""
        IM IN YR loop UPPIN YR index TIL BOTH SAEM index AN len
            I HAS A char ITZ I IZ STRING'Z AT YR header AN YR index MKAY
            BOTH OF BOTH SAEM char AN " " AN readin
            O RLY?
                YA RLY, FOUND YR file
            OIC
            readin, O RLY?, YA RLY, file R SMOOSH file AN char MKAY, OIC
            BOTH OF BOTH SAEM char AN "/" AN NOT readin
            O RLY?
                YA RLY, readin R WIN
            OIC
        IM OUTTA YR loop
        FOUND YR ""
    IF U SAY SO

    BTW bind to a local port
    I HAS A sock
    sock R I IZ SOCKS'Z BIND YR "127.0.0.1" AN YR 13337 MKAY

    IM IN YR loop
        BTW receive a connection
        I HAS A conn
        conn R I IZ SOCKS'Z LISTN YR sock MKAY

        BTW get a command
        I HAS A cmd
        cmd R I IZ SOCKS'Z GET YR sock AN YR conn AN YR 1024 MKAY
        VISIBLE "CMD IZ " AN cmd

        BTW parse the file name
        I HAS A name ITZ I IZ parse YR cmd MKAY
        VISIBLE "FIEL IZ " AN name

        I HAS A reply ITZ ""

        BTW get the file contents
        I HAS A file ITZ I IZ STDIO'Z OPEN YR name AN YR "r" MKAY
        I IZ STDIO'Z DIAF YR file MKAY, O RLY?
        YA RLY
            VISIBLE "FIEL NOT FOUND"
            reply R "HTTP/1.1 404 Not Found:3:):3:)"
        NO WAI
            VISIBLE "FIEL FOUND!"
            I HAS A data ITZ I IZ STDIO'Z LUK YR file AN YR 1024 MKAY
            I HAS A len ITZ I IZ STRING'Z LEN YR data MKAY
            I IZ STDIO'Z CLOSE YR file MKAY
            VISIBLE "LEN IZ " AN len
            VISIBLE "DATA IZ " AN data

            reply R SMOOSH "HTTP/1.1 200 OK:3:)"...
                    AN "Server: httpd.lol/0.1 (lci):3:)"...
                    AN "Context-Type: text/html:3:)"...
                    AN "Content-Length: :{len}:3:):3:)"...
                    AN ":{data}:3:)" MKAY
        OIC

BTW serve it up
VISIBLE "REPLY IZ " AN reply
I IZ SOCKS'Z PUT YR sock AND YR conn AN YR reply MKAY

        BTW buh-bye
        I IZ SOCKS'Z CLOSE YR conn MKAY
    IM OUTTA YR loop
KTHXBYE

3
Here is a script for you written in AutoHotkey.

looks like you forgot to attach the script ;)

Indeed I intended to post the code but alas it was too long.
I've now attached the script to the post.

4
Hi superboyac,

Here is a script for you written in AutoHotkey.

Script runs on: Windows 7 Professional, AutoHotkey 1.1.22.07 Unicode build

To use:

  •     Install AutoHotkey, if you have problems see their tutorial about running scripts
  •     Copy the script into a '.ahk' file
  •     Double click on the script icon to start it

Note: It is possible to compile AutoHotkey scripts to exe so you don't need to have AutoHotkey installed.

5
Supberboyac,

saving/importing/exporting customized sets would be perfect
Can you elaborate?
J River stores your custom shortcuts in a JRiver-Resource.xml file, so you have them in a format you can read outside the application, do you mean export from J River to foobar or foobar to J River?

Pages: [1] 2 3 4 5next
Go to full version