topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Friday November 21, 2025, 8:42 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 ... 80 81 82 83 84 [85] 86 87 88 89 90 ... 113next
2101
General Software Discussion / Re: Shortcut Creator
« Last post by ewemoa on June 07, 2010, 06:47 PM »
Thanks for the further explanation.

I am working on digesting it (and my food :) ).
2102
General Software Discussion / Re: Shortcut Creator
« Last post by ewemoa on June 06, 2010, 11:08 AM »
That small of a sleep shouldn't make that much of a difference.  I put it in there as a failsafe against a user selecting many thousands of files and having their computer act unresponsive while that many shortcuts were created.  Take it out...see if anything changes for Contro.
Thanks for the suggestion.  I will try that.
2103
yes, i was referring to the .zip download, also, by adding AutoHotkey.ini in the directory it won't write to the registry nor create a .ahk file in my documents.

this is where i found the trick.
http://www.portablefreeware.com/?id=217
http://www.autohotke...orum/topic16490.html
Thanks for sharing this  :Thmbsup:
2104
General Software Discussion / Re: Shortcut Creator
« Last post by ewemoa on June 05, 2010, 03:42 PM »
Thanks for the feedback.

Is something strange.
I have been manipulating the ini.

1. With only one option :The program fails when I let only one option.
1=%userprofile%
I tried:

[Settings]
; hotkey for activation, see AutoHotkey 'Hotkey' command docs
Hotkey=^+c
; destination locations to choose from
1=%userprofile%
; total number of locations to display (starting at 1)
Total=1

and it worked fine here -- may be I misunderstood.  Would you mind providing your full ini file?

2. The program is more powerful , but is not "ultra-fast". The interesting point when only one option is desired is inmediately creation.
There is a sleep command in the loop that forces a pause.  May be I can rearrange the code so that the sleep only happens if there is more than one item to make a shortcut of.

Do you have any comments, skwire?

3. the program fails in the recreation of the ini file. I close the program. I edit the ini file. But after the environmental variables are not recognized.
I don't understand what you mean by "recreation".  Would you mind elaborating?

If you don't mind, perhaps you could provide step-by-step instructions on an example case demonstrating the issue and how you think it should behave.  Then I can try to reproduce it locally.

BTW, the tray icon menu should contain some menu items that might be handy, in case you haven't seen them:

  • Open Configuration File
  • Reload Configuration
  • Exit

Have you tried them out?

4. Feature one to many .

I select the icon or subfolder in the active window  I am. And automatically the same shortcut is created in all active windows i have opened selecting the option "Active Windows" or similar.
The option "This active Window" is irrelevant because the windows xp system come with that option almost directly.
Hmm, I don't understand.  Would you mind showing me some screenshots?

Perhaps the best way of fast linking wil be two or more hotkeys. One , by example, to send the icon to the desktop, and other to open the general selection table.
Let's come back to this after addressing the other points.  Perhaps you can bring it up again later?
2105
General Software Discussion / Re: Shortcut Creator
« Last post by ewemoa on June 04, 2010, 10:47 PM »
New version uploaded -- minimally tested.

SHA1: 58bd28e144e2d191e9466a015b15c35a3e39d555

Changes include:

  • Environment variable substitution support for locations in ini file
  • Allow multiple instances to run at the same time -- remember to change hotkey setting :)
  • Menu item "Choose Location..." brings up a dialog to choose a folder to create shortcuts in
  • Archive no longer contains sample ini, if there is no ini file, one should be created by the program
  • Archive only contains a single executable
  • Tray icon menu changes
  • Credits
  • Cosmetic changes

Please let me know if you experience any problems.
2106
I got a request to make Axem compatible with autohotkey portable by not using the registry to read the autohotkey.exe path but instead finding the path to it. would you use this?
By "authotkey portable" are you referring to the .zip download available via:

  http://www.autohotkey.com/download/

?  Or perhaps something else?

I have been interested in Axem for a while but have held off because I work off of an uncompressed copy of the AHK zip file alluded to above.
2107
General Software Discussion / Re: Shortcut Creator
« Last post by ewemoa on June 04, 2010, 08:45 AM »
I added some bits to skwire's code:

  CreateShortcutsIn.zip

SHA1: ba06fbfa0cb8a789dafbbda8e57889639738cd67

