Search found 193 matches

by JJohnston2
11 Jun 2016, 12:44
Forum: Ask For Help
Topic: Downloading a file not working?
Replies: 12
Views: 2722

Re: Downloading a file not working?

Nice... bet it works faster that way, I'll test it when I have a chance.

I still don't understand why doing RawWrite(hObject.ResponseBody, ...) or RawWrite(uBytes, ...) or RawWrite(&uBytes, ...) doesn't work.
by JJohnston2
11 Jun 2016, 02:39
Forum: Ask For Help
Topic: Downloading a file not working?
Replies: 12
Views: 2722

Re: Downloading a file not working?

I couldn't get it work either trying all kinds of things... there is hopefully a very simple solution that someone will be able to post. This is the only thing I could get working--awful and slow--write one byte at a time vs. the entire buffer. ; Test code urlDownloadToFile("https://autohotkey.com/d...
by JJohnston2
01 Jun 2016, 22:48
Forum: Ask For Help
Topic: new Contact instance of Outlook
Replies: 8
Views: 1594

Re: new Contact instance of Outlook

Nice kon... :bravo:

I didn't realize you could launch a new window using the display method... definitely going to use that in the future.
by JJohnston2
31 May 2016, 23:01
Forum: Scripts and Functions
Topic: Favorite One-Liners/Hotstrings
Replies: 0
Views: 960

Favorite One-Liners/Hotstrings

Got any favorite one-liners or hotstrings? Here are two of mine... :*:ahkahk::AutoHotkey ; you've never typed AutoHotkey faster... #If !ExcludeCheckmark() :?*:./::{U+2713} ; Make checkmarks easily (for non-text programs that can handle it) #IfWinActive ExcludeCheckmark() { Return WinActive("ahk_exe ...
by JJohnston2
31 May 2016, 22:43
Forum: Ask For Help
Topic: new Contact instance of Outlook
Replies: 8
Views: 1594

Re: new Contact instance of Outlook

This will start an Outlook contacts window... ;---------------------------------------------------------------------------------------------- ; outlook_startContacts() - Start Contacts ;---------------------------------------------------------------------------------------------- outlook_startContac...
by JJohnston2
30 May 2016, 23:30
Forum: Ask For Help
Topic: new Contact instance of Outlook
Replies: 8
Views: 1594

Re: new Contact instance of Outlook

To get a new instance of Outlook with a folder loaded you will probably have to launch another Outlook instance (i.e., use start or run command) and then navigate to that folder programmatically. What do you mean by a "customized view"? How would you normally customize the view?, i.e., what about it...
by JJohnston2
23 May 2016, 22:11
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 820
Views: 484427

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

I don't think SciTE is running multi-threaded, so when an AutoHotkey script is running it can't simultaneously launch the help file or other external applications--my guess anyway. The help file workaround works by launching the help file from another thread. For multi-file search, the dialog loads ...
by JJohnston2
22 May 2016, 19:25
Forum: Scripts and Functions
Topic: WindowHacks
Replies: 3
Views: 1715

Re: WindowHacks

Nice
by JJohnston2
22 May 2016, 19:07
Forum: Ask For Help
Topic: Script that triggers keystrokes in a given window
Replies: 6
Views: 1031

Re: Script that triggers keystrokes in a given window

I've had various luck with ControlSend (all my fault I'm sure). Sometimes you can send to the main window handle and get results vs. sending to the control handle. You may need to try work on a specific test case that can be reduplicated or something where you can post specifics in order to get help...
by JJohnston2
22 May 2016, 16:20
Forum: Scripts and Functions
Topic: xlFindLastCell() - Find last non-empty cell in Excel
Replies: 7
Views: 3830

Re: xlFindLastCell() - Find last non-empty cell in Excel

Saving this one in case I need it later ;) Thanks for posting
by JJohnston2
22 May 2016, 15:50
Forum: Ask For Help
Topic: Script that triggers keystrokes in a given window
Replies: 6
Views: 1031

Re: Script that triggers keystrokes in a given window

