Search found 66 matches

by Bunny1
11 Jan 2015, 14:14
Forum: Ask For Help
Topic: Save button location
Replies: 18
Views: 1982

Save button location

If I create a button with the script below. how would I save the new buttons location, so that when I close the gui or close the script entirely the button will still be there the next time I open the gui? #singleinstance force Gui, Add, Button, gCreateButton section, Create Button Gui, Show, w500 r...
by Bunny1
11 Jan 2015, 12:53
Forum: Ask For Help
Topic: (Solved)Send input adding shift
Replies: 4
Views: 829

Re: Send input adding shift

Try other sendmethods (SendPlay, SendEvent) it might respond better. Alternative solution: change the keyboard shortcut from ctrl-s to say F12 and send {F12} (works for me as I've just tested it) Or perhaps you can write a script in Gimp which you can assign to hotkey (again F12 or something like t...
by Bunny1
11 Jan 2015, 11:48
Forum: Ask For Help
Topic: (Solved)Send input adding shift
Replies: 4
Views: 829

Re: Send input adding shift

Guest wrote:What happens if you add a shift up? SendInput {shift up}{ctrl down}{s down}{s up}{ctrl up} or SendInput {shift up}^s
SendInput {shift up}{ctrl down}{s down}{s up}{ctrl up}
Has the same effect as before.
SendInput {shift up}^s
Sends shift + s.
by Bunny1
10 Jan 2015, 10:22
Forum: Ask For Help
Topic: (Solved)Send input adding shift
Replies: 4
Views: 829

(Solved)Send input adding shift

I've made this to autosave while working in gimp, but the send input seems to be adding shift to the keys sent, so it's opening the save window every time it tries to save. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. SendMode Input ; Recommended for new sc...
by Bunny1
24 Dec 2014, 15:35
Forum: Ask For Help
Topic: Button creates button
Replies: 2
Views: 541

Re: Button creates button

Thank you.
When I first started wondering about this. I was thinking about it being like that, but I didn't think it would work.
by Bunny1
24 Dec 2014, 10:27
Forum: Ask For Help
Topic: Button creates button
Replies: 2
Views: 541

Button creates button

I've been wondering this for a while. can a button press create a new button next to it?
With my limited knowledge of autohotkey I would guess guisubmit is used, but I can't imagine how it would be written.
by Bunny1
18 Dec 2014, 22:41
Forum: Ask For Help
Topic: Iniwrite erasing section
Replies: 8
Views: 1107

Re: Iniwrite erasing section

lexikos wrote:So it wasn't erasing the rest of the section, but actually creating a new section with just the resolution settings? :)
It was adding the resx and resy to the end of engine.engine section.
by Bunny1
18 Dec 2014, 16:45
Forum: Ask For Help
Topic: Iniwrite erasing section
Replies: 8
Views: 1107

Re: Iniwrite erasing section

Which lines apply the new resolution? What does the INI file look like afterward? Which settings are being written? The ResX and ResY settings are read from the SystemSettings section, but written to the Engine.Engine section, which is not shown in your post. Now I feel really stupid. I don't know ...
by Bunny1
17 Dec 2014, 09:29
Forum: Ask For Help
Topic: Iniwrite erasing section
Replies: 8
Views: 1107

Re: Iniwrite erasing section

I tried the message box when the issue first came up and tried it again to make sure it was the same. the values are correct.
by Bunny1
17 Dec 2014, 08:34
Forum: Ask For Help
Topic: Iniwrite erasing section
Replies: 8
Views: 1107

Re: Iniwrite erasing section

I know it's the iniwrite part, but I can't see anything wring with it. I give it a set value and it erases the part of the section after resy.
by Bunny1
14 Dec 2014, 17:47
Forum: Ask For Help
Topic: Iniwrite erasing section
Replies: 8
Views: 1107

Iniwrite erasing section

I've been working on a borderlands 2 configuration utility and it works except for one part. the resolution changer. when it applies the new resolution to the ini it erases the rest of the section. What am I missing? it's probably something small. I've marked the part of the code that relates to the...
by Bunny1
12 Dec 2014, 17:12
Forum: Ask For Help
Topic: I need some help with this listview (SOLVED)
Replies: 20
Views: 2136

Re: I need some help with this listview

kon wrote:Nice! :)
Thank you.
by Bunny1
12 Dec 2014, 17:02
Forum: Ask For Help
Topic: I need some help with this listview (SOLVED)
Replies: 20
Views: 2136

Re: I need some help with this listview

It's working now. I added the new code to what I had and it saves the name of each picture and they open with a double click. I tested it by downloading more then a dozen pictures and it works the way I wanted.
by Bunny1
12 Dec 2014, 16:16
Forum: Ask For Help
Topic: I need some help with this listview (SOLVED)
Replies: 20
Views: 2136

Re: I need some help with this listview

kon wrote:Edited the code a bit above..
Moved the gui creation into the auto-execute section.
That works. I open the menu press #a a few items and close the window. re-open it and the items are still there. the message box works, too.
by Bunny1
12 Dec 2014, 15:50
Forum: Ask For Help
Topic: I need some help with this listview (SOLVED)
Replies: 20
Views: 2136

Re: I need some help with this listview

Can you post these three sections of your code again now that you have modified them: 1. where you create the GUI 2. where you add an item to the ListView 3. where you handle the doubleclick x := 0 FileList := {} #V:: if (!GuiCreated) { ;SOFURRY=============================== Gui Add, Button, x5 y0...
by Bunny1
12 Dec 2014, 15:46
Forum: Ask For Help
Topic: I need some help with this listview (SOLVED)
Replies: 20
Views: 2136

Re: I need some help with this listview

kon wrote:I also added this line GuiCreated := true to the example script.
Did you see that when modifying your script?
Yeah I got it.
by Bunny1
12 Dec 2014, 15:35
Forum: Ask For Help
Topic: I need some help with this listview (SOLVED)
Replies: 20
Views: 2136

Re: I need some help with this listview

Your script didn't have the lines if (!GuiCreated) { and } .... try removing them to see the difference. Was that the problem? The name remains when I re-open the menu, but when I double click on it a blank message box pops up and if I download a new picture it replaces the first name on the list l...
by Bunny1
12 Dec 2014, 15:23
Forum: Ask For Help
Topic: I need some help with this listview (SOLVED)
Replies: 20
Views: 2136

Re: I need some help with this listview

The button adds numbers and they remain when the menu is closed and re-opened.
by Bunny1
12 Dec 2014, 12:12
Forum: Ask For Help
Topic: I need some help with this listview (SOLVED)
Replies: 20
Views: 2136

Re: I need some help with this listview

kon wrote:What does this show?
MsgBox, % IsObject(FileList)
It shows 1
by Bunny1
12 Dec 2014, 12:01
Forum: Ask For Help
Topic: I need some help with this listview (SOLVED)
Replies: 20
Views: 2136

Re: I need some help with this listview

kon wrote:Try adding this line right after SplitPath.
Are all the variables correct?
MsgBox, % "pathtofolderSF:`t" pathtofolderSF "`nUsername:`t" Username "`nTitle:`t" Title "`nFormat:`t" Format "`nSelectedFile:`t" SelectedFile "`nFileName:`t" FileName
Yes, it all shows up correct.

Go to advanced search