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 13, 2025, 12:30 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 ... 186 187 188 189 190 [191] 192 193 194 195 196 ... 309next
4751
Finished Programs / Re: SOLVED: Log off & Standby in 1-Click
« Last post by MilesAhead on October 27, 2011, 06:43 PM »
Glad to see you made it over from Win7 Forums. :)

I suspect that as soon as you log out, there's no user with shutdown privilege. For that reason I suspect it would have to be written as a service. Since the API call uses 0 as the code for log off I'm wondering if that was done deliberately to prevent doing this.

But I don't know that for sure. I haven't written any services so perhaps someone with Windows Services experience can chime in if it's doable.
4752
General Software Discussion / Re: Transpose 2.2.4.0
« Last post by MilesAhead on October 26, 2011, 03:00 AM »
Transpose 2.2.4.0 Added Control F9 key to look up word left of caret on The Free Dictionary. Should work in any edit control on supported browsers.
4753
I have had set ups in the past with many partitions.  Mainly because I was big into multi-booting.  But another consideration was easy repair of the OS. Now though, with free imaging backup programs, and no real need to hide one OS from the other, I tend to go with a partition per OS. Unless we're talking Linux in which case I add at least one swap partition.

Now I tend to keep most of my data on external drives.  Also as the drives that came stock with the machine got larger, I found myself operating with more and more free space on the system partition.  It works well for me.  For example I'm on Windows Seven 32 bit now with 90% free space on the system partition.  I use "light" defrag programs to maintain the partition.  Defrag tends to take 1/2 hour or less depending on how many options I enable.  For that reason I defrag at least a couple of times a week.

If I had bucks for an SSD drive I might consider another approach.  But for conventional HD based OS I don't see the need on a user PC.

It's largely a matter of personal preference.  But I do remember frequently resorting to Partition Magic back in the days I was multi-booting.  The Windows system partition has a tendency to creep up in size more than you expect.

Even with installing most apps on another partition there's always a spoil sport that wants to put shared files,libraries, and other junk on the OS partition.

Plus these days with fast docking stations you can get internal drive speeds using external disks. It doesn't take forever to move your data over.


4754
General Software Discussion / Re: Transpose 2.2.3.0
« Last post by MilesAhead on October 20, 2011, 04:35 PM »
Transpose 2.2.3.0 Removed Control-l delete line hotkey for EditPadLite7.  Today's update of EditPadLite7 fixes the propagation of hotkeys to menu items. (At least I know Control-l works to delete a line. I haven't tested it other than that.)

Shift Middle Click in empty spot in Explorer folder to open a drive, I used Progress instead of ToolTip so that I could display larger colored text.  Easier to see.
4755
General Software Discussion / Re: KeyDrive 2.6.1.0
« Last post by MilesAhead on October 19, 2011, 11:21 PM »
KeyDrive 2.6.1.0 Changed ToolTip text color to blue.  It stands out a bit better when popped up over a browser or other app that uses black text.
4756
General Software Discussion / Re: Transpose 2.2.2.0
« Last post by MilesAhead on October 18, 2011, 06:26 PM »
Transpose 2.2.2.0 Changed Dictionary lookup hotkey to Control F10.
4757
Post New Requests Here / Re: IDEA : XML Stripper
« Last post by MilesAhead on October 18, 2011, 03:44 PM »
Looks like this XmlGawk mod was compiled with MinGW as stand-alone Windows binary:

http://www.wim-blit....20for%20Windows.html
4758
Post New Requests Here / Re: IDEA : XML Stripper
« Last post by MilesAhead on October 18, 2011, 03:39 PM »
If you have to knock something together yourself you might try AutoIt3 using _StringBetween() function. This line I used with an xml subtitle file to get the start time:

$lines = _StringBetween($chapterTimes[$x], "<ChapterTimeStart>", "</ChapterTimeStart>")

You could have a 2 dimensional array with start and end tags you are looking for if you only need to find a few tags. If it's wide-reaching then you may need to use RegEx patterns.  But to catch simple start and end tags _StringBetween should be good enough. It's easy to use.

If it finds the delimiters it returns an array of the strings between them.
4759
General Software Discussion / Re: Transpose 2.2.1.0
« Last post by MilesAhead on October 17, 2011, 11:27 AM »
Transpose 2.2.1.0 Improved AllMusic time extraction from selected text. Also changed the hotkey for this from Right Winkey Back tic key, to Shift-F10 function key. It just seems to be more reliable than using the Winkey.

The About Box has been updated to show current hotkeys.

4760
General Software Discussion / Re: Transpose 2.2.0.0
« Last post by MilesAhead on October 16, 2011, 11:17 PM »
Transpose 2.2.0.0 Added Right Winkey Back tic key to add total track play times on AllMusic.com.  May work on other sites but the time must be the last thing on each line and be in min:sec format.

I only use AllMusic.  The ahk source is included. If you want to fix up the time routine to be more versatile nobody will stop you. :)

