Search found 13 matches

by submeg
26 Jul 2019, 22:19
Forum: Tutorials
Topic: Intro to AutoHotkey Udemy course
Replies: 12
Views: 3034

Re: Intro to AutoHotkey Udemy course

Hi Joe,

Agreed with hasantr on this; it was very easy to follow and didn't drag out so it was super useful. Very keen for the next set.
by submeg
25 Jul 2019, 08:48
Forum: General Discussion
Topic: Promoting AHK in the general community/work space
Replies: 0
Views: 166

Promoting AHK in the general community/work space

Hello all, I just watched a webinar run by Joe Glines and Jackie and at first, I felt As if it was going to be a relatively light session, however I was wrong! Below it my comment on their video, and it touches on some things that I have been thinking about in regards to AHK. I take my hat off to th...
by submeg
11 Jul 2019, 15:10
Forum: Ask For Help
Topic: Firefox options - checking current value and changing values Topic is solved
Replies: 3
Views: 288

Re: Firefox options - checking current value and changing values Topic is solved

The code to toggle the History value: ;------------------------------------------------------------- IEActions_HistoryToggle: CurrentChoice := "YES" LastLine := 0 If WinActive("ahk_class MozillaWindowClass") { Loop { FileReadLine, line, C:\Users\LOCALUser\AppData\Roaming\Mozilla\Firefox\Profiles\ok1...
by submeg
11 Jul 2019, 04:34
Forum: Ask For Help
Topic: Firefox options - checking current value and changing values Topic is solved
Replies: 3
Views: 288

Re: Firefox options - checking current value and changing values Topic is solved

Hi TheDewd, that's a great idea! So I toggled it on and off and was able to find one value that could be used to check the history setting: user_pref("browser.privatebrowsing.autostart", true); If the history is off, the Private Browsing is on. Looking at all the other options that toggle, nothing i...
by submeg
10 Jul 2019, 06:13
Forum: Ask For Help
Topic: Firefox options - checking current value and changing values Topic is solved
Replies: 3
Views: 288

Firefox options - checking current value and changing values Topic is solved

Hello all, In Firefox, I am trying to create a history on/off toggle. I am able to get to the control in question, but depending on it's value, you either press the up or down cursor value to set it. Before I set the value, I need to know what it is. How do you grab the value of a control in Firefox...
by submeg
26 Jun 2019, 17:53
Forum: Ask For Help
Topic: Change text on GUI button depending on condition Topic is solved
Replies: 4
Views: 376

Re: Change text on GUI button depending on condition Topic is solved

Thanks x2 hellbent! I used your information and realised I just needed a label...just.... :facepalm: Can't believe it was that obvious. I actually used this information to change the text on the GUI and also to show and hide the buttons completely. Hiding buttons example: #SingleInstance, Force Visi...
by submeg
18 Jun 2019, 16:52
Forum: Ask For Help
Topic: Change text on GUI button depending on condition Topic is solved
Replies: 4
Views: 376

Re: Change text on GUI button depending on condition Topic is solved

hi just me, Thanks for the info. The second point you make about changing the text once the button is created is what I am after. I already have that code in my script: #NoEnv ; Recommended for performance and compa tibil ity with future AutoHotkey releases. #SingleInstance, Force SendMode Input ; R...
by submeg
18 Jun 2019, 07:34
Forum: Ask For Help
Topic: Change text on GUI button depending on condition Topic is solved
Replies: 4
Views: 376

Change text on GUI button depending on condition Topic is solved

Hi all, Is it possible to change the text on a GUI's button based on a value? For example, if you have a button that changes a value in the code (value = 1 or 0), can you change the text dependent on that value? Toggle code: ToggleOnOff: msg := "" Suspend Pause,,1 If PauseFlag = 1 { ;If PauseFlag = ...
by submeg
01 May 2019, 06:40
Forum: About This Community
Topic: Guestbook: say hi, thank you, whatever!
Replies: 38
Views: 10336

Re: Guestbook: say hi, thank you, whatever!

Hi everyone, I've been using AHK for about 18 months, and I have to say, it has been super useful at work. I have been able to code out so many of the boring/mundane/time consuming aspects of my job and focus more on the difficult problem solving issues. It's been amazing so far and I can't wait to ...
by submeg
28 Jan 2019, 16:48
Forum: Ask For Help
Topic: Running macro in Excel PERSONAL.XLSB no longer working?
Replies: 2
Views: 375

Re: Running macro in Excel PERSONAL.XLSB no longer working?

Hi jmeneses, I implemented your code and yes, it returned with "EXCEL is EDITING!" Looking at the extract, does it try to make sure it is off before running it? I tried it and it continually showed the messagebox each time I tried to run the script. What is supposed to happen in this case? submeg Ed...
by submeg
28 Jan 2019, 16:42
Forum: Ask For Help
Topic: Programm specific shortcut keyboard
Replies: 6
Views: 511

Re: Programm specific shortcut keyboard

Megaloadon, yes it can be program specific, I do this all the time. The most reliable way I have found has been to use the class of the program to decide what the keypress will do. For example, I have a https://www.razer.com/gaming-keyboards-keypads/razer-tartarus-v2 gaming keypad, and the down d-pa...
by submeg
03 Jan 2019, 16:28
Forum: Ask For Help
Topic: Running macro in Excel PERSONAL.XLSB no longer working?
Replies: 2
Views: 375

Running macro in Excel PERSONAL.XLSB no longer working?

Hi all, I have been using AHK for a little while now, and I have been running macros housed in my PERSONAL.XLSB workbook just fine. For some reason, this is no longer working. The code as per below: ExcelActions_MergeAndWrap: If WinActive("ahk_class XLMAIN") { Macro:= "PERSONAL.XLSB!MergeAndWrap" tr...

Go to advanced search