If the window isn't active do you need it to stay not active? Or is it ok for your purposes to activate the window first and then send the keystrokes? If the window isn't active but you don't mind activating it, you can use WinActivate and WinWaitActive . Using ControlSend to keep the window in the ...
by JJohnston2
22 May 2016, 01:11
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 820
Views: 484427

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

@rommmcek: Brilliant :thumbup: I would have never thought of that or had the patience to go code it since I know the workaround is to just break and start help, or restart SciTE and start help, but that little gem is nice. Now, if only I could use the "Find in Files" function the same way (Ctrl+Shif...
by JJohnston2
22 May 2016, 00:31
Forum: Scripts and Functions
Topic: Right-Double-Click to Close SciTE Search Results
Replies: 1
Views: 602

Right-Double-Click to Close SciTE Search Results

This function closes search results in SciTE without having to select 'Hide' from the right-click menu. Just double-right-click on the search results instead. Since position 8 is 'Close' in the edit window, it will also close a file if a double-right-click is performed on the SciTE file editing wind...
by JJohnston2
21 May 2016, 23:52
Forum: Scripts and Functions
Topic: xlFindLastCell() - Find last non-empty cell in Excel
Replies: 7
Views: 3830

Re: xlFindLastCell() - Find last non-empty cell in Excel

So does this find the last cell with something in it, whereas UsedRange finds the last cell equivalent to hitting Ctrl+End in Excel?
by JJohnston2
15 May 2016, 20:05
Forum: Ask For Help
Topic: Script that triggers keystrokes in a given window
Replies: 6
Views: 1031

Re: Script that triggers keystrokes in a given window

For windows programs that use standard menus (i.e., not the Ribbon interface), you can use WinMenuSelectItem. For your example, trying to send Alt by itself probably sends Alt down and Alt up. You would probably want to send !f, sleep 100 and then send x. In cases where it actually does need to be s...
by JJohnston2
12 May 2016, 23:50
Forum: Ask For Help
Topic: Draw a colored outline on a GUI [Solved] Topic is solved
Replies: 7
Views: 2282

Re: Draw a colored outline on a GUI Topic is solved

Wow!!! These are both great... exactly what I was hoping to find. :bravo: The GuiAddBorder function is especially easy to use since I can give it a return value of the text control handle and subsequently modify the border or turn it on/off... almost too easy to use, although I would have never drea...
by JJohnston2
08 May 2016, 18:51
Forum: Ask For Help
Topic: MS Office Backstage Detection / Detect ClassNN by (X, Y)
Replies: 0
Views: 569

MS Office Backstage Detection / Detect ClassNN by (X, Y)

Looking for a way to reliably detect Office Backstage view in Microsoft Office 2010+. It happens that Backstage view causes NetUIHWND1 control to blanket the entire window... is there a way to retrieve the ClassNN of a control by a position? This would be one possible way to have a solid indicator t...
by JJohnston2
08 May 2016, 18:05
Forum: Scripts and Functions
Topic: Class_TaskDialog - beta release
Replies: 8
Views: 3519

Re: Class_TaskDialog - beta release

No screenshots and didn't know what to expect but figured I'd try it out... wow... nice work :clap: :thumbup:
by JJohnston2
06 May 2016, 11:23
Forum: Ask For Help
Topic: Draw a colored outline on a GUI [Solved] Topic is solved
Replies: 7
Views: 2282

Draw a colored outline on a GUI [Solved] Topic is solved

Anyone have a pointer on the easiest way I might draw a colored outline on a GUI?

i.e., looking to draw a generic colored box or border around several controls, maybe similar to this http://blogs.sitepointstatic.com/images ... rs-box.png
by JJohnston2
06 May 2016, 11:13
Forum: Ask For Help
Topic: Autohotkey is slow in Office 2016 applications
Replies: 4
Views: 936

Re: Autohotkey is slow in Office 2016 applications

It's slow because Office slows it down or animates it. You can try this link: http://www.laptopmag.com/articles/offic ... on-disable

I have still resorted to the paste method for long strings of text, even with animations off.

Go to advanced search