topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Wednesday November 26, 2025, 11:26 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

Recent Posts

Pages: prev1 ... 190 191 192 193 194 [195] 196 197 198 199 200 ... 222next
4851
+1 for Cody.
4852
General Software Discussion / Re: My text file manipulation needs
« Last post by skwire on October 24, 2009, 01:41 PM »
I suggest that we communicate when you have had a chance to read and digest the contents.
Over the next 24 hours I will rethink the implications and write a one-pager on how I think that we should proceed.
I think the complexity of this project has gotten to the point where I really don't have the time to continue working on it.  You are free to use the code I've written so far as a starting point for future work; I suspect that what you need is outside the scale of the Coding Snack approach here, and you may be better off trying to hire a programmer for the job using a site such as http://www.rentacoder.com.  I trust you can understand.
4853
Post New Requests Here / Re: auto pixel color clicker
« Last post by skwire on October 24, 2009, 11:14 AM »
PixelNotifier, by Skrommel: https://www.donation...x.html#PixelNotifier

Also it would be nice if it still worked on the window even if it loses focus or could somehow even work in the background.

For the pixel-related functions of AHK to work, the area you're searching for must be visible.  Furthermore, if you're trying to do this in a game, all bets are off.  Sometimes the pixel-related functions work and other times they don't.
4854
General Software Discussion / Re: My text file manipulation needs
« Last post by skwire on October 22, 2009, 04:16 PM »
I don't see an attached zip...   :huh:
4855
N.A.N.Y. 2009 / Re: NANY 2009 Release: Trout (audio player)
« Last post by skwire on October 22, 2009, 08:00 AM »
Flounder...  =]
4856
N.A.N.Y. 2009 / Re: NANY 2009 Release: Trout (audio player)
« Last post by skwire on October 22, 2009, 03:23 AM »
Ugh...the more I look at the code, the more I think gapless may have to wait.  At this point, I'd have to COMPLETELY overhaul the playback routines to make gapless work.
4857
N.A.N.Y. 2009 / Re: NANY 2009 Release: Trout (audio player)
« Last post by skwire on October 22, 2009, 01:16 AM »
Hi Skwire - I'm new to the forum - I too am a fan of Billy and was wondering if you planned on adding Gapless playback support?

Thanks for the feedback.  This has been on my ToDo since the beginning.  As much of a stickler as I am for these sorts of audio-related things, it's pretty shameful that I haven't written it in yet.  That being said, I think gapless playback is only relevant if the playing mode is the "Play list" or "Repeat list" option.  I don't think it makes sense for any of the other modes (Play file, Repeat file, Random, or Shuffle).  Would you agree?

P.S. Files 2 Folder is great too!

Thanks.  That's one of my Coding Snacks that I, personally, use.
4858
Post New Requests Here / Re: IDEA: Monitor a folder and send shortcuts to desktop
« Last post by skwire on October 20, 2009, 04:33 PM »
I had a hunch Skrommel had done something similar: https://www.donation...dex.html#ShortCutter

Check that out and see if it suits your needs.

4859
Post New Requests Here / Re: IDEA: Triple-Click Mouse Utility
« Last post by skwire on October 20, 2009, 04:27 PM »
is there a way to make this script global so that when I triple click I send a window key signal (bringing up my taskbar)? would I just make the process explorer.exe?

Try this:

Code: AutoIt [Select]
  1. Timeout = 400 ; In milliseconds.  Adjust as necessary.
  2.  
  3. ~LButton::
  4. {
  5.     If ( A_ThisHotkey = A_PriorHotkey AND A_TimeSincePriorHotkey < Timeout )
  6.     {
  7.         ClickCount++
  8.     }
  9.     Else
  10.     {
  11.         ClickCount = 1
  12.     }
  13.     SetTimer, ClickHandler, % Timeout
  14. }
  15.  
  16. ClickHandler:
  17. {
  18.     SetTimer, ClickHandler, Off
  19.     If ( ClickCount = 3 )
  20.     {
  21.         Send, {LWin}
  22.     }
  23. }
4860
Post New Requests Here / Re: IDEA: Monitor a folder and send shortcuts to desktop
« Last post by skwire on October 20, 2009, 04:09 PM »
I can do this one. 
4861
General Software Discussion / Re: My text file manipulation needs
« Last post by skwire on October 18, 2009, 07:18 PM »
Please try this version: Download v1.0.0.5

It should handle first words, last words & multiple speech type matches.
4862
General Software Discussion / Re: My text file manipulation needs
« Last post by skwire on October 17, 2009, 11:35 AM »
can I call you Jody?

Sure, it's my name.  =]

1. What does this first script cost?
2. How do I pay for it?
3. Is the payment to you or DC using PayPal?

No payment is required.  You can click the coin beneath my forum nick if you feel inclined to donate.

4. The task is the first of a series of 5 + steps to create a simple translation platform from English to German.
5. How could we deal with the rest?
6. French Italian and Spanish would hopefully follow.

This sounds like it's quickly becoming more than a Coding Snack.

7. Can I have some choice in the tool or language used?
8. I began with the desire to use a language that is close to natural English.
9. The Zeno interpreter followed by C-Sharp would be my choices; before ahk.

The programmers here at DonationCoder are not hired or retained in any way.  We're just a group that enjoy programming and helping others.   In other words, I'm not sure how to answer this question.  If you want something written in a certain language, feel free to say so.  Maybe somebody else reading this thread will jump in.  I can program in C, Java, AutoHotkey and a little bit of C++, VB and Python.  I've never used Zeno or any of the newer .NET or C# type of languages. 