The zip file should contain an executable and a sample ini file (which should get copied by invoking the executable if there isn't already an ini file with the name "CreateShortcutsIn.ini" in the same directory as the executable).

[Settings]
Hotkey=^+c
1=C:\
2=C:\WINDOWS
3=C:\Documents and Settings
Total=3

The Hotkey setting should be something that the AHK Hotkey command can understand.  In the example here, it is set to "Ctrl Shift C".

The numbered entries indicate possible destinations to copy to.

The Total setting is the total number of numbered entries.  It is set to 3 here, but if one were to set it to 2, then it should ignore any numbered entries with numbers larger than 2.  Please make entries counting from (and including) 1 in increments of +1.  It is unlikely the code will behave otherwise.

1.select-items-in-explorer.png

2.press-hotkey-to-bring-up-popup-menu.png

Note: If I understand correctly, any existing shortcuts will be overwritten.

I failed to include credits in the zip file (perhaps for a future version?).  Here is the draft of the CREDITS.txt file -- comments welcome:

Thanks to folks mentioned below (sorry if I missed someone):

Idea based on post by Contro at
  https://www.donationcoder.com/forum/index.php?topic=22924.0

Code based on skwire's post at
  https://www.donationcoder.com/forum/index.php?topic=21927.msg197063#msg197063

skwire's code mentioned by jdd at
  https://www.donationcoder.com/forum/index.php?topic=22924.msg207668#msg207668

Code written in AHK by Chris Mallett
  http://www.autohotkey.com/

Icon based on one from
  Mark James
    famfamfam.com: Silk Icons
    http://www.famfamfam.com/lab/icons/silk/
2108
Living Room / Re: What books are you reading?
« Last post by ewemoa on June 04, 2010, 03:35 AM »
I wouldn't want to risk removing the bottom piece for a similar reason.  Here's what the owner manual has to say:

Recommended blade assembly removal with wrench
(Caution: Do not remove blades unless absolutely necessary!)


I have this memory / image-in-mind of a jar that has a bottom piece (which has a blade attached) that can be unscrewed from the jar.  Perhaps such things used to exist (still exist even), though I wonder about leakage...

One of the nice things about your device is that there are only two blades -- looks less accident prone while cleaning.

BTW, I measure the height of our jar -- it was 26.5 cm (a little shy of 10.5 inches?).

Since I've been contributing to off-topic-ness, I will confess to something else I've been reading -- Programming in Lua, 1st Edition (online version).  It beats reading the reference manual by itself, although it covers version 5.0 of the language instead of 5.1 -- for which the following might be handy:

  http://lua-users.org/wiki/MigratingToFiveOne

One of the nice things about their being a plain HTML online version is that it can be read via a mobile device (e.g. an Android device).  I was also able to create an offline version for a recent trip to an area with limited connectivity :up: though the Android devices I've had access to seem terrible at handling offline content with HTML fragment identifiers  :down:

programming-in-lua-cover.jpg

For some reason, I found the "About the Book" section admirable:

About the Book
I started writing this book in the winter of 1998. (Here, in the southern hemisphere, that means the middle of the year. And "winter" is more like a mild autumn.) At that time, Lua was still in version 3.1. Since then, Lua went through two big changes, first to version 4.0, in 2000, then to version 5.0, in 2003.

It is quite obvious that those changes had a big impact on the book. Some parts lost their raison d'être, such as the detailed explanation around the complexity of upvalues. Whole chapters were rewritten, such as those about the C API, and whole chapters were created, such as the one about coroutines.

What is not obvious, however, is the big impact that the writing of this book had on the evolution of Lua. Not by chance, some of the biggest changes in the language were in areas not yet covered by the book at the time of the change. As I worked through the book, sometimes I suddenly got stuck in a chapter. I could not figure out how to start or even how to motivate it. It is when you try to explain how to use something that you better feel how easy it is to use it (or not). So, those difficulties were strong hints that some things in Lua needed improvement. Other times I succeeded in writing a chapter, only to discover, later, that nobody could understand or agree with what I wrote. Frequently it was my fault (as I writer), but occasionally we spotted another corner of the language that deserved some improvement. (For instance, the transition from upvalues to lexical scoping was triggered by complaints over a feeble attempt, in an earlier draft of this book, to describe upvalues as a kind of lexical scoping.)

The changes of the language deferred the completion of this book; now the completion of this book will probably defer significant changes in the language. There are at least two reasons for that: First, Lua 5.0 is cleaner and more mature than earlier versions of the language (partially thanks to the book). Second, the book adds weight to the culture around the language and therefore increases its inertia. This cultural-weight increase is the first of my main goals with this book. My second main goal is to increase even more the spread of Lua.

2109
Living Room / Re: What books are you reading?
« Last post by ewemoa on June 04, 2010, 12:17 AM »
Thanks for the details and pics  :Thmbsup:

It definitely looks much easier to clean than the VitaMix machines.  I wonder if there are devices where one can remove the bottom portion so the cleaning can be a bit safer...

Update: Some VitaMix pics for comparison:

vitamix-from-outside.jpg

vitamix-from-above.jpg
2110
General Software Discussion / Re: Shortcut Creator
« Last post by ewemoa on June 03, 2010, 05:49 PM »
Also, not quite what was requested, but FWIW, here's what I have locally:

What shell extension is that providing all those neatly categorized context menu items?
It's not a shell extension :)  It's a little utility in AHK_L for consolidating certain types of AHK_L functionality into one place.
2111
Thanks for the SciTE4AutoHotkey link!  When I looked this time, I spotted the portable version, so may be I will give it a try.
I have tried it now.  It looks quite interesting.

Unfortunately...
I haven't come up with a good way for the SciTE4AutoHotkey directory to not have it live inside the directory containing AutoHotkey.exe.  Editing of .properties files seems to be one approach though the toolbar ones (.ini-file like) don't reference ahk.properties (non-ini file which is where AutoHotkeyDir is defined).  I'm not sure whether these changes will survive upgrades...

It also seems that I'd need 2 installations -- one for AHK and one for AHK_L :(


Update: Sorry, forgot to post some shots of the highlighting (below is what I got by default):

scite4ahk-sample-1.png

scite4ahk-sample-2.png

scite4ahk-sample-3.png

Now for some with the included psp style:

scite4ahk-sample-4.png

scite4ahk-sample-5.png

scite4ahk-sample-6.png
2112
thanks, ewemoa. do you use Notepad++ as well?
What comes to mind at the moment, concerning my Notepad++ usage is:

  • Replacing across multiple files via regular expressions
  • Quick view of a file

further off-topic details
For the former, it's been pretty good with occasional crashing -- unfortunately, I haven't managed to figure out conditions for reproducing this reliably.  It'd be nice for it to do previewing with interactive replacement -- may be it does, and I haven't figured this out.

For the quick-file-viewing, it happens to be fast enough for quick start up here, so it's what I have as a default viewer when using Coffee.

Although a number of other editors with syntax highlighting start up comparably fast (if not faster, e.g. SciTE.exe), I don't think I've tried one that offers both of the above features.

It certainly would be nicer if Notepad++ offered out-of-the-box support for AutoHotkey!

For longer sessions I tend to use Emacs or Code::Blocks -- and if I happen to be using something like Cygwin or MSYS, I tend to use whatever comes up via vi.


for editors with well formed syntax highlighters, one could try SciTE4AutoHotkey
Thanks for the SciTE4AutoHotkey link!  When I looked this time, I spotted the portable version, so may be I will give it a try.  Somehow I had the impression that there wasn't a portable version so I had not tried it before.  Reminds me of the potential value of continuing to check for some things -- things change, and things can be missed ;)

I have tried PSPad and Notepad2 as well.  The former I had various difficulties with so when Notepad++ appeared on the radar...The latter I didn't end up using enough to give a fair assessment.

Update: Saw the following text regarding the non-zip download for SciTE4AutoHotkey:

Despite being an installer, the installation can be portable (uncheck the default editor box).

Sounds nice  :up:
2113
Living Room / Re: What books are you reading?
« Last post by ewemoa on June 03, 2010, 03:44 PM »
We received the blender this morning
Cool!  Thanks for sharing the details of your experiences  :up:

May I ask how the experience of cleaning is and also the noise level when blending?  We have a VitaMix [1], and the cleaning experience of it (particularly near the blades) leaves much to be desired.  Although in retrospect, it has helped me to consider the issue of cleaning and maintenance when considering new additions to our household :)


