Search for script in Topics


Scripting

I what to write a script that I can mail so that once it is opened it can copy a file and mail it to me.please help

Question by TeoI2    |  last reply


Script Codes

Is it possible to get a list of all script codes? Thank you.

Topic by ChelEddy    |  last reply


vbs scripts

Does any one know vbs scripting if so comment cause I want to learn it. (please tell me codes)

Topic by animan1    |  last reply


Java Script Links

Ok, I need to know this, but I am sure it will help the members of the community also. Ok, the thing is, my life would be easier if I knew how to look at the coding or something to tell which answer is right on this thing. I was thinking I could somehow get the code and find which one is right by looking at it. Thank You.

Topic by King825    |  last reply


Script I Wrote

This is a script i wrote for my graphic design class for a video project im doing. this is the first time me doing this. i didnt give the actors names because i wanted it to relate to people wathcing it and say "oh that sounds like me..." I was wantting to make something emotional that would motivate people to keep pushing on even when times are hard.( i will have pictures of story board up latter) hope u enjoy it :D By: Nick Melinich Female Actress *(voice spoken in her head, not out loud. More the actress talks, the more emotional she gets. By the end of her line, the actress will be sitting with her knees pressed into her chest, arms wrapped around her legs (like she is hugging for comfort), and lower part of her face buried in-between her knees, back facing the door, on the ground crying .Monolog show what the actress is experiencing, like getting bullied/ getting bad grades/ sleeping at the her desk/ and feeling alone.)* “I can’t… take this anymore… everyday just gets harder and harder… bad grades … no one to talk to…getting picked on……. Feeling alone… I can hardly sleep anymore, my new bed had become the desk im at, and my pillow is a cold hard text book… I feel like im losing control, my life is just slowly slipping through my fingers… when I attempted to stretch my hands to its full extent, deep into this dark abyss. Trying to grasp motivation/hope/happiness…no matter how much I try… I always to come out with a handful of disappointment… what’s the point anymore… in coming to school… im just set to fail anyways… no matter what…” Actor Enters the Room *shot will show the actress in the middle of the “year book” floor with her back towards the door, sitting (like in previous scene). Camera is eye leveled with her. Actress looks like she hit “rock bottom” with hair messed up on one side. Actor creeps in slowly to check on the actress. When the door clicks behind him the actress will be startled by it and jump and turn around to face the actor* ACTOR “Hey… are you all right?” Actress *turns and slowly walks away, arms folded* “just go way…” Actor “no, you seem like you need someone to talk to” Actress “(pauses, shallow breath in to chest) I can’t do this anymore…” *sobs* Actor “do what?” Actress “(quiet, monotone voice) school/ all this work/grades/ life/ just everything…(slowly raises voice) its all just to much, I question why I even come in at all, there’s nothing to look forward to, there is no one I can talk to, there is nothing for me… im alone… I give up!” *goes back onto the floor, full face into knees, crying.* Actor “You’re not alone… im here, there are teachers here that care… you have friends that care, your surrounded by people that care and are willing to help… if you give up now, you will be throwing away all of the years that you have spent learning…  you wont be able to do anything with your life… and that is when you will be truly alone… even though the hard, challenging times. You have to keep pushing through, even though there is no sign of hope.” Actress *slowly turns towards actor* “­your right…” Actor “don’t worry about it “ Actress *walks up and hugs him* “thank you so much” Actor *pulls away from hug, looks at her and smiles* “do you want some help with your work?” Actress *wipes her face dry of tears and smiles back* *Says in a sad tone, but more happily* “(pauses) yes I would.” Ending shot *actor helps actress out with her over bearing work, and cheers the actress up and gives her that motivation to work again*

Topic by Ares252    |  last reply


Scripting Vs Programming? Answered

What is the difference between scripting and programming?

Question by artworker    |  last reply


Arduino script not working?

The script isn't compiling. it says: expected initializer before 'void' how can i fix this also, i want to be able to set the buttons on the transmitter e.g, click a button on the arduino, on the remote click forward reverse left and right the car i want to use is a tyco rc mutator, i have realays that i'm going to use for the motors\ ##edit## ........... void setup()   {   Serial.begin(9600);   irrecv.enableIRIn(); // Start the receiver   pinMode(BUTTON_PIN, INPUT);        <---   delete these when testing   pinMode(STATUS_PIN, OUTPUT);     <--- } // Storage for the recorded code int codeType = -1; // The type of cod........

Question by The nerdling    |  last reply


Apple scripting question? Answered

