RetouchPRO

Welcome to RetouchPRO, the web community for retouchers.

You are currently viewing as an unregistered guest which gives you limited access. Registration is fast, simple and absolutely free so please, join RetouchPRO today!

If you have any problems with the registration process or your account login, please contact us. If you've forgotten your password, click here.

Go Back   RetouchPRO > Tools > Software > Photoshop Scripting
Register Blogs FAQ Search Today's Posts Mark Forums Read

Photoshop Scripting Learning and sharing for all platforms

Reply
 
LinkBack Thread Tools
  #1  
Old 10-28-2003, 01:28 AM
Doug Nelson's Avatar
Janitor
 
Join Date: Aug 2001
Posts: 3,864
Blog Entries: 20
VbScript vs. Visual Basic

I was reading the Photoshop scripting guide today (slow day) and noticed that it never mentions VbScript, even though it's a scripting guide. It only talks about Visual Basic.

Does VbScript even exist anymore? Is it the same thing as Visual Basic nowadays? Did .Net swallow it all up along with VBA?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #2  
Old 10-28-2003, 06:49 PM
Moderator
 
Join Date: Oct 2001
Location: Western NY
Posts: 978
I use VB to write scripts for processing some simple word events on the PC. It exists alright.

if we are looking at the same CS docs, there is a bunch of stuff in the dedicated doc for VB, but it is more-or-less a listing of codes.

the doc I found most helpful was the JS doc. Also, as I tend to learn this way, I liked looking at the samples provided by adobe.

I've used JS to program in an interface -- regretfully i am having a little problem getting buttons to behave...

Did I answer the wrong question?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #3  
Old 10-28-2003, 08:19 PM
Doug Nelson's Avatar
Janitor
 
Join Date: Aug 2001
Posts: 3,864
Blog Entries: 20
You got me digging a little deeper, and I found the section on differences between Visual Basic and VbScript.

Javascript makes the most pragmatic sense, since scripts can then be shared between OSs, but it's also the most opaque.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #4  
Old 10-28-2003, 08:53 PM
Moderator
 
Join Date: Oct 2001
Location: Western NY
Posts: 978
You can still do some pretty cool stuff with java...even if you can't go outside Photoshop. There are a lot of interface enhancements possible...not immediately apparent, perhaps, in how they work. But like the old filter factory, you can actually build new components (and then record an action and assign an F key to open them up). You'll see one in a day or two.

I succeeded in opening the can of worms, and now i'll have to make some interface components to simplify working with tools by another design.

javaScript can call a VB or AS behavior. i haven't been digging there, but it would seem a good fit to most problems as you'd only have to build the VB and AS components in the spots where they are needed to look outside Photoshop.

but what about extracting XML? i see nothing documented on metadata (or almost as little).

Sorry to fail the distinction between VbScript and VB. I was assuming them to be fairly similar beasts.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #5  
Old 10-28-2003, 09:00 PM
Doug Nelson's Avatar
Janitor
 
Join Date: Aug 2001
Posts: 3,864
Blog Entries: 20
Go to the MS VbScript homepage and read the part about launching scripts from HTML, then ponder on PScs's new HTML help authoring feature.

Seems to me there's some big potential there.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #6  
Old 10-29-2003, 03:39 AM
Moderator
 
Join Date: Oct 2001
Location: Western NY
Posts: 978
That sounds pretty interesting. I am also wondering about how those menus are stuck together, and if there might not be a way to build an interface for a tutorial rather than jumping out to a browser. Might be the wrong way to go, but could also be an interesting direction for keeping the users in one program, rather than jaunting about...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #7  
Old 10-29-2003, 04:18 AM
Doug Nelson's Avatar
Janitor
 
Join Date: Aug 2001
Posts: 3,864
Blog Entries: 20
Of course, on the JS front, I downloaded Russel Brown's sample CS script from the Expert Center. It demonstrates CS's new JS UI builder. There's also a movie, but it's 15 meg, and only demonstrates the script, not how he wrote it.

The new UI is cool, but you still have to write everything in a text editor, even building the interface.

I just installed Visual Basic, and it already knew all the Photoshop methods and commands!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
  #8  
Old 10-29-2003, 06:14 AM
Moderator
 
Join Date: Oct 2001
Location: Western NY
Posts: 978
But your VB won't translate to mac...and I tend to think not only for my good, but for transferring on platforms. if I can write in JS, I can make it work at home (Mac) and at work (PC). There may be other ramifications for Elements...Though I've yet to try that out.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Float This Post!Stumble this Post!Google Bookmark this Post!Yahoo Bookmark this Post!Live Bookmark this Post!Share this post on Facebook
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sheri's Sketch - HELP NEEDED! tonyt Software 7 06-28-2007 04:22 AM
Very basic newbie problem with actions Canna W Software 22 10-17-2006 02:27 AM
visual depiction of the Photoshop blending modes gestalt Software 1 03-05-2005 03:50 PM
save as tif in vbscript? sgwilly Photoshop Scripting 3 06-02-2004 04:03 PM
basic help in adjusting for skin tones micah Photo Retouching 13 12-09-2003 10:10 AM


All times are GMT -6. The time now is 03:59 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 Doug Nelson. All Rights Reserved moo




1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50