View CatStack.ahk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;3:04 PM Monday, April 23, 2018 | |
;Get a cat's hp based on it's level | |
;works perfectly! Test with Ramen Cat - see the wiki for matches: | |
;http://battle-cats.wikia.com/wiki/Treasure | |
#NoEnv | |
#singleinstance, force | |
setformat, float, 0.0 |
View PhonerLiteToggle.ahk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
phonerlite(){ | |
phonerliteapp := "C:\Program Files (x86)\Phoner\PhonerLite.exe" | |
process, exist, PhonerLite.exe | |
thispid := errorlevel | |
if(thispid){ | |
;if PhonerLite window is open on the screen, then minimize it | |
wingettitle, thistitle, ahk_pid %thispid% | |
if(thistitle){ | |
winminimize, ahk_pid %thispid% | |
}else{ |
View touch.ahk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;touch.ahk | |
;Brother Gabriel-Marie | |
;10:00 AM Saturday, September 16, 2017 | |
;set all file attribute dates to current date | |
Loop %0% ; For each file dropped | |
{ | |
GivenPath := %A_Index% | |
Loop %GivenPath%, 1 | |
{ |
View addonsdk.mouseover.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { browserWindows } = require("sdk/windows"); | |
const { CustomizableUI } = require('resource:///modules/CustomizableUI.jsm'); | |
const { viewFor } = require("sdk/view/core"); | |
const { ActionButton } = require("sdk/ui/button/action"); | |
var myButton = ActionButton({ | |
id: "myButton", | |
label: "My Button", | |
icon: { "16": "./icon-16.png", "32":"./icon-32.png", "64": "./icon-64.png" }, |
View addonsdk.addstylesheet.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { browserWindows } = require("sdk/windows"); | |
for(let w of browserWindows){ | |
AddStyleSheet("./myStyleSheet.css", viewFor(w) ); | |
} | |
function AddStyleSheet(whatstylesheet,whatwindow){ | |
var attr = 'id="my-css" type="text/css" href="' + whatstylesheet + '"'; | |
var style = whatwindow.document.createProcessingInstruction('xml-stylesheet', attr); |
View addon.sdk.loadSheet.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { browserWindows } = require("sdk/windows"); | |
const { loadSheet } = require("sdk/stylesheet/utils"); | |
//This is how to load an external stylesheet | |
for(let w of browserWindows){ | |
loadSheet(viewFor(w), "./myStyleSheet.css","author" ); | |
} | |
View IconEx.ahk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* _______________________________________________________________________________________ | |
_____ ______ __ _ | |
|_ _| | ____| /_ || | _ _ _ SKAN (Suresh Kumar A N) | |
| | ___ ___ _ __ | |__ __ __ | || |_| | | | | | arian.suresh@gmail.com | |
| | / __/ _ \| '_ \| __| \ \/ / | ||___| | | ' | | | |
_| || (_| (_) | | | | |____ > < | | | | | |__| | Created on : 13-May-2008 | |
|_____\___\___/|_| |_|______/_/\_\ |_|(_) |_| \.___/ Last Modified : 10-Aug-2012 | |
[ I C O N E X P L O R E R A N D E X T R A C T O R ] Version : 1.4u | |
_______________________________________________________________________________________ |
View volume.ahk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;control your system volume via hotkeys | |
;# is the win key | |
;^ is the control key | |
;sound controls | |
#[::setVolume("-5") ;lower volume by 5% | |
#]::setVolume("+5") ;raise volume by 5% | |
^#[::setVolume("10") ;set volume to minimum | |
^#]::setVolume("80") ;set volume to loud | |
SetVolume(whatvolume){ |
View ahkinfo.ahk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;push win+3 to show your autohotkey information and copy it to your clipboard so you can paste it | |
#3::ahkinfo() | |
ahkinfo(){ | |
isunicode := a_isunicode ? "Unicode" : "ANSI" | |
thisinfo:= "AutoHotkey " . a_ahkversion . " " . isunicode . " on Windows 7 Pro x64" | |
clipboard := thisinfo | |
alert(thisinfo) | |
} |
NewerOlder