topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Friday April 19, 2024, 2:40 am
  • 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 ... 203 204 205 206 207 [208] 209 210 211 212 213 ... 222next
5176
In a past job, I wrote C and Java (not Javascript) code along with Oracle Forms code.  These days, I do almost everything in AutoHotkey along with Perl and PHP when needed.  Other languages that I've written viable code in include VB/VBS, Python, and Ruby.

5177
Finished Programs / Re: IDEA: Icon Menu Launcher
« on: June 22, 2009, 01:15 AM »
Consider this AutoHotkey code:

Menu, Launch_Menu, Add, Assassin's Creed, Launch_Menu_Handler
Menu, Launch_Menu, Add, Grid Racing     , Launch_Menu_Handler
Menu, Launch_Menu, Add, Deadspace       , Launch_Menu_Handler
Menu, Launch_Menu, Add, Silent Hill     , Launch_Menu_Handler

Menu, Launch_Menu, Show

Launch_Menu_Handler:
{
    If ( A_ThisMenuItem = "Assassin's Creed" )
    {
        Run, c:\path\to\assassin's creed\game.exe
    }
    Else If ( A_ThisMenuItem = "Grid Racing" )
    {
        Run, c:\path\to\grid racing\game.exe
    }
    Else If ( A_ThisMenuItem = "Deadspace" )
    {
        Run, c:\path\to\deadspace\game.exe
    }
    Else If ( A_ThisMenuItem = "Silent Hill" )
    {
        Run, c:\path\to\slient hill\game.exe
    }
    ExitApp
}
Return

Obviously, change the paths to suit your games/system.

5178
General Software Discussion / Re: Prank Software
« on: June 21, 2009, 03:29 PM »
RJL Software has a bunch:  http://www.rjlsoftwa...tware/entertainment/

5179
Post New Requests Here / Re: IDEA - The Name Game
« on: June 21, 2009, 01:20 AM »
Great.  Shall we call it done or is there anything else you would like added?

5180
Post New Requests Here / Re: IDEA - The Name Game
« on: June 20, 2009, 10:27 AM »
Give "Simple Word Gen" a try:  Download

There is no sophisticated algorithm at work here...just a simple, random c-v-c-v-c pattern as you requested.

2009-06-20_102024.png

5181
Post New Requests Here / Re: IDEA - The Name Game
« on: June 20, 2009, 09:17 AM »
this does seem like a perfect candidate for a coding snack though, so maybe someone still wants to try it.
I'll whip something up...shouldn't take long.

5182
Post New Requests Here / Re: Idea: Renaming Shortcut
« on: June 19, 2009, 01:14 AM »
You're welcome...happy to help.

5183
Post New Requests Here / Re: Idea: Renaming Shortcut
« on: June 19, 2009, 12:46 AM »
AutoHotkey code:

!6:: SendInput {F2}^v{ENTER}

5184
is there any way to just take the name till you get to the first "-" and ignore the rest?  Would seem to be easier to do that.

Keep in mind that that logic won't work for one of your examples:  A-Team

5186
Their logo isn't orange, but VibeStreamer can do this.

5187
Thanks for the plugin.  Would you consider adding support for the +sall feature in FARR?  Alternately, you could add support for the 'extended results' setting in FARR.

5188
I guess I was unclear in my Python script post, but it also adds the zero-byte files with correct modification dates >__>
I just tried your script...very nice work.  =]

5189
It's not that slow.  :(  I gave it a test on a folder with 5200 files (184 folders) in it and it was done in around eight seconds.

5190
vixay, try the latest...it should keep the timestamps properly.

Download: http://skwire.dcmemb...ipper/ZeroZipper.zip

5191
Bahaha...the recursive spiral of doom.

5192
Some further thoughts. The test zip file i created has 18,375 files and weighs in at 3.27 MB. That must mean that the filenames storage takes up that much space. And that zips don't optimize that part? or something else?
Yes, the filenames take up that much space.  I tried it with compression and it didn't make a difference in size.

Scanning for files was slower than everything/locate, i don't know how they do it, but they can scan filenames super fast. just a thought, to see if it could be sped up.
It's not the scanning that's slow, it's the creation of all the zero-byte files that slows things down.

The date/time is not preserved for filenames. This was not an original requirement but when i think about it, it's better to have that information preserved  (not required though). If it will make the program slower then it should not be there (or maybe as an optional thing).
It shouldn't make it too much slower.  I'll add it in.

Can you share your ideas on how you did it? You used IZarc to compress, did you just use flags for the command line , or dump the filename list and then create the zip?
Just command-line flags (izarcc.exe -a -r -p -c0).  So, the flow goes like this:

1) Recursive scan through source folder and re-create it using zero-byte files in user's temp folder.
2) Zip up temp folder with relative paths set.
3) Delete temp folder.

Does that help clear things up?

5194
Download Zero Zipper and see if this is what you had in mind.

2009-06-10_61801.png

Download: http://skwire.dcmemb...ipper/ZeroZipper.zip

5195
Is there a way to recreate file/folder structure from source to target but without any content?
better yet, is it possible to zip it up?

I have this mostly done but have some questions.

1) Do you have need of the recreated zero-byte structure?  Or, do you just care about the resulting zip file?  The reason I ask is that if you don't, I'll just build the new structure in the user's temp folder and delete it when I'm done.  Make sense?

2) I currently have the zip being generated with relative paths set.  What this means is that you can unzip the resulting zip file to any folder and the structure will be built there.  Is that okay?

5196
N.A.N.Y. 2009 / Re: NANY 2009 Release: Trout (audio player)
« on: June 10, 2009, 12:59 AM »
Too bad, could've solved issues with missing Wingding (Webding?) fonts on certain machines. Oh well... *sigh*
I actually have a solution to this issue; just need to get off my arse and implement it.

5197
N.A.N.Y. 2009 / Re: NANY 2009 Release: Trout (audio player)
« on: June 09, 2009, 06:19 PM »
Another find is a full set of black/white media icons in %system%\mci32.ocx
[...]
However I'm not sure if that ocx is 16bit or 32bit and if it's present in all Win versions.  :tellme:
It's a Visual Basic 6 OCX file but I don't think it's part of the standard runtimes since I don't have that particular file on my box (but do have the runtimes).

5198
I think everybody is missing the key element here...it's not only the folder structure the OP wants, it's all the files, too (as zero-byte files).

5199
N.A.N.Y. 2009 / Re: NANY 2009 Release: Trout (audio player)
« on: June 08, 2009, 06:36 PM »
I don't see a way to remove the playlist index of the current item from the titlebar. (since it doesn't appear in String Formatting > Titlebar, but still appears in the titlebar).

This is automatically added for compatibility with the WinampAPI that's built into Trout.  I'll add a ToDo to make the WinampAPI stuff an option.

Also... would it be possible to add more ways for files passed through the command line to be handled.

Yes, that's on my ToDo as well.  Thanks for your feedback.

5200
Finished Programs / Re: IDEA: Switch Filenames
« on: June 07, 2009, 11:51 AM »
Code doesn't write itself, eh?   :D  Thanks for your kind compliments.  As I've mentioned before, I really enjoy making quick apps such as this one.

Pages: prev1 ... 203 204 205 206 207 [208] 209 210 211 212 213 ... 222next