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...
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
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...
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...
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...
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...
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...
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...
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...
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...
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?
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.