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
-
0
votes1
answer53
viewsScript created in Pycharm closes by pressing the "enter" key inside the terminal
Here’s the thing. I’m new in the middle of programming. I use Pycharm to study python. When I try to run a script created in Pycharm by IDLE, just after I hit the "enter" key the window closes.…
-
0
votes1
answer89
viewsScript conflict in my html file
I am creating a web application where the main page is a Timeline, and this Timeline should update your content automatically. I’m using Jquery’s setTimeOut function to update Timeline every x…
-
0
votes1
answer1272
viewsRename files with Python by dynamically adding numbering
I have a directory with many pdf lists, and want to rename the files dynamically. Ex: ~/teste/ |__ProjMed-Química-Físico.Química-quimica_propriedades_coligativas_exercicios.pdf…
-
0
votes0
answers13
viewsinsert calelanario plugin with jquery
I’m trying to insert this calendar https://colorlib.com/wp/template/calendar-17/, more by what I see has no documentation, by the little I know about jquery, it would be necessary to move the…
-
0
votes1
answer187
viewssimple question: "why does Eval() not work?"!
I have a simple code to run, I never used Val, but I know its syntax: var package = "edos.desktop"; eval(package + ".main()"); But it’s not working in my browser... I tried to use some alternatives…
-
0
votes1
answer434
viewsJson script with problem, Google Chrome locks and does not work in another browser
I am trying to auto-fill data from the ZIP code, with the following code. $("#cep").blur(function() { var cep = this.value.replace(/[^0-9]/, ""); if (cep.length != 8) { return false; } var url =…
-
0
votes1
answer936
viewsHow to run multiple onEdit functions in the same script (google Sheets)?
I tried several ways and none worked. I want a function that when someone types something, the cell content automatically becomes all uppercase and no accents. E.g.: if I type "aaaauu", it…
-
0
votes1
answer828
viewswindow.onload property interferes with loading several scripts?
The estate window.onload () = () => { //Executa algo } Can it only be in a script? Let me give an example for the best understanding. If I have 3 scripts called: mail js. js test. something.js…
-
0
votes0
answers105
viewsExpect Script - String with special characters
I’m building a connection script using expect, spawn, send, etc. My problem is time to enter the password. The password I’m testing is test! Q@W#E$R, the problem that when I run it returns: can't…
scriptasked 5 years, 8 months ago Lucas Moura 23 -
0
votes2
answers161
viewsPHP = Send Message + Message Thanks + (button) or refresh
Boas, I am bicão and I keep moving in my site I would like the help of you s: After the customer sent message appeared white screen with message of thanks. I fixed to return to the site but the…
-
0
votes1
answer245
viewsSeparate fields by TAB
I’m making an appointment SQL and returning the results in a file . txt, so far so good! It has now been requested that the contents of the file be separated by TAB (ASCII 9 ). I did a lot of…
-
0
votes1
answer83
viewsPagemodel.Page() is a method, which is not Valid in the Given context
I’m needing to use a script from an Alert() in my project . NET core Razor, and when I add the line: Page.ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "alertMessage", "alert('Hello…
-
0
votes0
answers633
viewsShow modal with Typescript
Hello, I’m making a code in which I will need to open a modal Bootstrap in Typescript, but I’m not able to do it. Help me there please. I’ll leave an example for you to pick up here. function…
-
0
votes1
answer184
viewsForeign key creation error Mariadb
Hello, I am creating the following tables in my Mariadb database: CREATE TABLE `compras` ( `id` int PRIMARY KEY, `aberto_por` int, `titulo` varchar(255) NOT NULL, `empresa` int NOT NULL, `orcamento`…
-
0
votes1
answer48
viewsAdd values with different codes
good evening, I have the script below: SELECT Month([doacao_total].[doacao_sdt_data]) AS MES, Year([doacao_total].[doacao_sdt_data]) AS Ano, Sum(doacao_total.doacao_mon_valor) AS [Valor_doacao],…
-
0
votes2
answers199
viewsJavascript does not work in IE 11
Recently I was looking at some websites and found a code "Dark Mode", but when testing it I realized that it does not work in IE 11. In IE developer mode the error is "Syntax". Code: const…
-
0
votes1
answer44
viewsShell Script Backup Error
Guys,I’m trying to make a script in which when plugging the USB stick into the pc, it would synchronize the files from certain folder of the USB stick to the pc. I created a udev rule so that when…
-
0
votes0
answers321
viewsVBA running python - Script does nothing
Good afternoon, I have a VBA command calling a specific Python script. What happens is that if I run the script manually, it works perfectly, no problem at all. Running by VBA it only gives the…
-
0
votes2
answers102
viewsHow to create an Animation in Javascript using For
I’m trying to make a Div have the background changed to the three primary colors in case Yellow, Blue and Red, however would only start to change the color 4 seconds after the page is updated, wrote…
-
0
votes2
answers179
viewsSkip line in XML with Python
Hello! I am creating a program in Python where the output of the program will be an XML script in the ABAP language (for a SAP specific transport), but when I export the output to XML it does not…
-
0
votes1
answer241
viewsHow to make a total disjunction in EER diagram? (Mysql Worckbench)
Hello, I need to deliver a sales system and I need to make the entity "payment form" one of these sub-classes (card, check, billet or deposit), only one per instance... How to represent the…
-
0
votes1
answer136
viewsExtract part of text in a variable
I am creating a script to backup some directories via powershell, but for a certain directory, I want to access a file, read a line and return a string with part of the line. XPTO file has the…
-
0
votes1
answer84
viewsMysql key creation error
I’m making the following mistake: Error Code: 1005. Can’t create table bravo.tb_gerenciador (Rrno: 150 "Foreign key Constraint is incorrectly Formed") follows the script: -- MySQL Script generated…
-
0
votes1
answer440
viewsCan I work with array in SQL SERVER?
Hello fellow collaborators... I have a server that has more than 100 banks, and most are of the same structure. I would like to create a function, process or whatever. That could expedite my…
-
0
votes1
answer48
views -
0
votes1
answer516
viewsHow to set variable using substring in batch code (Windows CMD)
Talk to you guys, I am trying to generate a code seeking part of the service name in Windows to set in a variable (ORACLE_SID). I need to search the service Oracleservice. Next to the name has the…
-
0
votes0
answers19
viewsI am trying to write a program that makes a document automatically with the past information
I’m trying to make the script but I don’t know how to structure and create the pdf file, gathering all the information passed via raw_input(): from pip._vendor.distlib.compat import raw_input import…
scriptasked 4 years, 6 months ago Jurandir Santos 1 -
0
votes1
answer42
viewsscript where a given time and day of the week redirects the user to a specific page
I am trying to create a script so that one page redirects the user to another depending on the day of the week and the time. I found something, but it didn’t work: ` Function Checktime() { var…
-
0
votes0
answers22
viewsJquery Do not load in wordpress (multiple form show user before submitting)
Good, I have a script on a Wordpress page (which is not running) where I am submitting a form with files via ajax. I want to show the user which files are being uploaded and which the user can…
-
0
votes1
answer103
viewsimport a txt file into mysql
need a little help, someone knows how to import a txt file into mysql in such a way IP: data city: data state: data Latitude: data Longitude: data IP: data city: data state: data Latitude: data…
-
0
votes0
answers68
viewsHow to compare SUM with another numeric field?
Good afternoon, I have a table SB2010 where I have the current quantity of product in stock and have the table SB8010 where I have the quantity of the product separated by lots. I need to verify if…
-
0
votes1
answer39
viewsI want to be able to customize OUTPUT, I want to be able to customize the result of the calculation but I cannot with this code
1.I have already done the css of the first part, that is the part that commands the information, which in this case is the height and weight. I want to take this information and calculate the BMI.…
-
0
votes1
answer243
viewsIntegration with Python and JS
At the moment I’m developing an application that uses a JS code to generate a photo of a div and a python script that sends an email with a photo attached, I wonder if there is a viable way to…
-
0
votes1
answer60
viewsHow to change the legend, leaving it with the same strokes that are represented in the graph?
I generated a graph that has three types of line; dotted, dashed and continuous. The problem is that subtitles are displayed as if all lines were equal. How can I fix this? ggplot(dados,aes(x =…
-
0
votes1
answer33
viewsDoubt column concatenation
The code below returns a sum per classification. Something like this: Services = type 1 Materials = type 2 the expected result is that there is only one row, and that in this Row I have the value of…
-
0
votes1
answer24
views -
-1
votes3
answers4103
viewsPut a url inside select option
How to put a url within the option of a select? When the user selects the select option it would already redirect to url within the option. The way I tried the url is concatenated with the previous…
-
-1
votes1
answer82
viewsDelete "," in the first and last line of a CSV
I have a csv that’s exported like this: +++ Host - Begin +++,, Name,Description test1,abc2 test2, abd3 +++ Host - End +++,, How do I get this result? +++ Host - Begin +++ Name,Description test1,abc2…
-
-1
votes2
answers517
viewsSlow response (PHP MYSQL)
<?php require('DB.class.php'); //$conexao = mysql_connect('xxx.xxx.xxx.xxx','base_dados','utilizador'); //$db = mysql_select_db('base_dados',$conexao); $SQl_list =…
-
-1
votes1
answer178
views.bat number generator
I need one. bat that generates random numbers with the characters 123 in different sequences type 123,321,213,312,231 preferably using a number of each without being so 212. but if it only goes…
-
-1
votes1
answer56
viewsRun command - Terminal
Remembering that this is not just for this case, I want to create for example . Bats to automate some things, so I would like to know how to make you wait for the return of commands and interpret my…
-
-1
votes1
answer38
viewsIdentifying number of hits on the page
I’m trying to perform a check of how many times a person performs access to a given page, but I do not know how to do it, I would like to perform this in PHP or Javascript. First Access: Display…
-
-1
votes0
answers9
viewsI want to know if there is any way to see how long a process or a service is open by cmd, because I am building a script and need
I want to know if there is any way to see how long a process or a service is open by cmd, because I am building a script and need. Type if necessary may even be that the script calls the powershell.…
-
-1
votes1
answer184
viewsCan you help me?
I am with a project to be done, the project itself consists of creating an sql script based on entity model and relationship, the booklet itself is not very well formulated and based on what I…
-
-1
votes1
answer96
viewsReturn false does not work Typescript
I am making a code with Typescript and I check if a field has less than 9 digits, if it has less than 9, should not proceed to Ubmit, but for some reason it is proceeding. <form method="post">…
-
-1
votes1
answer188
viewsHow to not add zeroed values - SQL
I have several columns and some of them are practically zeroed, like every 100 rows have a value. I’m adding these columns with SUM(column1), SUM(column2)... but when adding up these columns I don’t…
-
-1
votes1
answer22
viewsIs it possible to download the link page displayed in the onclick input?
This is the div with the input that displays the link! <div> <input type="text" class="mb-5 form-control" id="linkIn" readonly> <button type="button" class="btn btn-primary"…
-
-1
votes1
answer38
viewsInsert Multiple Data from a Dynamic Form into MYSQL
I don’t have much knowledge in PHP and I have a form where the user has some fields to fill and write in the SQL database, and a field of this form will be dynamic where the user can add as many…
-
-1
votes0
answers4
viewsHow to modify a value after it has been moved to another column or row in Google Sheets?
I need to create a Script for my Google table The main idea is that when I move the value of a cell up or down this value is edited accordingly Ex: If moved to a row above increment or if moved down…
-
-2
votes3
answers284
viewsHow not to run script on mobile devices. in Wordpress
How to make a Script not run in wordpress, when someone is using a mobile device, tablet, or any mobile device. the script would look like this <script data-cfasync="false" type="text/javascript"…