[1] To be fair though, our model is from some years back -- I don't know what their latest stuff is like.
2114
Interesting find, lanux128  :up:

I tried it out:

ahk-externel-lexer-sample.png
2115
Sorry, no idea.
2116
Screenshot Captor / Re: Screenshot Captor Splice Tool
« Last post by ewemoa on June 03, 2010, 12:39 AM »
Made a proof-of-concept GIMP Script-Fu script that handles the case of the selection being longer in the horizontal direction.

If there's any interest, I'll post the code (ugly though it may be ;) ).
2117
General Software Discussion / Re: Shortcut Creator
« Last post by ewemoa on June 02, 2010, 07:56 PM »
ewemoa , what the meaning of atm. ?
Sorry, it is short for "at the moment".

and..."FARR" == "Find And Run Robot" :)
2118
Here are some sample shots:

geshi-ahk-changes-1.png

geshi-ahk-changes-2.png

geshi-ahk-changes-3.png

Note: colors were not the only things changed -- some additions (e.g. global, local, etc were missing) and deletions (e.g. there was both a While and a while, so I removed the latter -- and similar things) were made too.  Perhaps discussion with the author of autohotkey.php might be worthwhile...
2119
Screenshot Captor / Re: Screenshot Captor Splice Tool
« Last post by ewemoa on June 02, 2010, 02:05 PM »
you people and your hotkey shortcuts!
I think Alt-X followed by an appropriate number of arrow key presses (1 or 2) and then Enter is doable, so the current state of things seems fine.

