topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Thursday November 27, 2025, 5:02 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

Recent Posts

Pages: prev1 ... 165 166 167 168 169 [170] 171 172 173 174 175 ... 222next
4226
This is easily done.  However, some thoughts as to how to implement it:

1) As an executable that you can pass a filename to.  The user will have to determine how to get and pass the filename.
2) As a slightly more complete application that includes a hotkey and path-getting capabilities.  For this, though, the utility will need to stay running.  Also, there is no one good way to get a filename/path so that's why I like to leave it up to the user (and their computer).

Your thoughts?
4227
General Software Discussion / Re: Windows shortcut hotkeys broken?
« Last post by skwire on May 23, 2010, 05:03 PM »
the non-performance of the native WIndows hotkey feature

I've always found the native feature kind of iffy.

Likewise.  I gave up using the native shortcut keys back under Windows 98.
4228
Website | Download
v1.1.9 - 2010-05-23
    + Added up/down toolbar buttons to move a contiguous selection up/down through the list.
    + Pressing Enter will now play the selected file.
    + Added a "Save selected rows to playlist" option (.m3u only).  (Thanks, Curt)
    ! Fixed a .wpl playlist parsing issue.  (Thanks, Curt)


main.png
4229
I also need to know the path to the .wpl file itself.  Thanks.
4230
The playlist file is situated in the main music directory on my C: drive together with some of the audio files

I need to know the exact structure since the .wpl file is using relative paths.  For instance:

..\Cock Robin\Unknown Album\04-Just Around The Corner-Cock Robin-unknown album.mp3

At the very least, I need to know the full path to that .wpl file as well as that file above.

The two files in that playlist from your D: drive are fully pathed so those should show up in PlayTime, at least.  Do they?
4231
Where are the actual files in relation to the playlist file?
4232
1) re-edited: my PlayTime cannot read .wpl!?

I'll be the first to admit that my support of .wpl files is FAR from complete.  Would you mind posting or PM'ing me that .wpl file?

2) I see PlayTime already is able of exporting as .CSV files, so I wonder how little (much) it would take to make it capable of CREATING playlists? Or is that an all different game? The PlayTime name would still be perfect...

Sure, exporting as simple .m3u file is very easy since it's just a list of filename/paths.  Would that be acceptable?
4233
You can also try out my own Tags 2 Folders application:  http://skwire.dcmemb...e/tags-2-folders.php
4234
Post New Requests Here / Re: IDEA: Desktop progress meter
« Last post by skwire on May 20, 2010, 07:35 AM »
Website | Download
v1.0.3 - 2010-05-20
    + Added up/down controls to the Number and Total fields.  (Thanks, Cameron)
    + Added option to launch the configuration dialog from the tray instead of meter display.  (Thanks, Cameron)
4236
Finished Programs / Re: DONE: simple loop machine for wav, mp3, etc. files
« Last post by skwire on May 11, 2010, 04:32 AM »
Website | Download
v1.0.3 - 2010-05-11
    + Added option to minimize to tray.  (Thanks, doctorfrog)
    + Added option to start in tray.  (Thanks, doctorfrog)
    + Added option to automatically play track on start.  (Thanks, doctorfrog)
    * Made main form resizable.
4237
N.A.N.Y. 2009 / Re: NANY 2009 Release: Trout (audio player)
« Last post by skwire on May 11, 2010, 03:15 AM »
Put a volume let's say on 11, then open minibar and it shows pre-set volume level at around 70 or so. They should be synchronized to show same volume from the start.
v1.0.4 build 29 - 2010-05-11
    ! Minibars didn't start with their volume sliders synched to Trout's main window.  (Thanks, panzer)


Thanks for the bug report.

If you move Trout minibar around, what is that object that shows up near the fish icon and starts moving when you move your mouse?

The tooltip, perhaps?  If so, it displays the currently playing track using the Titlebar formatting string.
4238
I could see something like a mini-virtual machine system where every app runs in its own "light" vm

If you haven't looked at it before, Altiris' Software Virtualization Solution (SVS) software is eerily close to what you're describing above.
4239
Developer's Corner / Re: AHK Newbie: SendInput to a particular process
« Last post by skwire on May 10, 2010, 10:37 AM »
Code: AutoIt [Select]
  1. Run, C:\Windows\System32\notepad.exe, , , notepad1pid
  2. Run, C:\Windows\System32\notepad.exe, , , notepad2pid
  3. Sleep, 500
  4. ControlSend, , Hello Notepad 1, ahk_pid %notepad1pid%
  5. ControlSend, , Hello Notepad 2, ahk_pid %notepad2pid%