I am new to Apple computers, I just got an older system off of ebay for testing purposes and so that I can learn how to use them.  (I want to go into IT for a living, so I will need to learn how to use them.) I need a little help getting started with my first project.  I have made a working program for what I want to do in Windows as a batch file (which I then compiled into an .exe).  For a company that I am starting, people often need to send me large files, and I want to give them a way to do this.  I have two FTP servers (one in the cloud, and one at home that my parents make me shut down every night).  Since these files are large enough that it takes awhile to download them from my cloud server, my script automatically selects which server to use based on the current time.  It then prompts the user to drag and drop their file into the dos window to select the files they wish to upload.  After that, it creates an FTP script which is then executed using the ftp /s command.  This program works great. I would like to get this program working on my mac as well (I realize that I probably can't use the same script, I will have to change it).  I considered using a bash script, but it seems that you would have to start the script from terminal (it can't just be executed by clicking on it like in windows).  I've also looked at automator, but as far as I can see it doesn't even have the ability to upload to FTP. At this point, I just want to make an easy way for people to upload to a specific FTP server without having to enter usernames, passwords, IP addresses/ urls, etc.  I don't even care if it automatically switches between servers like my other script... that is a bonus.  To any mac programmers out there, if you were going to do this; where would you start?  (Stick with bash, applescript, automator, another programming language, etc.) Thanks!

Question by thegeekkid    |  last reply


Arduino Script Issue?

Hey world, I am making device that will automatically water my xmas tree: I am using the basic "button" script from the Arduino IDE examples. the only change I have made so far is instead of using an actual push button I am sticking 2 bare copper wires(the ground has a 10k resistor) into a jar.  When water is added to the jar the connection is made and the LED goes on. The problem is that it only stays on for like 7 seconds. I need it so as long as there is water in the cup the light stays on. any ideas? Below is a copy of the script. Thanks! const int buttonPin = 2;     // the number of the pushbutton pin const int ledPin =  13;      // the number of the LED pin // variables will change: int buttonState = 0;         // variable for reading the pushbutton status void setup() {   // initialize the LED pin as an output:   pinMode(ledPin, OUTPUT);   // initialize the pushbutton pin as an input:   pinMode(buttonPin, INPUT); } void loop() {   // read the state of the pushbutton value:   buttonState = digitalRead(buttonPin);   // check if the pushbutton is pressed. If it is, the buttonState is HIGH:   if (buttonState == HIGH) {     // turn LED on:     digitalWrite(ledPin, HIGH);   } else {     // turn LED off:     digitalWrite(ledPin, LOW);

Question by Mpc1055    |  last reply


Busy script slowing down pages

The site is running slowly, and every time I change pages it takes an unusually long time for the page to load up, interrupted by this message pop-up: A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete. Script: https://www.instructables.com/static/js/prototype.js:5550

Topic by Kiteman    |  last reply


How to install a web script php / sql

Someone explain to me how to install a web script php / sql? Wait for response. Thanks a lot.

Question by Francesca Diamanti    |  last reply


Why won't this batch script work? Answered

I am making an alarm/timer script, and this line isn't working.: IF '%TIME%'=='0:18:05.20' (GOTO yes) ELSE (GOTO LOOP) It works when I put %DATE% in instead like this: IF '%DATE%'=='03/01/2011' (GOTO yes) ELSE (GOTO LOOP) It quits really quickly with the first line, but i was able to see what is says, and it says 0:18:05.20 was unexpected at this time. What's going wrong?

Question by XOIIO    |  last reply


How to check if a program exists from a bash script?

How would I validate that a program exists? It should then either return an error and exit or continue with the script.  Can someone help me???

Question by valeriavetralla    |  last reply


Total Views Count -- 13/10/2011

This forum topic is a printout of the results of a Perl script I run weekly. To be included in it, join this group. The Perl script visits the profile page of each member of the group and extracts their Total Views then saves them to a file that can be opened by me in Excel. I then post the last 3 columns so everyone can compare their weekly gain with their friends. While you can easily see this data for you on the You page, this script allows people to compare their success/gain with their friends. I hand out patches as achievements when members of the group reach 50k, 100k, 250k, 500k and 1m views. Member Last Week This Week Gain scoochmaroo 6,116,993 6,286,556 169,563 canida 5,258,110 5,327,186 69,076 fungus amungus 4,642,600 4,703,728 61,128 randofo 3,818,917 3,878,532 59,615 Honus 2,961,177 3,001,175 39,998 jessyratfink 2,438,765 2,497,073 58,308 Kiteman 2,136,903 2,170,007 33,104 Plasmana 2,143,784 2,161,931 18,147 Tool Using Animal 1,840,983 1,853,385 12,402 T3h_Muffinator 1,241,227 1,251,289 10,062 killerjackalope 1,237,928 1,248,205 10,277 drinkmorecoffee 1,222,828 1,239,081 16,253 zieak 1,211,906 1,221,199 9,293 ChrysN 1,165,180 1,204,454 39,274 Creativeman 1,183,574 1,202,117 18,543 gmjhowe 1,149,313 1,157,347 8,034 chr 1,055,211 1,078,799 23,588 lemonie 1,055,951 1,068,673 12,722 Weissensteinburg 1,052,977 1,062,649 9,672 SaskView 1,013,270 1,020,390 7,120 seamster 988,061 1,006,852 18,791 frenzy 961,786 979,401 17,615 mikeasaurus 791,937 817,132 25,195 Brennn10 785,190 791,922 6,732 shesparticular 765,787 776,666 10,879 mikey77 745,783 754,306 8,523 CameronSS 723,487 726,457 2,970 jeff-o 671,876 683,199 11,323 PKM 660,337 665,350 5,013 aeray 618,592 629,747 11,155 scraptopower 616,545 627,714 11,169 laxap 616,261 623,655 7,394 depotdevoid 559,698 569,677 9,979 ModMischief 532,887 557,608 24,721 belsey 535,271 540,698 5,427 starshipminivan 495,370 512,504 17,134 Jayefuu 478,062 496,632 18,570 AngryRedhead 356,841 364,220 7,379 nmcclana 331,546 336,574 5,028 Spl1nt3rC3ll 323,315 325,048 1,733 rimar2000 315,951 322,028 6,077 BrittLiv 314,942 318,089 3,147 Vyger 298,364 300,055 1,691 KentsOkay 288,167 290,671 2,504 scooter76 286,681 289,903 3,222 rickharris 264,282 271,649 7,367 Ninzerbean 247,003 253,908 6,905 Greasetattoo 226,878 231,567 4,689 Lithium Rain 218,539 222,362 3,823 mary candy 181,457 222,054 40,597 Xellers 216,429 221,059 4,630 Technochicken 216,098 219,744 3,646 dark sponge 211,043 212,244 1,201 bongodrummer 196,565 198,348 1,783 bertus52x11 189,558 191,982 2,424 Hiyadudez 187,231 190,258 3,027 comodore 183,840 185,715 1,875 vishalapar 146,768 185,243 38,475 uniqueutopia 179,374 183,609 4,235 Kaelessin 177,265 179,332 2,067 yokozuna 175,607 176,982 1,375 janw 173,727 176,130 2,403 Lynne Bruning 169,447 171,780 2,333 Dr.Paj 166,928 168,531 1,603 iminthebathroom 152,651 159,721 7,070 RavingMadStudios 149,035 153,080 4,045 thermoelectric 149,056 151,377 2,321 Nelson_Yepez 148,262 150,809 2,547 JamesRPatrick 136,879 138,225 1,346 The Jamalam 136,581 137,607 1,026 ynze 129,619 132,502 2,883 I_am_Canadian 130,250 132,117 1,867 jen7714 127,457 130,264 2,807 sunshiine 114,958 124,472 9,514 DJ Radio 117,323 118,633 1,310 Goodhart 116,948 118,064 1,116 annahowardshaw 102,775 108,030 5,255 wizgirl 100,390 101,774 1,384 Mr.Sanchez 89,386 93,083 3,697 Killer%7ESafeCracker 89,999 90,948 949 Jimmy Proton 87,323 90,866 3,543 MichelMoermans 86,981 88,306 1,325 dombeef 75,680 78,383 2,703 mman1506 72,923 74,072 1,149 Biggsy 69,579 72,530 2,951 Shadowman39 69,024 69,949 925 Re-design 66,747 67,472 725 agis68 66,581 67,378 797 ajleece 65,324 65,830 506 The Ideanator 59,296 60,325 1,029 arthurb 58,553 59,020 467 TNEN 56,856 57,393 537 kelseymh 55,487 56,056 569 Sunkicked 55,003 55,465 462 coolpizzadude 52,409 52,951 542 EmmettO 51,714 52,551 837 TitanTechRobotics 50,361 51,178 817 KoffeeKommando 49,500 50,870 1,370 HHarry   49,223 - cammers 46,399 48,072 1,673 Berkin 46,123 46,707 584 knuckel 45,868 46,418 550 beanieostrich 43,159 45,742 2,583 TSC 44,380 45,422 1,042 LargeMouthBass 40,316 45,153 4,837 jwystup 42,823 43,549 726 nickodemus 41,672 42,396 724 lilyfrancis 39,485 39,951 466 Z.Backas 38,794 39,353 559 Win Guy 36,746 38,931 2,185 MotaBoi 37,361 37,793 432 diyoutdoorsman 32,812 37,466 4,654 ahrshin 35,494 37,076 1,582 iceng 31,729 35,407 3,678 lizzyastro 34,529 35,273 744 TabbyDeAnne 32,874 34,678 1,804 cdawisconsin 32,218 34,470 2,252 kcls 33,372 34,189 817 cbm104 33,740 34,048 308 patriots8888 33,270 34,032 762 steveastrouk 32,666 33,133 467 possum888 32,568 33,057 489 Data643 31,938 32,326 388 Rob O 31,124 31,656 532 shadowninja31 31,165 31,451 286 krysteanuh 30,427 31,292 865 peguiono 30,075 30,339 264 Tornado96 28,024 28,696 672 Derin 27,330 27,764 434 plane phanatic 27,470 27,745 275 CrayfishYAY 26,702 27,101 399 Mimikry 25,111 26,959 1,848 m6233555m 26,699 26,825 126 Knex_Gun_Builder 25,782 25,966 184 tqwerty 24,359 25,722 1,363 splazem 23,830 24,535 705 zack247 23,369 24,149 780 qazwsx755 23,287 23,903 616 lil larry 23,285 23,877 592 drknotter 19,905 22,492 2,587 Tom Buckey 22,069 22,212 143 Dr. Pepper 21,553 22,009 456 zurichko 20,246 21,426 1,180 floris2burn 20,591 21,182 591 fdmjh 20,535 20,840 305 aeronut01 20,109 20,605 496 Legofanatic 20,165 20,517 352 zascecs 19,727 19,846 119 nutsandbolts_64 18,551 18,917 366 Nostalgic Guy 16,260 17,283 1,023 mJusticz 16,751 17,216 465 knexsuperbuilderfreak 16,463 16,608 145 acidbass 15,376 15,658 282 Sorunome 15,110 15,449 339 Twinmum 10,470 14,856 4,386 masterochicken 13,452 13,576 124 ilpug   13,298 - knexinventer 12,164 12,762 598 NachoMahma 11,986 12,028 42 A-Nony-Mus 11,463 11,694 231 colorex 9,640 11,378 1,738 username252 10,123 10,619 496 Kryptonite 10,387 10,611 224 FrozenStar 14,846 9,920 - monsterlego 8,103 9,744 1,641 cherishcherub 9,201 9,368 167 LoneWolf 9,032 9,237 205 moocowdog 8,723 8,867 144 NatNoBrains 8,453 8,729 276 slithien 8,406 8,602 196 RollerScrapper 6,488 6,746 258 RNB 6,350 6,516 166 wareneutron 5,771 5,827 56 tbcross 5,499 5,593 94 jamesdude 5,304 5,347 43 MegaMetal8%28Left Ibles%29 5,164 5,248 84 Kaptain Kool 4,653 4,954 301 Super_Nerd 4,479 4,846 367 9400dk 4,635 4,670 35 Randomguy65 4,479 4,651 172 happyjo 3,927 4,458 531 BladeFyre Studios 4,236 4,348 112 solarblade90 4,117 4,242 125 mg0930mg 3,853 3,937 84 Jag56 3,599 3,697 98 35Timmy   3,264 - nfk11 3,493 3,263 - cj81499 2,853 2,865 12 AwesomeSwordGuy 2,599 2,704 105 neuropol 2,552 2,684 132 shadon 2,302 2,377 75 zero.gx 2,304 2,334 30 ElvenChild 2,007 2,126 119 TheAwesomestDude 1,854 2,048 194 Mutantflame 1,795 1,820 25 cyanyears 1,547 1,624 77 LivStoleYourPie 1,526 1,595 69 FastLearner 993 1,017 24 Karma Charger18 394 463 69 Fr-Pa-Co 362 365 3 Alexvolos1 291 316 25 heratio 203 207 4 %28YOUR N 187 190 3

Topic by canida    |  last reply


Greasemonkey script "all comments"

I created a very basic greasemonkey script that adds a "all comments" link just below the normal "add comments" button.  When you click it the page will reload and all comments (up to 2000), not just 50 at a time, will be displayed.  Script simply appends "?&sort;=NEWEST&limit;=2000&offset;=2000" to the end of the URL.  This should making searching through comments with "ctrl+F" much more useful.  Note that the page reload might take a while if there are a lot of comments. I am a copy paste coder, this works on my machine(xp with FF3.5) and my account, you however are on your own.  If your computer explodes and the internet breaks after you install this, I'm very sorry.  When you download this file you will get a .tmp file.  Rename it to whatever.user.js, the only important part is that it end in user.js.  Next, right click on whatever.user.js and choose open with firefox, you can then install it in the browser. Update--Works in Chrome.  Follow the same renaming steps as above, then simply drag it into an open chrome browser window.  Chrome will give you the generic warning, just click "continue" to install.

Topic by crispyjones    |  last reply


Greasemonkey script for instructables comments

I put together the tiniest of GS scripts to make the comments a little easier to read. Click the GS script to install.

Topic by fungus amungus    |  last reply


&quot;CUZ IM&quot; Script Plz?

Well, I heard about a few scripts to make your browser not show K'nex projects, etc. I was wondering if Zachninme, (I think you made them), could make one to hide the "CUZ IM" comments perhaps? Ooh, btw, how do you apply those scripts?

Topic by bumpus    |  last reply


Need help with web script? Answered

I know a little about scripting web pages, but I'm mostly a hardware guy.  I need to figure out how to make certain text on a web page change based on where the client's location is.  (For instance, I need to say "serving (client town here) and the surrounding area since......." and I also need the phone number to change.  So far the best option I have come up with is creating a different web page for each town.  I know this script is possible, but I just don't know how to make it.  If anybody out there knows how to script this, I would help me a lot.  Thanks!

Question by thegeeke    |  last reply


VBS (VISUALBAIC SCRIPT) VBSCRIPT

Does anyone know some cool things that i can do with vbscript i mean i tried to find some stuff on the net ansd i did but i want to learn more lol.

Topic by rickick    |  last reply


Scripting, PHP, Html and such.....For Dummies!!

I noticed from when Eric made a post about internship in 2006, that many people have experience in scripting and such. But I also noticed how many people would like to learn, but all the big words keep them at an emotional distance.I was thinking that maybe some pros could de-mystify all them big terms for the people who might be interested in this. Mainly, Could people please post resources that could be useful to people who are interested in learning this. Or maybe some Instructables?I think that if you could simplify these to the very basics, for nth9 graders with very basic knowledge, they would have a great advantage in the future.Here are some resources I found could be very useful to complete beginners:W3School - Thanks to KitemanP.S. I Include myself in the group that wants to learn but is scared of all the big words

Topic by Keith-Kid    |  last reply


Program or script to change volume...? Answered

Another question that is way out of my league (woe is me).  I need (or rather want) a program, in either Java or VBs (if there's a better one like Python or something, that would be alright too) to change the volume of a Windows computer.  It would also be a good showcase of your skills to make it able to change the volume of a specific program or application.  The way I intend to use it is as if it were a function, rather than a program. So a different script will activate it (perhaps by writing it, which in Java I don't think is possible) and then set the volume and the program to change the volume of. If that can't be achieved, could it be made to read a text file (or something else) with two lines on it; the first the program, the second the volume. If the first line says something like none, It would change the volume of the whole computer. Hopefully I've given you a good enough description to make it clear exactly what to do. Thank you in advance.

Question by Prof. Pickle    |  last reply


What is wrong with this vbs script?

It is a program to add or remove printers on a local machine, and it works locally, but not when trying to run through group policy in the AD.  Btw, this is a friend's, not mine, so I can only answer so many questions.  Please help. Here is the code: PrnName = "Kyocera FS-1100 KX" Set objWshShell = WScript.CreateObject("WScript.Shell" ) 'retrieve username and computername strComputer = objWshShell.ExpandEnvironmentStrings("%COMPUTERNAME%" ) strUserName = objWshShell.ExpandEnvironmentStrings("%username%" ) strHome = objWshShell.ExpandEnvironmentStrings("%HOMEPATH%" ) strDrive = objWshShell.ExpandEnvironmentStrings("%HOMEDRIVE%" ) Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2" ) objWMIService.Security_.Privileges.AddAsString "SeLoadDriverPrivilege", True Set colInstalledPrinters = objWMIService.ExecQuery("Select * from Win32_Printer" ) Set dr = objWMIService.ExecQuery("Select * from Win32_Printer where DeviceID = 'Kyocera FS-1100 KX'" ) Set fs = CreateObject("Scripting.FileSystemObject" ) folder = strDrive & strHome if fs.FolderExists(folder) and dr.Count <> 0 then For Each objPrinter in colInstalledPrinters if objPrinter.DeviceID = PrnName then objPrinter.SetDefaultPrinter() end if Next else 'if fs.FolderExists(folder) and dr.Count = 0 then 'For Each objPrinter in colInstalledPrinters 'objPrinter.Delete_ 'Next 'end if if (fs.FolderExists(folder)) and (dr.Count = 0 or colInstalledPrinters.Count = 0) then ' Add a l'imprimante '''''''''''''''''''''''''' Set objPrinter = objWMIService.Get("Win32_Printer" ).SpawnInstance_ objPrinter.DriverName = PrnName objPrinter.PortName = "USB001" objPrinter.DeviceID = PrnName objPrinter.Location = "Imprimante installée sur la machine " & strComputer objPrinter.Comment = "Imprimante " & PrnName objPrinter.Network = False objPrinter.Put_ objPrinter.SetDefaultPrinter() end if For Each objPrinter in colInstalledPrinters if objPrinter.DeviceID = "Microsoft XPS Document Writer" or objPrinter.DeviceID = "PDF4U Adobe Creator" or objPrinter.DeviceID = "Microsoft Office Document Image Writer" then objPrinter.Delete_ end if Next ' restart spooler Set objSpoolerSvc = objWMIService.Get("Win32_Service.Name='spooler'" ) iReturn = objSpoolerSvc.StopService() iReturn = objSpoolerSvc.StartService() wscript.quit end if 'For Each User In objlocal 'If lcase(User.Name) = lcase(strUserName) Then 'Set objUser = GetObject("WinNT://" & strComputer & "/username, " & strUserName) 'msgbox User.Name & " already exists." & vbCrLf & "The password was re-set." 'WScript.Quit 'End If 'Next 'End Sub 'strCommand = "rundll32 printui.dll,PrintUIEntry /y /n Kyocera FS-1100 KX /f /r USB001" 'intResult = objWshShell.run ("rundll32 printui.dll,PrintUIEntry /p /n Kyocera FS-1100 KX" , 0, true)

Question by geekvig    |  last reply


All you VB Script Kiddies!

Post your scripts!!!totally script-kiddie-ish script, will it work:sub pwn()lol = msgbox ("Critical error!" ,16, "ERROR") pwn()end subpwn()

Topic by BatchMan    |  last reply


Be Prepared Contest Entry Unreadable

Be Prepared Contest entry unreadable: Build A grey Man Bug Out Bag.

Topic by ldmorgan    |  last reply


Javascript not working

It seems the majority of java script pages on Instructables for me do not work. When I go to Submit > New Instructable > Yes I've read the tips the page doesn't go to the editor... When I go to "You" and then try view my unpublished Instructables, the webpage stays on the currently published ones only... Is this just me? Well I hope not, and I hope it gets fixed! ~K

Topic by Kryptonite    |  last reply


Check if a process is running from a batch file? Answered

I need a command simmilar to “IF EXIST” to check if a process, such as wmplayer.exe is running. Something like this. if exist wmplayer.exe (echo proccess running) else (echo proccess not running Can you think of anything? **I thought I was close with this, but I can't get it to work.** IF ”%notepad.exe%”==”” (echo The process is not running) ELSE (echo the program is running) With it set up like this it always says the process is not running IF ”%notepad.exe”==”” (echo The process is not running) ELSE (echo the program is running) With this it aways it running. Any ideas on how to get it to work? I know I’m really close.

Question by XOIIO    |  last reply


How do I get a script to turn on a strobe light via USB

Hello, I am really at a loss how to do this so would appreciate any advice. I use Splunk and within it you can set for a script to run when an alert happens, so what I want to do is when an alert happens for a strobe light and a siren to sound. I haven't got a clue what kit is needed or the spec to do this? I suspect it will be some kind of a USB relay and obviously a strobe light and siren. Not sure how it should be wired up, I guess mains power (240v) to the strobe/siren positive and the negative connections to the USB relay? Then the scripting is there any free/sample scripts anywhere that can be used? Thanks for reading Guy

Topic by j666gak  


Flash addon?

I remember a long whiles ago coming across some kind of script for firefox or safari to right click and disable certain flash banners on web sites, but not all of them. I was wondering if anyone can remember what the app was called as I can't. My issue are these retarded orbital sander ads on the front page, it keeps expanding across the page every time I visit the site here and laggs my safari for like 5 minutes until I can finally click at that close button (VERY frustrating).

Topic by Punkguyta  


Weird script instead of my introduction

The  introduction  for my instructable on the Instructable Home page is gibberish instead of what I wrote.  I have no clue as to how to correct it.  When I go to    YOU... Instructable...edit     everything looks fine.  ??????  I'm a newbie  and don't know if I'm posting in the right place or not.  If there's a moderator out there, please put this where it belongs or give me a link to directions. Please explain how to to get the real introduction/ topic to show up correctly - in terms that are suitable for an idiot.   NOTHING is obvious to me.   Thanks.  

Topic by mole1    |  last reply


Greasemonkey Script: Quick Contest Voting!

For those who are having trouble voting for contests because of the sheer number of entries, I've written this little guy to aid you in your sacred duty. First, you'll need to:Install ScriptThen, head on over to a [/contest/bookcontest/?show=ENTRIES&sort;=RATING page like this], and you'll see 40 entries with a separator half-way down. This shows the script is working. It will *not* work on any page other than page 1. To use it, start rating! After you've rated the first 20 and hit the "barrier", press the button and start rating the bottom set. By the time that you've finished those, the top set will have finished loading. (Don't forget to press the button again!) Overall, this will save hours* waiting for the page to load.So, what are you waiting for? Install ScriptNote: This script is pretty much in an "alpha" stage. Sorry if it leaks or causes terrible hurricanes to come and devour your toes mm... tasty. Also, I'm just throwing this forum post up to make the script public, I'll revise it with a bit more instruction once I'm not so tired. ;-)

Topic by zachninme    |  last reply


Motion Detecting script CHDK help?

Hi guys, I recently installed CHDK on my Canon Ixus 125 HS/Powershot Elph 110 HS (the firmware is 1.01A) so I could have a fast shutter speed.  Upon on testing it out (I used the original script that they give you) I found that it takes an image after the motion has taken place, so I'd like to know how you can make it take an image as soon as it detects motion. Besides this, I don't understand the function of the two settings to change the script they give you. I would be grateful if someone could help me on how to use it. I'd like a way to do it without any programming on a computer or something, a way to do it on the camera itself please. Thx in advance super_me

Question by NebulaIX  


Can anyone give me a glovepie script to control the mouse cursor via wii classic controller?

I have searched many sites but there is nowhere. I want to control my pc and my mouse cursor like I do in fifa 2010 for wii

Question by arv_christos    |  last reply


Is there a useful free website where you can learn action script 3 and earlier from?

I need a place that is safe free and has all actionscript codes and examples so that i can learn it simply and get my flash games, videos, etc... online faster and better! do any of you know a safe free site dedicated to actionscript 3, 2.0 and 1.0 in adobes flash pro?

Question by shoyru_master_11  


HNS-Corp.tk

I have got my site up and running. What the site is for is for me making and selling programs, and soon to teach others how to script and program. The site is http://www.HNS-Corp.tk I currently have four programs for sell, well two programs and two anti-programs for those programs. If you want to know more just go visit the site.

Topic by Nemraiku    |  last reply


VBScript Addition Problems? Answered

Hello I Have a Addition Problem In VBScript. If i use 2 Inputboxes to get to numbers (Lets say 3 and 5), there both numeric (isNumeric return "True"), but when i add them (c=a+b) and then msgbox 'c' it comes up '35' not 8. PLEASE HELP ME

Question by animan1    |  last reply


how to do division and rounding within the string?

Hi all, I am new in scripting and I'm working with a tool which is exactly like windows cmd. My input text file is :     age=min;age_1D_param_min_64;meas_time = My batch file reads the lines from this input and splits the lines by “ ; ” then executes a function with the token and age file from the second field and after all parses the output for the third line. in the following you can see my current batch file:     setlocal EnableDelayedExpansion     for /f "tokens=1,2,3* delims=;" %%a in (input.txt) do ( REM create token file echo.%%a>current.tok     sinoparam -p D:\product\%%b 0x0100001F current.tok> out.txt     for /f %%y in ('findstr /C:"%%c" out.txt ^| sed "s/.*%%c .............. )do SET RESULT=%%y     echo.%%a;%%b;%%c;!RESULT!>>finaloutput.csv     )     GOTO :EOF now I have problem with one string in out.txt which is the result of executing my function:     meas_time =31.9999 in my batch file I want to do the followings: 1.find the value in string dActual_age =31.9999 by findstr/C 2. if the value is lower than 1000 round it and show the result 3. if it’s greater than 1000 first divide it by 32 and then round the result Does anyone know how I can do this ? thanks for any help! HOda

Question by hodarahmati  


How to script LUA (basics step by step)

Need help please

Topic by awesome3612    |  last reply


Small, Secret script or utility to force or track a "delivered"or "read" response for an email recipient.

Good day! I am SO fed up for bad service and people that clam they "have not received your email enquiry, instruction etc" i am looking for some pointers to write a script, utility using some common event handler that will run automatically when a remote user (recipient) receives, scroll past or preferably mark a message as unread and deliberately saying "no" to a request for a delivery or read receipt message to be send back to me (sender address). It is just dishonest and I hate it with all my being. I have a little basic programming  knowledge in C++ and can help myself in most things, maybe even VB. I just need some pointers how to go about, what and how to use a remote event on the target computer or even better track the mail from server to server and maybe give the most recent "status" to show as prove if someone pulls scumbag on me again. Please, please, please... Deon  :)

