Can Add .jsx Files Into Scripts Folder Of Photoshop

Oct 12, 2010

Currently I have a range of images some portrait in size and some landscape, what I want to do is batch resize these images so they all fit the fixed dimensions of 180px x 120px.I understand that you can add .jsx files into the scripts folder of photoshop but right now I can only find scripts that resize the image based on 1 side which isnt that helpful.Does anyone know were I could find examples of the code I need or can anyone offer me some advice?

View 6 Replies


ADVERTISEMENT

Ajax :: Browse For A Folder And Get *.xml Files In The Given Folder Path?

Sep 15, 2009

using ajax/javascrtipt, how to browse for a folder and get *.xml files in the given folder path.??

View 2 Replies View Related

List All Files In A Folder Including Subfolder Files?

Sep 5, 2008

I want to write a javascript to list of all files in a folder including files in the subfolders. This is for the scorm purpose to list all the files. some examples are listing files but not listing the files inside the subdirectories. I want the file's full path like C:Documentsjavascriptwilson.js like this.

View 5 Replies View Related

Show Images From Four Files - Each Files Are In Each Folder?

Jan 15, 2010

I have four folders and each folder has one images, let say ( images-one.jpg, images-two.jpg, images-three.jpg, images-four.jpg). now,in index.php page there are four buttons, each buttons for each images. if i clicked button numer two for images-two.jpg, and then it will show that images name from that folder in index.php page. and then if i reload same index.php page or refreshed same page, i want to show SAME images that I clicked before which is images-two.jpg. how can i write that code to show images from four files, each files are in each folder.

View 1 Replies View Related

Search Through All Files In Folder?

May 31, 2010

i'm supposed to use javascript to search through a folder that contains many excel files. the search term is obtained from a front end html form, javascript gets that value, search every single excel file in the folder and see which file has a cell that matches the search terms.

I currently know (sort of) how to search through 1 file. but how do I search through many files? and from what i see from the searching of 1 file, it takes a few seconds to open and close the excel file (located on a network drive). which means it will take a fair bit of time to cycle through 97 excel files. Is there like any searching algorithm to speed up the process?

View 3 Replies View Related

JQuery :: Get List Of Files In A Folder?

Oct 20, 2011

I wanna get the list of *.jpg files in a folder beside of my html with JQuey.

View 1 Replies View Related

JQuery :: List Files In A Folder?

Sep 21, 2010

I need a list the files in a folder that is in my website. Can I do this using jQuery? also, the user will able to click in the link to open the file.

View 2 Replies View Related

Get Files Of Server-side Folder

Nov 25, 2011

I have written a custom slideshow script which gets the images from an array... The script will change the src of a img, which is a fullscreen background. Now here's the problem, I've been trying to write a function where can define a folder "gallery est", and then get all image files in that folder and repopulate the slideshow array. So, is there a way to scan folders? I've searched around and found some solutions where PHP is used, but i really want to keep this pure js, if possible (?)

View 1 Replies View Related

Scanning Files In A Spec Folder

May 15, 2007

I'm struggling to read files in a folder and then pass the variable to the following:

</body>
<OBJECT ID="MediaPlayer" width=320 height=310 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" type="application/x-oleobject">
<PARAM NAME="FileName" VALUE="video/RC Radio Controlled Model Airplane [from].wmv">
<PARAM NAME="AutoStart" Value="false">
<PARAM NAME="ShowControls" VALUE="true">

[Code]....

View 6 Replies View Related

Can I Use JS To Search Folder And Create Array From Files

Jan 9, 2007

I would like to put all my .jpg images in a folder into an array to be
viewed. can I use JS to do this automatically. Without having to type
by hand?

View 8 Replies View Related

Populating A Drop Down List Of Files In A Folder

Jun 10, 2009

Here is what I am trying to do. I created a .js to talk to 3-4 Drop down boxes with info I put in them. On the last drop box i currently just having it read "download" The is the drop down box I would like to populate files in a certain folder. Can anyone give me any insite on how to go about doing so? This is what is on my HTML.

