Jump to content

adamcasey

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by adamcasey

  1. Thanks and sorry for posting in the wrong forum
  2. Hi I'm attempting to use this ftp function. (only been using autoIT for 2 days) However I'm not sure how. I've downloaded the two files: FTP.au3 and FTP_Example.au3 Obviously the example has hardly any code adn the FTP.au3 has tons. Do I have to delare or link to the FTP.au3 code?
  3. How would you propose? Are you a member of any freelancing sites? oDesk.com, guru.com, rentacoder? Or you could set it up as listing on ebay and make sure it's myself that wins the bid? The images don't need to be extracted from an email. I wanted an email that comes from my shop site (shopify.com) to trigger the scripts to start the process.
  4. Hi people, Now having read an awful lot of posts to these kind of requests and I know that Im bound to have the following responses: www.rentacoder.com Or Why don't you just learn it yourself? I am learning Auto IT however not at the rate I'd hoped for and really need this completing as soon as possible. So if there are any of you pro users out there that wish to help me with this please PM me with a quote. Thanks in advance. Production Process Outline The goal for this project in its most basic form is to automate the resizing of a batch of photographs and the uploading of website files to an ftp. Using an ftp, windows operating system and Adobe Photoshop automation droplets (I have already produced the Photoshop droplets I need) The purpose is to resize the photographs for web optimisation. They will then be placed inside of a folder and have an xml file controlling their display within a pre-produced flash application that forms a portfolio micro website. What are the main problems faced: Extracting data from an initial email order and producing a folder structure on the ftp and local machine based on this information. Once images have been uploaded by a customer, how does this action trigger the scripts to download them? Collecting the images from the ftp and saving them onto a local machine for batch processing (resizing). Editing an xml file to tell the flash application where the images are stored, how many there are and what their width and height is in pixels. Uploading all of the files to the websites space and notify the customers via email that the site is ready. Draft Plan (Please bare with me if this is not written using the correct technical spiel) Firstly there must be a way of notifying the scripts that the customer has uploaded their images. Can this be an email arriving to a designated inbox that triggers a script to start processing? Ideal situation: Once a payment has been confirmed the customer will be sent a link to our upload webpage. Once they have reached the upload screen. They will be a requirement for them to upload all of their images. They will need to confirm that they have uploaded all of their images and are happy for the portfolio site to be created. This 'confirm' button would then trigger a function/email which in turn is being waited upon by a looping script. The trigger would need to have information gathered from the customers purchase (account number, email, full name, product type) within it that tells the script what folders to produce and where on the server the new customers images have been saved to. Once the trigger device has set the script running, its first task will be to extract the customers information regarding the order and place this into an excel spreadsheet for reference purposes. Then using this data it will create a set of folders on the local machine. This is where the images will be saved into from the ftp download. Depending on what option the customer has chosen for the product (type of website template) the script will take a copy of that websites template files and paste them into the root of this new folder set. The folder set will look like this: Customers Account Number or Name (root folder) | --- images (folder containing all of the main and thumbnail images) Xml (folder containing xml controller file) Js (folder containing java script files) Flashwall.swf (Determined by the option the customer selected in the xml file first downloaded) Index.html (sites landing page) Swfobject (flash embedding script for the webpage) Originals Archive The script then downloads all of the images into a root folder called originals this folder has a copy taken and saved into the archive folder. (In case there are any unforeseen editing issues) It will also delete all the images from the ftp folder. Then the script will then need to sort the original images based on their orientation into two folders with the Originals folder called landscape and portrait. The script will then drop each of these folders onto an adobe Photoshop actions droplet. This droplet will resize the images and save copies of the files back out to a folder called 'Images' It will also save smaller thumbnails copies out into a folder called thumbs within the images folder. The names of the files will be renamed starting from 1.jpg to however many files there are. (maximum being 50) The script will then update an xml file with all of the names and sizes of these files (Height and Width) and save the xml file in a folder called xml. Preferably it will also need to randomize the order in which these xml lines are inputted so that all when viewed the images are not in two definite sections portrait and landscape but that they are mixed in together. Once these processes have finished the script will need to take a verification check, that all files are present. Once this has passed the script will start to upload the files back to the customers folder on the ftp. Once this process has been completed there will need to be a trigger that sends an email out to the customer (using customers email details stored in the excel file earlier) advising them of their new URL. Finally a copy of the customers data on the local machine is saved to an external hard drive. Thanks Adam
  5. Sorry if I sound stupid I'm new. I've been using the AU3Record tool to record my interactions with fireFTP. I've successfully logged into my server and have navigated to the correct directory. I select all the files in that directory then click the download button. Then I close fire ftp down. However it closes the ftp down immediately and I need it to wait until it has completed the download. How is this possible? I take it that it would be some for of a looping statement that monitors when it's finished?
  6. Thanks for the quick response.
  7. I've just installed AUTOIT today and I'm just testing out a few things. Looking for scripts on this forum for me to check out and get my head around. I keep seeing UDF all over the place and yet in the help files there is no sign of it what does UDF mean? Sorry very wet behind the ears this one!
  8. Is anyone interested in doing this work for me and could you give me an estimate of how much you would charge for the work? Please PM me with your quote or questions
  9. I'm new to AUTOIT I was advised to look at it from someone from the SQAForum (QA and testing forums) I'm attempting to start a new website service producing online photography portfolios and was wondering how much of the work I can automate. I've drafted a loose outline of the project and as wondering if AUTOIT can perform these types of Tasks? Production Process Outline This goal for this project in its most basic form is to automate a process of photo batch processing. Using ftp, windows operating system and Adobe photoshop automation droplets. The purpose is to try to automate the processes required to resize photographes in order for them to be placed inside of a flash application that forms a portfolio micro website. What are the main problems faced: Once images have been received how are they going to trigger the scripts Duplicating, Re-naming, Resizing and saving the images Editing the xml file to tell the flash application how many images there are and what are their sizes. Uploading all of the files to the websites space and notify the customers that the site is ready. Draft Plan: Firstly there must be a way of notifying the scripts that the customer has uploaded their images. Can this be an email arriving in a designated inbox triggering a script to start processing? Ideal situation: Once a payment has been confirmed the customer will be sent a link to our upload webpage. Once they have reached the upload screen there will be a requirement for them to upload all of their images. They will need to confirm that they have uploaded all of their images and are happy for the portfolio site to be created. This confirm button would then trigger another function or email which in turn is being waited upon by a script. The trigger would need to have information within it that tells the script where on the server the new customers images have been saved to. Once the trigger device has been received a script would run, that logs onto the ftp And downloads an xml file onto the desktop. The xml file will hold customers details and will be used to direct the script to create a number of folders on the hard drive in which to save files into for batch processing (resizing and web optimization). Once these folders have been created the script proceeds to download all of the images into a root folder called originals this folder has a copy taken and saved with a new name of archive. (incase there are any problems) Then the script will sort the original images based on their orientation into two folders One called landscape and the other portrait. The script will then drop each of these folders onto an adobe photoshop actions droplet. This droplet will resize the images and save copies of the files back out to a folder called images It will also save smaller thumbnails copies out into a folder called thumbs within the images folder. The names of the files will be renamed starting from 1.jpg to however many files there are. The maximum total is 50. The script will then update an xml file with all of the names and sizes of these files (height and Width) and save the xml file in a folder called xml. Preferably it will also need to randomize the order in which these xml lines are inputted so that all when viewed the images are not in two definite sections portrait and landscape but that they are mixed in together. Once these droplets have finished the batch processing of the files. The end result should be a folder named after the customer i.e. JaneWSmith And within that folder there will be the following files and folders: Wallimages (folder containing all of the main and thumbnail images) Xml (folder containing xml controller file) Js (folder containing java script files) Flashwall.swf (Determined by the option the customer selected in the xml file first downloaded) Index.html (webpage) Swfobject (flash embedding script for the webpage) The script will take a verification of this screen to check that all files are present and once this has passed will upload the files back to the customers folder on the ftp. Once this process has been completed there will need to be a trigger that sends an email out to the customer advising them of their new portfolio url. Process completed. NOTE: I recognise that this equates to a bit of a wish list. If some or most of this just isn't possible. And manual intervention is required then so be it. What I really want to know how much of it is possible through AUTOIT?? Thanks People
  10. Please bare with me as I'm pretty new to all of this: I'm looking to automate a work flow. I'm a webdesigner and I'm going to be looking after a new project that will require me to do a ton of very repetitive tasks here is what my workflow will be: 1. Our clients will be dropping roughly 50-80 hi resolution images onto our ftp site each week. Roughly 5 clients all submitting 2 batches of the amount stated above. 2. A new folder will need to be generated with the clients name and the date. Then the images will be download into this new folder. The files will then need to be split out into another two dynamically generated folders. Named landscape and portrait. 3. These images will then need to be ran through Adobe Photoshop to be resized for the web and saved back out to another two folders. (I will be using adobe photoshop actions to automate these tasks) 4. The images will then need to be loaded into adobe flash, aligned to the center of the stage and then saved out to as .swf files which a specific file name. 5. Once this is completed an index.html template file will need to be edited and then saved to the root of these new image folders. 6. Once everything has been completed they will need to be uploaded to our webserver with the index.html file and flash files this time. So can autoIT complete all of this? If not does anyone have any other suggestion of an application that maybe able to do this for me?
×
×
  • Create New...