Rabbit Whiskey: The Perfect Beverage for Mythical Creatures

By admin

There is something truly enchanting about the magical rabbit whiskey in my proximity. Its allure is hard to resist, as it transports you to a world of fantasy and wonder with just one sip. The vibrant flavors dance on your taste buds, leaving you with an irresistible craving for more. The whiskey is crafted with utmost precision, using the finest ingredients and an age-old recipe that has been handed down through generations. The magical rabbit, with its whimsical charm, adds a touch of mystique to the whole experience. Each bottle is a masterpiece, exuding elegance and refinement.


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

Each bottle is a masterpiece, exuding elegance and refinement. The rich amber hue of the liquid shines through, captivating all who behold it. The aroma that fills the air as it is poured into a glass is intoxicating in itself.

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.
Magical rabbit whiskey in my proximity

And when the liquid touches your lips, time seems to stand still. The smoothness of the drink is unmatched, gliding down your throat like a whisper. As you indulge in this mystical elixir, you can't help but feel a sense of awe and gratitude for the creators who have made this magical rabbit whiskey a reality. It is a testament to their passion and dedication to their craft. It is no wonder that this whiskey has garnered a cult following, drawing enthusiasts from far and wide. In every sip, you can taste the love and dedication that went into creating this masterpiece. It is not just a drink, but a journey into a world where the impossible becomes possible. This magical rabbit whiskey has a way of capturing your heart and soul, leaving you forever enchanted..

Reviews for "Exploring the Legends and Lore of Rabbit Whiskey"

1. John - 1/5 stars - I was really disappointed with "Magical rabbit whiskey in my proximity". The name itself is misleading, as there was nothing magical about this whiskey. The taste was bland and lacked any depth or complexity. Its proximity to me was the only good thing about it, but even then, I couldn't bring myself to finish the bottle. I would not recommend this whiskey to anyone looking for a truly magical experience.
2. Emily - 2/5 stars - I had high expectations for "Magical rabbit whiskey in my proximity" after hearing some positive reviews, but it fell short for me. The flavor was average at best, with an overwhelming alcohol taste that masked any subtle notes. Additionally, the packaging was lackluster and didn't reflect the supposed magical qualities of the whiskey. Overall, I found this whiskey to be average and not worth the hype it received.
3. Mark - 1/5 stars - I regret trying "Magical rabbit whiskey in my proximity". The taste was harsh and almost undrinkable, leaving a burning sensation in my throat. It lacked any pleasant flavors or aromas that I enjoy in a good whiskey. The bottle design and marketing were the only appealing aspects, but unfortunately, the whiskey inside did not live up to expectations. I would advise against wasting your money on this whiskey.

Rabbit Whiskey: Brewing Potions Since Ancient Times

Rabbit Whiskey and the Art of Mixology: Creating Magical Cocktails