11/05 - Sciency Saturday!

Status
Not open for further replies.
Joined
Oct 26, 2016
Messages
318
Reaction score
412
Points
113
Age
33
Gender
Male
Guys, there are any guides on how to Script for mTurk? I am willing to script for this new Sergey Hit.
 

Elairiah

Member
Joined
Oct 23, 2016
Messages
174
Reaction score
236
Points
243
Title: Survey about attitudes towards presidentual candidates | PANDA
Requester: Conrad S Baldner [A1TLJJXIMIZ93V] (TO)
TO Ratings:

☢☢☢☢☢ 3.00 Communicativity
☢☢☢☢☢ 2.09 Generosity
☢☢☢☢☢ 5.00 Fairness
☢☢☢☢☢ 4.71 Promptness
Number of Reviews: 26
(Submit a new TO rating for this requester)

Description: Answer a survey about your attitudes towards the presidential candidates
Time: 20 minutes
Hits Available: 1
Reward: $0.25
Qualifications: Total approved HITs is not less than 50; HIT approval rate (%) is not less than 90; Location is US
Two and a half minutes.
 

TQueen

Southern Sweetness
Contributor
Crowd Pleaser
Joined
Jan 12, 2016
Messages
15,881
Reaction score
41,252
Points
1,788
Location
The Compound
Gender
Female
Title: Learning and Inference | PANDA
Requester: Consumer Behavior [ASGY1QO2JYHU2] (Contact)
(TO): [Pay: 3.24] [Fair: 3.91] [Comm: 3.32] [Fast: 4.16]
Description:
You will be asked to review some information and make your own judgment. The survey takes roughly 10 mins.
Time: 60 minutes
HITs Available: 5
Reward: $0.45
Qualifications: HIT approval rate (%) is not less than 85; Location is US;
 
  • Like
Reactions: Dead End Kid

Kadauchi

Well-Known Member
Master Pleaser
Crowd Pleaser
Joined
Jan 12, 2016
Messages
7,098
Reaction score
21,951
Points
1,263
I am seeing that people use Tamper/Grease monkey to Script. Can i script all in Netbeans?
Tamper/Grease is what is used to inject userscripts into the webpage. Userscripts are made with javascript. You can use w/e editor you want (I use Brackets), but in the end you will have to paste it into Tamper/Grease

We learned Kadauchi @Kadauchi is a real person last night.

That or a very handsome robot.
:sofa:
 
Joined
Oct 26, 2016
Messages
318
Reaction score
412
Points
113
Age
33
Gender
Male
Tamper/Grease is what is used to inject userscripts into the webpage. Userscripts are made with javascript. You can use w/e editor you want (I use Brackets), but in the end you will have to paste it into Tamper/Grease


:sofa:
There has been a long time since i last wrote any code (4 years and some months). I will try to learn looking at other people's codes. I just want to make a simple script, i want it to allow me to click on a numpad number and select an option on the Radio Buttons of the Sergey HIT. That should not be all that challenging, i think.

Thanks anyway for the help
 

dittobb

Member
Contributor
Joined
Oct 2, 2016
Messages
203
Reaction score
242
Points
118
Gender
Female
Title: Take a quick survey!(~ 5 minutes) | PANDA
Requester: Research Group [A2S2MAHER3SV7] (TO)
TO Ratings:
★★★★ 4.41 Communicativity
★★★★★ 3.82 Generosity
★★★★ 4.64 Fairness
★★★★ 4.65 Promptness
Number of Reviews: 111 | TOS Flags: 2
Submit a new TO review
Description: Answer a few survey questions.
Time: 30 minutes
HITs Available: 1
Reward: $0.50
Qualifications: Total approved HITs is not less than 100;Exc: [1272964652-25467] has not been granted;HIT approval rate (%) is not less than 80;Location is one of: US

Good Morning.
 

Kadauchi

Well-Known Member
Master Pleaser
Crowd Pleaser
Joined
Jan 12, 2016
Messages
7,098
Reaction score
21,951
Points
1,263
There has been a long time since i last wrote any code (4 years and some months). I will try to learn looking at other people's codes. I just want to make a simple script, i want it to allow me to click on a numpad number and select an option on the Radio Buttons of the Sergey HIT. That should not be all that challenging, i think.

Thanks anyway for the help
Ezpz
Code:
// ==UserScript==
// @name         Sergey Example
// @namespace    http://kadauchi.com
// @version      1.0.0
// @description  blank
// @author       Kadauchi
// @icon         http://i.imgur.com/oGRQwPN.png
// @include      /^https://(www|s3)\.(mturkcontent|amazonaws)\.com/
// @grant        GM_log
// @require      https://code.jquery.com/jquery-3.1.1.min.js
// ==/UserScript==

$(document).keydown(function (e) {
  switch (e.which) {
    case 49: case 97: // 1, Numpad 1
      $(':radio:eq(0)').click();
      break;
    case 50: case 98: // 2, Numpad 2
      $(':radio:eq(1)').click();
      break;
    case 51: case 99: // 3, Numpad 3
      $(':radio:eq(2)').click();
      break;
  }
});
 

SweetiePuff

No Lifer
Contributor
Crowd Pleaser
HIT Poster
Joined
Oct 10, 2016
Messages
19,283
Reaction score
34,574
Points
1,838
Location
Jersey Girl
Gender
Female
Ezpz
Code:
// ==UserScript==
// @name         Sergey Example
// @namespace    http://kadauchi.com
// @version      1.0.0
// @description  blank
// @author       Kadauchi
// @icon         http://i.imgur.com/oGRQwPN.png
// @include      /^https://(www|s3)\.(mturkcontent|amazonaws)\.com/
// @grant        GM_log
// @require      https://code.jquery.com/jquery-3.1.1.min.js
// ==/UserScript==

$(document).keydown(function (e) {
  switch (e.which) {
    case 49: case 97: // 1, Numpad 1
      $(':radio:eq(0)').click();
      break;
    case 50: case 98: // 2, Numpad 2
      $(':radio:eq(1)').click();
      break;
    case 51: case 99: // 3, Numpad 3
      $(':radio:eq(2)').click();
      break;
  }
});
Sooooo easy! *cough*yeahright*cough* :p
 

Kadauchi

Well-Known Member
Master Pleaser
Crowd Pleaser
Joined
Jan 12, 2016
Messages
7,098
Reaction score
21,951
Points
1,263
Ezpz
Code:
// ==UserScript==
// @name         Sergey Example
// @namespace    http://kadauchi.com
// @version      1.0.0
// @description  blank
// @author       Kadauchi
// @icon         http://i.imgur.com/oGRQwPN.png
// @include      /^https://(www|s3)\.(mturkcontent|amazonaws)\.com/
// @grant        GM_log
// @require      https://code.jquery.com/jquery-3.1.1.min.js
// ==/UserScript==

$(document).keydown(function (e) {
  switch (e.which) {
    case 49: case 97: // 1, Numpad 1
      $(':radio:eq(0)').click();
      break;
    case 50: case 98: // 2, Numpad 2
      $(':radio:eq(1)').click();
      break;
    case 51: case 99: // 3, Numpad 3
      $(':radio:eq(2)').click();
      break;
  }
});
Forgot to edit the autosubmit it, so don't use the pre-edited.
 
  • Like
Reactions: Squatty and dittobb
Status
Not open for further replies.