Laughing at the Absurd: Monty Python's Witchy Humor

By admin

Monty Python's witch comedy is a classic and beloved piece of comedic entertainment that showcases the absurd and hilarious humor of the Monty Python comedy troupe. The witch comedy sketch, famously titled "The Ministry of Silly Walks", is a prime example of the Python's satire and wit. In this sketch, John Cleese plays the role of a government official who works at the fictitious Ministry of Silly Walks. He interacts with various characters, including a fellow office worker, played by Michael Palin, who seeks a grant to continue his research on ridiculous walks. The absurdity of the situation is highlighted by the seriousness with which the characters approach their work. The main idea of this sketch is to poke fun at bureaucratic institutions and their sometimes pointless and nonsensical regulations.


I think Mike has been doing some work on this type of code as well.

getBoolean stringIDToTypeID contiguous ; return contiguous; else return undefined; ; function selectTool tool var desc new ActionDescriptor ; var ref new ActionReference ; ref. The band s music has been used for campaigns of countless important brands Victoria s Secret Superbowl Ad , Gucci, Zara, Ralph Lauren, Polo, Vogue, T-Mobile.

Magical wands toggle

The main idea of this sketch is to poke fun at bureaucratic institutions and their sometimes pointless and nonsensical regulations. The Ministry of Silly Walks serves as a metaphor for such institutions, where the employees are tasked with coming up with ideas and regulations that are ultimately pointless. The witch component of the comedy comes into play when a witch, played by Terry Jones, enters the scene.

PS-SCRIPTS.COM

When using the magic wand tool, I would like to be able to switch between contiguous and non contiguous using a keyboard shortcut. Now as it appears to be not to set a keyboard shortcut I need to be able turn off when its on and on when its off, so that once that script is made I can select a hot key to switch it on and off.

pfaffenbichler

Magic Wand, Contiguous toggle button?

Post by pfaffenbichler » Sat Oct 06, 2012 9:14 am

Interesting problem.
With some code by Mike and Paul it is no problem to get the currentToolOptions but I have so far failed to feed them back (in unedited and edited form) to the tool.

txuku

Magic Wand, Contiguous toggle button?

Post by txuku » Sat Oct 06, 2012 5:36 pm

I create a tool preset - Outil Baguette magique 1 :


And I call it in the script :

Code: Select all//Outil "Baguette magique" ou bien "Selection rapide"
// =======================================================
var idslct = charIDToTypeID( "slct" );
var desc29 = new ActionDescriptor();
var idnull = charIDToTypeID( "null" );
var ref25 = new ActionReference();
var idmagicWandTool = stringIDToTypeID( "magicWandTool" );
ref25.putClass( idmagicWandTool );
desc29.putReference( idnull, ref25 );
var iddontRecord = stringIDToTypeID( "dontRecord" );
desc29.putBoolean( iddontRecord, true );
var idforceNotify = stringIDToTypeID( "forceNotify" );
desc29.putBoolean( idforceNotify, true );
executeAction( idslct, desc29, DialogModes.NO );

//L outil predefini que j ai cree avec "Baguette magique"
// =======================================================
var idslct = charIDToTypeID( "slct" );
var desc30 = new ActionDescriptor();
var idnull = charIDToTypeID( "null" );
var ref26 = new ActionReference();
var idtoolPreset = stringIDToTypeID( "toolPreset" );
ref26.putName( idtoolPreset, "Outil Baguette magique 1" );//appel de mon outil
desc30.putReference( idnull, ref26 );
executeAction( idslct, desc30, DialogModes.NO );

Paul MR

Magic Wand, Contiguous toggle button?

Post by Paul MR » Sat Oct 06, 2012 6:43 pm

To toggle you could create two presets, one for contiguous and one for noncontiguous and then put the preset names in the switch statement so it can then toggle.

