Search found 312 matches

by WeThotUWasAToad
20 Jul 2020, 14:15
Forum: Ask for Help (v1)
Topic: Save multiple separate values for pasting later in the script
Replies: 3
Views: 2122

Save multiple separate values for pasting later in the script

Hello, When running a script, is there a way to have ahk save multiple separate values then paste those same values later when the script calls for them? For example, suppose you have a website which stores membership records and each record includes four fields: First Name Last Name DOB Phone Numbe...
by WeThotUWasAToad
08 Jul 2020, 18:05
Forum: Ask for Help (v1)
Topic: SendRaw =" not working Topic is solved
Replies: 3
Views: 1968

Re: SendRaw =" not working Topic is solved

Thanks a bunch for all the replies. This one did the trick:
AHKStudent wrote:
07 Jul 2020, 20:32
try

Code: Select all

SendRaw `="
by WeThotUWasAToad
07 Jul 2020, 20:23
Forum: Ask for Help (v1)
Topic: SendRaw =" not working Topic is solved
Replies: 3
Views: 1968

SendRaw =" not working Topic is solved

Hello, I've got a script in which in one step I want to SendRaw the two literal characters: =" (ie the equal sign and a quotation mark). I am familiar with the command SendRaw and use it all the time. However, my current script includes the following lines: … Click, 1010, 345 Send {Home} SendRaw =" ...
by WeThotUWasAToad
27 May 2020, 13:50
Forum: Ask for Help (v1)
Topic: GUI modification questions
Replies: 20
Views: 1539

Re: GUI modification questions

FYE: For Your Entertainment
by WeThotUWasAToad
27 May 2020, 13:49
Forum: Ask for Help (v1)
Topic: GUI modification questions
Replies: 20
Views: 1539

Re: GUI modification questions

Thanks for the enlightenment. Head scratching was wearing a hole in my scalp. The only thing you should have done more is to begin your latest post with: FYE.*
by WeThotUWasAToad
25 May 2020, 21:01
Forum: Ask for Help (v1)
Topic: GUI modification questions
Replies: 20
Views: 1539

Re: GUI modification questions

boiler wrote:
25 May 2020, 19:58
That's why I said you should use Gui, Submit instead of Gui, Destroy if you're planning on displaying the GUI again.
That's all it needed.

Thanks again boiler.
by WeThotUWasAToad
25 May 2020, 19:32
Forum: Ask for Help (v1)
Topic: GUI modification questions
Replies: 20
Views: 1539

Re: GUI modification questions

Argh! I keep thinking I've got this but now I'm having another issue. Pressing a hotkey opens the GUI—just as I want. Then clicking one of the filenames activates the corresponding Excel file and closes the GUI— just as I want. However, after running the thread once, it will not run again until I re...
by WeThotUWasAToad
25 May 2020, 19:14
Forum: Ask for Help (v1)
Topic: GUI modification questions
Replies: 20
Views: 1539

Re: GUI modification questions

You can't change the color of text in buttons, at least not through "normal" means. Also, be careful in how you treat parameters in commands. Not keeping them in their proper place is what caused an issue before with your GUI title not appearing. Parameters aren't just a list of items that you can ...
by WeThotUWasAToad
25 May 2020, 19:11
Forum: Ask for Help (v1)
Topic: GUI modification questions
Replies: 20
Views: 1539

Re: GUI modification questions

Thanks for the explanations boiler . These latest questions are, I suppose, less important. However, the one big item remaining is to determine how to have the GUI automatically close when I click one of the filenames. Can you post the code to do that? Thanks BNOLI answered that in his post. Gui, S...
by WeThotUWasAToad
25 May 2020, 18:40
Forum: Ask for Help (v1)
Topic: GUI modification questions
Replies: 20
Views: 1539

Re: GUI modification questions

Thanks for the explanations boiler.

These latest questions are, I suppose, less important. However, the one big item remaining is to determine how to have the GUI automatically close when I click one of the filenames.

Can you post the code to do that?

Thanks
by WeThotUWasAToad
25 May 2020, 18:31
Forum: Ask for Help (v1)
Topic: GUI modification questions
Replies: 20
Views: 1539

Re: GUI modification questions

Another question: How do you change the font attributes (eg color or bold) of the filenames listed? I tried modifying the existing line: Gui, Font, s14, Tahoma to Gui, Font, cGreen, s14, Tahoma & Gui, Font, s14, Tahoma, cGreen I also tried inserting the example from the docs* to see what that does: ...
by WeThotUWasAToad
25 May 2020, 18:07
Forum: Ask for Help (v1)
Topic: GUI modification questions
Replies: 20
Views: 1539

Re: GUI modification questions

To left justify, you can just use the Left option from this simpler list: Controls: Common Styles and Other Options . That makes that line: Gui, Add, Button, xm w600 Left v%ID% gExcelBtn, % Title You actually had two extra commas in your Gui, Show command. One is in w800, h1000 . You don't separate...
by WeThotUWasAToad
25 May 2020, 18:05
Forum: Ask for Help (v1)
Topic: GUI modification questions
Replies: 20
Views: 1539

Re: GUI modification questions

• How can I get the filenames to display with left justification rather than centered? https://www.autohotkey.com/docs/misc/Styles.htm#Button • Why does the name of the GUI (upper-left corner) display "w800" instead of "Excel Windows" as it did originally? Gui, Show,, wIBecameTheTitelBCSomeonePutAn...
by WeThotUWasAToad
25 May 2020, 17:17
Forum: Ask for Help (v1)
Topic: GUI modification questions
Replies: 20
Views: 1539

Re: GUI modification questions

@WeThotUWasAToad What's the reason you're asking the ~"same", already answered questions again, in a new thread?? :wtf: https://www.autohotkey.com/boards/viewtopic.php?p=318787#p318787 Apologies if I have asked questions in this thread which were already answered in another thread. Doing so was uni...
by WeThotUWasAToad
25 May 2020, 17:11
Forum: Ask for Help (v1)
Topic: Error occurs when running GUI thread a second time
Replies: 3
Views: 405

Re: Error occurs when running GUI thread a second time

Thanks for the reply boiler. I pasted your revised thread into the .ahk file containing other threads. The first time pressing a hotkey gave me the error message shown below. However, upon closing the error box, the result GUI appeared. Then, after the GUI had been closed, subsequent presses of the ...
by WeThotUWasAToad
24 May 2020, 21:53
Forum: Ask for Help (v1)
Topic: Error occurs when running GUI thread a second time
Replies: 3
Views: 405

Error occurs when running GUI thread a second time

The following post is related to two other threads: https://www.autohotkey.com/boards/viewtopic.php?f=76&t=73680&start=20 https://www.autohotkey.com/boards/viewtopic.php?f=76&t=76426 Hello, Why, after combining the following GUI thread with other threads in a single .ahk file, does an error occur th...
by WeThotUWasAToad
24 May 2020, 20:43
Forum: Ask for Help (v1)
Topic: Copy to Multiple Clipboards - "How to" with Hyperlinks? Topic is solved
Replies: 3
Views: 606

Re: Copy to Multiple Clipboards - "How to" with Hypelinks? Topic is solved

I don't know if this relates at all to what you are trying to accomplish but there is a very handy (and free) app called Ditto which remembers everything (including images) you've copied to your clipboard and enables you to later recall and paste any of them. For example, normally if you want to cop...
by WeThotUWasAToad
24 May 2020, 20:20
Forum: Ask for Help (v1)
Topic: GUI modification questions
Replies: 20
Views: 1539

GUI modification questions

Hello, I've got some basic GUI questions for which I can't seem to find answers in the GUI docs. The GUI script was created by username: boiler and when run, shows a list of filenames for currently-open Excel (2010) Windows.* Clicking one of the filenames activates the corresponding window. Here is ...
by WeThotUWasAToad
24 May 2020, 19:10
Forum: Ask for Help (v1)
Topic: Script to quickly navigate between multiple Excel windows
Replies: 36
Views: 4531

Re: Script to quickly navigate between multiple Excel windows

Boiler et al, I'm sorry for neglecting this thread for so long. I really, really appreciate the comments and suggestions of everyone who contributed. The script still needs more work to find a way to get sub-windows (workbooks which share a common Excel instance) included in the list, but just being...
by WeThotUWasAToad
22 Mar 2020, 18:12
Forum: Ask for Help (v1)
Topic: Script to quickly navigate between multiple Excel windows
Replies: 36
Views: 4531

Re: Script to quickly navigate between multiple Excel windows

I've got 8 Excel files running right now. I activated one of them; then, while keeping the mouse over it, I captured a screenshot of Window Spy. The result can be seen here: https://imgur.com/oPlJ40R. Thanks. That shows why my version didn't work with Excel 2010. Try this version with the WinTitle ...

Go to advanced search