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
-
2
votes2
answers71
viewsSwap the image with one click on multiple records
I have a little problem in Javasscript. I have a table with several lines, in each row has data and a check at the end of the line that, when clicked, changes the image. Very similar to the Joomla…
-
2
votes1
answer202
viewsFilter cmd output with VBS and return value
I have in my environment Arcserve Backup, which is the tape backup program we use, in it we have a program called ca_qmgr that manages the queues of backup Tvs, with a parameter via CMD so that it…
-
2
votes1
answer1686
viewsHow to run a python script from a directory inside another script that is in another directory?
I have a python script "dad": import subprocess # Executar script de outra pasta if __name__ == '__main__': cmd = "main.py -u abcd -p 1234" subprocess.call(cmd, Shell=True) Which calls the script…
-
1
votes1
answer494
viewsInstability when loading Jquery dynamically in window.load() in Firefox
I have a feature where depending on the situation I should declare the Jquery library and some other scripts, such as the script Alert.js than a class of the same name. I have tested this…
-
1
votes1
answer821
viewsUpdate with JOIN in Mysql
I am updating to table A which will receive values from Table B in accordance with a.codigo = B.folha When you run the routine below, it is slow and nothing happens for a long time. It is 500,000…
-
1
votes2
answers19198
viewsScript /.bat to kill certain process on all users logged in to the computer
Well, folks, my problem is this: I have a process called gdc.exe. If a user has this process open and another user logs into the machine and tries to run the program that generates this same…
-
1
votes2
answers104
viewsChange Wordpress functionality
How to change this script, so that instead of it grab the image from the Wordpress directory, it grab the first image that exists in the post. The purpose of this script is instead of the theme…
-
1
votes1
answer1225
views -
1
votes1
answer164
viewsHow the first image of the post shows - Wordpress
I am editing the theme for wordpress http://www.arrastheme.com/ but a problem has arisen. My images are hosted on picasa and linked in the post. The images do not appear in the home or in the…
-
1
votes3
answers5685
viewsHow do I open a file from a specific directory in . PDF in Visual Basic 6?
I created an application which saves files in a specific directory. What I would like is to click a button, I can open this file . pdf.
-
1
votes0
answers94
viewsNightmare (Unity) animation error
I followed all the steps, I use the new version of Unity, when I run the game, the animation of walking n works it keeps going without the animation, when you spend a few seconds the animation…
-
1
votes2
answers1376
viewsHide Pop Up Lightbox div when Clicking an Element/button
I made an ad on my website, for Multipurpose. I’d like to do a "Popup" (Popover, or known Modal) customized my, in case I created a div. The ID of div is adonsite, and I’d like to close it by…
-
1
votes4
answers3804
viewsLock CTRL key in All Browsers
I want to protect my content. Already "I Destroyed" the Right Click on my Site, But now I’d like to lock the CTRL key. Because it gives rise to copy and paste commands, and I don’t want to use this…
-
1
votes1
answer1315
viewsHow to run a script before a view on sql server?
I created a view and it looks for information from an X table. Only this table X, must be created in a select, before executing the view, for the data to be updated. It has to create something in…
-
1
votes1
answer657
viewsHow is it possible to change position li?
How is it possible to change position li? I’ve tried to store in arrays and use methods for array but it didn’t work. <html> <head> <title>teste</title>…
-
1
votes1
answer64
viewsScript Problem with PHP Checking Session
I have a form but it is hidden only when clicking a button located on the Nav is called that function: <script> function verifLog(){ <?php session_start(); if (isset($_SESSION['user'])){…
-
1
votes0
answers30
viewsSearch for a road name in the Overpass API
I need help, I want to know how to get the data from the street(name, type, address, etc.) through the Latitude and Longitude, using the Overpass API, I am beginner with it and I really need this…
-
1
votes1
answer194
viewsChange script variable value via Java application
I created a script where inside this script there’s a bond like while. The condition for that while is escolha != 1. Everything works ok, but in the middle of this while i run a Java application…
-
1
votes2
answers188
viewsscript.vbe - encrypted virus
I received a.rar file and inside had a.vbe file I will put below, I would like if anyone has any idea what this script does, inform me, because a user of my network clicked and firefox keeps…
-
1
votes1
answer112
views -
1
votes2
answers346
viewsShell Failure C#
Friends, I ask for help to solve a small problem. I am running SQL command through sqlcmd and Shell on C#, but the file is in a folder that contains "space", as follows. Path: D: Sandboxes\CIA…
-
1
votes1
answer97
viewsScript to swap place string with another string
I have the file /etc/udev/rules.d/70-persistent-net.rules that have such interfaces: SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="1c:af:f7:e7:a4:3c", ATTR{dev_id}=="0x0",…
-
1
votes1
answer52
viewsJavascript help
How do I get this script to run in 10 seconds ?? <script type = "text/javascript"> function simulateClick(x, y) { var clickEvent = document.createEvent('MouseEvents');…
-
1
votes1
answer91
viewsBatch Move and Del commands are not working
@echo OFF mkdir saida sort %1 > cadperfiSorted 2>> saida\error.txt start MAKEOPEACER5.jar cadperfiSorted del cadperfiSorted //OPEACER5 é um arquivo gerado pelo .jar move OPEACER5 saida This…
-
1
votes1
answer403
viewsHow to 'Loop' in Multi-dimensional Array in Bash?
Situation: I need to create a multi-dimensional array script. Example: Table 1 >> Campos id and name Table 2 >> Campos id and telephone Current script: #!/bin/bash declare -A arr…
-
1
votes1
answer485
viewsHow to run a PHP script even with closed browser
I need a php script to run even with the browser closed. There is this possibility? I would like some suggestions. Thank you very much!
-
1
votes1
answer164
viewsScript that erases files by Spellnumber
I wanted to delete several types of extensions, but I don’t know how to increment if in batch, someone could help me and teach me how to increment if in the code below: @echo off cd…
-
1
votes1
answer246
viewsAdd Players in script code
I have the following code: var buttons = $('#videoGallery .vid'); var liHeight = $('#videoGallery li').height(); buttons.click(function(){ var videoID = $(this).attr('data-videoID'); var videos =…
-
1
votes1
answer3356
viewsEdit txt file by bat
I have the following problem: In a Windows directory, I have 3 files .txt that every day is created automatically. Within them there are several lines with information. I wish to erase two lines…
-
1
votes1
answer144
viewsHow to put image in this code?
Hi, I was wondering how can I add an image to this code that makes use of the three.js. I wanted to add it and make that same effect of the site Bad TV Shader…
-
1
votes1
answer60
viewsRedirect standard HCIDUMP output using GREP to a file
I am using a shell script to do HCIDUMP and using some filters to write to a file. With the following command, the destination file is empty. hcidump -a l2cap | grep -v -e 'CAP' -e 'HCI' >…
-
1
votes0
answers366
viewsHow to place a Progress Bar for a process in Flask?
Hello, By clicking the 'Send' button, the selected file (.jpg) is copied to several directories. I want to show this process to the user via a simple progress bar. Any hints? this is part of my…
-
1
votes1
answer392
viewsTime on timestamp
Talk it up, boys, it’s all right? Is it possible I know how much two hours in conversion timestamp? On this line I convert the current time to timestamp. $hours_2 = str2time(localtime()); But I need…
-
1
votes2
answers1178
viewsDecrypt a code (as I understand it is in ASCII)
Well, basically I’d like to know if there’s any way to turn a script written in ASCII into Characters and if there is, how would I turn it? Code (1) local code =…
-
1
votes1
answer2925
viewsCalling more than one script bat
I have a very boring situation and I could not find a solution, I have 2 scripts and the same are called through another, my problem is that it calls one and not the other, one starts one tomcat and…
-
1
votes1
answer110
viewsProblem running application in R
While Trying to Run the Script Below: Area="C:\Users\user\Desktop\shape.shp" Pasta="" library(raster) library(rgdal) library(rgeos) library(maptools) long2UTM <- function(long) {(floor((long +…
-
1
votes1
answer93
viewsVary Script within Div
I would like to incorporate a quiz in script in the sidebar of my site, are 3 quiz actually and did not want to put one below the other, I would like them to automatically switch each other every…
-
1
votes0
answers100
viewsHow to run npm script on Heroku in production?
I need to use Migrations from Sequelize in a Nodejs application that is already in production in Heroku, but I don’t know how to add the scripts in package.json so that the database migrations are…
-
1
votes0
answers23
views -
1
votes1
answer116
viewsVbscript build error when running bat file to send email
The error is described in the image. Can anyone tell me why? I have tried to save the file with encoded ANSI but still does not give. Set objMail = CreateObject("CDO.Message") Set objConf =…
-
1
votes2
answers649
viewsCheck the form to see if password entered is easy
I want to create a script so that in the registration form I have, check the most used and less secure password. That is, check for example passwords written by users and do not allow logging, such…
-
1
votes1
answer130
viewsError using a function outside the Python script
I created a function that uses other functions that are not in the same script, when running the program I find an error, stating that the function outside the script is not defined. All functions…
-
1
votes1
answer572
viewsSynchronous Xmlhttprequest on the main thread is deprecated because of its detrimental effects to the end user’s Experience
When I include @Scripts.Render("~/bundles/jqueryval") at the bottom in partialview I get warning on log: Synchronous Xmlhttprequest on the main thread is deprecated because of its detrimental…
-
1
votes0
answers56
viewsContent from an in-app website on Intel XDK
I’m developing an application on Intel XDK where I need to publish the site content in the app. That is, when I update the site, the content in the application is also updated. Remembering that the…
-
1
votes0
answers69
viewsHow to pass a function in an array in the powershell?
I need to create a script, some of the fields are avoidable and I would like to pass a function to edit it but when I pass it inside the array it pops one ERROR.
-
1
votes1
answer53
viewsAbout String Handling
I have a somewhat curious problem, perhaps a challenge. I need to add to my database the list of all cities in Brazil, I found an SQL with all the way I need, however, the name of the SQL table…
-
1
votes1
answer703
viewsAdd cases to a query
I need to create a query that adds up to 2 cases, but I’m not getting it the way I did. Case the field D3_UM = 'PC', he must add the field D3_QTSEGUM. Case the field D3_UM <> 'PC', he must add…
-
1
votes1
answer5830
viewsHow to run shell commands on debian startup?
I need you to call my Raspberry pi 3 for it to execute the following scripts: $cd ~/Desktop $source ~/.profile $workon cv $python raspberry.py only that, then it will already run my program…
-
1
votes1
answer124
viewsScript to show capital of selected state?
Well, I wanted that when selected a certain state, show an Alert informing the capital of it. Already, I thank. <!DOCTYPE html> <html> <head> <meta charset="utf-8" />…
-
1
votes1
answer789
viewsCan you create a cron to delete files with retroactive dates?
See my need, I have a cron that runs every morning and creates a file.ddmmaaaa.backup on the Linux Kubuntu server, it happens that the hard drive fills up quickly since this backup file has 500MB on…