Thanks again for this feature!
2120
General Software Discussion / Re: Shortcut Creator
« Last post by ewemoa on June 02, 2010, 01:35 PM »
Can I have this utility ?
I was going to say 'sure', except I seem to be having trouble uploading via FTP, atm.
2121
General Software Discussion / Re: What to use to secure delete a HDD?
« Last post by ewemoa on June 02, 2010, 03:48 AM »
The only thing is, IS the NSA interested in the data of MY hdd? I don't think so.  ;D
Not so fast -- how will they know until they take a look?

Do you think you are the only person to be using your PC for storage? ;)
2122
General Software Discussion / Re: What to use to secure delete a HDD?
« Last post by ewemoa on June 02, 2010, 02:35 AM »
JoTo,

Whether you believe it or not:

Number of overwrites needed

Data on floppy disks can sometimes be recovered by forensic analysis even after the disks have been overwritten once with zeros (or random zeros and ones). This is not the case with modern hard drives. The bits on modern drives are so small that deviation of tracks between writes cannot be discerned by any means[citation needed].

According to the 2006 NIST Special Publication 800-88 (p. 7): "Studies have shown that most of today’s media can be effectively cleared by one overwrite" and "for ATA disk drives manufactured after 2001 (over 15 GB) the terms clearing and purging have converged."[6]

According to the Center for Magnetic Recording Research, "Secure erase does a single on-track erasure of the data on the disk drive. The U.S. National Security Agency published an Information Assurance Approval of single pass overwrite, after technical testing at CMRR showed that multiple on-track overwrite passes gave no additional erasure."[7] "Secure erase" is a utility built into modern ATA hard drives that overwrites all data on a disk, including remapped (error) sectors.

Further analysis by Wright et al. seems to also indicate that one overwrite is all that is generally required.[8]

From:

  https://secure.wikimedia.org/wikipedia/en/wiki/Data_erasure#Number_of_overwrites_needed
2123
I'm comparing GeSHi's autoit.php with autohotkey.php:

autoit.php
Code: PHP [Select]
  1. 'KEYWORDS' => array(
  2.             1 => 'color: #0000FF; font-weight: bold;',
  3.             2 => 'color: #800000; font-weight: bold;',
  4.             3 => 'color: #000080; font-style: italic; font-weight: bold;',
  5.             4 => 'color: #0080FF; font-style: italic; font-weight: bold;',
  6.             5 => 'color: #F000FF; font-style: italic;',
  7.             6 => 'color: #A00FF0; font-style: italic;'
  8.             ),
  9.         'COMMENTS' => array(
  10.             'MULTI' => 'font-style: italic; color: #669900;',
  11.             0 => 'font-style: italic; color: #009933;',
  12.             1 => 'font-style: italic; color: #9977BB;',
  13.             ),
  14.         'ESCAPE_CHAR' => array(
  15.             0 => ''
  16.             ),
  17.         'BRACKETS' => array(
  18.             0 => 'color: #FF0000; font-weight: bold;'
  19.             ),
  20.         'STRINGS' => array(
  21.             0 => 'font-weight: bold; color: #9977BB;'
  22.             ),
  23.         'NUMBERS' => array(
  24.             0 => 'color: #AC00A9; font-style: italic; font-weight: bold;'
  25.             ),
  26.         'METHODS' => array(
  27.             1 => 'color: #0000FF; font-style: italic; font-weight: bold;'
  28.             ),
  29.         'SYMBOLS' => array(
  30.             0 => 'color: #FF0000; font-weight: bold;'
  31.             ),
  32.         'REGEXPS' => array(
  33.             0 => 'font-weight: bold; color: #AA0000;'
  34.             ),

