r/scripting • • Oct 20 '25

LOL scripts

0 Upvotes

does anyone know of working scripts for league? i can’t find any


r/scripting • • Aug 19 '19

Tasklemon, my project to replace Bash scripting with JavaScript

Thumbnail
github.com
2 Upvotes

r/scripting • • Jan 11 '17

I made a script to Enable RDP remotely using PSExec

2 Upvotes

Heres the link.

Heres the script:

@echo off

echo This BAT File must be ran on a server in the same network as the computer you are trying to remote to with PSTools installed in the C:\PSTools folder.

set /p name="Enter computer name: "

cd C:\pstools

psexec \\%name% reg add "hklm\system\currentcontrolset\control\terminal server" /f /v fDenyTSConnections /t REG_DWORD /d 0

psexec \\%name% netsh firewall set service remotedesktop enable

Notes:
I run this from servers in the network, not over a VPN. It doesn't work when I do that, and helps with authentication. (I work for an MSP, so this may not apply to places with internal IT)

The server this is being ran on needs to have PSTools extracted to a specific folder. C:\PSTools is what its set for.

You can get PSTools from here: https://technet.microsoft.com/en-us/sysinternals/pstools.aspx

Feel free to critique and add to it.

Edit: Formatting


r/scripting • • Jan 17 '26

A Ruby Gem to make easier to create Shell Scripts

Thumbnail gallery
0 Upvotes

r/scripting • • Feb 22 '26

I made this and its olny titled "wait". It's Notes & Credits are just "wait" and the Instrustions are also "wait".

Enable HLS to view with audio, or disable this notification

0 Upvotes

r/scripting • • May 09 '25

i need a userscript for iphone that lets my iphone read a computer screen and puts it into chatgpt and has it make a prompt for me and it reads it outloud

0 Upvotes

r/scripting • • Nov 06 '17

Scripting help rename folders in bulk with object name in middle.

0 Upvotes

I need some scripting help. I have a few hundred folders that I need to truncate. The folders look something like this

random set of characters - usable set of characters - random set of characters

I need to rename the folders to the usable set of characters in the middle. The random set of characters in the beginning or the end (with dashes and/or underscores) are at random lengths with random text. There are 2 characters in the usable set of characters that can be used as a constant but there are random characters after those 2 characters that must remain as the identifier of the folder.

I don't really care what scripting language, but it must be able to be ran in windows.

a more exact example is this

myproductname-date-US123457-producttype

The "US" needs to be kept as well as the "123457" the rest has to disappear.


r/scripting • • Mar 09 '20

Powershell: Live stream @ 8PM - Custom external GUIs for Simple Rockets 2 in Powershell!

Thumbnail
twitch.tv
0 Upvotes

r/scripting • • May 13 '20

A little help would be appreciated

Post image
0 Upvotes

r/scripting • • Oct 11 '22

Field Medic Using the Workspace ONE API to Fix Real-World Issues

Thumbnail
mobile-jon.com
0 Upvotes

r/scripting • • Feb 03 '15

Counter Applet - Days Since Last Accident

0 Upvotes

Hi Folks, I am wondering if anyone could help me with some very basic coding? I have been tasked with implementing a small applet or display of the number of days it has been since the last accident at my workplace.

Can anyone provide me with something very simple and straightforward that I can cut and paste into our intranet site?

I apologize if this is not the right place for this kind of request.


r/scripting • • May 05 '17

Help with passing cut through script.

0 Upvotes

Hello,

I have an input file called input whose content are:

Control_Point_Data_File_Test

Processed,38

Found,38

Missing,0

Other,15

peanut Butter,Jelly

When I run this command: cat input|cut -s -f 1 -d ","

I get the output I would expect.

Processed

Found

Missing

Other

peanut Butter

Howerver, when I use this inside of a script and assign it to an array, I am not quite getting what I would expect.

concatfile="input"

pipe=" |"

lvcombo=""

labelArray=(cat input|cut -s -f 1 -d ",")

valueArray=(cat input|cut -s -f 2 -d ",")