4240
Developer's Corner / Re: AHK Newbie: SendInput to a particular process
« Last post by skwire on May 10, 2010, 09:58 AM »
Code: AutoIt [Select]
  1. Run, c:\path\to\my.exe, , , myPID ; myPID will have the started process' ID.

You can then try the ControlSend command for sending keys to a particular process.  Controlling a web browser in this manner can be an exercise in frustration, however.
4241
DC Gamer Club / Re: Humble Indie Bundle (pay what you want sale)
« Last post by skwire on May 09, 2010, 04:53 AM »
You can get the code for the Penumbra Collection while installing Penumbra: Overture. There is also a text file installed by the game containing the code.

Ah, thanks.  I haven't installed them just yet.  =]
4242
DC Gamer Club / Re: Humble Indie Bundle (pay what you want sale)
« Last post by skwire on May 09, 2010, 04:34 AM »
btw, the developers of Penumbra are having an additional promo by selling the whole collection for only $5! after you've donated to the Humble Indie Bundle, you can get a coupon that slashes the price by $15.

I didn't see anywhere that provided a coupon code...anybody care to clue me in?  Thanks.
4243
Post New Requests Here / Re: Need ADH Advice
« Last post by skwire on May 09, 2010, 02:10 AM »
Can someone think of a way to get more specific information in any or all of these cases? (Probably to be displayed in the info window as an additional line.)

What sort of specific information are you wanting?  Let us know and I'm sure we can come up with something or, at the very least, let you know that we can't.
4244
Post New Requests Here / Re: IDEA: Not so pointless clickometer!
« Last post by skwire on May 08, 2010, 12:56 AM »
I won't have time until after this weekend (playing in another hockey tournament) so, if nobody else picks this up by then, I'll do it.
4245
Post New Requests Here / Re: Need ADH Advice
« Last post by skwire on May 07, 2010, 06:29 PM »
How should I do it?

You had the right idea...just use the Gui, Show line.

Code: AutoIt [Select]
  1. ; Use...
  2. Gui, Show, % "x " . x . " y " . y, Kruskal ; I prefer this method which uses a forced expression.
  3. ; Or...
  4. Gui, Show, x%x% y%y%, Kruskal ; When you're first learning AHK, this method probably seems easier.
4246
Post New Requests Here / Re: IDEA: run programs first of the month
« Last post by skwire on May 07, 2010, 06:37 AM »
Start taskschd.msc and create your tasks with the system. There´s all you need and it´s really simple.

The original poster has already mentioned that he doesn't want to use the built-in Windows Task Scheduler.  Target, you seem interested in this one...you want to take it?
4247
Post New Requests Here / Re: IDEA: run programs first of the month
« Last post by skwire on May 07, 2010, 05:31 AM »
Running in the background would be ok if the footprint was small enough.

A typical basic AHK script uses between two and five megs of RAM...
4248
yes, they are what i saw - and became no less confused after reading them. i will try to understand it, maybe it's very simple.

It is rather simple since Serenity wrapped the functions nicely.  Simply add the following function definitions to the BOTTOM of your script:

