Messages - highend01 [ switch to compact view ]

Pages: prev1 2 3 4 [5] 6 7 8 9 10 ... 38next
21
set /p snum="Enter Job Number: "
>%snum%.txt echo Job Number is %snum%
start "" notepad %snum%.txt
>>%snum%.txt echo Next line
>>%snum%.txt echo Last line


22
Post New Requests Here / Re: [REQ] VPN Gate OVPN Configs Downloader
« on: December 05, 2019, 04:05 AM »
With a download progress bar...

2019-12-05_110557.png

23
Post New Requests Here / Re: [REQ] VPN Gate OVPN Configs Downloader
« on: December 03, 2019, 06:21 AM »
Not heavily tested but the basics are working...

You're free to modify it, but reference to my user account name here if you do this...

After you've downloaded the servers (via the belonging button), select one or more (via holding shift or ctrl) in the listview and click on the "Save config(s)" button.
You may want to choose a different path via the "Choose" button first, because the C:\ root may not be writable without appropriate permissions...

24
You can't send "keystrokes" over a network, you need to send "messages" (to a program that listens to them on each client pc).
E.g. with https://autohotkey.com/board/topic/53827-ahksock-a-simple-ahk-implementation-of-winsock-tcpip/
If that still works...

25
#NoEnv
#SingleInstance force
SetWorkingDir %A_ScriptDir%
FileEncoding UTF-8
SetBatchLines, -1

drive := "C:\"
file  := "Dummy.txt"
path  := drive . file
text  := "Dummy"


if FileExist(drive) {
    Loop {
        EmptyFile(path)
        FileAppend, % text, % path
    }
}

EmptyFile(file) {
    hFile := DllCall("CreateFile", Str, file, UInt, 0x40000000, UInt, 3, UInt, 0, UInt, 5, UInt, 0, UInt, 0)
    DllCall("CloseHandle", UInt, hFile)
    return hFile > 0 ? 1 : hFile
}

But ofc this empties the file before it gets overwritten...

OpenFile() would impose too many problems (no unicode, no > 128 file path length...)

Pages: prev1 2 3 4 [5] 6 7 8 9 10 ... 38next
Go to full version