Most voted "script" questions
Scripts are "scripts" followed by computer systems and bring information that is processed and transformed into actions performed by a main program. Sounds complicated, but it’s not.
Learn more…372 questions
Sort by count of
-
3
votes2
answers4145
viewsScript not authenticated
Time and again I come across an icon in the browser bar, stating that the page is trying to load scripts from an authenticated source. Why does this happen?
-
3
votes1
answer8878
viewsGenerate table Insert script in sql server
Using Sql Server 2012. I made a query with the title above and did not bring anything in the search. I have a BD and need to take it elsewhere. Therefore, the best way is to generate a script of all…
-
3
votes3
answers528
viewsHow to deactivate CTRL+C in batch?
You can deactivate the CTRL+C command in batch?
-
3
votes1
answer753
viewsHow to run a script without worrying about special characters?
I made a batch for windows to install some programs and make settings automatically, it worked normally, but when doing a test using a folder that had space in its name it stopped working, put in…
-
3
votes1
answer941
viewsCircumvent primary key duplication error
Hello, I have the following script, . sql, to create a table and also create a Trigger. SET client_encoding TO 'LATIN1'; CREATE OR REPLACE FUNCTION before_insert() RETURNS trigger AS ' DECLARE n…
-
3
votes2
answers396
viewsHow to create a shell script that puts an echo at the beginning of each line in a file
I need to create a script that inserts the echo command at the beginning of each line of the file and at the end >> blocodenotes, for example #!/bin/bash ls -l uname -a netstat -tunap I want a…
-
3
votes3
answers2628
viewsscript for printer installation automation
Good afternoon guys, I have in my environment a print server with a total of 63 printers installed and shared on the network, I would like a script for automating the installation of these printers…
-
3
votes1
answer87
viewsShutdown the computer when a particular program shuts down
I’m turning an old CPU into a Minecraft server. When turning the computer on, I can get it to open the server via script (starting a -jar file), however, I would like to have it shut down as soon as…
-
3
votes2
answers84
viewsError of memory allocation
I am creating a C script to classify a triangle according to the 3 sides passed. For this I use three distinct variables, lado1, lado2 and lado3, as illustrated by the code below: #include…
-
2
votes1
answer839
viewsWindows Ping should return only the package response values
I am making a script as ping command and I want to get only the response of the sent and received packages, so far only be able to display the ping media using this variable : for /f "tokens=*…
-
2
votes2
answers2417
viewsAuto Mouse click on a content within a div?
I wonder if it is possible to make a div with auto click. That would be how the page loads and when someone clicks on any part of the page the mouse will click on the content inside the div. in case…
-
2
votes1
answer428
viewsAdd "Input List" in Java Script
I’m having some difficulties with Javascript. I want to add some fields of my "Input List" and multiply others by clicking on a "Calculate button", thus informing a value in an "Input Text". Nothing…
-
2
votes1
answer114
viewsscript does not load and dependencies fail
Sometimes I notice that a script does not load, and the rest of the scripts that somehow use it, end up failing. What to do to recognize when not loaded and try another alternative(like loading from…
-
2
votes1
answer282
viewsSlide gallery one image at a time with Bxslider
I’m trying to create slide gallery with http://bxslider.com/ I would like the gallery to run one image at a time and not a group of images. Example I am using but would like to CHANGE :…
-
2
votes2
answers59
viewsWhat php code do I use to know if the data is being received from a given form?
I have two search forms. The first with the name "buscaid" the second "buscaimv" needs a php code that checks whether data is being received from either of the two only, otherwise it will be…
-
2
votes0
answers78
viewsScript (automate a site’s fields)
Hello, they passed me a task that I do not know how to start, automate some fields of a given site, not to need to keep typing them every month, I was given a spreadsheet with several values, and I…
-
2
votes1
answer223
viewsContent Auto Clickable with Script
Guys I’m trying to use a script to try to give an automatic Play in a Youtube video. The closest I found was the script below. This script does something close to what I need, but it just does it at…
-
2
votes1
answer748
viewsbatch script - move parent directory and subdirectory
as I create a ".bat" to move all files in specific or better only those with extension ".txt" from one directory and all its subdirectories to another folder.…
-
2
votes1
answer192
viewsSystem of real estate sites and redirection to each domain pointed
I am developing a real estate system in which when the user makes his registration he gets a basic URL to access his site. Example: foo.bar/template/1/site.php? id=73646 That is, all the files of…
-
2
votes1
answer3619
viewsEnable and disable a button
personal. I am developing a form with some mandatory inputs/fields, and below the fields, there is a button, whose destination/action given(a) to it is only released if the fields are filled in. I’d…
-
2
votes2
answers209
viewsTo highlight a line in the result of php+sql query
I am developing an App that uses a page PHP where I will have a ranking of points that the user makes when performing some interaction with it. I have a script that generates the list in order (from…
-
2
votes2
answers602
views -
2
votes2
answers192
viewsWhy do you need to close the script tag?
Why open only one tag <script> doesn’t work properly? I know it’s not the same thing as Stylesheets of CSS: <link rel="stylesheet" href="assets/css/bootstrap.min.css" /> But why it is…
-
2
votes1
answer505
viewsHow to call a function within a PHP script from the command line
I want to know if I can call a function inside a script from the command line, using for example: $ php script.php minhaFunção() <argumento> in the case, the function is not within a class (it…
-
2
votes1
answer1315
viewsChange task time on Windows
I need to configure a Windows job to run every 30 seconds, but the task scheduler has a minimum time of 1 minute and if I try to change to (30 seconds || 0.5 minutes || 0.5 minutes) I always get the…
-
2
votes3
answers12797
viewsRefresh page after action
I have a function to change records in the database and use a modal to show success or error message in the change. The point is I can delete, but I would like after this function to be completed…
-
2
votes2
answers462
viewsCopy excel extension files from various subdirectories with ssis
I To head banging on finding the solution to copy excel extension files from multiple subdirectories with ssis. I tried to get the foreach loop container to do it but I couldn’t, then they passed me…
-
2
votes2
answers2094
viewsHow to create a search box?
I wish to put on my website a search box of words and I don’t know how to do it, I’ve tried several examples and none worked! I need this search box because my site is very extensive and would…
-
2
votes1
answer101
viewsConvert query to Sqlserver
I have the following query for the Oracle bank: select xmlagg(xmlelement(e, d.delinha, '').extract('//text()') order by d.nulinha).getclobval(). I need to convert to run in the Sqlserver bank, but…
-
2
votes1
answer263
viewsDiv appear only once
How to make a Div (not a pop-up, but more like a protective screen) appear once every 6 hours using Jquery and Cookies? I can’t use PHP because the platform I’m using is Blogger and it doesn’t…
-
2
votes1
answer113
viewsHow to change Cartesian file coordinates in an automated way
I have a certain folder with several files, and these in turn contain inside description of coordinates points cartesian X and Y. However, I want to replace these points automatically and…
-
2
votes0
answers210
viewsWhat are the pros and cons of scripting languages?
I have been researching and can see the development and abstraction that programming languages have been taking. What are the real pros and cons of scripting languages compared to compiled ones,…
scriptasked 6 years, 9 months ago Alex Arkanjo 31 -
2
votes1
answer4040
viewsjsPDF include css
How do I save this DIV, with css formatting, if it is easier to do with table, also can, because what I need is only show this DIV with value inside. It will be generated side by side. var doc = new…
-
2
votes1
answer275
viewsScript to identify 2 active services, take down the 2 and go up only 1
Next, I have a service here in my environment that runs on some machines, however this service can not be duplicated ( can not have 2 active services at the same time ) I wonder if it is possible to…
-
2
votes1
answer2306
viewsScript to check running process and finish or not
i have a process called monitor.exe and the same can not have 2 active processes because it is a print monitor that if you have 2 active processes the same will issue 2 duplicate tax notes, so I…
-
2
votes1
answer125
viewsTake data-Cod element value
How do I get the value of the data-Cod element? $(document).ready(function() { $('.chatUsuariosLista').click(function() { $("#para").val(this.id); }); }); <script…
-
2
votes1
answer163
viewsHow do I add instead of concatenate
would like a help. I have the following code: var totalBruto = 0; var tot_desconto_vlr = 0; var total = 0; var totalLiquido = 0; $(document).ready(function () { $(".desc_vlr").on("input", function…
-
2
votes2
answers151
viewsDoubt about shell script
I’m studying linux, and it’s my first contact with the shell script, the documentation I wanted to do is the following: #!/bin/bash if [ uname - m = "x86_64" ]; then echo "sua versão é de 64bits"…
-
2
votes2
answers72
viewsClear Cell Content (A2) if the value of another cell(A1) is equal to a specific text
Please someone can help me with the following case: I have a spreadsheet in Google Sheets; I need a script to clear the contents of a given cell (A1) IF the text of another cell (A2) is equal to a…
-
2
votes1
answer401
viewsClipboard with content filter - Autohotkey
you have an idea of how to automate the following situation? I’m using Autohotkey for this. I will tell you the situation and then I will tell you the hypotheses I considered (part of them only,…
-
2
votes3
answers861
viewsHow to recursively rename numbered files by naming other files
What I am currently looking to do is rename all files in a folder, where there are also other files of different format. See Example: FOLDER - BEFORE 1.txt 2.txt 3.txt Daniela.jpg Amanda.jpg…
-
2
votes4
answers117
viewsCopy one line at a time from the source file to the target files
A new need arose accompanied by a good and new question that until then did not find anything similar on the internet - Copy a single line at a time to a different single file. Example for each new…
-
2
votes1
answer174
viewsHow to run find -exec on files that have been modified for more than 15 days?
I am trying to remove some files from a directory, but I cannot mount a command. What I want would be more or less like this: find -name '*.log*' -mtime 15 -exec rm -f {} Find the default name and…
-
2
votes1
answer5138
viewsHow to run a powershell function by calling the file . ps1?
all right with you guys? I request a help created a function that backs up virtual machines this function receives two parameters the server name and the VM name. I need to call function by running…
-
2
votes2
answers740
viewsShell Script - insert variable in a command
Hello, first I want to say that I am beginner in shell script. My doubt is: I have a script that will execute a series of commands, one of these commands is an "input" in which asks me to type a…
-
2
votes2
answers1693
viewsHow to remove accent using bat/cmd
How to create folder using a user name without special accent(s) or character(s)? Like, for example, changing càmbio for cambio Is there a command that converts this? Thanks!…
-
2
votes1
answer1166
viewsWhich Way to Recursively Remove Accented Characters from File Names
I tried other scripts I found online (*os I found), but to no avail. So I want to know some of you(s) how to do this automated/recursive task. Shell Script Taken from: https://tsgii.blogspot.com/…
-
2
votes3
answers3774
viewsWrite text to Shell Script
I am making a Shell Script, and I have to record a lot of lines in a single file, how can I do this more automatically? 'Cause I started doing it in a very manual way: echo "primeira linha do…
-
2
votes3
answers115
viewsInvalid parameter in batch script
I created the following batch script to prevent the user from deleting some directories within their home directory. We use Onedrive for Business and some symbolic links for the user to…
-
2
votes1
answer193
viewsRecover cookie with Typescript
hello, I’m passing a jQuery code that I was developing, for Typescript... I had made in Jquery a withdrawal of cookies that was working perfectly. What I need is to pass to the avriável, the value…