07/31 - Saved By the Bell Sunday!

Status
Not open for further replies.

Kadauchi

Well-Known Member
Master Pleaser
Crowd Pleaser
Joined
Jan 12, 2016
Messages
7,098
Reaction score
21,951
Points
1,263
you messed up I think ( i might be wrong.)
it looks like you mixed up 2 and 3 for 1 and 2. that is, you used 2 for 1 and 3 for 2.
I did, I edited the fix in, but just change case 98 to 99 and then case 97 to 89.

Groovy. I do have tampermonkey. I need to learn more about scripting in general. Is there anything you can recommend to me and thank you! You do amazing things!
Google and stackoverflow.
 

Jharkan

Internets EXPERT
Contributor
Joined
Jul 9, 2016
Messages
11,873
Reaction score
20,418
Points
1,288
Location
Earth
Gender
Male
I did, I edited the fix in, but just change case 98 to 99 and then case 97 to 89.


Google and stackoverflow.
now i Just need to figure out how to add this to greasyfork. cause it's a popup box asking me all sorts of stuff - these can't be done in chrome
 

Kadauchi

Well-Known Member
Master Pleaser
Crowd Pleaser
Joined
Jan 12, 2016
Messages
7,098
Reaction score
21,951
Points
1,263
now i Just need to figure out how to add this to greasyfork. cause it's a popup box asking me all sorts of stuff - these can't be done in chrome
If you want I can throw it up on greasyfork.
 
  • Like
Reactions: Itsmee

Jharkan

Internets EXPERT
Contributor
Joined
Jul 9, 2016
Messages
11,873
Reaction score
20,418
Points
1,288
Location
Earth
Gender
Male
If you want I can throw it up on greasyfork.
that'd be cool - i'm trying to add it myself but it's asking me whats included, excluded, and also asking strings of my dna and plans for my firstborn I think.
 

C to the J

Outlaw Turker
Contributor
Master Pleaser
Crowd Pleaser
HIT Poster
Joined
Jan 12, 2016
Messages
53,194
Reaction score
163,912
Points
3,238
Age
37
Gender
Male
Less than a year ago our sister forum became too oppressive for the tastes of our current admins and aveline @aveline decided that she would prefer to leave the smoking ruins to those who who were too apathetic to rebuild.

Her powerful mechanical arm came down from the flaming sky and plucked the workers up from their office chairs. When the smoke cleared we found ourselves in a place of sharing and love, OK maybe not love, but definitely sharing (maybe not sharing either, but we definitely have something here). Now we all dine on lettuce and zucchini because the mechanical arm has decreed it.


Jharkan @Jharkan 's A9 AHK converted to a userscript.

Code:
// ==UserScript==
// @name         A9 - Category Validation
// @namespace    http://kadauchi.com/
// @version      1.0.0
// @description  Does stuff.
// @author       Kadauchi
// @icon         http://kadauchi.com/avatar4.jpg
// @include      /^https://(www|s3)\.(mturkcontent|amazonaws)\.com/
// @grant        GM_log
// @require      https://code.jquery.com/jquery-3.1.0.min.js
// @hitname      Category Validation (WARNING: This HIT may contain adult content. Worker discretion is advised.)
// @hitsave      https://s3.amazonaws.com/mturk_bulk/hits/213127554/gNnUF_IpktVYa17QxCSO9A.html?assignmentId=3X4JMASXCNVZ9TN9O0BG0AVJHJXB0L&hitId=3XBYQ44Z6PQPQLKHRRQLIFEOLZWTW7
// ==/UserScript==

_category_validation();

function _category_validation () {
    if ($('u:contains(What we are looking for will change after every HIT!)').length) {

        // Keybinds
        $(document).keydown(function (e) {
            switch (e.which) {
                case 96: // Numpad 0
                    $('#noItem').click();
                    break;
                case 98: // Numpad 2
                    $('#oneItem, #noPersonal, #noCatalog, #noOverlay').click();
                    break;
                case 99: // Numpad 3
                    $('#multipleItem, #noPersonal, #noCatalog, #noOverlay').click();
                    break;
                case 102: // Numpad 6
                    $('#yesOverlay').click();
                    break;
                case 103: // Numpad 7
                    $('#yesPersonal').click();
                    break;
                case 105: // Numpad 9
                    $('#yesCatalog').click();
                    break;
                case 13: // Enter
                    $('#submitButton').click();
                    break;
            }
        });
        console.log('activated');
    }
}


/*
Jharkan @MTC
http://www.mturkcrowd.com/posts/349481/

Numpad0::
send {tab}{space}
return

Numpad1::
send {tab}{down}
sleep, 100
send {tab 2}{right}{tab}{right}{tab}{right}
return

Numpad2::
send {tab}{down 2}
sleep, 100
send {tab 2}
send {right}{tab}{right}{tab}{right}
return

Numpad6::
send {left}
return

Numpad7::
send, {shift down}{tab}{tab}{shift up}
send {left}
return

Numpad9::
send, {shift down}{tab}{shift up}
send {left}
return

^9::
suspend
return

^3::
ExitApp
*/
 

Jharkan

Internets EXPERT
Contributor
Joined
Jul 9, 2016
Messages
11,873
Reaction score
20,418
Points
1,288
Location
Earth
Gender
Male
I dunno why I read numpad 2 and 3. Updated to v1.0.1
fantastic! now I don't need to worry which order I do 9 (blank background) and 6 (watermark) and 7 (face/ID label)
 

Randomacts

Banned
Banned
Joined
Jul 25, 2016
Messages
1,877
Reaction score
1,515
Points
363
Age
28
Gender
Male
wtf mturk keeps kicking me out of my a9 hits.. I can't work like this.
 

Jharkan

Internets EXPERT
Contributor
Joined
Jul 9, 2016
Messages
11,873
Reaction score
20,418
Points
1,288
Location
Earth
Gender
Male
Time well spent, its a great show
I've wanted to watch it, but I watch very few hours of TV in an entire year. I'm not big on it.
that said, netflix's daredevil (and hopefully punisher?!) ... I make time for that.
 
Status
Not open for further replies.