Questions tagged [scripting]
This tag is non-specific. Use a specific script tag instead. The following tags are much more specific: [awk] [bash] [bat] [google-apps-script] [javascript] [perl] [php] [python] [ruby] [sh] [powershell]
scripting
17,807
questions
0
votes
0
answers
14
views
Python CLI commands compiled into script [duplicate]
Is there a simple way of converting the sequence of commands I ran in the Python CLI session into a script?
I use CLI to create logic before actually writing the script. I use CLI to avoid repetitive ...
0
votes
0
answers
13
views
Stacktraces : how to identify the script (when using dynamic scripts)?
Let's say we have 2 dynamic scripts, generated locally, e.g.:
const scripts = [
"console.log(new Error().stack)",
"console.log(new Error().stack)"
];
We can run them in ...
0
votes
0
answers
16
views
My Script inside my model's part doesn't run when I clone it
This is my code for spawning in the model itself which is located in ReplicatedStorage, which this is the hierarchy:
SpawnDoor (Model)
Door (Sound)
Light (Folder)
Door1 (Part)
Door2 (Part)
Part (Part)
...
0
votes
0
answers
14
views
gitlab dynamic repo content
We're using gitlab repos, ci/cd, jobs, variables, etc. to build/deploy containers into our local K8s environment. I'd like to produce repo pages that scan certain areas of the repo and report data in ...
-5
votes
0
answers
42
views
Appending to an Array in Bash [closed]
So I am currently working on some practice exercises for learning Bash Scripting, one of which is a brute forced way of doing calculating up to the nth Fibonacci sequence where n is an input from the ...
-1
votes
0
answers
35
views
RTL mark - some specific questions [closed]
I am processing some Hebrew text in python and I have not dealt with the RTL mark before. There I have two potentially very simple questions:
I understand from reading about it on wikipedia the use ...
0
votes
0
answers
54
views
OOPS in Powershell script [closed]
I am a long time OOP developer (mostly in C#).
I recently got into a PowerShell project, which is large and complex.
I see the styling closely resembling to the scripting model (which is expected) ...
2
votes
1
answer
41
views
How can I make an external program not pause my PowerShell script?
I use the below script to run two programs in parallel (line 3 and line 5; line 1 just makes the file open PowerShell, execute the commands and close it again). Unfortunately, the script pauses at ...
-1
votes
0
answers
36
views
Script to Recall data from a Google Sheet row to another sheet
I need some help.
googling somewhere I made a script to copy my sheet data into another sheet single row
this is my 1st sheet where I enter data:
link image1
and this is my other sheet save on row
...
0
votes
3
answers
52
views
In batch (`.bat`), how do I set a variable to print multiple newlines?
From this other SO post, learned that
SET n=^&echo(
echo First line%n%%n%Second line
prints
First line
Second line
How do I define nn to print 2 new lines? The following didn't work
SET n=^&...
0
votes
3
answers
53
views
How to run a python file from another file
I am trying to do some multiple files programming and I am not sure how to run my file from another file.
def execute_python_file(self):
try:
os.system('python HabitTracker.py')
...
-1
votes
0
answers
27
views
How to capture the status bar error message [duplicate]
I am unable to capture the status bar error message, if we enter any incorrect data then status bar will appear the error message this error message I wanted to copy.
I am using this VBA code which ...
0
votes
2
answers
85
views
How to read a .txt file in reverse order using Batch
I have a data.txt file that I parse through in my .cmd script, I go through it from the first line to the last. I want to start from the last line and go to the first instead.
FOR /F "EOL=; ...
0
votes
0
answers
24
views
How to display transparent GIFs using AutoHotkey script when pressing CapsLock?
I am trying to create a script in which if you press the capslock key a gif image appears on the screen, but the gif image appears with a solid black background, it is not transparent, what am I doing ...
0
votes
0
answers
15
views
How to open ssh remmina from zabbix URL link?
I have a zabbix card with nodes, I added the URL: ssh://{HOST.CONN}, and in windows I opened the putty application using the received IP address, but in linux this no longer works, instead of opening ...