Search found 69 matches
- 06 Jun 2022, 05:16
- Forum: Other Utilities & Resources
- Topic: Userscript: titled - No more Untitled.ahk files (and more)
- Replies: 1
- Views: 1290
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...
- 28 Apr 2017, 15:05
- Forum: Scripts and Functions (v1)
- Topic: Foobar2000 Com Automation
- Replies: 18
- Views: 13071
Re: Foobar2000 Com Automation
lol. Very dead here mate. I just check in every 6 months or so and whenever I get an email from the forum.joedf wrote:Good to see you're still alive
- 28 Apr 2017, 14:53
- Forum: Scripts and Functions (v1)
- Topic: Dynamic Hotstrings
- Replies: 46
- Views: 23743
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 . . .
As I'm a faithful Linux user now, you probably won't see me updating it anymore . . .
- 06 Feb 2017, 04:06
- Forum: Scripts and Functions (v1)
- Topic: Dynamic Hotstrings
- Replies: 46
- Views: 23743
Re: Dynamic Hotstrings
Added a little status update to the thread. If anyone is interested, please pm me.
- 07 Jan 2017, 11:13
- Forum: Scripts and Functions (v1)
- Topic: Foobar2000 Com Automation
- Replies: 18
- Views: 13071
Re: Foobar2000 Com Automation
If anyone is still wondering, this still works with the latest version of foobar.
- 22 Dec 2016, 19:02
- Forum: Off-topic Discussion
- Topic: Dropbox screws us again
- Replies: 10
- Views: 4667
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.
- 17 Nov 2014, 06:18
- Forum: Ask for Help (v1)
- Topic: Toggle in Function Topic is solved
- Replies: 6
- Views: 3859
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 (...
- 06 Jun 2014, 02:28
- Forum: Ask for Help (v1)
- Topic: Get window title/hwnd from process name?
- Replies: 3
- Views: 6225
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...
- 29 May 2014, 02:11
- Forum: Ask for Help (v1)
- Topic: Select option in list but no answer from webpage
- Replies: 6
- Views: 3347
Re: Select option in list but no answer from webpage
try clicking it after selecting:
Code: Select all
wb.document.all.Years.click()
- 26 May 2014, 16:17
- Forum: Ask for Help (v1)
- Topic: Help with using ahk id with win messages
- Replies: 13
- Views: 4593
Re: Help with using ahk id with win messages
It's in the ahk documentation: linkdangerdogL2121 wrote:I didn't see that in the MSDN page.
- 26 May 2014, 01:29
- Forum: Ask for Help (v1)
- Topic: Select option in list but no answer from webpage
- Replies: 6
- Views: 3347
Re: Select option in list but no answer from webpage
Code: Select all
wb.document.all.Years.selectedIndex := 1
- 25 May 2014, 03:15
- Forum: Ask for Help (v1)
- Topic: Help with using ahk id with win messages
- Replies: 13
- Views: 4593
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...
- 24 May 2014, 13:49
- Forum: Ask for Help (v1)
- Topic: Help with using ahk id with win messages
- Replies: 13
- Views: 4593
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 ; ...
- 24 May 2014, 09:40
- Forum: Scripts and Functions (v1)
- Topic: Hex to Decimal Converter
- Replies: 7
- Views: 6306
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...
- 23 May 2014, 07:31
- Forum: Scripts and Functions (v1)
- Topic: Foobar2000 Com Automation
- Replies: 18
- Views: 13071
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...
- 08 May 2014, 11:50
- Forum: Ask for Help (v1)
- Topic: XML Attribute Help
- Replies: 12
- Views: 6434
Re: XML Attribute Help
Use the getAttribute method.
This might prove useful: XML DOM Reference
Code: Select all
MsgBox % doc.selectSingleNode("//dayf/day[1]").getAttribute("dt")
- 07 May 2014, 02:39
- Forum: Ask for Help (v1)
- Topic: Trouble getting Autorun to work
- Replies: 6
- Views: 2890
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.
- 07 May 2014, 00:31
- Forum: Ask for Help (v1)
- Topic: InternetExplorer.Application in private
- Replies: 2
- Views: 3244
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...
- 06 May 2014, 07:13
- Forum: Other Utilities & Resources
- Topic: on{x} - An automating tool for Android.
- Replies: 8
- Views: 9911
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...
- 27 Apr 2014, 02:19
- Forum: Ask for Help (v1)
- Topic: DllCall msdn datatypes?
- Replies: 9
- Views: 4298
Re: DllCall msdn datatypes?
Code: Select all
LPCWSTR --> Ptr
DWORD --> UInt
HANDLE --> Ptr