The initial test, with the same file, as I had provided you with, produced the following results.
* No words were tagged, which were followed directly by a punctuation mark.
So I removed all punctuation marks from the text and reran the script with the following result
* In most cases initial words and closing words of sentences were still not being tagged.
Can it be that "invisible" end-of-line characters are causing the problem.

I'm confused.  Are you saying that the original files in the zip you posted earlier are not working with the script I provided?

Where there are instances of the same word appearing with different tags, how will the script react?
It should have three possibilities:
1. Ignore all because of failing logic
2. Take the first as being the most typical or
3. Take each variant inserting each in turn in separate brackets after the word.
This is the way in which I expect it to be programmed.

I can write code to handle any of the three options you mention.

My last file test was based on using UTF8 coded text.

This could pose a problem since AutoHotkey does not support Unicode/UTF-8 natively.  Can you provide me with the files you're working with?
4863
You're welcome.  Happy to help.   :D
4864
This should do it (under XP, at least):

Code: AutoIt [Select]
  1. ~LButton::
  2. {
  3.     CoordMode, Mouse, Screen
  4.     SetMouseDelay, -1
  5.     SetKeyDelay, -1
  6.     MouseGetPos, X, Y, hWnd
  7.  
  8.     WinGetClass, myClass, % "ahk_id " . hWnd
  9.  
  10.     If myClass not in Progman,Shell_TrayWnd
  11.     {
  12.         Send, {PrintScreen}
  13.     }
  14. }
4865
N.A.N.Y. 2009 / Re: NANY 2009 Release: Trout (audio player)
« Last post by skwire on October 15, 2009, 10:11 PM »
So here's a feature request: A option to specify whether files should be queued or played when launched from explorer.

I'll add it to my ToDo.  Thanks.
4866
You want every left mouse click, no matter where, to trigger a PrintScreen?  If so:

Code: AutoIt [Select]
  1. ~LButton::
  2. {
  3.     Send, {PrintScreen}
  4.     ; Send, !{PrintScreen} ; Sends an alt-printscreen.
  5. }
4867
Thanks, mouser.   :D  The kudos needs to go to Microsoft, however, for providing the window message that makes it easy to do stuff like that.
4868
This AutoHotkey code will send a PrintScreen every time you left click a titlebar.  Save it out to something.ahk, run it, and left click a titlebar.  Let me know if you have issues.

Code: AutoIt [Select]
  1. ~LButton::
  2. {
  3.     CoordMode, Mouse, Screen
  4.     SetMouseDelay, -1
  5.     SetKeyDelay, -1
  6.     MouseGetPos, X, Y, hWnd
  7.    
  8.     ; 0x84 is WM_NCHITTEST
  9.     SendMessage, 0x84, , ( x & 0xFFFF ) | ( y & 0xFFFF ) << 16, , ahk_id %hWnd%
  10.     If ErrorLevel in 2,3,8,9,20,21
  11.     {
  12.         Send, {PrintScreen}
  13.         ; Send, !{PrintScreen} ; Sends an alt-printscreen.
  14.     }
  15. }
4869
General Software Discussion / Re: My text file manipulation needs
« Last post by skwire on October 15, 2009, 04:04 PM »
My motivation is to have as simple a workspace as possible because there are some follow-on steps.
When could you have some code I could use to test and when will I know in which language you will write and what I will be expected to pay??

Give this a try (source/binary included):  Speech Type Tagger download

2009-10-15_160855.png

It's written in AutoHotkey.  Obviously, it can be improved and added on to but I wanted to make sure I was going in the right direction for you.

I hope Skwire wont mind me commenting:

Nope, I don't mind, my friend.  =]
4870
General Software Discussion / Re: My text file manipulation needs
« Last post by skwire on October 15, 2009, 06:20 AM »
I haven't written anything yet but I do have some more thoughts and questions.

1) The CSV file in your zip isn't really a CSV file.  It's a simple text file that wrongly has a CSV extension.
2) I'm envisioning an app with two entry boxes.  The first one would be for the sentence file and the second would be for the word list file (the CSV file in your zip).
3) Output could be a standard save window for the resulting output text file, or, I could display the output in an edit field in the main app.

Is this what you had in mind?
4871
General Software Discussion / Re: My text file manipulation needs
« Last post by skwire on October 14, 2009, 04:32 AM »
The next question is how do you want this output to look?  Were you expecting something like this?

Sentence: Organized Man is the Motor for Evolution.
Output: Organized {VB} Man {N s} is {VB} the {DA} Motor {N s} for {PR} Evolution {N s}.
4872
Post New Requests Here / Re: IDEA: Sort and group directories by pre-defined sizes
« Last post by skwire on October 14, 2009, 02:15 AM »
Sure, I'm a bit backed up on other snacks.
4873
General Software Discussion / Re: My text file manipulation needs
« Last post by skwire on October 12, 2009, 06:32 PM »
Again, please, can you provide your CSV file and a sample sentence file?
4874
General Software Discussion / Re: My text file manipulation needs
« Last post by skwire on October 12, 2009, 07:38 AM »
Can you provide some sample files?
4875
N.A.N.Y. 2009 / Re: NANY 2009 Release: Trout (audio player)
« Last post by skwire on October 10, 2009, 04:48 PM »
Why not create a setting in which the user would choose the place of the dropped files?
I mean, the user should be able to place the files in a specific place (eg.: at the middle of the playslist) instead of the way of getting them dropped automatically to the end of the list.

Hmmm...that's not a bad idea.  The only issue would be how to determine where to insert the new rows.  Maybe something like "Insert after highlighted row."  Would something like that be acceptable?
Pages: prev1 ... 190 191 192 193 194 [195] 196 197 198 199 200 ... 222next