topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Tuesday November 25, 2025, 8:56 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 ... 12 13 14 15 16 [17] 18 19 20 21 22 ... 25next
401
Post New Requests Here / Re: Apply Conditional Formatting To .csv
« Last post by AndyM on April 18, 2009, 11:30 AM »
ApExcel is just the name you assigned to the application object so you can use it in subsequent lines.  There was probably a "dim ApExcel As Object" that preceded the code you found.  This defined ApExcel as the name of an object which is then set to represent the Excel application itself.

The approach I use for the sort of project you are doing, is to go through all the steps manually so I know exactly what I want the code to do, and in what order.

Then I start filling in the steps with code.

It's very helpful to record the manual steps and then view what you've done in the VBA editor.  However much needs to be changed from there, particularly anything to do with variables.

Record the importation of a .csv file, and continue to record saving it as an .xls file (which you'll need if you want to keep your formatting).  Then look at the code.

Excel's VBA help has a lot, but I find it difficult to find things, and the explanations require a working background that I found difficult to get in one comprehensive overview.

Google an Excel vba primer, look for one that has examples like the sort of thing you are looking to do.  There are Microsoft Excel MVP websites that are invaluable (Pearson, DeBruin, McGimpsey, etc)  Check out the board at vbaexpress.com and the microsoft.public.excel.programming newsgroup

When everything is automated, use an Auto_Open or Workbook_Open macro which will run as soon as your workbook is opened by the script that created the .csv file in step 1.

Good luck.
402
General Software Discussion / Re: Align Icons 2.0
« Last post by AndyM on April 18, 2009, 09:21 AM »
I like Desktop Icon Toy -   http://www.idesksoft.com/

I don't use the dancing icon stuff, just tiny icons exactly where I want them and they can't be moved accidentally

403
Post New Requests Here / Re: IDEA: move small dialog windows to cursor position
« Last post by AndyM on April 15, 2009, 10:25 AM »
I disable the hotkeys and add the occasional dialog box manually.

Once or twice I've used the hotkeys when I knew I'd have a number dialog boxes to add.
404
Post New Requests Here / Re: IDEA: move small dialog windows to cursor position
« Last post by AndyM on April 14, 2009, 12:32 PM »
I couldn't live without DialogMove (using XP SP3).

I started using DialogMove just before or just after I upgraded to SP2, and before that none of the dialogs moved.  The best I could do was use the XP setting to move the cursor to the dialog box, an inferior approach.

I didn't know Vista duplicates some of the functionality of DialogMove, but using XP I find DialogMove essential for convenience.
405
Okay, I've noticed something else. Whenever I mouse over a window it automatically focuses on that window. When I move it away, the focus leaves. I haven't made any mouse changes except for its speed. What now?

X-Mouse?
406
Living Room / Re: Misbehaving Tray Icon
« Last post by AndyM on April 07, 2009, 06:43 PM »
If I set a system restore point prior to running the script(s), would that keep things safe, just in case?

That, and a full image backup before you do anything worrisome (belt and suspenders)  :)
407
or change ">KillTime.txt" to ">>KillTime.txt" so you append the date/time to the file
408
Coding Snacks / Re: List of folders to be copied automatically
« Last post by AndyM on April 02, 2009, 08:56 AM »
This is not too difficult to do with a macro (VBA code) right from Excel.  You'd loop thru the list, doing a copy at each pass thru the loop.
409
Post New Requests Here / Re: IDEA: Click/scroll in Inactive Windows
« Last post by AndyM on April 02, 2009, 08:54 AM »
understood, but it's beyond me, sorry!
410
Post New Requests Here / Re: IDEA: Click/scroll in Inactive Windows
« Last post by AndyM on April 01, 2009, 10:07 AM »
Well this game if its not in focus or active, then i would disconnect

If the game window loses focus, it quits?
411
Post New Requests Here / Re: IDEA: Click/scroll in Inactive Windows
« Last post by AndyM on March 31, 2009, 08:49 PM »
Now i just need a program that lets me click in inactive windows, so my active window doesnt get disturbed
A different thought.

Why not just make the active window "always on top".  Then you can click anyplace else you can see and type in that window while still viewing the entire original active window just the way it was.

I have several ways to toggle windows "always on top" (hotkey, button on titlebar, rightclick on titlebar sends window to bottom, etc.)
412
Post New Requests Here / Re: IDEA: Click/scroll in Inactive Windows
« Last post by AndyM on March 31, 2009, 08:41 PM »
Not elegant, but if you want to type in the inactive window, I think you are going to have to save the status of the active window, make the window under the cursor the active window, type or have the typed text pasted, and then restore the original active window.

I can think of a few ways to trigger the procedure, but I don't understand how this will work without three hands (one to position the mouse, and the other two to type).  Or is it one hand typing while the other is mousing?

