Search found 23 matches

by bobc119
31 Mar 2017, 13:27
Forum: Ask for Help (v1)
Topic: ControlGetText with TkChild controls in ANSYS
Replies: 0
Views: 695

ControlGetText with TkChild controls in ANSYS

I am trying to interact with ANSYS Classic, and can't manage to even get the text in the any of the controls. Most of the controls are class type TkChild, but there are a few that are Buttons and a few Static. I am able to use ControlGet to get the style and the HWND, but not text. ACCViewer and Act...
by bobc119
11 Dec 2015, 21:59
Forum: Ask for Help (v1)
Topic: Silent GUI Updating
Replies: 8
Views: 3105

Re: Silent GUI Updating

can you elaborate on how you managed to make the script "reload on unlock" It's been a little while since I worked on my project that was using this, so sorry if I left anything out. 1. put this unlock script in your library: http://www.autohotkey.com/board/topic/5063-detecting-the-unlock-computer-...
by bobc119
11 Feb 2015, 20:39
Forum: Ask for Help (v1)
Topic: Silent GUI Updating
Replies: 8
Views: 3105

Re: Silent GUI Updating

I used something like this pretty successfully: /board/topic/64504-running-a-script-amongst-multiple-users-from-a-network-drive/#entry407418 Many users never logged off at night though, just locked windows, so the program would never reload. To solve this I had it reload on unlock if it hadn't yet s...
by bobc119
07 Feb 2015, 09:11
Forum: Scripts and Functions (v1)
Topic: Class_ScrollGUI - updated on 2015-03-13
Replies: 105
Views: 45733

Re: Class_ScrollGUI

Thank you for this! It works great and is simple to use
by bobc119
07 Feb 2015, 09:00
Forum: Forum Issues
Topic: code download button converts characters
Replies: 8
Views: 4466

Re: code download button converts characters

Ezriilc wrote:

Code: Select all

; Here's some special characters for testing:  `~!@#$%^&*()-=_+[]\{}|;':",./<>?
Here they are without the comment char, but this breaks the script.  `~!@#$%^&*()-=_+[]\{}|;':",./<>?
It doesn't happen with this test case for me, but it just happened when I downloaded this.
by bobc119
06 Feb 2015, 21:43
Forum: Scripts and Functions (v1)
Topic: WinStructs - Windows Structure definitions for _Struct
Replies: 10
Views: 6061

Re: WinStructs - Windows Structure definitions for _Struct

If you are not using Windows DLL Calls or OnMessage, but are interested, this is a great way to learn . You literally have to just copy and paste some text from the MSDN website, make a few alterations (follow a few simple rules) I am interested, but how do I use this? A very simple example may hel...
by bobc119
04 Feb 2015, 13:42
Forum: Scripts and Functions (v1)
Topic: File In/-OutPut Virtualization
Replies: 14
Views: 7208

Re: File In/-OutPut Virtualization

What I would like is a way for scripts which use a settings file (INI or whatever) to be able to "write" to the INI file without using the disk. EasyIni should work for you. Your ini is loaded into an object, you work with that iniobject changing and getting values, but it doesn't save to disk unti...
by bobc119
02 Feb 2015, 14:09
Forum: Tutorials (v1)
Topic: Classes in AHK, a Dissection (Advanced)
Replies: 50
Views: 56385

Re: Classes in AHK, a dissection

Thank you GeekDude! This has cleared up a lot of questions I had. I've avoided learning about classes because they are overwhelming, like learning a whole new way to program, and you've made them seem pretty simple. One question I have that you didn't mention about inheritance: Does the same thing a...
by bobc119
23 Dec 2014, 22:21
Forum: Ask for Help (v1)
Topic: Creating Gui Buttons with a loop - how to link subroutines?
Replies: 7
Views: 3658

Re: Creating Gui Buttons with a loop - how to link subroutin

Is this what you mean? loop, 4 gui, add, button,vmy_button%A_Index% gmy_label, Button %A_Index% gui, show return my_label: StringReplace, my_button_number, A_GuiControl, my_button, msgbox, % "You pressed button: " my_button_number my_function_%my_button_number%() return my_function_1(){ msgbox, func...
by bobc119
20 Dec 2014, 00:36
Forum: Scripts and Functions (v1)
Topic: class_EasyIni:Native syntax-Ini.Section.Key:=val +Formatting
Replies: 18
Views: 10482

Re: class_EasyIni:Native syntax-Ini.Section.Key:=val +Format

This library is awesome! I've used it for a long time now. Thank you Verdlin.
by bobc119
20 Dec 2014, 00:11
Forum: Scripts and Functions (v1)
Topic: ShefDraw - Chemical drawing in AHK
Replies: 5
Views: 3594

Re: ShefDraw - Chemical drawing in AHK

This is really cool. Thank you!
by bobc119
03 Sep 2014, 21:14
Forum: Ask for Help (v1)
Topic: Saving and re-populating arrays on reload
Replies: 3
Views: 2134

Re: Saving and re-populating arrays on reload

These all seem much simpler. Thank you both for your suggestions!
by bobc119
03 Sep 2014, 21:11
Forum: Scripts and Functions (v1)
Topic: SerDes() - AHK object (de)serialization [v1.1 and v2.0-a049]
Replies: 11
Views: 11743

Re: SerDes() - AHK object (de)serialization [v1.1 and v2.0-a

Coco, thank you for your excellent work! Since you created both this and a JSON module , and they both seem to share the same goal of saving and loading objects, can you explain why I might use one over the other? the escape sequence part goes over my head, but this seems like SerDes is a better sol...
by bobc119
03 Sep 2014, 20:10
Forum: Ask for Help (v1)
Topic: Weird result with RegExReplace
Replies: 3
Views: 1766

Re: Weird result with RegExReplace

thanks kon. I was mistakenly thinking that replacement text shouldn't have any bearing on the regex part. I've always avoided the backreferences stuff, seemed to complicated for me at this point. My replacement text is always pulled from whats in the clipboard, so sometimes it contains $, and someti...
by bobc119
03 Sep 2014, 17:11
Forum: Ask for Help (v1)
Topic: Weird result with RegExReplace
Replies: 3
Views: 1766

Weird result with RegExReplace

I since switched to stringreplace and it works fine, but I had originally used RegExReplace because I was rushing and not thinking about it. But I'm just curious, why does the following code remove the "$2" from the replacement text? my_replacement_text := "$2254.43" my_old_text := "The price will b...
by bobc119
21 Aug 2014, 20:25
Forum: Ask for Help (v1)
Topic: Saving and re-populating arrays on reload
Replies: 3
Views: 2134

Saving and re-populating arrays on reload

anyone have good ideas on saving info stored in objects when you close your script, when you want that info available next time you run it? I have objects/arrays that track a fair amount of data throughout the day as I work, and I'd like to make it persistent when I restart my program. Do you just l...
by bobc119
23 Jul 2014, 21:26
Forum: Other Programming Languages
Topic: Many small functions vs. a few large functions
Replies: 14
Views: 11290

Re: Many small functions vs. a few large functions

I think bobc119 does it that way out of necessity. I don't like it but do it too. Gui event, timers or menus all point to labels, not functions. yeah exactly. Most of my functions run from hotkeys or buttons. It's usually best practice to keep functions down to about 20 lines of code. Wish I had le...
by bobc119
02 Jul 2014, 20:20
Forum: Scripts and Functions (v1)
Topic: [Class] Console - Standardized Console GUI with Methods
Replies: 44
Views: 26596

Re: [Class] Console - Standardized Console GUI with Methods

Thank you both for such a helpful tool! I have used this every single day since I found it. I'm sure you're probably aware, but I wanted to make sure: it gives an error when you have a COM object stored in an object and you try to append/log the object: Class_Console("the_debug_console",100,100,800,...
by bobc119
01 Jul 2014, 09:42
Forum: About This Community
Topic: {Split topic} On continuing support for AutoHotkey 1.0
Replies: 42
Views: 22760

Re: Split from: [Library] Dlg2 v0.2 (Preview)

This describes my experience as a beginner/non-programmer with AHK over the last year: When I think of this, I think of new users, non-programmers, who just want to cut and paste some code and get some scripts working to solve some of their problems. I would imagine that these numbers are many, and ...
by bobc119
02 Jun 2014, 16:45
Forum: Ask for Help (v1)
Topic: Excel Automation
Replies: 1
Views: 1555

Re: Excel Automation

use SpecialCells(xlCellTypeVisible):
msdn.microsoft.com/en-us/library/office/ff196157(v=office.15).aspx

it will return a range that only includes visible cells

Go to advanced search