4761
General Software Discussion / Re: Transpose 2.1.8.0
« Last post by MilesAhead on October 14, 2011, 07:22 PM »
Transpose 2.1.8.0 Added Control-Back tic key hotkey to look up selected word(s) on The Free Dictionary using the default browser.

Works on all browsers that support Back tic key copy to clipboard.
4762
General Software Discussion / Too Long Path utility at sourceforge
« Last post by MilesAhead on October 13, 2011, 06:07 PM »
On another board someone was getting "too long path" errors and wanted to know how to find the files with paths that were too long.  Searching, I found this utility on sourceforge:

http://sourceforge.n...projects/tlpd/files/

Since that program was compiled AutoIt3 has been updated to use the Unicode calls by default for most API calls.  I made a few small mods to the source.  Mainly adding the "\\?\" prefix so that paths longer than 260 characters could be searched.  Here's a link to the AutoIt3 source with the mods:


http://sourceforge.n...027595/topic/4757081

You can delete the AutoIt3Wrapper directives if you like.  The only changes I made to the original was the prefix I mentioned and extending the range for the max path length in InputBox.. that type of thing.

Note that even though this will find files with very long paths, you will likely have to create a file in code to test it.  Explorer starts complaining when you create nested folders that exceed the MAX_PATH.  But I suppose some apps could create temp files with very long names/paths or whatnot.

Interactive usage:  Double click or run from command line.  Select to search all drives or pick the source of the search tree.  Enter the max path threshold.  When done it pops up the log file with any paths that exceed the threshold, or a report that none do.

To run in batch, enter the source of the search tree '*' for all, and the max path as params on the command line.  The params must be 2 and in that order or they are ignored and you get the InputBox.

Note that in batch mode you need to utilize the exit code. An exit code of 3 indicates that some too long paths were found.  Exit code is 0 if none found.  I guess it's up to you to look at the log file, TLPD-log.txt in the temp directory, when running in batch mode.


4763
General Software Discussion / Re: looking for programming language
« Last post by MilesAhead on October 12, 2011, 05:33 PM »
I would suggest you check the help docs for entries that start with "Control" such as ControlGetText.  If you search the forum for the language chances are it's already been answered there.
4764
General Software Discussion / Re: looking for programming language
« Last post by MilesAhead on October 12, 2011, 03:14 PM »
Both AutoIt3 and AutoHotKey come with their own spy.  They also have "hidden window" and "hidden text" modes.  You'll have to look through the documentation for how they stack up against .NET stuff.

If you try AutoHotKey I recommend starting right off with AutoHotKey_L. It has object support and other advanced features that vanilla AHK doesn't.

AutoIt3 can definitely pull text and send text to controls.  I've only used it in rudimentary fashion when deciding if that or clipboard was the better way to pull file names from Explorer Windows.  But macro manipulation is what they are both about.

4765
General Software Discussion / Re: Is this a worthwhile idea for a program?
« Last post by MilesAhead on October 10, 2011, 04:41 PM »
To fully understand the task I think I'd have to see the vertical editor in use. I didn't envision running little snippets through a filter.  But running the whole file through for patterns that trigger changes.  Of course the pattern would have to be exclusive enough to avoid false matches. It may be that it's not feasible.  But my thought was more like "prepping" the text before manually working like a diner cook preps the home fries.  Put the whole file through a string of stream edits until you make all the substitutions that can be automated.  Then just edit as normal.

Trouble with the substitution thing, unless you do it constantly and are very adept, it usually involves time consuming trial and error.  That's why I try to use "canned" stream filter scripts.. esp. one-liners.
4766
General Software Discussion / Re: looking for programming language
« Last post by MilesAhead on October 10, 2011, 03:27 PM »
If you want to manipulate controls on Windows apps, use database etc.. I would recommend AutoIt3.  Esp. if you are new to programming.  The syntax is very much like the Basic language. It's designed to send macros/keystrokes to windows and controls on windows.  It has SQLite library for db stuff.

http://www.autoitscr...pt-editor/downloads/

Forums to get help
http://www.autoitscript.com/forum/


The weakest element may be web page interaction.  But I haven't explored that area.

Here's a "hello world" program that demonstrates displaying a messagebox and also using a For Next loop


For $x = 1 To 3
MsgBox(0,"Hello World Program","Hello World! #" & $x & " of 3")
Next

The language and tools are free.  Also available are customized versions of SciTE editor.  You can use any editor, but the SciTE is set up to run and compile right out of the editor. Also has "intellisense" for auto completion of keywords and functions.  Functions that aren't built in or available as 3rd party scripts, such as Windows API calls that haven't been wrapped in AutoIt code, can be called using DllCall.

As example, to see if Aero Glass is enabled on Vista or Windows Seven DllCall is employed in this function

;returns non 0 if Glass is enabled on Vista/W7
Func _GlassEnabled()
$retValue = DllCall("dwmapi.dll", "int", "DwmIsCompositionEnabled", "int*", "")
If @error Then Return 0
Return $retValue[1]
EndFunc   ;==>_GlassEnabled


