This file contains hidden or 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
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; SETUP | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; Game Variables | |
Launcher_Path = "C:/Users/BUBSTAR/Desktop/dream/launcher/dream_launcher.exe" | |
; General Interface Settings | |
Start_With_Hidden_Cursor = 1 |
This file contains hidden or 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
void ofApp::launchWeb(string url) { | |
if (isFullScreened()) { | |
ofToggleFullscreen(); | |
} | |
std::wstring pathTemp = std::wstring(url.begin(), url.end()); | |
LPCWSTR pathLPC = pathTemp.c_str(); | |
ShellExecute(0, 0, pathLPC, 0, 0, SW_MAXIMIZE); |
This file contains hidden or 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
void ofApp::launchExe(string path) { | |
if (isFullScreened()) { | |
ofToggleFullscreen(); | |
} | |
std::wstring pathTemp = std::wstring(path.begin(), path.end()); | |
LPCWSTR pathLPC = pathTemp.c_str(); | |
string command = "open"; | |
std::wstring commandTemp = std::wstring(command.begin(), command.end()); |
This file contains hidden or 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
; This is the launch script I'm using for Bleep Space for Death By Audio Arcade | |
; This script is HEAVILY based on one that Babycastles used. Thanks Babycastles! | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; SETUP | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
; Game Variables | |
Game_Path = "C:\Users\bleep\Dropbox\bleep_space_arcade\bin\emptyExample.exe" | |
Game_Process_ID = BLEEPSPACE |
This file contains hidden or 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
var replaceMessage = "I do not know what I want."; | |
var replaceMessageHours = 24; | |
var reviews = document.getElementsByClassName("review_box"); | |
for (var i=0; i < reviews.length; i++) { | |
console.log("------- "+i+" --------"); | |
//get all divs containing reviews | |
var recomended = reviews[i].getElementsByClassName("title ellipsis")[0]; |
This file contains hidden or 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
var reviewNames = document.getElementsByClassName("customerReviewTitle"); | |
var reviewText = document.getElementsByClassName("content"); | |
var starAreas = document.getElementsByClassName("rating"); | |
//console.log("got "+reviewText.length); | |
for (var i=0; i < reviewNames.length; i++) { | |
reviewNames[i].innerHTML = "This is an app."; | |
} |
This file contains hidden or 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
var all = document.getElementsByTagName("*"); | |
window.setInterval(function(){ | |
var deadOne = Math.floor(Math.random()*all.length) | |
if (all[deadOne] != null){ | |
all[deadOne].parentNode.removeChild(all[deadOne]); | |
} | |
}, 40); |
This file contains hidden or 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
var all = document.getElementsByTagName("*"); | |
for (var i=0, max=all.length; i < max; i++) { | |
console.log("doing "+i+" of "+all.length); | |
var rect = all[i].getBoundingClientRect(); | |
all[i].style.fontSize = (rect.top * 0.04)+"px"; | |
} |
NewerOlder