Code: AutoIt [Select]
  1. RestoreCursors()
  2. {
  3.    SPI_SETCURSORS := 0x57
  4.    DllCall( "SystemParametersInfo", UInt,SPI_SETCURSORS, UInt,0, UInt,0, UInt,0 )
  5. }
  6.  
  7. SetSystemCursor( Cursor = "", cx = 0, cy = 0 )
  8. {
  9.    BlankCursor := 0, SystemCursor := 0, FileCursor := 0 ; init
  10.    
  11.    SystemCursors = 32512IDC_ARROW,32513IDC_IBEAM,32514IDC_WAIT,32515IDC_CROSS
  12.    ,32516IDC_UPARROW,32640IDC_SIZE,32641IDC_ICON,32642IDC_SIZENWSE
  13.    ,32643IDC_SIZENESW,32644IDC_SIZEWE,32645IDC_SIZENS,32646IDC_SIZEALL
  14.    ,32648IDC_NO,32649IDC_HAND,32650IDC_APPSTARTING,32651IDC_HELP
  15.    
  16.    If Cursor = ; empty, so create blank cursor
  17.    {
  18.       VarSetCapacity( AndMask, 32*4, 0xFF ), VarSetCapacity( XorMask, 32*4, 0 )
  19.       BlankCursor = 1 ; flag for later
  20.    }
  21.    Else If SubStr( Cursor,1,4 ) = "IDC_" ; load system cursor
  22.    {
  23.       Loop, Parse, SystemCursors, `,
  24.       {
  25.          CursorName := SubStr( A_Loopfield, 6, 15 ) ; get the cursor name, no trailing space with substr
  26.          CursorID := SubStr( A_Loopfield, 1, 5 ) ; get the cursor id
  27.          SystemCursor = 1
  28.          If ( CursorName = Cursor )
  29.          {
  30.             CursorHandle := DllCall( "LoadCursor", Uint,0, Int,CursorID )  
  31.             Break              
  32.          }
  33.       }  
  34.       If CursorHandle = ; invalid cursor name given
  35.       {
  36.          Msgbox,, SetCursor, Error: Invalid cursor name
  37.          CursorHandle = Error
  38.       }
  39.    }  
  40.    Else If FileExist( Cursor )
  41.    {
  42.       SplitPath, Cursor,,, Ext ; auto-detect type
  43.       If Ext = ico
  44.          uType := 0x1  
  45.       Else If Ext in cur,ani
  46.          uType := 0x2      
  47.       Else ; invalid file ext
  48.       {
  49.          Msgbox,, SetCursor, Error: Invalid file type
  50.          CursorHandle = Error
  51.       }      
  52.       FileCursor = 1
  53.    }
  54.    Else
  55.    {  
  56.       Msgbox,, SetCursor, Error: Invalid file path or cursor name
  57.       CursorHandle = Error ; raise for later
  58.    }
  59.    If CursorHandle != Error
  60.    {
  61.       Loop, Parse, SystemCursors, `,
  62.       {
  63.          If BlankCursor = 1
  64.          {
  65.             Type = BlankCursor
  66.             %Type%%A_Index% := DllCall( "CreateCursor"
  67.             , Uint,0, Int,0, Int,0, Int,32, Int,32, Uint,&AndMask, Uint,&XorMask )
  68.             CursorHandle := DllCall( "CopyImage", Uint,%Type%%A_Index%, Uint,0x2, Int,0, Int,0, Int,0 )
  69.             DllCall( "SetSystemCursor", Uint,CursorHandle, Int,SubStr( A_Loopfield, 1, 5 ) )
  70.          }        
  71.          Else If SystemCursor = 1
  72.          {
  73.             Type = SystemCursor
  74.             CursorHandle := DllCall( "LoadCursor", Uint,0, Int,CursorID )  
  75.             %Type%%A_Index% := DllCall( "CopyImage"
  76.             , Uint,CursorHandle, Uint,0x2, Int,cx, Int,cy, Uint,0 )      
  77.             CursorHandle := DllCall( "CopyImage", Uint,%Type%%A_Index%, Uint,0x2, Int,0, Int,0, Int,0 )
  78.             DllCall( "SetSystemCursor", Uint,CursorHandle, Int,SubStr( A_Loopfield, 1, 5 ) )
  79.          }
  80.          Else If FileCursor = 1
  81.          {
  82.             Type = FileCursor
  83.             %Type%%A_Index% := DllCall( "LoadImageA"
  84.             , UInt,0, Str,Cursor, UInt,uType, Int,cx, Int,cy, UInt,0x10 )
  85.             DllCall( "SetSystemCursor", Uint,%Type%%A_Index%, Int,SubStr( A_Loopfield, 1, 5 ) )        
  86.          }        
  87.       }
  88.    }  
  89. }

Then, to change the cursor, do the following:

Code: AutoIt [Select]
  1. Cursor := "C:\path\to\my\cursor.cur"
  2. SetSystemCursor( Cursor )

Or:

Code: AutoIt [Select]
  1. SetSystemCursor( "C:\path\to\my\cursor.cur" )

To restore the cursor, simply do:

Code: AutoIt [Select]
  1. RestoreCursors()
4249
Post New Requests Here / Re: Need ADH Advice
« Last post by skwire on May 07, 2010, 02:35 AM »
Try this:  http://skwire.dcmemb...s/snacks/Kruskal.zip

It's very basic right now but things could be easily added to it.  It's set to kill any existing instance but this can easily be changed to allow multiple instances.
4250
Post New Requests Here / Re: Need ADH Advice
« Last post by skwire on May 07, 2010, 01:02 AM »
If I knew how to do it it would be great. Even better than what I am used to -- closing a window is more natural that hotkeying a second time.

I'd be more than happy to write this up for you.  Give me a few minutes.
Pages: prev1 ... 165 166 167 168 169 [170] 171 172 173 174 175 ... 222next