autohotkey.php
Code: PHP [Select]
  1. 'KEYWORDS' => array(
  2.             1 => 'color: #AAAAFF; font-weight: bold;',       // reserved #blue
  3.             2 => 'color: #88FF88;',                         // BIV yellow
  4.             3 => 'color: #FF00FF; font-style: italic;',       // commands purple
  5.             4 => 'color: #888844; font-weight: bold;',       // functions #0080FF
  6.             5 => 'color: #000000; font-style: italic;',    // directives #black
  7.             6 => 'color: #FF0000; font-style: italic;',      // hotkeys #red
  8.             7 => 'color: #000000; font-style: italic;',    // gui commands #black
  9.             8 => 'color: #000000; font-style: italic;'      // gui controls
  10.             ),
  11.         'COMMENTS' => array(
  12.             'MULTI' => 'font-style: italic; color: #669900;',
  13.             1 => 'font-style: italic; color: #009933;'
  14.             ),
  15.         'ESCAPE_CHAR' => array(
  16.             0 => ''
  17.             ),
  18.         'BRACKETS' => array(
  19.             0 => 'color: #00FF00; font-weight: bold;'
  20.             ),
  21.         'STRINGS' => array(
  22.             0 => 'font-weight: bold; color: #008080;'
  23.             ),
  24.         'NUMBERS' => array(
  25.             0 => 'color: #0000dd;'
  26.             ),
  27.         'METHODS' => array(
  28.             1 => 'color: #0000FF; font-style: italic; font-weight: italic;'
  29.             ),
  30.         'SYMBOLS' => array(
  31.             0 => 'color: #000000; font-weight: italic;'
  32.             ),
  33.         'REGEXPS' => array(
  34.             0 => 'font-weight: italic; color: #A00A0;',
  35.             1 => 'color: #CC0000; font-style: italic;',
  36.             2 => 'color: #DD0000; font-style: italic;',
  37.             3 => 'color: #88FF88;'
  38.             ),

Perhaps the following would work as a change:

Code: PHP [Select]
  1. 'KEYWORDS' => array(
  2.             1 => 'color: #0000FF; font-weight: bold;', // reserved
  3.             2 => 'color: #800000; font-weight: bold;', // BIV
  4.             3 => 'color: #000080; font-style: italic; font-weight: bold;', // commands
  5.             4 => 'color: #0080FF; font-style: italic; font-weight: bold;', // functions
  6.             5 => 'color: #F000FF; font-style: italic;', // directives
  7.             6 => 'color: #FF0000; font-style: italic;', // hotkeys #red
  8.             7 => 'color: #000000; font-style: italic;', // gui commands #black
  9.             8 => 'color: #000000; font-style: italic;'  // gui controls
  10.             ),
  11.         'COMMENTS' => array(
  12.             'MULTI' => 'font-style: italic; color: #669900;',
  13.             1 => 'font-style: italic; color: #009933;'
  14.             ),
  15.         'ESCAPE_CHAR' => array(
  16.             0 => ''
  17.             ),
  18.         'BRACKETS' => array(
  19.             0 => 'color: #FF0000; font-weight: bold;'
  20.             ),
  21.         'STRINGS' => array(
  22.             0 => 'font-weight: bold; color: #9977BB;'
  23.             ),
  24.         'NUMBERS' => array(
  25.             0 => 'color: #AC00A9; font-style: italic; font-weight: bold;'
  26.             ),
  27.         'METHODS' => array(
  28.             1 => 'color: #0000FF; font-style: italic; font-weight: bold;'
  29.             ),
  30.         'SYMBOLS' => array(
  31.             0 => 'color: #FF0000; font-weight: italic;'
  32.             ),
  33.         'REGEXPS' => array(
  34.             0 => 'font-weight: italic; color: #A00A0;',
  35.             1 => 'color: #CC0000; font-style: italic;',
  36.             2 => 'color: #DD0000; font-style: italic;',
  37.             3 => 'color: #88FF88;'
  38.             ),

It looks like autohotkey.php groups 'while', 'if', 'else', and 'return' separately from commands though they are listed as commands in the AHK docs.

Also, autohotkey.php doesn't appear to mention 'static', 'global', 'local', or 'ByRef'.

Perhaps it's worth checking out the content of Extras\Editors\Syntax\...
2124
Living Room / Re: What books are you reading?
« Last post by ewemoa on June 01, 2010, 10:12 PM »
Visual Example of Green Smoothie In This Image

The ones I had were often darker :)
2125
Thanks :Thmbsup:
Pages: prev1 ... 80 81 82 83 84 [85] 86 87 88 89 90 ... 113next