413
General Software Discussion / Re: Favorite Firefox Theme(s)
« Last post by AndyM on March 30, 2009, 10:08 PM »
LittleFox, if you like tiny and tidy.
414
General Software Discussion / Re: Make Firefox 3 load faster
« Last post by AndyM on March 30, 2009, 10:06 PM »
I'm really interested in the claims made by stoobee, AndyM, dantheman, and others about Firefox 3 loading in under 10 seconds.  Are you talking about the first time you start FF after you've booted up your computer?

I was about to say yes, but I did some re-testing and I learned that starting Firefox for the first time after booting is not the same as starting Firefox for the first time after logging off and logging back on.  I was quite surprised.  I made sure there was no running Firefox process before I started it.

After rebooting: around 20 seconds.  After closing Firefox, logging off, logging back on: 7-9 seconds.  Any subsequent restart: 5-6 seconds.

415
Post New Requests Here / Re: IDEA: Custom Views in Windows Explorer (XP)
« Last post by AndyM on March 29, 2009, 11:32 AM »
counts the number of files that the mouse highlighted
This info is available in the Windows Explorer status bar at the bottom of the window (if you have it turned on). 
416
Post New Requests Here / Re: IDEA: Custom Views in Windows Explorer (XP)
« Last post by AndyM on March 29, 2009, 10:20 AM »
wouldn't it be awesome when you could select additional views which can be created and installed as addons?

yes it would!
417
Living Room / Re: Peculiar Firefox .gif issue
« Last post by AndyM on March 27, 2009, 01:22 PM »
Take a look at the Applications tab in the Options dialog for Firefox.  Check the "Action" shown for .gif files.
418
Living Room / Re: Excel If Then Statements
« Last post by AndyM on March 21, 2009, 07:41 PM »
However, I am still unable to edit multiple cells in the same statement...

This was done from Cell F2:

=IF(D2="Fire","NW"&G2="W",IF(D2=...

Now it fills the G2 Cell with W and leaves False in F2.

To have G2 display something using a formula, you have to put a formula in G2.  I can't see how a formula in F2 would "fill the G2 Cell with W" unless you had a formula in G2 testing for the contents of F2 or D2.

The only way something in F2 can change the contents of G2 independent of what's already in G2, like a formula, is with an event macro.
419
General Software Discussion / Re: What's your mouse of choice?
« Last post by AndyM on February 21, 2009, 10:45 AM »
sounds nice
if you spin it does it keep going - is there that little resistance?

From the descriptions, it sure sounds that way.  I have to say I'm very curious.  I'll have to go someplace and check one of these out.
420
General Software Discussion / Re: Make Firefox 3 load faster
« Last post by AndyM on February 17, 2009, 09:25 AM »
I have 39 extensions and FF3 3.06 loads in 3-5 seconds.  Fairly new, fairly fast laptop running XP SP3.
421
General Software Discussion / Re: PDF creation command line tool -- Does one exist?
« Last post by AndyM on February 11, 2009, 07:14 PM »
I just googled

    command line pdf maker

looks like there are a few there
422
is there an easy way to exclude any particular programme from this script ?
Check out the autohotkey commands:  #IfWinNotActive and #IfWinActive
423
General Software Discussion / Re: .NET Framework 3.5 install advice
« Last post by AndyM on January 15, 2009, 05:36 PM »
Thanks everyone!
424
General Software Discussion / .NET Framework 3.5 install advice
« Last post by AndyM on January 15, 2009, 07:39 AM »
All I have installed currently is .Net 1.1  (not sure why)

I've finally seen something I'd really like (a tiny Windows Explorer utility) that requires .Net 3.5.

Can I just install 3.5 or do I have to install 2.0,etc first?

Are there downsides to having .Net framework installed?

A google search raised more questions than answers so I come here for some quick advice, or links to good info.

TIA,  Andy
425
Post New Requests Here / Re: close folders
« Last post by AndyM on January 10, 2009, 05:06 PM »
Is there a simple script to close the folder when I launch a file?
This is simple.  Hold down the Left Control key and Right Click on an object.  The object opens and the parent window closes.  The folder always closes but sometimes the file doesn't open (it's a timing thing), which can be irritating.  But it is simple  ;D
;CloseParent.ahk
;
;In an Explorer Window, hold down Left-Control and RightClick on a
;folder,shortcut,or file.  The folder/shortcut/file will open/run
;and the Explorer Window will close.
;
;If you LeftControl-RightClick anyplace other than an object,
;eg a window background, the window will close, very handy
;
;sometimes the timing doesn't work, hence the sleeps

#SingleInstance,Force
#Persistent
Menu,Tray,Tip,CloseParent

LControl & RButton::
MouseGetPos,xpos,ypos,ParentWin
sleep, 100
MouseClick,Left,%xpos%,%ypos%,2
sleep, 200
Winclose,ahk_id %ParentWin%
return
Pages: prev1 ... 12 13 14 15 16 [17] 18 19 20 21 22 ... 25next