[Code]....

View 1 Replies View Related

User's Local Temp Internet Files Folder

Oct 27, 2005

is there a way for me to know the location of the client's temporary internet files folder?

View 4 Replies View Related

Deleting Folder "Temporary Internet Files"

Jul 23, 2005

I'm trying to clear the TIF on Windows XP programmatically with the below code.

This code works fine on any folder but the TIF. For some reason the atEnd() statements always defaults to true and no files are deleted in the folder.

The peculiarity of this issue is that the files/subfolders cannot be seen through the windows explorer either. I can only access/delete them through a command shell. Code:

View 5 Replies View Related

"C:folder" (assuming The User Typed "folder" And Such A Folder Existed)?

Jul 13, 2010

Originally I had the following code. What it does is for a user to type the folder name of their choice and then after clicking submit a window will pop open and they will be taken to "C:folder" (assuming the user typed "folder" and such a folder existed). Here is the code in case I wasn't clear.

<html>
<head>
<script type="text/javascript">

[code]....

View 2 Replies View Related

Any Script Available For Cropping Like Do In Photoshop With Pen Tool?

Mar 12, 2010

I need to know that is there any script available which allows me to upload an image and after uploading it will allow me to crop an image like we do in photoshop via pen tool. In photoshop when we use pen tool, it apply nodes against the images and user can easily change nodes via mouse to change the position of cropping. Is there any type of script available which provides this functionality?

View 6 Replies View Related

Polygons Images Created In Photoshop?

Sep 25, 2011

Can JavaScript work with polygons image witch was created in Photoshop? I mean capture polygons coordinates and make these polygons interactive? I have a very simple task to be done - draw a map with thousands of polygons, each polygon must have its properties and be interactive. And there will be circle-shape objects that user can move through the polygons on a distance for instance two-three polygons in a round. And these circle objects must also have their properties. So I decided to draw polygon-map in Photoshop and do the rest in JavaScript. But I have doubts - can JavaScript "see" these polygons and operate with them or Photoshop-made image is not good for this.

View 7 Replies View Related

Open File From Web Browser (local Server) Directly Into Photoshop

Aug 15, 2010

I have a photo editing business with many people working in Photoshop. I am currently developing a web based application (joblist) using Javascript and PHP which should allow the photoshop designers to browse and open files/images directly from joblist/web browser into photoshop. The reason I want this instead of browsing folder is that I have a database where I store who worked on which file, when and how long it took. The concept is that, designers will select a file and click on start, as soon as they click on start the original file will open in Photoshop and there will be an entry into database (using PHP).

Once they finish the task they will close the file and click on Finish button. My joblist application will be published in a local server and the file will be open on a local network, so when they save the file it will be saved where the source file is located in (local server). The application should work in both PC and Mac. How to write the code (PHP or Javascript) which can open the file from browser (local server) directly into desktop application e.g. PHotoshop or Illustrator?

View 2 Replies View Related

Mail Service - Attach Some Excel Files Of Text Files And To Send It

Aug 16, 2010

I have designed a mail service in java.In my compose page,i want to attach some excel files of text files and to send it.After sending i want to store it my database.Then how can i download or open that file after opening that recipient mail inbox.

View 1 Replies View Related

XMLHttpRequest Script - Works For Local XML Files But Not For External XML Files?

Oct 2, 2010

I have the following JavaScript (see below). The script requests an XML file from the server and displays it on the page.The script works fine when the requested XML file is stored on the same server as the script.The problem is when I try requesting an XML file from an external server such as the National Weather Service. I get an error. If I take the XML file from the National Weather Service and save it to my server it works. Why can't I use my script to request XML files stored on external servers?

Javascript Code

Code:

