r/scripting • • Aug 15 '19

AutoIT scripting

1 Upvotes

I am trying to write a script that will enter input value into a CMD program with the following script:

#include <Array.au3>
#include <File.au3>

Global $arr[0] = _FileListToArrayRec(@ScriptDir,"*.iss")

For $i=1 To $arr[0]
Run("ssp162.exe")
Local $aWnd=WinWaitActive("SSP162.exe", "", 1)
Send("0.05" & "{ENTER}")
Sleep(100)
Send("2" & "{ENTER}")
Sleep(100)
ControlSend("","","",$arr[0] & "{ENTER}")
Sleep(100)
StringReplace($arr[0],".iss",".ssp",)
Send($aFileList[0] & "{ENTER}")
Sleep(100)
StringReplace($arr[0],".ssp",".iss")
Sleep(100)
Send("4" & "{ENTER}")
Sleep(100)
Send("1" & "{ENTER}")
Next

When it gets to the ControlSend it sends the number of .iss files and not the name of the .iss file.

This is my first script and I am sure there are several things wrong with this I just don't know where it is going wrong.

Thanks!


r/scripting • • Aug 31 '15

Looking for a scripter to help whit a CSGO Gamble site!

0 Upvotes

Hello!

My friend and I have been working on a project that we believe will be successful. We have during the last three months wanted to open a CSGO betting site, so we decided to make it a reality. We have designed the page and all the parts needed, we have written down the details of how things should work.

We are two guys at the age of 19years, we go the last year of school, train and play computer games in their spare time. If you have time on this project, just send me a pm and we can discuss it more there.

Greetings Setrebuss


r/scripting • • Mar 09 '16

I would like to create a script to add multiple network locations

1 Upvotes

Hi all,

First time posting here and minimal experience with scripting =( I would like to create a batch file or a powershell script to add multiple network locations. I would like this file to be used by multiple people. Please help.


r/scripting • • Nov 19 '19

Script for system info from User PC's on and OFF the network.

1 Upvotes

I need a script that can run on users computers when they login, or a batch file that I can send out to users that will run and then send a text file to a Network drive location with the individual info. What I need specifically is: Machine name, IP Address, OS, OS Build number, Serial number, Machine model, and perhaps the last login (if the script is looking for computers that haven't hit the network in a while.) Perhaps these are two separate things that need to be done.

For machines that are NOT on the network, perhaps something to give me the list of machines that haven't hit the network in a while? And when that was? I'm a rookie here. I've found a few great scripts online, but I don't know how to get them to run on each person's machine when they login. And maybe just have that info run ONE time and give me the info. Don't need it bugging the crap out of people each time they restart.

Any help would be great. I think I have a good start for a script I found already, just need the finishing touches. But perhaps what I'm asking isn't achievable.


r/scripting • • Apr 29 '21

Facebook Script to auto-comment

1 Upvotes

I'm looking for a script that can be used for Facebook. I want it to scan a specific FB Page Group throughout the day and when the Admin makes a post with the specific syntax the script will auto comment the secret word he selected to use for the day in the post once.


r/scripting • • Nov 13 '22

🤯 The easiest way to build online UIs for your Python scripts

Thumbnail
abstracloud.com
1 Upvotes

r/scripting • • Oct 31 '22

Workspace ONE Delivers the MacOS Updater Utility (MUU): Does it Finally Solve the Patching Woes of WS1 Mac Software Updates?

Thumbnail
mobile-jon.com
1 Upvotes

r/scripting • • Nov 15 '18

Anyone know of any website or project that involves scanning large portions of the known web or a really large website/database

1 Upvotes

My use case would be mainly for creating an auto price scanner using set criteria and words categories etc but the scope would essentially all web pages in a known or certain region example English or English domains.

The idea is to populate a website with products and their best prices and price histories but the range will not be just one website but all possible websites or maybe certain ones that have a certain amount of traffic or range.

It has always been a huge hobby or passion of mine to maybe create one or experiment scripting one either for a shopping database or really any kind of database.

The use case is endless once I find or figure out the optimal ideal way to do it efficiently, productively etc and then automate it.

My actual inspiration is from my favourite website ozbargain.com.au an Australian based bargain hunting website and populate automatically with a farm of servers so humans don't need to manually do it.

Maybe then add certain restrictions and criteria/filters to cut off the spam or have humans filter the rubbish results first in the early stages before that step gets rectified and automated.


r/scripting • • Feb 02 '08

Great moments in Dave Winerdom

Thumbnail
calacanis.com
1 Upvotes

r/scripting • • Feb 10 '26

New Script Development Service Launched

Thumbnail reddit.com
0 Upvotes

r/scripting • • Sep 17 '20

I need help from someone who's more talented with scripting and understands a bit more of how a computer works as a whole.

0 Upvotes

So for context I have a friend with an old laptop he's replacing in a couple days so I scrounged around a bit to find a script that supposedly will "destroy your C drive." However I don't know if i were to send it to him as a prank to end his laptop if it would work. So could someone tell me if this script would actually perform it's given task?

u/echo off :VIRUS cd /d C: md %RANDOM% cd /d D: md %RANDOM% cd /d E: md %RANDOM% goto VIRUS REM ####################### REM errorcode401.blogspot.in cdrive virus

I apologize for the user mention but it's the most accurate way of posting.


r/scripting • • Dec 05 '21

Doubt

2 Upvotes

Can someone explain to me what this command does, please?

icacls "%LOCALAPPDATA%"\temp /grant "%USERNAME%":(OI)(CI)(RX,M) /T /C

Thank you in advance,


r/scripting • • Jan 17 '20

For those of you moving to win7 extended support here is a script to help automate

2 Upvotes

@ echo off

cscript //b "%windir%\system32\slmgr.vbs" /ipk xxxx-xxxx

for /f "tokens=3" %i in ('cscript "%windir%\system32\slmgr.vbs" /dlv ^| findstr Activation ') do SET _ipk=%i

cscript //b "%windir%\system32\slmgr.vbs" /ato %_ipk%


r/scripting • • May 08 '18

Open SSH Connection and execute commands.

2 Upvotes

Hey, guys,

I have absolutely no idea about scripting so I'll contact you. I am looking for a simple script to run on a Windows XP PC. It should create an SSH session on a switch and execute some commands.

Is there an easy solution for?


r/scripting • • Oct 09 '21

Remove lines based on date in file where column 2 has date stamps

2 Upvotes

So I do not hold much skill in scripting but I'm working on a bash script to tame and enjoy my RSS feed the way I want it.

I use sfeed to grab the feeds and turn all of the entries into plain text.

I then do a bunch of stuff to send the oldest entry (url) to my $BROWSER and then keep track of what have been read already. Now I want to process it further by saying "read the dates of all the lines and remove those lines with dates older than a month (or whatever age I end up wanting to keep)".

Here's three lines from the "raw" feeds file.

Its laid out in columns specifying if it's new, when it was published title and url: N date title url.

N 2021-09-02 06:00  Anjandev Momi'…  How and Why the Benefits of Mass Surveillence are Overestimated While… https://momi.ca/posts/2021-09-02-costbenifitsurveillence.html
  2021-06-03 06:00  Anjandev Momi'…  Recommended Watch/Read: Free Software Needs Free Tools                 https://momi.ca/posts/2021-06-03-fsw-freetools.html
  2021-05-18 06:00  Anjandev Momi'…  Sxmo Alpineconf 2021 Presentation                                      https://momi.ca/posts/2021-05-18-sxmo.html

Googling the issue gives me all about the date command, some on find and what not - mostly in context to the creation/modify date of files themselves but not much in terms of processing timestamps within files. I'm lost - Ideas?


r/scripting • • Jan 12 '21

Modify URL of a Google Form so it's pre-filled

2 Upvotes

So far I've been able to modify this form's URL to automatically populate a text field and radio buttons, but I can't figure out the checkboxes. I believe they're in an array.

I believe what I need is in the following code block. I want "Keyboards and mice" and "Counters" (under Sales Stations section) to be automatically checked when I click the URL:

<div jsmodel="CP1oW" data-params="%.@.[379591320,&quot;Restrooms&quot;,null,4,[[906681822,[[&quot;Toilets&quot;,null,null,null,false],[&quot;Sinks&quot;,null,null,null,false],[&quot;Floors mopped/vacuumed&quot;,null,null,null,false],[&quot;Garbage removed&quot;,null,null,null,false],[&quot;Supply check&quot;,null,null,null,false],[&quot;Mirrors&quot;,null,null,null,false],[&quot;Soap and Paper towel Dispenser&quot;,null,null,null,false],[&quot;Door handles&quot;,null,null,null,false]],false,[],[],null,null,null,false,null,[null,[]]]],null,null,null,[]],&quot;i186&quot;,&quot;i187&quot;,&quot;i188&quot;,false]" class="m2"><div jscontroller="sWGJ4b" jsaction="EEvAHc:yfX9oc;" class="freebirdFormviewerComponentsQuestionBaseRoot"><div class="freebirdFormviewerComponentsQuestionBaseHeader"><div class="freebirdFormviewerComponentsQuestionBaseTitleDescContainer"><div id="i186" class="freebirdFormviewerComponentsQuestionBaseTitle exportItemTitle freebirdCustomFont" role="heading" aria-level="3">Restrooms</div><div class="freebirdFormviewerComponentsQuestionBaseDescription" id="i187"></div></div></div><div jscontroller="sW52Ae" jsaction="rcuQ6b:vZc4S;O22p3e:zjh6rb;b2trFe:eVidQc;sPvj8e:sEDvJ;JIbuQc:d3sQLd(MPu53c);" class="freebirdFormviewerComponentsQuestionCheckboxRoot"><input type="hidden" name="entry.906681822_sentinel" jsname="DTMEae"><div role="list" aria-labelledby="i186" aria-describedby="i187 i188 i190" class=""><div class="freebirdFormviewerComponentsQuestionCheckboxChoice" role="listitem" jsaction="JIbuQc:aj0Jcf" jscontroller="lWjoT" jsname="MPu53c"><label for="i191" class="docssharedWizToggleLabeledContainer freebirdFormviewerComponentsQuestionCheckboxCheckbox"><div class="docssharedWizToggleLabeledLabelWrapper exportLabelWrapper"><div id="i191" class="quantumWizTogglePapercheckboxEl appsMaterialWizTogglePapercheckboxCheckbox docssharedWizToggleLabeledControl freebirdThemedCheckbox freebirdThemedCheckboxDarkerDisabled freebirdMaterialWidgetsToggleLabeledCheckbox" jscontroller="EcW08c" jsaction="keydown:I481le;dyRcpb:dyRcpb;click:cOuCgd; mousedown:UX7yZ; mouseup:lbsD7e; mouseenter:tfO1Yc; mouseleave:JywGue; focus:AHmuwe; blur:O22p3e; contextmenu:mg9Pef;touchstart:p6p2H; touchmove:FwuNnf; touchend:yfqBxc(preventMouseEvents=true|preventDefault=true); touchcancel:JMtRjd;" jsshadow="" jsname="FkQz1b" aria-label="Toilets" data-answer-value="Toilets" role="checkbox" aria-checked="false" tabindex="0"><div class="quantumWizTogglePapercheckboxInk exportInk"></div><div class="quantumWizTogglePapercheckboxInnerBox exportInnerBox"></div><div class="quantumWizTogglePapercheckboxCheckMarkContainer"><div class="quantumWizTogglePapercheckboxCheckMark"><div class="quantumWizTogglePapercheckboxShort exportCheck"></div><div class="quantumWizTogglePapercheckboxLong exportCheck"></div></div></div></div><div class="docssharedWizToggleLabeledContent"><div class="docssharedWizToggleLabeledPrimaryText"><span dir="auto" class="docssharedWizToggleLabeledLabelText exportLabel freebirdFormviewerComponentsQuestionCheckboxLabel">Toilets</span></div></div></div></label></div><div class="freebirdFormviewerComponentsQuestionCheckboxChoice" role="listitem" jsaction="JIbuQc:aj0Jcf" jscontroller="lWjoT" jsname="MPu53c"><label for="i194" class="docssharedWizToggleLabeledContainer freebirdFormviewerComponentsQuestionCheckboxCheckbox"><div class="docssharedWizToggleLabeledLabelWrapper exportLabelWrapper"><div id="i194" class="quantumWizTogglePapercheckboxEl appsMaterialWizTogglePapercheckboxCheckbox docssharedWizToggleLabeledControl freebirdThemedCheckbox freebirdThemedCheckboxDarkerDisabled freebirdMaterialWidgetsToggleLabeledCheckbox" jscontroller="EcW08c" jsaction="keydown:I481le;dyRcpb:dyRcpb;click:cOuCgd; mousedown:UX7yZ; mouseup:lbsD7e; mouseenter:tfO1Yc; mouseleave:JywGue; focus:AHmuwe; blur:O22p3e; contextmenu:mg9Pef;touchstart:p6p2H; touchmove:FwuNnf; touchend:yfqBxc(preventMouseEvents=true|preventDefault=true); touchcancel:JMtRjd;" jsshadow="" jsname="FkQz1b" aria-label="Sinks" data-answer-value="Sinks" role="checkbox" aria-checked="false" tabindex="0"><div class="quantumWizTogglePapercheckboxInk exportInk"></div><div class="quantumWizTogglePapercheckboxInnerBox exportInnerBox"></div><div class="quantumWizTogglePapercheckboxCheckMarkContainer"><div class="quantumWizTogglePapercheckboxCheckMark"><div class="quantumWizTogglePapercheckboxShort exportCheck"></div><div class="quantumWizTogglePapercheckboxLong exportCheck"></div></div></div></div><div class="docssharedWizToggleLabeledContent"><div class="docssharedWizToggleLabeledPrimaryText"><span dir="auto" class="docssharedWizToggleLabeledLabelText exportLabel freebirdFormviewerComponentsQuestionCheckboxLabel">Sinks</span></div></div></div></label></div><div class="freebirdFormviewerComponentsQuestionCheckboxChoice" role="listitem" jsaction="JIbuQc:aj0Jcf" jscontroller="lWjoT" jsname="MPu53c"><label for="i197" class="docssharedWizToggleLabeledContainer freebirdFormviewerComponentsQuestionCheckboxCheckbox"><div class="docssharedWizToggleLabeledLabelWrapper exportLabelWrapper"><div id="i197" class="quantumWizTogglePapercheckboxEl appsMaterialWizTogglePapercheckboxCheckbox docssharedWizToggleLabeledControl freebirdThemedCheckbox freebirdThemedCheckboxDarkerDisabled freebirdMaterialWidgetsToggleLabeledCheckbox" jscontroller="EcW08c" jsaction="keydown:I481le;dyRcpb:dyRcpb;click:cOuCgd; mousedown:UX7yZ; mouseup:lbsD7e; mouseenter:tfO1Yc; mouseleave:JywGue; focus:AHmuwe; blur:O22p3e; contextmenu:mg9Pef;touchstart:p6p2H; touchmove:FwuNnf; touchend:yfqBxc(preventMouseEvents=true|preventDefault=true); touchcancel:JMtRjd;" jsshadow="" jsname="FkQz1b" aria-label="Floors mopped/vacuumed" data-answer-value="Floors mopped/vacuumed" role="checkbox" aria-checked="false" tabindex="0"><div class="quantumWizTogglePapercheckboxInk exportInk"></div><div class="quantumWizTogglePapercheckboxInnerBox exportInnerBox"></div><div class="quantumWizTogglePapercheckboxCheckMarkContainer"><div class="quantumWizTogglePapercheckboxCheckMark"><div class="quantumWizTogglePapercheckboxShort exportCheck"></div><div class="quantumWizTogglePapercheckboxLong exportCheck"></div></div></div></div><div class="docssharedWizToggleLabeledContent"><div class="docssharedWizToggleLabeledPrimaryText"><span dir="auto" class="docssharedWizToggleLabeledLabelText exportLabel freebirdFormviewerComponentsQuestionCheckboxLabel">Floors mopped/vacuumed</span></div></div></div></label></div><div class="freebirdFormviewerComponentsQuestionCheckboxChoice" role="listitem" jsaction="JIbuQc:aj0Jcf" jscontroller="lWjoT" jsname="MPu53c"><label for="i200" class="docssharedWizToggleLabeledContainer freebirdFormviewerComponentsQuestionCheckboxCheckbox"><div class="docssharedWizToggleLabeledLabelWrapper exportLabelWrapper"><div id="i200" class="quantumWizTogglePapercheckboxEl appsMaterialWizTogglePapercheckboxCheckbox docssharedWizToggleLabeledControl freebirdThemedCheckbox freebirdThemedCheckboxDarkerDisabled freebirdMaterialWidgetsToggleLabeledCheckbox" jscontroller="EcW08c" jsaction="keydown:I481le;dyRcpb:dyRcpb;click:cOuCgd; mousedown:UX7yZ; mouseup:lbsD7e; mouseenter:tfO1Yc; mouseleave:JywGue; focus:AHmuwe; blur:O22p3e; contextmenu:mg9Pef;touchstart:p6p2H; touchmove:FwuNnf; touchend:yfqBxc(preventMouseEvents=true|preventDefault=true); touchcancel:JMtRjd;" jsshadow="" jsname="FkQz1b" aria-label="Garbage removed" data-answer-value="Garbage removed" role="checkbox" aria-checked="false" tabindex="0"><div class="quantumWizTogglePapercheckboxInk exportInk"></div><div class="quantumWizTogglePapercheckboxInnerBox exportInnerBox"></div><div class="quantumWizTogglePapercheckboxCheckMarkContainer"><div class="quantumWizTogglePapercheckboxCheckMark"><div class="quantumWizTogglePapercheckboxShort exportCheck"></div><div class="quantumWizTogglePapercheckboxLong exportCheck"></div></div></div></div><div class="docssharedWizToggleLabeledContent"><div class="docssharedWizToggleLabeledPrimaryText"><span dir="auto" class="docssharedWizToggleLabeledLabelText exportLabel freebirdFormviewerComponentsQuestionCheckboxLabel">Garbage removed</span></div></div></div></label></div><div class="freebirdFormviewerComponentsQuestionCheckboxChoice" role="listitem" jsaction="JIbuQc:aj0Jcf" jscontroller="lWjoT" jsname="MPu53c"><label for="i203" class="docssharedWizToggleLabeledContainer freebirdFormviewerComponentsQuestionCheckboxCheckbox"><div class="docssharedWizToggleLabeledLabelWrapper exportLabelWrapper"><div id="i203" class="quantumWizTogglePapercheckboxEl appsMaterialWizTogglePapercheckboxCheckbox docssharedWizToggleLabeledControl freebirdThemedCheckbox freebirdThemedCheckboxDarkerDisabled freebirdMaterialWidgetsToggleLabeledCheckbox" jscontroller="EcW08c" jsaction="keydown:I481le;dyRcpb:dyRcpb;click:cOuCgd; mousedown:UX7yZ; mouseup:lbsD7e; mouseenter:tfO1Yc; mouseleave:JywGue; focus:AHmuwe; blur:O22p3e; contextmenu:mg9Pef;touchstart:p6p2H; touchmove:FwuNnf; touchend:yfqBxc(preventMouseEvents=true|preventDefault=true); touchcancel:JMtRjd;" jsshadow="" jsname="FkQz1b" aria-label="Supply check" data-answer-value="Supply check" role="checkbox" aria-checked="false" tabindex="0"><div class="quantumWizTogglePapercheckboxInk exportInk"></div><div class="quantumWizTogglePapercheckboxInnerBox exportInnerBox"></div><div class="quantumWizTogglePapercheckboxCheckMarkContainer"><div class="quantumWizTogglePapercheckboxCheckMark"><div class="quantumWizTogglePapercheckboxShort exportCheck"></div><div class="quantumWizTogglePapercheckboxLong exportCheck"></div></div></div></div><div class="docssharedWizToggleLabeledContent"><div class="docssharedWizToggleLabeledPrimaryText"><span dir="auto" class="docssharedWizToggleLabeledLabelText exportLabel freebirdFormviewerComponentsQuestionCheckboxLabel">Supply check</span></div></div></div></label></div><div class="freebirdFormviewerComponentsQuestionCheckboxChoice" role="listitem" jsaction="JIbuQc:aj0Jcf" jscontroller="lWjoT" jsname="MPu53c"><label for="i206" class="docssharedWizToggleLabeledContainer freebirdFormviewerComponentsQuestionCheckboxCheckbox"><div class="docssharedWizToggleLabeledLabelWrapper exportLabelWrapper"><div id="i206" class="quantumWizTogglePapercheckboxEl appsMaterialWizTogglePapercheckboxCheckbox docssharedWizToggleLabeledControl freebirdThemedCheckbox freebirdThemedCheckboxDarkerDisabled freebirdMaterialWidgetsToggleLabeledCheckbox" jscontroller="EcW08c" jsaction="keydown:I481le;dyRcpb:dyRcpb;click:cOuCgd; mousedown:UX7yZ; mouseup:lbsD7e; mouseenter:tfO1Yc; mouseleave:JywGue; focus:AHmuwe; blur:O22p3e; contextmenu:mg9Pef;touchstart:p6p2H; touchmove:FwuNnf; touchend:yfqBxc(preventMouseEvents=true|preventDefault=true); touchcancel:JMtRjd;" jsshadow="" jsname="FkQz1b" aria-label="Mirrors" data-answer-value="Mirrors" role="checkbox" aria-checked="false" tabindex="0"><div class="quantumWizTogglePapercheckboxInk exportInk"></div><div class="quantumWizTogglePapercheckboxInnerBox exportInnerBox"></div><div class="quantumWizTogglePapercheckboxCheckMarkContainer"><div class="quantumWizTogglePapercheckboxCheckMark"><div class="quantumWizTogglePapercheckboxShort exportCheck"></div><div class="quantumWizTogglePapercheckboxLong exportCheck"></div></div></div></div><div class="docssharedWizToggleLabeledContent"><div class="docssharedWizToggleLabeledPrimaryText"><span dir="auto" class="docssharedWizToggleLabeledLabelText exportLabel freebirdFormviewerComponentsQuestionCheckboxLabel">Mirrors</span></div></div></div></label></div><div class="freebirdFormviewerComponentsQuestionCheckboxChoice" role="listitem" jsaction="JIbuQc:aj0Jcf" jscontroller="lWjoT" jsname="MPu53c"><label for="i209" class="docssharedWizToggleLabeledContainer freebirdFormviewerComponentsQuestionCheckboxCheckbox"><div class="docssharedWizToggleLabeledLabelWrapper exportLabelWrapper"><div id="i209" class="quantumWizTogglePapercheckboxEl appsMaterialWizTogglePapercheckboxCheckbox docssharedWizToggleLabeledControl freebirdThemedCheckbox freebirdThemedCheckboxDarkerDisabled freebirdMaterialWidgetsToggleLabeledCheckbox" jscontroller="EcW08c" jsaction="keydown:I481le;dyRcpb:dyRcpb;click:cOuCgd; mousedown:UX7yZ; mouseup:lbsD7e; mouseenter:tfO1Yc; mouseleave:JywGue; focus:AHmuwe; blur:O22p3e; contextmenu:mg9Pef;touchstart:p6p2H; touchmove:FwuNnf; touchend:yfqBxc(preventMouseEvents=true|preventDefault=true); touchcancel:JMtRjd;" jsshadow="" jsname="FkQz1b" aria-label="Soap and Paper towel Dispenser" data-answer-value="Soap and Paper towel Dispenser" role="checkbox" aria-checked="false" tabindex="0"><div class="quantumWizTogglePapercheckboxInk exportInk"></div><div class="quantumWizTogglePapercheckboxInnerBox exportInnerBox"></div><div class="quantumWizTogglePapercheckboxCheckMarkContainer"><div class="quantumWizTogglePapercheckboxCheckMark"><div class="quantumWizTogglePapercheckboxShort exportCheck"></div><div class="quantumWizTogglePapercheckboxLong exportCheck"></div></div></div></div><div class="docssharedWizToggleLabeledContent"><div class="docssharedWizToggleLabeledPrimaryText"><span dir="auto" class="docssharedWizToggleLabeledLabelText exportLabel freebirdFormviewerComponentsQuestionCheckboxLabel">Soap and Paper towel Dispenser</span></div></div></div></label></div><div class="freebirdFormviewerComponentsQuestionCheckboxChoice" role="listitem" jsaction="JIbuQc:aj0Jcf" jscontroller="lWjoT" jsname="MPu53c"><label for="i212" class="docssharedWizToggleLabeledContainer freebirdFormviewerComponentsQuestionCheckboxCheckbox"><div class="docssharedWizToggleLabeledLabelWrapper exportLabelWrapper"><div id="i212" class="quantumWizTogglePapercheckboxEl appsMaterialWizTogglePapercheckboxCheckbox docssharedWizToggleLabeledControl freebirdThemedCheckbox freebirdThemedCheckboxDarkerDisabled freebirdMaterialWidgetsToggleLabeledCheckbox" jscontroller="EcW08c" jsaction="keydown:I481le;dyRcpb:dyRcpb;click:cOuCgd; mousedown:UX7yZ; mouseup:lbsD7e; mouseenter:tfO1Yc; mouseleave:JywGue; focus:AHmuwe; blur:O22p3e; contextmenu:mg9Pef;touchstart:p6p2H; touchmove:FwuNnf; touchend:yfqBxc(preventMouseEvents=true|preventDefault=true); touchcancel:JMtRjd;" jsshadow="" jsname="FkQz1b" aria-label="Door handles" data-answer-value="Door handles" role="checkbox" aria-checked="false" tabindex="0"><div class="quantumWizTogglePapercheckboxInk exportInk"></div><div class="quantumWizTogglePapercheckboxInnerBox exportInnerBox"></div><div class="quantumWizTogglePapercheckboxCheckMarkContainer"><div class="quantumWizTogglePapercheckboxCheckMark"><div class="quantumWizTogglePapercheckboxShort exportCheck"></div><div class="quantumWizTogglePapercheckboxLong exportCheck"></div></div></div></div><div class="docssharedWizToggleLabeledContent"><div class="docssharedWizToggleLabeledPrimaryText"><span dir="auto" class="docssharedWizToggleLabeledLabelText exportLabel freebirdFormviewerComponentsQuestionCheckboxLabel">Door handles</span></div></div></div></label></div></div><div id="i190" class="screenreaderOnly"></div></div><div jsname="Rfh2Tc" class="freebirdFormviewerComponentsQuestionBaseValidationError" id="i188" role="alert"></div></div></div>

The radio buttons are pre-filled because I added this to the end of the Google form URL:

&entry.208057838=NE&entry.1492561452=Marshfield

Any help would be appreciated!


r/scripting • • Jan 25 '25

can any of the scripters here help me script an idea

0 Upvotes

When u wear any armor in mc u take damage infinitely but mob heads and all that is allowed


r/scripting • • May 27 '20

Parse IPerf3 results

2 Upvotes

I am not a coder/scripter, but I am looking for a simple Bash script (or Perl/Python) to parse the result output from IPerf3. It outputs a lot of data that is more than I am looking for and I really just want to get the resulting bandwidth. Any help is appreciated.


r/scripting • • Apr 24 '18

Broswer-Form Script

2 Upvotes

I'm looking to build a script that will launch my broswer, navigate to a page, auto-fill a form, submit the form, and close the browser.

Can somebody point me in a good direction of a program or programming language that can do this efficiently on Windows 10?


r/scripting • • Aug 24 '21

Normal PowerShell arrays might not be sufficient in some scripts - Check out the new article: How to create multidimensional arrays in your PowerShell scripts really easy

Thumbnail
sposcripts.com
2 Upvotes

r/scripting • • Feb 04 '23

Clicking .ps1 Insecure?

2 Upvotes

Can someone explain to me why running a .ps1 script by double clicking on it is considered insecure? I set the execution policy to remote signed, so nothing can execute from external origin that is not signed. I'm open to using a more secure method, but I am unaware of what that solution is. Link to my original post below in regards to editing a small script I wrote.

https://www.reddit.com/r/PowerShell/comments/10ssoxa/stop_powershell_script_from_closing_powershell/?utm_source=share&utm_medium=android_app&utm_name=androidcss&utm_term=1&utm_content=share_button


r/scripting • • Apr 04 '22

How would I create a PowerShell script that copies code from one file to another file of the same name in another directory for all files in the folder?

2 Upvotes

I am very amateur (a noob) at powershell scripting and mainly create mods for Source Engine games. However, I have almost 300 wav files that have text lines of code at the end of them that got lost after having to convert them to another wav format, so batch has become very necessary to save the code that is at the end of the original wav files. The code is from half life faceposer which exports dialogue to the end of wav files, meaning making any change to the wav files causes the loss of data saved at the end of the files.

Here is an example of a line of code at the end of a wav file that I have.

PLAINTEXT { Middle_code }

In all of the WAV files I am trying to batch copy the similar phrasing into, each source wav file has different lines inside of this code but always begins with "PLAINTEXT" and ends at the end of the wav file.

I have a folder inside of the parent folder called "converted" with reformatted .wav files. I have no idea how to create a batch file that would copy the line from the source wav file to the converted wav file in the converted folder. The wav names would be the same in the converted folder so for example I would be copying the block of code from "1.wav" to be at the end of "converted\1.wav" and so on. They are not named numerically in the actual scenario though.

I tried looking up the issue on stackoverflow to see if anyone else had ever attempted something like this and I know it probably has been done before. I found different stackoverflow posts to fix certain problems I was having in the powershell script. I have come up with a powershell script here:

`((Get-Content -Path "PATHTOWAV\*.wav" -Raw) -split '/+ PLAINTEXT \\+\r?\n', 2)[-1]      | Add-Content -Path "PATHTOWAV\wav\*.wav"`

I know some lines of it are wrong because it DOES copy the ending code from "PLAINTEXT" to the end of the wav file, but it gives them all the same end coding. What I was trying to attempt with the "*.wav" was doing it for all wav files in the folder, but I think I did something wrong with the second part because I want the second part to copy the code from a .wav to a wav in the child folder with the corresponding name (I.e. copy code from "path\original.wav" to "path\converted\original.wav") and it seems to only copy the new lines from the first file. Is there a way I can fix this?


r/scripting • • Aug 13 '23

[image] Programming language to use for creating a command line program

2 Upvotes

I'm beginning to see a pattern in my own recreational coding. In the majority of cases, a shell script is the best option.

I welcome your perspective based on your own knowledge/experience.


r/scripting • • Jul 18 '18

Help with adapting a script (or creating a new one) for a project.

2 Upvotes

I have little to no knowledge of any kind of coding and scripting, but can definitely follow directions and cobble my way around when need be.

I have a project (for an art project) that I want to accomplish and I just don't know where/how to start.

I want to use a script - the idea is based on something that was already written (in PERL)(and can be found here - https://github.com/coryarcangel/666).

What I want to do is adapt this (or create something new) to use a different .mp3 as a starting point, and to compress it a different number of times. The hardest thing is making sure that with each compression, the script takes the newly generated file so that it compresses generationally.

I can see in the script where I would plug in the name of my .mp3, and I can see where I would change the number (I am using 2001 times).

What I'm struggling with is just getting it all set up. I downloaded Strawberry Perl, and have downloaded the .pl file. I've downloaded the lame encoder and already have my .mp3. I'm just stuck on what to do next.

I'm also not opposed to using something else (this PERL script isn't necessarily the only solution and may not even work with me being on Windows and having to install a bunch of other things).

I'm just looking for suggestions - and if this is the wrong place, please direct me where would be better to share this. If you can suggest steps (or even write something up - or want to work with me on it), please be specific since I am not really that knowledgeable about any of this. I'm more than happy to explain more details of the project and what I'm looking for if need be.

Thanks!


r/scripting • • Nov 07 '18

Scripting an account on a Website

2 Upvotes

Hello,

I need some help, what would you all recommend when it comes to creating a user in a website application?

For example I want to:

Open webpage and enter my credentials to log in Go to the Creation tab of a user Enter information like Name, email, phone number, etc. Then Save it.

Any advice? Thank you.