Search found 68 matches

by Menixator
28 Apr 2017, 15:05
Forum: Scripts and Functions
Topic: Foobar2000 Com Automation
Replies: 17
Views: 5262

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
Topic: Dynamic Hotstrings
Replies: 43
Views: 8419

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
Topic: Dynamic Hotstrings
Replies: 43
Views: 8419

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
Topic: Foobar2000 Com Automation
Replies: 17
Views: 5262

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: Offtopic
Topic: Dropbox screws us again
Replies: 5
Views: 813

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
Topic: Toggle in Function Topic is solved
Replies: 6
Views: 1109

Re: Toggle in Function Topic is solved

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
Topic: Get window title/hwnd from process name?
Replies: 3
Views: 1945

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_...
by Menixator
29 May 2014, 02:11
Forum: Ask For Help
Topic: Select option in list but no answer from webpage
Replies: 6
Views: 1269

Re: Select option in list but no answer from webpage

try clicking it after selecting:

Code: [Select all]GeSHi © Codebox Plus

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

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
Topic: Select option in list but no answer from webpage
Replies: 6
Views: 1269

Re: Select option in list but no answer from webpage

Code: [Select all]GeSHi © Codebox Plus

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

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...
by Menixator
24 May 2014, 13:49
Forum: Ask For Help
Topic: Help with using ahk id with win messages
Replies: 13
Views: 1651

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
Topic: Hex to Decimal Converter
Replies: 7
Views: 2789

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 ;...
by Menixator
23 May 2014, 07:31
Forum: Scripts and Functions
Topic: Foobar2000 Com Automation
Replies: 17
Views: 5262

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() . &...
by Menixator
08 May 2014, 11:50
Forum: Ask For Help
Topic: XML Attribute Help
Replies: 12
Views: 2417

Re: XML Attribute Help

Use the getAttribute method.

Code: [Select all]GeSHi © Codebox Plus

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
Topic: Trouble getting Autorun to work
Replies: 6
Views: 941

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
Topic: InternetExplorer.Application in private
Replies: 2
Views: 1441

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) { f...
by Menixator
06 May 2014, 07:13
Forum: Other Utilities & Resources
Topic: on{x} - An automating tool for Android.
Replies: 8
Views: 5793

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. //...
by Menixator
27 Apr 2014, 02:19
Forum: Ask For Help
Topic: DllCall msdn datatypes?
Replies: 9
Views: 1336

Re: DllCall msdn datatypes?

Code: [Select all]GeSHi © Codebox Plus

LPCWSTR --> Ptr
DWORD --> UInt
HANDLE --> Ptr

Here. This will help you a lot if you use the winApi frequently. WinApi DataTypes.htm
by Menixator
18 Apr 2014, 00:25
Forum: Scripts and Functions
Topic: Dynamic Hotstrings
Replies: 43
Views: 8419

Re: Dynamic Hotstrings

While looking more careful at the function (and appreciating it even more), I did notice some double keys defined in the breakkeys variable and also a small bug when using conditional hotstrings: When a trigger's condition isn't satisfied, the trigger gets reset too, preventing any extended trigger...

Go to advanced search