Photoshop Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignPhotoshop Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 6th, 2004, 02:05 PM
astragal astragal is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2004
Location: New Jersey
Posts: 2 astragal User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
need scripting help in vb.net for PS - array(..)

Photoshop Scripting in VB.net - problem with array()

--------------------------------------------------------------------------------

Hi, I have a problem with translating a VB example for photoshop scripting into VB.net. I am trying to activate a selection marquee in the active document in photoshop.

The example in the Photoshop script examples folder has the code (in the scripting examples "selection.txt")...

docRef.Selection.Select Array(Array(50, 60), Array(150, 60), Array(150, 120), Array(50, 120)), Type:=selectionType, Feather:=10, AntiAlias:=False

However, VB.Net returns an error on "array(...)" , evidentally it's not an implemented function. I tried all sorts of ways to solve this, nothing worked. The parameter filled by "array(...)" is called out as 'Range as object' in the help pop-up prompt, but nothing in the documentation explains how this range object is constructed.

Does anyone have thoughts on how to define a range, so that the "docRef.Selection.select" method works ?

Thanks so much, astra.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignPhotoshop Help > need scripting help in vb.net for PS - array(..)


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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 On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT