Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: krammer
  • Content: Threads
  • Order by date
  1. krammer

    create multipe scheduled tasks

    Hello, I am trying to figure out how to write a script for multiple scheduled tasks for a single task. For example: Run at 8pm Mon-Thu, 10pm Fri and at 8am on the last day of each month. So you see I want to use different times, 8pm, 10pm and so on. This is just an example, there will be...
  2. krammer

    Replace, Left, and Right Functions

    Any idea's on how to make these statements any shorter? strDrive = iMBS.DBPath strDrive = (Left(strDrive,1)) strDrive = Replace(strDrive, strDrive, strDrive & "$") strPath = iMBS.DBPath strPath = Right(strPath,Len(strPath)-2) strNetPath = strDrive & strPath
  3. krammer

    pycurl help

    I am trying to create a python script that will do a form submission or a "post". I have captured data from wireshark, but I'm not quite sure how to get what I need into python. Here is the captured data: C}bEL[@@}+N&,SP+>\.d /0POST /somesite/entry.do HTTP/1.1 Host: somesite.network.com...
  4. krammer

    $RANDOM from file

    After the last post, I was interested in playing around with "awk." What I am trying to do now is choose a random number, and have "awk" use that random number for the line it will chose from a text file. What is happening is I am getting a constant loop of the whole text file...I got the code...
  5. krammer

    init.d script

    Hello, I have put together a script for "macchanger" to run at startup, and give a random MAC to all interfaces. The problem I'm having is getting it to run at startup. I've done: chmod a+x macchanger (makes it executable) chmod 777 macchanger (gives appropriate permissions) update-rc.d...
  6. krammer

    Excel Replace Function with Format

    Does anyone know how to use the excel replace function with font formatting? I have tried several different combinations with no success...here's one for example: objExcel.Range("C:C").Replace "warning", "Warning" AND objExcel.Range("C:C").ReplaceFormat.Font.ColorIndex = 3 Here is also what...
  7. krammer

    Event Log Script

    I'm working on an event log script, that will read from a text file a list of computers, and export the event log for the "System" log of that computer. It was working well before I added reading from a list of computers...can anyone help? Also...I am looking to maybe add for the future, an...
  8. krammer

    Konversation script

    I have made a perl script for the IRC Linux kde client "Konversation." What I want to do it modify this script so it uses a different smiley face depending on the month. So in October the smiley face would be orange, or december it would be green and red. Here is what I have, thanks to anyone...
  9. krammer

    Filter text file from psloggedon output

    I'v made a script that creates a text file using psloggedon. The output looks similar to this: Users logged on via resource shares: 11/21/2007 12:57:34 PM DOMAIN\user Connecting to Registry of \\PC... Users...
  10. krammer

    Help Converting Macro to Vbscript

    I'm having a hard time converting this excel macro into vbscript...it cuts column C and inserts the cells into column B, shifting column B down to C. Sub Move_Columns() Columns("C:C").Select Selection.Cut Columns("B:B").Select Selection.Insert Shift:=xlToRight End Sub I...
  11. krammer

    remove certain amount of characters in excel cell

    How would I remove lets say, 4 characters from the left in an excel cell? I know how to use the replace function...but from what I know, it only removes a phrase that you specify. For example: objExcel.Range("A5:A65536").Replace "_xF8FF_", "/" Can anyone help?
  12. krammer

    Script to check login's to apps

    Does anyone know of a script, or would know how to make one to check the logging in of applications in citrix? We do daily checks every morning to make sure we can log into certain apps...so I wanted to see if there was a way to automate this. Let me know, thanks. We use Citrix Metaframe...
  13. krammer

    asoundconf script

    Does anyone know how to make a asoundconf script for ubuntu/kubuntu to switch sound cards? What I can do now, is run: sudo asoundconf set-default-card "Card name" ..in the command line to switch my default sound card. What I'm trying to do is make a script that I can run that will do this...

Part and Inventory Search

Back
Top