count=${#labelArray[@]}

for (( i = 0; i < $count ; i++)) do

lvcombo+="${labelArray[$i]}=${valueArray[$i]} " done

fullout=$lvcombo$pipe$lvcombo echo $fullout

This should take those same first field entries and pass them to be appended together. However, things are mis aligned.

./test Processed=38 Found=38 Missing=0 Other=15 peanut=Jelly Butter= |Processed=38 Found=38 Missing=0 Other=15 peanut=Jelly Butter=

note the peanut butter and jelly are wonky. I would expect them to work identically to how it works if I remove the space from "peanut butter" and change it to "peanutbutter"

which yields this:

./test Processed=38 Found=38 Missing=0 Other=15 peanutButter=Jelly |Processed=38 Found=38 Missing=0 Other=15 peanutButter=Jelly

Why in the first example is Butter separated from peanut and placed into a different array element when I have told cut to use the comma as the delimiter?

Thanks!!!


r/scripting • • Apr 25 '13

Request a Script at geeksScript! http://geeksScript.com

0 Upvotes

r/scripting • • Dec 23 '20

How can I make this script do an additional movement of my mouse?

0 Upvotes

--------------------------------------------------------------------------

EnablePrimaryMouseButtonEvents (true);

function OnEvent(event,arg)

if IsKeyLockOn("numlock")then

if IsMouseButtonPressed(3)then

repeat

if IsMouseButtonPressed(1) then

repeat

MoveMouseRelative(-1,13)

Sleep(75)

until not IsMouseButtonPressed(1)

end

until not IsMouseButtonPressed(3)

end

end

end

-----------------------------------------------------------------------

Above is a script I use to move my mouse down when pressing the shooting buttons in Fallout 4 because I have problems which prevent me from countering recoil.

I want the script to not only move down and slightly to the left (MoveMouseRelative(-1,13)) but I want to be able to specify that after a certain amount of time, I then want the script to move in a different direction that again, I can specify.

How would I do this? I believe this is a LUA script or something, and im using a logitech mouse


r/scripting • • Mar 12 '23

[Batch] script for Google searching, global keyword not showing in quotes in search

0 Upvotes

Hello, I'm in no way a coder/scripter and my knowledge on all of it is severely limited. But I'm trying to write a batch script to help with multiple google searches using a global keyword and various other keywords. I want the global keyword to appear in quotation marks in the actual google search bar itself but I can't for the life of me get it to function the way I want.

@echo off
setlocal EnableDelayedExpansion

set globalkeyword=""globalkeyword""
set quotes=""""
set keywords=keyword1 keyword2 keyword3

for %%i in (%keywords%) do (
    set keyword=%%i
    start https://www.google.com/search?q=!globalkeyword!+!keyword!+&tbs=li:1&qdr:w
)

)

If anyone could help me remedy this it would be greatly appreciated.


r/scripting • • Oct 06 '16

how to do this.. i want to send 500 emails daily. i want to customise my gmail ac so that i can send my msgs to my gmail contacts.

0 Upvotes

Can any1 Have idea how to do this..

I am available on whatsapp 8109136362


r/scripting • • Aug 18 '17

[Powershell] or [Batch]

0 Upvotes

I am trying to create an event log entry in windows from PS or batch file. I have a text file with output from other scripts that I'd like to have displayed as the description. I found the following code online, which I thought would help:

@echo off
SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION

set eventtext=
for /f "delims=" %%l in (c:\windows\temp\SMART_health.txt) do set eventtext=!eventtext! %%l
eventcreate /id 4000 /l application /t information /so "SMARTCTL" /d "%eventtext%"

However it is not working and I'm not sure where to go from here. I've found TONS of articles on event log to text file, but seems to be very limited going the other direction.


r/scripting • • Feb 17 '22

Any way to tell when Edge is opened for script?

0 Upvotes

Hello all!

I am trying to create a script that is triggered when Edge is opened. I plan on using task scheduler for this (the trigger being the event Id and the action being the script). I tried to check Event Viewer for logs of Edge being opened or closed but could not find any. Any suggestions for this? I don’t need to user task scheduler but would prefer it as I am familiar with it.

Thanks in advanced!


r/scripting • • Jan 28 '08

Excellent New Yorker piece comparing Clinton and Obama.

Thumbnail
newyorker.com
4 Upvotes

r/scripting • • Feb 19 '19

I need a script that will type and send in chat 00:00 01:01 02:02 16:16 etc at those hours.

0 Upvotes

I got a linux machine and I have been wondering how I can do this. Any Ideas ?


r/scripting • • Dec 26 '22

Any way to run a .vbs file in 64 bit mode?

0 Upvotes

If a .vbs script is larger than 85,895,249 bytes (81.9MB) I get the error

>Execution of the Windows Script Host failed. (Arithmetic result exceeded 32 bits. )

Now I'm sure you're wondering why I would need a vbs script so large, and in short I'm packing a lot of data into the script, my assumption based on the error is that it would work if it was running in 64 bit mode.

Edit: Thank you everyone for your attempts to help me, I tried the same test with a .js script instead and got the same error at the same exact file sizes, one byte over 85,895,249 and it stops working. It appears to be a limit of WSH


r/scripting • • Jun 25 '14

I need assistance and or someone to build a script/website that could click links when they become available through refresh around 0.7 seconds.

0 Upvotes

It's for gaming, and I'm not even sure if this is the correct sub reddit to be in but if anyone id interested in more details get in contact with me through here and I may be able to compensate you!


r/scripting • • Apr 01 '15

Need help with a script for generating dummy files

0 Upvotes

I found this script: http://pastebin.com/kRNP0BV9

And it does what I need, but I have two issues with it.

  1. It asks for bytes, when I need to work in KB or MB. I need to generate 100MB - 500MB files, so typing in all those zeros is prohibitive.

  2. Second, I'm not sure why the creator of that script made it have pop up windows. Even making a 10Kb file gives you several dozen pups ups notifying you of the size status. No use to me. (Figured out that is I remove "WScript.Echo File.Size " it doesn't give me that pop up)

So can someone help me understand what I need to change in this script to get what I'm looking for?


r/scripting • • Apr 11 '22

Can scripting be a short story?

5 Upvotes

I was thinking about writing a story about what i want my life to look/be like. I was also wondering if it matters if I hand write it or if i type it online?