Search found 160 matches

by Relayer
19 Nov 2018, 09:56
Forum: Forum Issues
Topic: Forum irregularities
Replies: 10
Views: 3325

Re: Forum irregularities

Thank you, thank you, thank you!!! It's good to get back to the "Simplicity" style!
by Relayer
19 Nov 2018, 08:58
Forum: Forum Issues
Topic: Forum irregularities
Replies: 10
Views: 3325

Re: Forum irregularities

I just noticed that if I go to the forum boards without being logged in, I get the very nice original layout of the forum in my browser. But, once I log in the format changes to something functional but not visually pleasing. Is this expected? I'm using FireFox.

Relayer
by Relayer
05 Nov 2018, 13:18
Forum: Forum Issues
Topic: Forum irregularities
Replies: 10
Views: 3325

Re: Forum irregularities

Thanks for the update; that helps a lot. I admire you guys and all the work you do to keep AutoHotkey open to sharing ideas and scripts. I depend on this site a lot and enjoy using it. Good luck on getting things back to normal.

Relayer
by Relayer
01 Nov 2018, 12:37
Forum: Forum Issues
Topic: Forum irregularities
Replies: 10
Views: 3325

Forum irregularities

Would it be possible to get a concise statement regarding the irregularities of the forum application lately and the prognosis moving forward? I see bits and pieces but really don't know what is going on or what to expect. The interface has been so well-behaved for a very long time it is interesting...
by Relayer
10 Sep 2018, 07:52
Forum: Ask for Help (v1)
Topic: Windows update stops issuing PBT_APMSUSPEND
Replies: 0
Views: 554

Windows update stops issuing PBT_APMSUSPEND

Hi, Anyone else notice that the recent Windows 10 update has stopped issuing a PBT_APMSUSPEND message when the machine is going into sleep mode? I use OnMessage(0x218, "WM_POWERBROADCAST") to capture power event messages to maintain an hour meter on the machine. An alternative would be to make a hot...
by Relayer
08 Aug 2018, 12:58
Forum: Scripts and Functions (v1)
Topic: [Game] AHK Klondike Solitaire
Replies: 18
Views: 6405

Re: [Game] AHK Klondike Solitaire

Hi,

Another enhancement idea... other solitaire games allow you to double click on a card and the pending logical move for that card is made for you so that you don't have to drag and drop the card yourself. It would be a nice addition!

Relayer
by Relayer
26 Jul 2018, 06:09
Forum: Scripts and Functions (v1)
Topic: [Game] AHK Klondike Solitaire
Replies: 18
Views: 6405

Re: [Game] AHK Klondike Solitaire

I like this a lot. Thank you. Here's a challenge: Have the script look ahead enough to provide a hint for the next move. Sometimes a user stares at a game of solitaire but for some reason doesn't see an obvious move. It would be clever to be able to ask the computer if the game is truly over. It wou...
by Relayer
18 Jul 2018, 11:03
Forum: Scripts and Functions (v1)
Topic: [Game] AHK Klondike Solitaire
Replies: 18
Views: 6405

Re: [Game] AHK Klondike Solitaire

Great program. I love to see how people do different tasks. Even though this has been done before in other code it is always fun to see how it can be done, and done this well, in AHK. Thanks. I found something I didn't like though. The code unconditionally copies all *.png to the folder intended to ...
by Relayer
04 Apr 2018, 08:45
Forum: Scripts and Functions (v1)
Topic: Switch(case)
Replies: 8
Views: 4244

Re: Switch(case)

This uses labels but I like the simplicity and the form as it mimics a nominal switch statement rather well.

Code: Select all

foo := "yada yada"
Loop 1 ;switch
{
	Goto % IsLabel("Case(" . foo . ")") ? "Case(" . foo . ")" : "Case_Default"
	Case(yada yada):
	{
	}
	Break
	Case_Default:
	{
	}
	Break
}
Relayer
by Relayer
03 Apr 2018, 09:37
Forum: Ask for Help (v1)
Topic: Anyone having issues retrieving Excel com obj?
Replies: 23
Views: 7280

Re: Anyone having issues retrieving Excel com obj?

I have always been bewildered by Microsoft's approach to security. I just cannot develop a mental model that works. I think most people struggle with it and just try things until it seems to work. I have summed up my thoughts in the following quotable: "Microsoft's approach to the computer interface...
by Relayer
29 Jan 2018, 09:27
Forum: Ask for Help (v1)
Topic: Anyone having issues retrieving Excel com obj?
Replies: 23
Views: 7280

Re: Anyone having issues retrieving Excel com obj?

This is solved. I thought I would post the resolution just in case it might save someone the frustration of dealing with windows. Problem recap: Upgrade to windows 10 from 7 caused my AHK script that augments Excel to not function... "operation unavailable" when trying to connect to com. Source of p...
by Relayer
08 Jan 2018, 10:49
Forum: Ask for Help (v1)
Topic: Anyone having issues retrieving Excel com obj?
Replies: 23
Views: 7280

Re: Anyone having issues retrieving Excel com obj?

Some more tinkering shows that the same construct works fine in Word 2016. Excel remains recalcitrant!

Relayer
by Relayer
08 Jan 2018, 10:29
Forum: Ask for Help (v1)
Topic: Anyone having issues retrieving Excel com obj?
Replies: 23
Views: 7280

Anyone having issues retrieving Excel com obj?

Hi, I've been on win 10 for about six months and was pleased that all my scripts were working. Over the past week I noticed that ComObjActive("Excel.Application") is not returning anything or generates an error "Error: 0x800401e3 "Operation unavailable". I have the same issue on office 2010 and offi...
by Relayer
04 Jan 2018, 13:49
Forum: Scripts and Functions (v1)
Topic: [Editor] CodeQuickTester - Write and run code without saving to a temporary file
Replies: 204
Views: 119762

Re: CodeQuickTester - Write and run code without touching the file system

I like it. May I suggest an ini to save settings like screen position and gui size. Always having it open in a small form factor is not optimal. There are probably a bunch more things that would be convenient to save from session to session.

Relayer
by Relayer
14 Dec 2017, 16:00
Forum: Scripts and Functions (v1)
Topic: [Script] PersistentSaveFolder
Replies: 7
Views: 2632

Re: [Script] PersistentSaveFolder

I love this idea. Here is my take on this. It simply maintains the current and previous titles of the windows that have focus. Upon changing and the current window title having the word "Save" in it, the script reads a section from an ini file and if the ini key is contained in the previous window t...
by Relayer
16 Nov 2017, 11:31
Forum: Scripts and Functions (v1)
Topic: [Lib] ObjDump / ObjLoad - Object Backup
Replies: 71
Views: 34014

Re: [Lib] ObjDump / ObjLoad - Object Backup

When I run this example: obj:={a:1,b:2,c:[1,2,"test"],d:{a:0}} ObjDump(A_ScriptDir "\Test.bin",obj) for k,v in ObjLoad(A_ScriptDir "\Test.bin") If !IsObject(v) MsgBox % "Parent:`n" k ": " v else for k,v in v MsgBox % "Child:`n" k ": " v ... the returned object from the load function appears return {...
by Relayer
15 Nov 2017, 11:40
Forum: Old Topics
Topic: AutoGUI - Script Editor, GUI Designer, Debugger and Tools
Replies: 423
Views: 429802

Re: AutoGUI - GUI Designer and Script Editor

Hi,

I'm using version 1.4.9a

I noticed that if I open a .ahk file that was previously saved with AutoGui, the "Show/Hide Preview Window" doesn't work. I cannot get the child window to show unless I start a new gui.

Relayer
by Relayer
08 Nov 2017, 09:44
Forum: Scripts and Functions (v1)
Topic: [GDI+ Object] Subtitle.Render() - Beautiful Text on Screen
Replies: 62
Views: 24761

Re: Subtitle.Render() - Show text with style (Easy, painless Gdip interpreter)

I have added a few static variables and augmented your __New() and __Delete() to automatically start and shutdown Gdip so that the user need not be bothered. Snippet below: static instances := [] static pToken := "" past := {}, ScreenWidth := A_ScreenWidth, ScreenHeight := A_ScreenHeight __New(name ...
by Relayer
03 Nov 2017, 08:09
Forum: Scripts and Functions (v1)
Topic: ImageSearch useful functions
Replies: 7
Views: 3330

Re: ImageSearch useful functions

I have used these techniques before but have had an issue that someone might have solved already. My script fails when I specify an image but then need to run the script on a different computer or use a different screen resolution. I then need to do a new image capture and update the script to get i...
by Relayer
14 Sep 2017, 14:44
Forum: Ask for Help (v1)
Topic: How to dispose of a class instance?
Replies: 2
Views: 1373

Re: How to dispose of a class instance?

Helgef,

That's what I thought. Where I went wrong is that I was storing every instance in an class variable array which was inhibiting the call of __Delete(). Once I deleted that reference my meta function worked. Thanks for knocking me up-side the head!

Relayer

Go to advanced search