Search found 69 matches

by Menixator
06 Jun 2022, 05:16
Forum: Other Utilities & Resources
Topic: Userscript: titled - No more Untitled.ahk files (and more)
Replies: 1
Views: 1252

Userscript: titled - No more Untitled.ahk files (and more)

Hi, I got irritated by all the Untitled.ahk files cluttering my downloads folder and made a little userscript to fix the download names once and for all. It works primarily on Tampermonkey and I have tested it out with Greasemonkey with no issues as well. Features: The Download Button will use a fil...
by Menixator
28 Apr 2017, 15:05
Forum: Scripts and Functions (v1)
Topic: Foobar2000 Com Automation
Replies: 18
Views: 13029

Re: Foobar2000 Com Automation

joedf wrote:Good to see you're still alive :+1:
lol. Very dead here mate. I just check in every 6 months or so and whenever I get an email from the forum.
by Menixator
28 Apr 2017, 14:53
Forum: Scripts and Functions (v1)
Topic: Dynamic Hotstrings
Replies: 46
Views: 23692

Re: Dynamic Hotstrings

This library is seriously in need of a rewrite with all it's limitations. I think there are a couple of ideas flying around in this thread. If anyone is thinking of it, knock yourselves out.

As I'm a faithful Linux user now, you probably won't see me updating it anymore . . . :(
by Menixator
06 Feb 2017, 04:06
Forum: Scripts and Functions (v1)
Topic: Dynamic Hotstrings
Replies: 46
Views: 23692

Re: Dynamic Hotstrings

Added a little status update to the thread. If anyone is interested, please pm me.
by Menixator
07 Jan 2017, 11:13
Forum: Scripts and Functions (v1)
Topic: Foobar2000 Com Automation
Replies: 18
Views: 13029

Re: Foobar2000 Com Automation

If anyone is still wondering, this still works with the latest version of foobar.
by Menixator
22 Dec 2016, 19:02
Forum: Off-topic Discussion
Topic: Dropbox screws us again
Replies: 10
Views: 4636

Re: Dropbox screws us again

I don't know when it happened but dropbox eventually got phased out for me. I'm a loyal google drive user now.
by Menixator
17 Nov 2014, 06:18
Forum: Ask for Help (v1)
Topic: Toggle in Function
Replies: 6
Views: 3803

Re: Toggle in Function

If you are using another function to check the status of the toggle, you will not be able to, because it is private to the ToggleSwitch() function. Then just add a little if statement like this: ToggleSwitch(true) ;// get value ToggleSwitch(get := false) { static toggle := false ;// initialize if (...
by Menixator
06 Jun 2014, 02:28
Forum: Ask for Help (v1)
Topic: Get window title/hwnd from process name?
Replies: 3
Views: 6203

Re: Get window title/hwnd from process name?

processName := "notepad.exe" if (WinExist("ahk_exe " . processName)){ WinGetTitle, title, ahk_exe %processName% MsgBox The title of the window is %title% } else { MsgBox The process "%ProcessName%" doesn't exist. } You can use the WinGetTitle command with ahk_exe %the_process_name% as the title par...
by Menixator
29 May 2014, 02:11
Forum: Ask for Help (v1)
Topic: Select option in list but no answer from webpage
Replies: 6
Views: 3337

Re: Select option in list but no answer from webpage

try clicking it after selecting:

Code: Select all

wb.document.all.Years.click()
by Menixator
26 May 2014, 16:17
Forum: Ask for Help (v1)
Topic: Help with using ahk id with win messages
Replies: 13
Views: 4585

Re: Help with using ahk id with win messages

dangerdogL2121 wrote:I didn't see that in the MSDN page.
It's in the ahk documentation: link
by Menixator
26 May 2014, 01:29
Forum: Ask for Help (v1)
Topic: Select option in list but no answer from webpage
Replies: 6
Views: 3337

Re: Select option in list but no answer from webpage

Code: Select all

wb.document.all.Years.selectedIndex := 1
by Menixator
25 May 2014, 03:15
Forum: Ask for Help (v1)
Topic: Help with using ahk id with win messages
Replies: 13
Views: 4585

Re: Help with using ahk id with win messages

If you want to send messages between scripts, WM_COPYDATA is the best way to go. But if you want a custom message: ;Reciever.ahk #Persistent messageNumber := 0x13c4 OnMessage(messageNumber, "Recieve") return Recieve(wParam, lParam, Msg){ MsgBox wParam: %wParam%`nlParam: %lParam%`nMsg: %Msg% } ;Sende...
by Menixator
24 May 2014, 13:49
Forum: Ask for Help (v1)
Topic: Help with using ahk id with win messages
Replies: 13
Views: 4585

Re: Help with using ahk id with win messages

Here is an example(taken from the documentation) on how to use the WM_COPYDATA message: Save this as Receiver.ahk : ; Example: Send a string of any length from one script to another. This is a working example. ; To use it, save and run both of the following scripts then press Win+Space to show an ; ...
by Menixator
24 May 2014, 09:40
Forum: Scripts and Functions (v1)
Topic: Hex to Decimal Converter
Replies: 7
Views: 6294

Hex to Decimal Converter

/* hexToDecimal(str) Converts hexadecimal strings to decimal numbers. Parameters: - str: The hex value to convert to decimal. Optionally can have the 0x prefix. Any characters that do not fit the range 0-9, a-z are removed beforehand. Examples: MsgBox % hexToDecimal("0xfffff") ; 1048575 ; Notice th...
by Menixator
23 May 2014, 07:31
Forum: Scripts and Functions (v1)
Topic: Foobar2000 Com Automation
Replies: 18
Views: 13029

Re: Foobar2000 Com Automation

Here. This will go through the usage of the playlist functions. Foobar := ComObjCreate("Foobar2000.Application.0.7") Playlists := Foobar.Playlists MsgBox % "You have " . Playlists.Count() . " playlists and you have a total number of " . Playlists.GetTracks().Count() . " track sin your library!" /* M...
by Menixator
08 May 2014, 11:50
Forum: Ask for Help (v1)
Topic: XML Attribute Help
Replies: 12
Views: 6415

Re: XML Attribute Help

Use the getAttribute method.

Code: Select all

MsgBox % doc.selectSingleNode("//dayf/day[1]").getAttribute("dt")
This might prove useful: XML DOM Reference
by Menixator
07 May 2014, 02:39
Forum: Ask for Help (v1)
Topic: Trouble getting Autorun to work
Replies: 6
Views: 2878

Re: Trouble getting Autorun to work

Autorunning programs doesn't work in windows 7.
It's a security feature of post-XP windows releases. I am not sure whether it wasn't also in XP. Windows simply won't start content without user wanting so. It will always ask you.
by Menixator
07 May 2014, 00:31
Forum: Ask for Help (v1)
Topic: InternetExplorer.Application in private
Replies: 2
Views: 3235

Re: InternetExplorer.Application in private

I don't know if this will work as expected. Run, Iexplore.exe -private,,,PID WinWait, ahk_pid %PID% Sleep,500 ;If the script doesn't work, you can try increasing this. Pwb := IEGet(WinExist("ahk_pid " . PID)) MsgBox % Pwb.hwnd Pwb.navigate("http://www.google.com") IEGet(hwnd) { for window in ComObjC...
by Menixator
06 May 2014, 07:13
Forum: Other Utilities & Resources
Topic: on{x} - An automating tool for Android.
Replies: 8
Views: 9900

on{x} - An automating tool for Android.

on{x} is an android application that allows you to automate your android device just by using Javascript. For an example: // This is a sample code for a basic rule you can create. // When the script is saved, the code is pushed to the Android phone and pops a "Hello World" notification. // Trigger t...
by Menixator
27 Apr 2014, 02:19
Forum: Ask for Help (v1)
Topic: DllCall msdn datatypes?
Replies: 9
Views: 4283

Re: DllCall msdn datatypes?

Code: Select all

LPCWSTR --> Ptr
DWORD --> UInt
HANDLE --> Ptr
Here. This will help you a lot if you use the winApi frequently. WinApi DataTypes.htm

Go to advanced search