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
-
1
votes0
answers15
viewsMount a c++ script
Hello, I wanted to assemble a script in c++ capable of detecting the color of the pixel on the cursor and if detecting run the click function Here to detect the color of the pixel:…
-
1
votes0
answers56
viewsIdentify which set of coordinates is within a radius in the ORACLE base
Hello personal I have a script here in Mysql, however I need to apply it in an Oracle database, SELECT *,(RAIO_TERRESTRE * acos( cos(radians(PARAMETRO_LATITUDE)) * cos(radians(COLUNA_LATITUDE)) *…
-
1
votes1
answer31
viewsHow to swap a div of place with script?
For example I have on the page: <div class="geral"></div> "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.…
-
1
votes2
answers68
viewsAdd values inside XML tags with C#
I’m trying to create a C# script for a Plugin in Notepad++, where the goal is to add all the values inside the tags <ValorDesconto>, <ValorCancelamento> and <ValorTotalLiquido> of…
-
0
votes1
answer450
viewsHow could I trigger an action in a PHP script with a link?
How could you trigger an action in a PHP script from a link? <ul class="categorias"> <li><a href="">Lançamentos</a></li> <li><a href="">Vista…
-
0
votes0
answers60
viewsAutomatically add line
I wanted an sql script or excel function that runs along the line and when find "Out of Compliance" add me a new line Name Food from Approved Source (C) Food Protected from Contamination (C) 16…
-
0
votes1
answer43
viewsRun script on XP machines
I have a script running correctly on 7 machines, but not on XP. If it runs locally, do what you want, but not via GPO. The script checks the OR of the computer, checks a file .csv and puts icons…
-
0
votes2
answers554
viewsEmergence of the excited Div
I have a Div, I am building a Custom Menu, in the Responsive style. I’d like to make her come up with an animated one, coming from the left side. Div contains the Menu links and a close button…
-
0
votes1
answer9249
viewsImport . csv files to Mysql Workbench
I have a. csv file in column A: Product1 Product2 ... In column B I have: 1 2 ... if you want to put in the column The row 1 written Produ1 how do I proceed in the script? And what type of variable…
-
0
votes0
answers4854
viewsMove files to a particular folder automatically
I have a backup routine in SQL that automatically generates backup of databases in this folder: D:\Backup\Backup_SQL\Databases I created a bat (forfiles) that compresses these backup files and…
-
0
votes1
answer913
viewsPlay and Pause script in HTML5 video does not work
I found this script here on the site. it serves to give play and pause in HTML 5 videos. But it seems to have an error, the click and pause effect only works if you have 1 video on the page, if you…
-
0
votes1
answer129
viewsRedirect output to variable with whitespace
I am making a script where I want to capture a path to the name of a user file and then use it, plus the extension, to redirect the output of a command. example: Insert path: ~/Videos/file I do it…
-
0
votes1
answer96
viewsError of arguments in Unity Photon
I was developing an online project and I cited the following function - PhotonNetwork.CreateRoom, and the following error occurred to me: Assets/Scripts/Sindico.Cs(53,31): error CS1501: No Overload…
-
0
votes1
answer45
viewsUnity Error Developing an Online Project
How I fix this mistake? Assets/Online/Online.Cs(139,25): error CS0246: The type or namespace name `Playerbehaviour' could not be found. Are you Missing a using Directive or an Assembly Reference?…
-
0
votes0
answers106
viewsShow selected checkbox number taking into account existing records in the database
Hello I have a script that updates the database every time I check the checkbox without the client seeing; <script> $(document).ready(function() { $('.check').click( function () { if…
-
0
votes0
answers348
viewsLog in Vbscript
I need to create a log to see who used my script, and this log has to go to a txt. Below is the procedure, as I create this log that contains the user and the date On Error Resume Next Dim…
-
0
votes3
answers280
viewsMake a shell script bash that extracts to a new file all names and nr of women whose number starts with "91"
Consider that there is a "file1.txt" file that you have for example: Name of the person;Sex;Postal code;Cell phone number;Brand of the Cell Phone ... How do I write a shell script bash that extracts…
-
0
votes0
answers240
viewsSimple php email script correct but does not send, is the server?
Good morning friends, I have the following script but it is not sending the email, it is the server? http://paulinhomotos1.hospedagemdesites.ws/exemplo/form/form.html HTML: <html> <head>…
-
0
votes1
answer155
viewsAWS script to delete snapshot longer than 7 days
I need to make a script to delete my snapshots in mine AWS longer than 7 days. To perform the creation use this script, I hope it helps. AWS ec2 create-image --no-reboot --instance-id i-131e8e06…
-
0
votes1
answer470
viewsScript conflict
I am developing a website and for page transitions, using $.get() from Jquery and modifying only the center of index.html, without the page reloading. However, some features of the code snippets…
-
0
votes2
answers47
viewsCount script - Sqlserver
I own the table Telefone , that records the phones they called. I need to make a script that shows the number of phones that called. If a phone calls more than once, it doesn’t count. I need to do…
-
0
votes0
answers27
viewsHow to do the tour Next time stay always closed
Since When charging for the first time, the information box where the Tour Start button is displayed opens right after loading the page, the next times it will always be closed
-
0
votes1
answer2569
viewsError when establishing a connection to the Database
I’m getting this message over and over again : Error when establishing a connection to the Database I read some articles about this problem and always the solution that indicate is to check the…
-
0
votes1
answer172
viewsWhen to use a scripting language?
When to use a language of script and what is the ideal setting for its use? I’ve been reading about languages script and I thought about the possibility of using them in my C/C++ project for a game…
-
0
votes2
answers241
viewsHow to switch the #(fence) symbol by the $(dollar sign) in the terminal after switching user
I’ll be direct, because the title denotes part of my curiosity about the linux console. Explain In some distros like - xPud and Basiclinux3 no "HOME" support is only "ROOT" and ready! In the distro…
-
0
votes1
answer129
viewsHow do I make Google not index this script?
Hello! I started using a script on my wordpress site to display advertisements of an advertising network, the problem is that when I went to webmaster tools I noticed that the script is making…
-
0
votes1
answer57
viewsNightmare (Unity training day) Part of script not found
Hello I am configuring the script of "Playermovement" of the project Nightmare of UTD 2014, well, arriving at this part (shown in the photo) I went to configure the script for the player to follow…
-
0
votes1
answer881
viewsCreating new users through Shell Script
I’m trying to create a shell script to add new users to the GNU/Linux system But without entering native commands like adduser or useradd in the script, it would be something in the nail. I have…
-
0
votes2
answers247
viewsImage upload using CGI Python - Doesn’t work!
Hello, I created an html file with one and I intend to select an image from a directory and after clicking on Ubmit this image should be saved in another directory. Some help? That’s what I’ve tried…
-
0
votes1
answer812
viewsCan you create css class at runtime? But with a caveat!
I came up with a question that can be of help to many, the point is that in an html form we make a lot of use of style class (css) to make life easier, it turns out that creating classes for some…
-
0
votes1
answer31
viewsInsert date in bd with JDBC Google Script
I am trying to write several data in the database (Mysql), but in the data of the date type the following error: Unable to find setTimestamp(number,string) method. (line 32, file "Code") The code…
-
0
votes0
answers35
viewsError in Grant script all
I have a little problem in a script that theoretically will give permission to a specific group in a postgresql database. Follows script: #!/bin/bash su postgres -l -c "psql -c 'grant all on…
-
0
votes2
answers213
viewsHow can I continue a BAT on a new profile after restarting
I have seen many sites teaching you how to continue a BAT, but this occurs in the same profile. In my situation I need it to be started in another profile, include when restarting Windows, a new…
-
0
votes2
answers224
viewsHow to open a pop after a few seconds and close after a few seconds after open
Code updated and working. Leo Caracciolo’s contribution $(document).ready( function() { $('.popScroll').show(10000); $('.popScroll').delay(20000).fadeOut(); $("#close").click(function(){…
-
0
votes2
answers36
viewsRemoval of string in script
To edit this file and remove any incidence of [[*m as I edit sed? The incidences are marked in bold. sed’s/ [[*m//g' file The backup routine is still running on the server! The backup process began…
-
0
votes0
answers152
viewsApk read external script and runs it
In C# it is possible to compile at runtime external code written in C# and run it inside the application, without having to use some Script language. But I’ve never used anything like this with…
-
0
votes1
answer109
viewsError message - Parse error: syntax error
I’m getting the following error: Parse error: syntax error, Unexpected '[' in C:.. iwpserver htdocs wordpress wp-content themes 1 inc tempo.php on line 6 In the.php time file on line 6 I have this…
-
0
votes0
answers45
viewsConnecting several banks with mysql loop
good afternoon My doubt is related to connection to several databases in mysql for reporting I would like the annual result of the year 2016 in sales, so I want to take the result of each month, but…
-
0
votes1
answer1696
viewshow to call the file function . js
I am unable to call a javascript function from a file. Ex: Filing cabinet: javascript inside the briefcase raiz/scripts/javascript.js function responsivo () { $('#responsivo').popover({ //trigger:…
-
0
votes1
answer852
viewsSendkeys does not work with accented word in VBA - Excel
I’m developing a script in VBA, in Excel. This code will populate another program, using the data collected in the cells. But cells that contain some word that has accents, are not working. I am…
-
0
votes2
answers107
views.bat that deletes the file name leaving only what is inside ()
I have a file like this: blabla_(29ago2017)_blabla I need you to stay like this: (29ago2017) Is there any code in . bat that does this job for me, ie just leave what is inside parentheses as file…
-
0
votes1
answer58
viewsSelect all records from a table with Groovy
I need to get all the records from a table from a script in Groovy, but with the script that I created it is taking only one record of each column and out of order too. Mine script this way: List…
-
0
votes0
answers133
viewsServer with PHP Timer
I would like to use PHP to run a monitoring server, which runs periodically (Ex: hour in hour) a check, but without relying on Cron or Task Scheduler, unless it is to "start" this PHP server,…
-
0
votes1
answer209
viewsDoubt with exercise in Shellscript
I would like some help to resolve these exercises: In the Ex4.1.sh script add the option to enter the word and file name directly from the command line this way: $ ./ex4.1.sh <palavra>…
-
0
votes1
answer87
viewsDisplay image on Twitter Wordpress Cards without plugin
I have this code, to add Twitter Cards without the need of 1 plugin, just adding the code in functions.php. The code works, but the image of the article only appears if attached to the post. I would…
-
0
votes3
answers83
viewsHow can I display only the package names while being unpacked
The question that perhaps already have some answer, however I did not find. I’m kind of lost, I would say that a little confused even because what I’m asking I think I’ve done it in some…
-
0
votes1
answer4059
viewsError connecting database (Fatal error: Uncaught Error: Call to Undefined Function mysql_connect() in )
am having problems connecting the database of my website. The following error happens: Fatal error: Uncaught Error: Call to undefined function mysql_connect() in…
-
0
votes2
answers174
viewsAngular scroll with problem loading BD data
I am trying to implement Infinite Scroll to my project and following some lessons I found on the internet I reached this code: <?php $query = "SELECT * FROM produtos ORDER BY id DESC"; $resultado…
-
0
votes0
answers111
viewsScript to pass an advertisement before the video
How do I stop by putting one of my own ads before a Youtube video and after that spend 50% of the time on the video and another advertisement passes after the video continues. The advertisement…
-
0
votes1
answer478
viewsJquery add and remove attribute not working
I’m trying to create a way to minimize and maximize a DIV. Minimize works, but maximize does not. What am I doing wrong? $("#chatMinimizar").click(function() { $("#chat").attr("style", "height:…