Choose files for upload programmatically - fine-uploader

Is it possible to choose the files to upload programmatically? I have files in a known path that I want to upload automatically without any user intervention.

Unfortunately, you cannot select files via client-side javascript. The user will at the very least need to drag and drop or select which file(s) they wish to upload. From there, you can programmatically control them as File-like objects.

Related

Bookmarks to open local files on macos with swiftui?

How can I bookmark references to local files in my Mac app (written in Swiftui)? I want the user to be able to choose files (these are text or spreadsheet files) using NSOpenPanel, store the resulting URLs and display them so when you click on the description, the corresponding app will open them.
The process is very easy with weblinks but I have not had any luck using local path URLs.

Change save location of Tiddlywiki when using Download Saver

I am currently using Tiddlywiki as it comes, i.e. from the folder Downloads\tiddlywikilocations\index.html. It works flawlessly to save the file in the browser if it is located in exactly this folder, but it seems not possible to either rename the tiddlywikilocationsfolder or move it out of the Downloadsfolder.
How can I achieve this? I couldn't find any further information about this on the wiki itself. Ideally, I would like to use Tiddlywiki from a custom folder in another folder, without otherwise affecting the standard download behavior in Firefox (where to save files etc.)
Timimi extension for Firefox looks like what you need.
you can save the standalone TW from anywhere in your harddrive without any more interactions

Mac OS: Smart Folders and Subfolders

Mac OS has the built-in smart folder feature that can narrow down files in a specific location based on a given set of properties (e.g. file extension, size, creation date, etc.).
I am trying to declutter my desktop by file type, and want to select all images on my desktop to place in a separate folder. The thing is, the smart folder seems to select all image files that are nested within the desktop's subfolders. Is there anyway to select files excluding the ones located in subfolders?
Thanks!
~ Joseph
Open a standard Finder window and navigate to your Desktop folder. Set the window to list view and sort by clicking on the Kind column header. Now all your images will be grouped together by image type. Select each group by clicking on the first file in the group and shift clicking on the last, then drag into your destination folder.
HTH

.DLL:How to modify a Dynamic Link Library (.dll) file?

I have been able to open a Windows 8 shsxs.dll file in Visual Studio 2010.
But it's write protected.
Now, while in Visual Studio, I want to know how to modify an existing image or add a new image in
png format to shsxs.dll.
Also, I have been a to unpack/extract it too using 7-zip.
Thus, how can I repack the unpacked .dll file back to a .dll file?
PS: I'm new to Visual Studio, so question or tag may seem irrelevant. Please correct me & help me out asap.
Preface: I haven't got a chance to work with Windows 8 yet, so the information in this answer might be slightly off. Or completely useless.
I think by write protected you mean read-only. That's easily corrected. Locate your shsxs.dll and right-click on it. Select Properties and uncheck the Read-Only checkbox in the Attributes section, if it is checked. Then go to the Security tab, and click edit. Select your username (or the user Everyone if it's there) and tick the Full access checkbox in the Allow column. Click OK. Click OK again.
Next you want to know how to modify an existing image or add a new image in png format. These are two different things.
Let's tackle the modifying first.
You can't do that with 7-Zip. You can only use it to look at the DLL's content, but you can't modify it. You need a specialized tool for the job, I recommend the XN Resource Editor, which is basically a better Resource Hacker, which used to be the program to edit already compiled resources. I'm not sure whether they work with Windows 8 modules, though. If they don't, please link to an alternative which can in the comments, or edit this answer if you can.
After you install the XN Resource Editor, start it, and open your shsxs.dll. On the left side you have the resource tree. Expand the Bitmap subtree. You should see a bunch of numbers, each one represents one resource in the DLL. Expand each subtree until you find the desired image.
Once you find your image, you can modify it inline using XN Resource Editor's built-in picture editor. You can also remember the resource's number, right-click on the Image and select Delete Resource, then go to the Resource menu and select Import Image Resource, find your desired image. Then right-click on the newly imported image in XN Resource Editor, select Properties and enter the old resource's number (you remembered it, right?) and press OK.
Adding a new Image is not that different.
It's easy, simply go to the Resource menu and select Import Image Resource, find your desired image and click OK. DONE.
Edit: Since the file came from System32, I added instructions on how to grant the user full access to the file, additionally to removing the read-only flag.

Studio plugin to view contents of XAP file

Has anyone come across a plugin (or similar) for Studio that will allow me to view the contents within a XAP file?
I'm just after a way to view the file list quickly rather than having to.. browse to folder, rename to zip and open. (I'm not asking for a xap decompiler or anything like silverlightspy, purely a seemless decompressor)
Ideally, just double clicking the ClientBin\myapp.xap from the solution browser to view the contents.
Rather than writing a plugin myself, I am hoping that someone already has one, or a simple technique to save me the time.
[As background, I like to monitor xap sizes by keeping a close eye on what's being included in the xap]
Jut right click your xap file, choose open with WINRAR or other decompresseor exe you have, don't forget to set it to default. I guess this is the quickest way to accomplish what you want instead of writing some VS plugin yourself.
Regards,
Allen

Resources