Code: Select allswitch(isMagicWandContiguous()) case true : selectToolPreset('Your preset name here'); break;
case false : selectToolPreset('Your preset name here'); break;
case undefined : selectTool('magicWandTool'); break;
>;
function isMagicWandContiguous() var ref = new ActionReference();
ref.putEnumerated( charIDToTypeID('capp'), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
var desc = executeActionGet(ref);
var cTool = typeIDToStringID(desc.getEnumerationType(stringIDToTypeID('tool')));
if(cTool == 'magicWandTool') var contiguous = desc.getObjectValue(stringIDToTypeID('currentToolOptions')).getBoolean (stringIDToTypeID('contiguous'));
return contiguous;
>else return undefined;
>
>;
function selectTool(tool) <
var desc = new ActionDescriptor();
var ref = new ActionReference();
ref.putClass( app.stringIDToTypeID(tool) );
desc.putReference( app.charIDToTypeID('null'), ref );
executeAction( app.charIDToTypeID('slct'), desc, DialogModes.NO );
>;
function selectToolPreset(TOOL) <
var desc = new ActionDescriptor();
var ref = new ActionReference();
ref.putName( stringIDToTypeID('toolPreset'),TOOL );
desc.putReference( charIDToTypeID('null'), ref );
executeAction( charIDToTypeID('slct'), desc, DialogModes.NO );
>;

pfaffenbichler

Magic Wand, Contiguous toggle button?

Post by pfaffenbichler » Sun Oct 07, 2012 7:46 am

But will presets honor the current Tolerance-setting?

Do you have an idea how to set the currentToolOptions with Action Manager code? I’m stumped so far.

Edit: Did some searching and in an older thread Mike voiced the suspicion that currentToolOptions might be read only, so that would mean that approach is not feasible anyway.

Paul MR

Magic Wand, Contiguous toggle button?

Post by Paul MR » Sun Oct 07, 2012 10:31 am

It should be posible to just toggle the feature.. see
bb/viewtopic.php?f=9&t=4903&p=23208#p23208
This didn't work om my windows system though.

I think Mike has been doing some work on this type of code as well.

Mike Hale

Magic Wand, Contiguous toggle button?

Post by Mike Hale » Sun Oct 07, 2012 7:45 pm

Paul MR wrote:I think Mike has been doing some work on this type of code as well.
Yes, I have spent a lot of time trying to find a way to set tool options without using presets. Nothing I have tried or seen posted anywhere works.

I had hoped that when John Nack suggested task based panels a few years ago that Photoshop would add support for working with tool options. They have added being able to get the current tool options( at least I don't remember that key in the app descriptor in earlier versions ). Perhaps some day we will also be able to set those options.

But until that day comes I really think that presets are the only work-around we have.

pfaffenbichler

Magic Wand, Contiguous toggle button?

Post by pfaffenbichler » Mon Oct 08, 2012 6:13 am

Thanks for the feedback on this. Mcquiff

Magic Wand, Contiguous toggle button?

Post by Mcquiff » Mon Oct 08, 2012 11:05 am

Thanks for all the input below, I gave the code below a go but that didn't seam to work for me.

Looks like I might have to stick to using the tick box.

Matt
Paul MR wrote:To toggle you could create two presets, one for contiguous and one for noncontiguous and then put the preset names in the switch statement so it can then toggle.

Code: Select allswitch(isMagicWandContiguous()) case true : selectToolPreset('Your preset name here'); break;
case false : selectToolPreset('Your preset name here'); break;
case undefined : selectTool('magicWandTool'); break;
>;
function isMagicWandContiguous() var ref = new ActionReference();
ref.putEnumerated( charIDToTypeID('capp'), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );
var desc = executeActionGet(ref);
var cTool = typeIDToStringID(desc.getEnumerationType(stringIDToTypeID('tool')));
if(cTool == 'magicWandTool') var contiguous = desc.getObjectValue(stringIDToTypeID('currentToolOptions')).getBoolean (stringIDToTypeID('contiguous'));
return contiguous;
>else return undefined;
>
>;
function selectTool(tool) <
var desc = new ActionDescriptor();
var ref = new ActionReference();
ref.putClass( app.stringIDToTypeID(tool) );
desc.putReference( app.charIDToTypeID('null'), ref );
executeAction( app.charIDToTypeID('slct'), desc, DialogModes.NO );
>;
function selectToolPreset(TOOL) <
var desc = new ActionDescriptor();
var ref = new ActionReference();
ref.putName( stringIDToTypeID('toolPreset'),TOOL );
desc.putReference( charIDToTypeID('null'), ref );
executeAction( charIDToTypeID('slct'), desc, DialogModes.NO );
>;

10 posts • Page 1 of 1 Jump to
  • Photoshop Scripting
  • ↳ Photoshop Scripting - General Discussion
  • ↳ Help Me
  • ↳ Automation & Image Workflow
  • ↳ Photoshop Scripting: Code Snippets
  • ↳ Photoshop Scripting: Reference, Documentation, & Tutorials
  • ↳ Photoshop Scripts: Beta Testing
  • ↳ xtools
  • Photoshop Scripts & Photoshop Scripting Services
  • ↳ Photoshop Scripts
  • ↳ Photoshop Scripting Services
  • Adobe Bridge Scripting
  • ↳ Adobe Bridge Scripting: General Discussion
  • ↳ Adobe Bridge Scripts
  • ↳ Adobe Bridge: Bugs, Anomalies, Documentation Errors
  • Flex, Flash, or CS SDK/HTML5 panels
  • ↳ Flex, Flash & CS SDK: General Discussion
  • ↳ Flex, Flash & CS SDK Scripts
  • ↳ Flex, Flash & CS SDK Bugs and Anomalies
  • Bugs, Anomalies, Documentation Errors
  • ↳ Photoshop Scripting Bugs and Anomalies
  • ↳ Photoshop Bugs and Anomalies
  • ↳ Photoshop Scripting Bug Repository
  • Photoshop Scripting Community Site Management
  • ↳ Upload
  • ↳ Questions, Suggestions and Feedback
  • HomeBoard index
  • All times are UTC
  • Policies

Adobe® and Photoshop® are registered trademarks of Adobe Systems Incorporated in the United States and/or other countries.

© 2023 PS-SCRIPTS.COM - TBIT DESIGN - All Rights Reserved Worldwide

In Memory of Mike Hale

Powered by phpBB® Forum Software © phpBB Limited

It should be posible to just toggle the feature.. see
bb/viewtopic.php?f=9&t=4903&p=23208#p23208
This didn't work om my windows system though.
Monty python witch comedy

She is accused of being a witch and put on trial. The courtroom scene is filled with hilarity, as the characters debate over what constitutes proof of witchcraft. The ridiculous arguments and nonsensical logic add to the comedic effect. Overall, the Monty Python witch comedy is a satirical masterpiece that lampoons various aspects of society and bureaucracy while entertaining audiences with its absurdist humor. The Ministry of Silly Walks sketch, in particular, stands out as a prime example of the Python's comedic genius, with its witty dialogue, memorable characters, and clever commentary on the absurdity of everyday life..

Reviews for "Monty Python's Witch Skits: Breaking Gender Stereotypes with Humor"

- John Smith - 1-star rating - I did not find the "Monty Python witch comedy" funny at all. The humor was too absurd and silly for my taste. I couldn't connect with any of the characters, and the jokes fell flat for me. I understand that Monty Python is known for its unique style of comedy, but this movie just didn't work for me.
- Emily Johnson - 2-star rating - I have always been a fan of Monty Python, but the "Monty Python witch comedy" missed the mark for me. The plot was confusing and hard to follow, jumping from one random scene to another without any clear direction. I felt like the comedy was forced, and the jokes were not as clever as in their previous works. Overall, I was disappointed with this film and expected more from the talented Monty Python team.
- David Thompson - 2-star rating - I appreciate absurdist humor, but the "Monty Python witch comedy" was too much for me. I found it difficult to find any coherence in the storyline. The jokes were too random and failed to elicit any laughter from me. I can see why some people find Monty Python's style amusing, but this movie just didn't resonate with me. I would recommend it only to die-hard Monty Python fans.

Analyzing the Political Commentary in Monty Python's Witch Skits

The Social and Cultural Impact of Monty Python's Witch Comedy