Tag Info

New answers tagged

2

You can write a PowerShell script with the command for sending keys, or you can compile a simple AutoHotkey script.


0

The existing answers are now mostly outdated. Recent versions of Thunderbird come with built-in support for linking large attachments. They call this support "Filelink", and they describe it here: https://support.mozilla.org/en-US/kb/filelink-large-attachments Several backends are supported, though I would only recommend two them currently: Dl for ...


0

Try using SETX, Set environment variables, SETX can be used to set Environment Variables for the machine (HKLM) or currently logged on user (HKCU): Set the variable _my_count to '5' in the users environment: SetX _my_count 5 then read the environment variable later... IF "%_my_count%" == "" GOTO DOTHIS another way would to use the registry and ...


2

There's a couple ways you could handle this. You can do exactly what you're talking about by slipstreaming the updates in to the Windows 7 install. The right and proper way to do this is using Microsoft provided tools, such as WAIK, and building an image. I think both these methods are heavy handed for a small business. Give WSUS Offline Update a try. You ...


0

It's actually pretty simple... A search for 'PowerShell get folder size' and 'PowerShell append to csv' would get you there. I'm too lazy right now to append to a CSV because it's kind of a pain (You'd think it would be easy, right? PowerShell is so quirky when it comes to CSVs...) I'd recommend keeping a few .txt files instead, especially since you don't ...


0

I've found for automatically moving files its best to stay as simple as possible and the simplest way is always command line. So I would first map the NAS on the laptop, then create a batch file that moves the files and then using Task Scheduler, create a task that runs when it connects to your home network. task scheduler option 1 task scheduler option 2


2

Approaches that I used in the past: It's All Text!, a Firefox addon that allows you to open any text box on any webpage (which includes the Wikipedia page edit box) in your favorite text editor. When you save the file and close the editor, the text box will be updated with the changes you made in the text editor. AutoWikiBroswer, an application that ...


1

Sublime Text and SourceTree both have command line tools (subl and stree respectively), so you could write a simple script to call both of those with the current directory as an argument. If you keep your .sublime-project files in your project directories, you could call subl with that instead. Unfortunately, neither Sublime Text nor SourceTree offer ...


0

On linux, I've prepared the below backup script to copy only the changed files to a predefined backup folder with entire structure. I defined "changed" if either of the file-size or modification-date changes. Using active-state, you can implement this on windows too: import os import os.path import sys import time from datetime import datetime import shutil ...


0

The solution to my problem was as follows: @echo off cls mkdir C:\Users\Administrator\Desktop\Test net share testcase="C:\Users\Administrator\Desktop\Test" /UNLIMITED /grant:Administrator,FULL /grant:Administrators,FULL This by default removed the Everyone group from the advanced sharing permissions. Added the Administrator User with Full permissions. ...


2

Yes, it is possible. First play your video to see if it is OK: ffplay -i YourMovie.mp4 -vf "cropdetect=24:16:0" The cropdetect filter values are: cropdetect=limit:round:reset limit = black threshold (default 24) round = output resolution must be divisible to this reset = after how many frames the detection process will start over If it looks OK, crop ...


0

As per my comment on your post, VLookUp will probably do, but I don't know Excel functions so this does the job using VBa. Sub search() Dim searchValue As String searchValue = Worksheets("Sheet1").Range("B2").Value Worksheets("Sheet1").Range("B4").Value = GetIpFromWorksheet("Sheet2", searchValue) Worksheets("Sheet1").Range("B5").Value = ...


-1

This is usually done using lookup functions like vlookup or hlookup. Here's a tutorial for it.


0

You could use the PowerShell UIAutomation module. For example, to move Notepad to screen location (100, 100): $w = Get-UIAWindow -ProcessName notepad $w.Move(100, 100)


2

Batch can't do this. But PowerShell can Here is a very simple example to open two Internet Explorer windows and move/resize them $ie1 = new-object -comobject InternetExplorer.Application $ie1.navigate("http://google.com") $ie1.visible = $true $ie1.top = 10 $ie1.width = 790 $ie1.height = 790 $ie1.Left = 10 $ie2 = new-object -comobject ...



Top 50 recent answers are included