window.onload = initAll;
var xhr = false;
function initAll() {
document.getElementById("makeTextRequest").onclick = getNewFile;

[code]....

View 6 Replies View Related

JQuery :: Ajax Request Works With .xml Files But Not .php Files?

Aug 27, 2010

In my quest to implement ajax for the first time i've hit a brick wall. i've been searching for hours for a solution but with no success. Here is the problem.

[Code]...

why is it not working? my PHP code is outputting the contents of the xml document.

View 1 Replies View Related

Use Var To Get Folder Name?

Sep 18, 2011

I want to use var to get folder name by javascript?

I writed like:
http://muangay123.com/hoi_sitepoint/can_hoi.zip
code file.htm:
<script>
thu_muc=new Array();
thu_muc[0]="may_danh_giay";

[Code]...

View 1 Replies View Related

IDing Folder Name Using Javascript

Jul 23, 2005

i'd like to find a javascript that can specify the foldername a page
finds itself within.

i'm not a Javascript expert, but i know this can be done by saving the
full URL into a string, then using a decrementing array to locate the
foldername within the URL.

is there a better way in javascript? does anyone know where i can find
a currently working script i might look at?

View 1 Replies View Related

Folder Type Menu

Jul 23, 2005

Some time back we assembled an Explore-type menu system (tree of
folders) for a client site which has grown to be a pivotal function of
the site in that deep navigation into the South African Education Law
all hangs off this structure.

From our side, it has all worked perfectly and the client is about to
launch the site, but claims that he has continual problems with some
folders opening to pages where files cannot be found, and the menu
system then locks up. Fine.... accept that. Except that we cannot
replicate the problem. On several machines we have opened the tree
structure hundreds of times, and with never a single problem.

The first indication the client has of a problem is when the site
loads, and some of the "plus signs" (used to indicate that there are
underlying folders) do not show. Just the red background. But if
you mouse over where the "plus sign" should be - then the "hand icon"
appears and the correct link is shown in the URL box. But if you
click to the link it shows "done" but the link won't load. Reverse
back to the menus and the buttons now no longer work and most don't
display.

This seems to be happening only within the client's site which is a
simple Windows Network connecting through a broadband DSL router to
the internet. He claims that on three different office machines he
can replicate the problem.

The problem is intermittant and will often work fine for an extended
session. next visit to the site and the problems will be back.

Could this be a caching issue.? Or older Java engines.? Maybe we
should be using a more universal javascripting routine. Sadly our
in-house java skills are low and we've just hacked away at public
scrips to get this working.....

View 1 Replies View Related

Using To Load All Images In A Folder, And Doing It In A Certain Way?

Mar 2, 2011

This is my first post. I know some html and css, but not much about javascript, and I have an existential problem with a portfolio i'm helping to design: The portfolio itself is for a night photographer that covers different events. For each event there is a page where the photos from that event are displayed.The thing is i don't want to write html code for each and every event, so i've been investigating how to automate this process and i've been answered: javascript.

I want a horizontal layout page for each event, where all the images from its folder are displayed, with a horizontal scrollbar and no vertical scrollbar. I've managed to cover this with a combination between css and javascript code.

[Code]...

View 1 Replies View Related

Images Not Loading In Sub Folder?

Mar 20, 2010

I am using Lightbox v2.04 with ASP.Net 2008. The issue i am finding is that the images that are controlled by the java script are not loading if the page is in a sub folder. I have my main folder that contains a folder for my java script folder, a folder for my images, and a folder that contains some pages.

This is the code in the lightbox.js file that i believe may be the cause.

LightboxOptions = Object.extend({
fileLoadingImage: '../images/loading.gif',
fileBottomNavCloseImage: '../images/closelabel.gif',

Is there something specific that needs to be done so that the pages in the sub folder can have this work?

View 2 Replies View Related

Preload Images From FOLDER

May 27, 2009

I want to create a preload for images but do not want to have to specify every single image file name.Is there a way to just specify a folder and all images in ti will be preloaded?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved