Search found 35 matches

by mshall
23 Oct 2018, 09:46
Forum: Ask For Help
Topic: Drag and set Topic is solved
Replies: 5
Views: 148

Re: Drag and set Topic is solved

yep actually I just fixed it by doing that. Thank you for all of your help.
by mshall
23 Oct 2018, 09:07
Forum: Ask For Help
Topic: Drag and set Topic is solved
Replies: 5
Views: 148

Re: Drag and set Topic is solved

Thank you, this appears to work for dragging, the second one looks and works better.
It doesn't appear to allow me to anchor it anywhere. When you drop it, it resets at the original position, and then occasionally will change a text box to the name of the picture that was moved.
by mshall
22 Oct 2018, 19:49
Forum: Ask For Help
Topic: Drag and set Topic is solved
Replies: 5
Views: 148

Drag and set Topic is solved

Hello, I'm working on a game in AHK. I'd like some help with a drag and drop for some pictures. I have some pictures off to the side, and they need to be placed on a grid of squares. An example would be how auto gui creator lets you drag a button from its title bar to set on a grid (your gui window)...
by mshall
18 Oct 2018, 11:31
Forum: Ask For Help
Topic: Send text to non-focus Notepad in one chunk
Replies: 6
Views: 156

Re: Send text to non-focus Notepad in one chunk

Code: Select all

Sendmode, Input
usually is the best way to send text. Put it at the top of your script, otherwise it sends one character at a time and it is pretty slow. This is usually instant.
by mshall
18 Oct 2018, 11:01
Forum: Scripts and Functions
Topic: Simple updater
Replies: 3
Views: 241

Simple updater

I made a simple updater to integrate into your scripts. It checks against a version number locally and one online wherever the update file is stored (my example is github). /* AutoHotkey Version 1.1.30.00 Windows 10 AutoHotkey updater. Used for various programs. You can change the URL/ file name to ...
by mshall
17 Oct 2018, 19:02
Forum: Scripts and Functions
Topic: [AHK2] FileAssociate() - Works with Win10
Replies: 1
Views: 387

Re: [AHK2] FileAssociate() - Works with Win10

I tried compiling this script. Used this as the function: FileAssociate(Label:="AutohotkeyScript",Ext:=".ahk",Cmd:="%A_WorkingDir%\AutoHotkeyU64.exe",Icon:="") Receiving an error. I'd like to do a 1 time install for a program that will automatically associate autohotkeys with AutoHotkeyU64.exe, but ...
by mshall
11 Oct 2018, 16:35
Forum: Ask For Help
Topic: Will GUI crash if i add too many elements?
Replies: 4
Views: 154

Re: Will GUI crash if i add too many elements?

Yes, it will eventually crash. I have a bingo game that you click a picture and it adds a token. After some testing, stacking about 1000 pictures caused it to crash. Not sure if there is a hard cap or some other way to avoid it. It luckily isn't a problem in my application.
by mshall
08 Oct 2018, 13:01
Forum: Ask For Help
Topic: get the value of a certain html variable?
Replies: 5
Views: 136

Re: get the value of a certain html variable?

#Enter:: SetTitleMatchMode, 2 IfWinExist, BHD_Help_Desk ;the name of the google chrome tab WinActivate MouseClick, left, 507, 547 sleep 250 ClipBoard = MouseClick, left, 502, 168 ;email Send ^a Send ^c ClipWait , 0.1 Clip1 := ClipBoard ClipBoard = MouseClick, left, 502, 190 ;first name Send ^a Send...
by mshall
05 Oct 2018, 17:51
Forum: Ask For Help
Topic: get the value of a certain html variable?
Replies: 5
Views: 136

Re: get the value of a certain html variable?

Wish I saw this earlier. If this isn't solved Monday, I'll paste my code. It's a Activate window mouseclick at x,y Send Ctrl a Send Ctrl c Add to clipboard #1 Do this 4 times then Click where I need to store this send name: %clip1% Send, phone: %clip2% Return Check the clipboard functions again in t...
by mshall
04 Oct 2018, 19:51
Forum: Ask For Help
Topic: Remapping the Print Screen Key
Replies: 7
Views: 166

Re: Remapping the Print Screen Key

I use this
PrintScreen::
run, SnippingTool.exe
return
by mshall
04 Oct 2018, 19:46
Forum: Ask For Help
Topic: get the value of a certain html variable?
Replies: 5
Views: 136

Re: get the value of a certain html variable?

at my office we have an autofill script that will take this (usually a ticket number) and put it into a template with a copied name, phone number, employee id. Just use MouseMove and send a ctrl+a/ctrl+c to hold the mouse button down and highlight, there is a MouseMoveDrag. This is a sloppy solution...
by mshall
04 Oct 2018, 19:43
Forum: Ask For Help
Topic: String Parse question Topic is solved
Replies: 1
Views: 103

String Parse question Topic is solved

Hello, I have a GUI that requires you to click some randomly generated pictures. The random generator produces a string of numbers (I'm calling it a seed) so that you can reuse those pictures if needed in the exact order. So for example there is 5 pictures. 3 pictures display on screen. A current se...
by mshall
03 Sep 2018, 14:48
Forum: Scripts and Functions
Topic: I made a Rock, Paper, Scissors, Lizard, Spock [GAME]
Replies: 1
Views: 218

I made a Rock, Paper, Scissors, Lizard, Spock [GAME]

I know that there are some better ways to do this, but this is mine. I hope you enjoy. It keeps score, and there is both a rock, paper, scissors mode and a rock, paper, scissors, lizard, spock. Pack with dependencies attached. Source below: ; Rock Paper Scissors game SetWorkingDir %A_ScriptDir% Gui,...
by mshall
27 Aug 2018, 11:44
Forum: Scripts and Functions
Topic: Weather gadget (Gdip). Accuweather
Replies: 4
Views: 442

Re: Weather gadget (Gdip). Accuweather

sevenwenty wrote:How do I set the refresh rate to 15 minutes instead of the default 30 minutes?
I haven't look at the code too long, but the Accuweather API only allows you to refresh every 30 minutes (unless that has changed).
by mshall
09 Aug 2018, 18:02
Forum: Ask For Help
Topic: Copy two or more items then message box Topic is solved
Replies: 2
Views: 75

Re: Copy two or more items then message box Topic is solved

yep figured it out at about the same time.
Thanks!
by mshall
09 Aug 2018, 11:39
Forum: Ask For Help
Topic: Copy two or more items then message box Topic is solved
Replies: 2
Views: 75

Copy two or more items then message box Topic is solved

Hello, I am attempting to copy some information and store them in clipboards. After I would like it to display this clipped information. Unfortunately it displays blank. Some other variations will save the first box at 1,1 but then display it as Clip2. ^Enter:: IfWinExist, Google Chrome WinActivate ...
by mshall
01 Aug 2018, 08:31
Forum: Ask For Help
Topic: How can i protect my script Topic is solved
Replies: 10
Views: 419

Re: How can i protect my script Topic is solved

He could make a program that requires a key to be fed to it in order for the other one to process. Not sure on ideas for it. AHK can read info from websites though if he has one set up. edit: I've thought of something simple. Save a copy of the username to some text file. Check for username to match...
by mshall
31 Jul 2018, 08:32
Forum: Ask For Help
Topic: How can i protect my script Topic is solved
Replies: 10
Views: 419

Re: How can i protect my script Topic is solved

Easiest thing to do is compile it. There is a user who has an encryptor, but I don't have a link to that post.
Easiest security is just compile it.
by mshall
27 Jul 2018, 10:43
Forum: Ask For Help
Topic: Keyboard macro
Replies: 2
Views: 79

Re: Keyboard macro

You could use key repeat (I believe that's it) and set a specific number. Or just have it loop until it sees keyup

Go to advanced search