General AppleScripts
Professional Post to PHPThis Applescript simulates the posting of multiple variables and a file from a web form to a URL (PHP) using a shell script (curl) command within AppleScript Code.</br>Simply enter in your filename and other variable names into the variable array and there corresponding values and this AppleScript will encode the variables and then post them to PHP Post URL.<br/> A test PHP URL comes with this AppleScript so you can test it straight away. The bottom of the AppleScript also includes the PHP code for the page that this example post to. The script can be easily modified to post to almost any PHP URL. Advance Post to PHPThis Applescript simulates the posting of multiple variables from a web form to a URL (PHP) using a shell script command within AppleScript Code. Simply enter in your variable names into the variable array and their corresponding values and this AppleScript will encode the variables and then post them to PHP Post URL. A test PHP URL comes with this AppleScript so you can test it straight away. The bottom of the AppleScript also includes the PHP code for the page that this example post to. The script can be easily modified to post to almost any PHP URL.Simple Post to PHPThis Applescript simulates the posting of two varibales from a web form to a URL (PHP) using a shell script command within AppleScript Code. The script can be easily modified to do more complex tasks. The bottom of the AppleScript also includes the PHP code for the page that this example post to.Move files and foldersThis Applescript moves files from one folder to another folder. The files are first copied and then deleted to ensure no files are lost in the process. Easily handles sub-folders.The script is broken down into 3 easy to follow modules being: 1. Copy Files (Copy the files and folder in "from_folder" to the "to_folder" 2. Delete files (Deletes the files in the "from_folder" 3. Move Files (Calls the module 1 and then 2) Download URL's from CSV fileThis Applescript automatically downloads selected webfiles. The web files are stored in a CSV and then downloaded to a select folder.Simple FTP UploadThis Applescript moves 1 file to a FTP site using a shell script command. The script can be easily modified to do more complex tasks. |
Email your comments to: comments@thompson-solutions.com