Topic by SwartKat25    |  last reply


Movie Ideas Anyone?

Hi, i'm a Independent Filmmaker for Blue Light Entertainment. I need a Movie Script Idea. I have a Genre and Topic but not a Summary. My Genre is Action/Adventure. My Topic is Police or FBI.  I want a Good ending and a little christian morals related to it.  Thanks for your Help!! Jonathan

Question by Blue Light Entertainment    |  last reply


How to make a person appear to walk in Adobe Flash cs5?

I was wondering what would be the best way to make a stick figure appear to walk in flash? and it would move using key presses? If anything i figure id make a movie clip of said person walking and then use the key press code snippet and delete the up/down keys and then have it play the movie clip when its pressed and stop when its released? So would that work? if not what would be the best way to do this?

Question by tubanator-2.0  


How does one create a batch script that will run under unicode format? Answered

If you want to use special characters provided in command prompt and implement them in a batch script, how would one run a batch script in unicode format? Once it is created, a batch script must be run in ANSI encoding. But the special characters will be lost! Answers?

Question by TATcreator    |  last reply


Use a door switch to run script on a computer?

 I'm wondering, how would I go about installing and configuring a door switch hooked up to a computer and having the computer run a program or script when the switch is activated..lets say, when the door is opened. or even better, have several switched and have each switch activate a different script or application?

