topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday June 10, 2023, 1:31 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - skwire [ switch to compact view ]

Pages: prev1 ... 216 217 218 219 220 [221]
5501
Post New Requests Here / Re: IDEA: Create shortcuts from a list
« on: December 12, 2006, 11:45 AM »
if you can find a commandline program to make a single shortcut of a file,

Here's one I've had in my toolkit forever called SLink.  I've attached it to this post.

([email protected] 11:40:36)
Probe/ ~$slink
SLink  -  Command line Windows shortcut file creator
  2003(c) Stephane Grobety - Released under BSD license
Usage:
  Slink <source file name> [<target file name>]
  Slink -?
Parameters
  <source file name>: Source file. Can be a wild card
  <target file name>: Optional target name of the Shortcut.
  -?: This help text
If Source file name is a wild card, the target MUST be a folder.

5502
You're welcome; I'm happy to help.  =]

5503
Here's the latest version (v0.0.3) with some fairly comprehensive error-checking.  Let me know how it works for you.  Thanks.

spinzip.jpg

5504
Count me in.

5505
1. I entered 8 in the Size field and all (almost) the resulting zip files are more than 8 MB in size. Pls chk the attached screenshot. Is this a bug? I think this will be fixed by being able to specify the size field in bytes and not in megs.

No, it's not a bug; it's a by-product of the way the app works.  It goes through the list of files in the folder one-by-one (in order) and keeps track of the total size.  Once the amount goes over the value you entered, it zips those and the process repeats until there are no more files in the directory.  In other words, there is no magic algorithm going on that scans the whole folder and attempts to make perfect-sized zip files.

2. If the Output directory doesn't exist, even tho the prog says that zip files are generated, they aren't. Ideally the output directory has to be created if it doesn't exist.

Again, there is little to no error-checking implemented at this point; the GUI was more of a proof-of-concept for you.

3. Rename the program from Sri-zip to "SPinZip" (SP = Span, in = independently). That is, this is a program that generates spanned zip files that are independent of each other.

Can do.

4. What's the max. allowable value in Compression field?

Nine.

5506
I've attached the setup package for the GUI version.  There is only very basic error checking involved at this point.  Let me know how you like it and if you'd like anything changed.

5507
Yes. Please do. Being able to specify the max individual .zip file size is useful. Also, if you can code it such a way that there is a provision to enter the name used for the generated zip files.

Like if I enter "skwire", it should output "skwire-1.zip", "skwire-2.zip" etc.

Easily done.

Another way it could be extended is by giving the user an option of output being .zip or .rar.

I could write the code to do that, however, the end-user would have to provide the rar.exe themselves since it's not a free program.  If I'm mistaken, somebody please correct me.

5508
Great to hear.  If you'd like, I can make up a GUI for it with options for zip size, output directory, etc.

5509
Try the attached version.

5510
Hmmm...not sure what the issue could be.  It works here in my (albeit limited) testing.  Is the zip.exe file in the same folder as sri-zip.exe?  Each zip is generated sequentially so you should be able to watch them be created in the zips folder as the script runs.

5511
Mind giving me a small sample of the filenames you're using?

5512
Are the new .zip files placed some where else?

Hmmm...they shouldn't be.

What will their names be?

zip-1.zip
zip-2.zip
zip-3.zip
...

5513
Since it's the closest post to the top that I can edit, I'm going to hijack it to provide the latest download link for SpinZip.  I had a report of the links pointing at autohotkey.net not working properly so please use this link instead:

SpinZip v0.0.9.0


~ORIGINAL POST BELOW~
Here's a quick-n-dirty script.  Unzip the attached file to its own folder and run sri-zip.exe (or sri-zip.ahk if you have AutoHotkey installed).  A folder dialog will pop up, select the folder that contains the files you want to zip and click OK.  There's no GUI (except for the tray icon) so a message box will pop up when the app has finished running and you'll find your zips in a "zips" sub-folder of the one you chose when running the script.  Currently, it does no recursion through folders (all your files must be in the folder you chose at the start) so if you want something more configurable, just ask.  I can write up a GUI for it in no time.  Let me know how it works for you.

5514
General Software Discussion / Re: IDEA: Kid-Safe browser
« on: November 24, 2006, 08:09 AM »
My daughter really likes the Kidz CD 1 and Kidz CD 2 at http://www.lesieurlogistics.com/solutions.html

5515
Living Room / Re: Is Moffsoft alive?
« on: April 14, 2006, 05:06 AM »
It may just be me.. but I simply refuse to use software that is based on code that is by now over five years old

I can almost guarantee that the OS you're using runs on code that is much older than five years.  Ever think about that?  =]

5516
General Software Discussion / Re: Do you use RSS feeds?
« on: April 10, 2006, 02:41 PM »
Just wondering.. any idea on whether it is still being worked on? Of course it may be too soon to ask this.. but if there is one thing I have a hard time doing it's using software that is not supported anymore.

Yes, it is.

5517
General Software Discussion / Re: Do you use RSS feeds?
« on: April 10, 2006, 03:12 AM »
Yes, I tried it and it was very good. Unfortunately, I couldn't get it to download the web content of the RSS news items in an offline cache, to read offline while commuting ; did that situation evolve ?

I've no idea as I don't use the offline mode.  Apologies.

5518
General Software Discussion / Re: Do you use RSS feeds?
« on: April 10, 2006, 01:52 AM »
My favourite feed reader is RSS Bandit.  It has a synch feature that I love...makes reading feeds between work and home much much easier.

http://www.rssbandit.org

5519
I wonder if those Japanese texts means "Am I cool or what?"

No, the text is ピタゴラ (pitagora) スィッチ (suiichi).  This is Japanese (Katakana) for Pythagoras Switch...the Japanese term for a Rube Goldberg machine like the ones in the video.

5520
Developer's Corner / Re: FBSL - A simple Web browser
« on: March 16, 2006, 05:03 AM »
I'm not really sure what your looking for

Apologies, I should have been more clear.  Basically, I want to disable sounds in that example web browser above.  I did some research and came across the link I provided so I was curious to know if one could apply those flags to stop the downloading of sound files.  I can make the flags do what I want in VB but I'm not sure how to go about it in FBSL.

5521
Developer's Corner / Re: FBSL - A simple Web browser
« on: March 15, 2006, 06:20 AM »
Is there a way to set control flags in FBSL when using that MSHTML call?  Specifically, the downloading of sounds as described here: http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/editing/mshtmleditor.asp


The WebBrowser Control gives you control over what it downloads, displays, and executes. To gain this control, you need to implement your host's IDispatch so it handles DISPID_AMBIENT_DLCONTROL. When the WebBrowser Control is instantiated, it will call your IDispatch::Invoke with this ID. Set pvarResult to a combination of following flags, using the bitwise OR operator, to indicate your preferences.

DLCTL_DLIMAGES, DLCTL_VIDEOS, and DLCTL_BGSOUNDS: Images, videos, and background sounds will be downloaded from the server and displayed or played if these flags are set. They will not be downloaded and displayed if the flags are not set.

Pages: prev1 ... 216 217 218 219 220 [221]