AutoIt3 is Windows platform only.  It requires XP or later. It also has COM Object support.  Anything you see on MS site for using stuff like Shell.Application or Scripting.Dictionary you should also be able to do easily in AutoIt3.

4767
General Software Discussion / Re: Is this a worthwhile idea for a program?
« Last post by MilesAhead on October 09, 2011, 11:24 PM »
text, hit the hotkey. Hit Go to run the script in the editor.  What's the difference?
Yes, you get the same effect, but you get it in less keystrokes/mouse clicks.  That can really add up.

You may be right. When it comes to substitutions such as regex or perl type business or even sed and awk I try to find stuff already tested.  I find figuring that stuff out more difficult than the rest of the program often times.  Everyone has their aptitudes.  One of mine is definitely eating cheese pastry.  But I don't think that will help in this case. :)

I started with Dos so I was never fully comfortable with Linux. Mainly due to lack of "Windowsie" editors.  But I have to give credit when it comes to using prefabricated stuff slapped together to get stuff done, esp. with text.
4768
General Software Discussion / Re: Is this a worthwhile idea for a program?
« Last post by MilesAhead on October 09, 2011, 01:41 PM »
Well if does what we're talking about then it does what we're talking about :)

Windows users generally aren't comfortable using a chain of filters.  Everything has to happen in one module.  Some people won't even use a program if it uses more than one process or even a dll(that they notice. When pointed out that most every exe uses one or more Windows system dlls usually a disappointed silence follows.)  Unix based systems have solved most of these issues a long time ago.  But that's why clipboard is there. Have at it. :)

If it was me I'd investigate Windows versions of Linux/Unix stream editors and look for already debugged scripts.
4769
General Software Discussion / Re: Is this a worthwhile idea for a program?
« Last post by MilesAhead on October 08, 2011, 04:06 PM »
Yes but what's the difference between a "formatting program" and an editor that has a script loaded sitting there waiting for the paste? For all purposes the editor is an interpreter running your "formatting program."

Set it as default in Text Editor Anywhere.  Select text, hit the hotkey. Hit Go to run the script in the editor.  What's the difference?
4770
General Software Discussion / Re: Is this a worthwhile idea for a program?
« Last post by MilesAhead on October 07, 2011, 06:35 PM »
You may be better off using a programmable editor like Vim.

I wish! :) I could do that in EmEditor or UltraEdit as well, seeing as they both come with JavaScript built in. Trouble is, for my specific needs, I work in a highly specialized "vertical" app called Trados (most translators know (of) it; most non-translators don't). Using it is a requirement, and it is actually a good thing, but it lacks certain features. Anyway, I don't have the liberty of using an editor of choice, hence the idea for a sidekick app.


I don't get it. If you can clipboard stuff out, then paste it back in after transformations, you can paste it into a programmable editor and paste it back?  Maybe I have to be there to see the obstacle.

edit: Maybe that Text Editor Anywhere could bridge the gap between the specialized editor and one of your programmable ones?


4771
General Software Discussion / Re: Is this a worthwhile idea for a program?
« Last post by MilesAhead on October 07, 2011, 02:50 PM »
You may be better off using a programmable editor like Vim. The mechanism is already debugged. You may be able to find scripts to do some or all of your substitutions. Windows ports of other Linux tools are available such as sed and nawk.

You could check out the available scripts. If you get stuck you could likely find forums of enthusiasts who tinker with scripts or know where to find more that may help you get over the hurdle.

Windows ports of bash shell are available if you need to pipe the output of one into the input of another. It sounds like the type of task that someone would have automated already.  At least partially.

4772
Find And Run Robot / Re: Latest FARR Release v2.107.04 beta - Sep 23, 2012
« Last post by MilesAhead on October 06, 2011, 06:25 PM »
Sent. The return address is FavesSoft support email.
4773
Find And Run Robot / Re: Latest FARR Release v2.107.04 beta - Sep 23, 2012
« Last post by MilesAhead on October 06, 2011, 05:19 PM »
With latest version on Windows 7 32 bit, it shows an icon on the TaskBar as well as in the system tray.  Right click on icon in the TaskBar and select Close Window. It doesn't close.

For now I fixed it by reinstalling 2.99.02
4774
General Software Discussion / Re: ReOpen 4.9.3.0
« Last post by MilesAhead on October 05, 2011, 03:27 PM »
This rev. has been removed.  The new folder path detection method tried was fine for hotkeying on a static window, but not so great for polling.

v. 4.9.2.0 is the one to use.
4775
General Software Discussion / Re: FolderCache 6.2.0.0
« Last post by MilesAhead on October 05, 2011, 02:37 PM »
This revision will be taken down.  The technique to get current folder name is not useful for polling functions.  Works ok for hitting a hotkey while the folder is the active window.

v. 6.1.3.0 is the one to use.

Nevermind. :)
Pages: prev1 ... 186 187 188 189 190 [191] 192 193 194 195 196 ... 309next