Question by StillAlive_    |  last reply


Raspberry Pi: Launch Python Script on Startup

Hello sir, Running Python script at boot works fine with crontab, only thing is that I am stuck to it. How to come out of it ?How to stop it. Cntr+C does not work

Topic by dgkanade72    |  last reply


Script to open up pptx or .xlsx files? Answered

My hard drive is no longer working. I took it to a company to recover data from this disk. But most of the files have no original names. And besides, they don't open, probably as a result of damage. Is it possible to write a script to automatically try to open a file with the extension. pptx or .xlsx? Is it possible to make it so that the whole good files has been moved for example in the folder 'C:\Success'. The files that are corrupt in folder 'C:\Failed'. I'm not sure whether it is possible to do so? Maybe there is any guide how to restore them or utilities whether paid or free?

Question by Esa-PekkaMakela    |  last reply


How to create a community forum like instructables?

How to create a community forum like instructables using php mysql. Anyone out there please show me a script.

Question by GearUp    |  last reply


Does Instructables have an API? Can you find out how many comments you have with it?

I wanted to create a script that would find out if I had any new comments on my instructables, but I don't know how to do it. How would I be able to make a script communicate with the Instructables servers to find out if I have any new comments.

Question by Super_Nerd    |  last reply


Create a program to run .bat files? Answered

Hello, I want to run a .bat file when my computer starts up automatically.. I made a script in wordpad, saved as .bat to try and open the file, but I recieved weird error messages when trying to open the file, the script worked on other things such as opening microsoft word ( I did this to check if it was working) I would like to know if there is any simple program I could write or download that could open this file (like your clicking it) Many thanks Oscar

Question by oscarthompson    |  last reply


Who wants to test a new GM Script?

I've been working on this new Greasemonkey script that, IMO, is a lot better than the others.It allows you to rate comments. Your ratings aren't for your own benefit alone: they're stored on a server where they are mashed together with everyone else's to create a full-blown rating system!And, I'm using Google App Engine as a backend, so there won't be any server downtime!For this, you actually have to do a little sign-up procedure. Go here, & put in your username. You'll then have to post a comment*, and then you can get the script. This makes sure that one user can't cheat the system by having 100 accounts.From there, its pretty easy to use. Next to the username, 5 pseudo-boxes will appear. Use them as follows:[!] - This comment answered the question in the topic (use sparingly)[+] - Positive vote[-] - Negative vote[x] - Remove your vote[?] - HelpIf you run across any bugs, or have any suggestions, please let me know. I'll be glad to hear them!From there, if I do fix a bug, here's the best part: you usually don't have to update anything! It will automagically use the newer version. In the future, I may require you to manually update, but there is a notifier in place, and yet it is very unlikely that it will be needed.

Topic by zachninme    |  last reply


How to output changing (occasionally updated) filename onto webpage as text?

I would like to display the latest version of a software program as text on a graphic button which would take users to a update page. Im aware there could be various ways to do this like using php to output the filename over a graphic of the button. Or maybe just telling php to grab the filename and insert it into the html. I have very little experience with html/php, so preferably the solution would be easy. Of course, the real filename would have to be hidden from user's view, or the webmaster could possibly have some kind of submit form to manually alter the text but that would be more of a pain. thank you

Question by lsadwdwadw    |  last reply