OS X Technologies :: Open Files In Folder And Repeat?
Mar 14, 2012
How can i open the files in the folder if you scroll to "--open file items of the name folder" you can see where I am struggling to run the script.How should this look to run, currently the script runs, with no errors or anything appearing in the folders.
[code]...
View 11 Replies
ADVERTISEMENT
Apr 12, 2012
I created this piece of code using AppleScript Editor on OS X Lion 10.7.3 and I want to make it automatically repeat itself every 10 seconds. The code is supposed to reload the tab which the user is currently on every 10 seconds. I made the reload part but can't figure out how to make it reload every 10 seconds after extensive googling. Here is the code, can someone add the needed code it to make it reload the current page every 10 seconds and reply to me please.tell application "Safari" activateend telltell application "System Events" tell process "Safari" keystroke "r" using {command down}end tellend tell
Info:
MacBookPro, Mac OS X (10.7.3)
View 3 Replies
View Related
May 16, 2012
I'm trying to write a script that will open a specific folder. The only problem is that it needs to be run on multiple machines with different Hard Drive names. Here is a sample of the script that will work on my machine.
tell application "Finder" activate open folder "HDD:Volumes:USERData:Users:Staff:Name" end tell
Is there anyway to change "HDD" to whatever the current users Hard Drive is named?
View 2 Replies
View Related
Mar 19, 2012
My son is trying to open a .jar on his Macbook to add a mod to Minecraft. It throws an error and directs him to Console each time, but Console isn't showing any errors. Using advice on a couple of similar threads I followed some steps but ended up at a dead end.
The Terminal message I get when I follow the steps in another thread is this:
Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Display
Caused by: java.lang.ClassNotFoundException: org.eclipse.swt.widgets.Display
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Info:
MacBook (13-inch Mid 2010), Mac OS X (10.7.3), Java Issues
View 5 Replies
View Related
Mar 13, 2012
I have thousands of music projects with a somewhat fixed folder hierarchy and I'm trying to first rename and then extract (move) certain files from their original location.
Here is the most common example of the hierarchy: ProjectName/Info/Setups/fixed name file (either a pdf, txt or jpg)
My goal is to have these files renamed after their parent folders, all the way up to the Project Name and then have them moved to a set folder, out of this dull dictatorship I've created, so my files would end up with a name like this: ProjectName - Info - Setups - fixed name file
Info:
iMac 20'', Mac OS X (10.6.8)
View 2 Replies
View Related
Jun 15, 2012
My Macbook Pro with Mac OS X 10.7.4 has been real slow lately in opening files, saving documents, opening webpages. I often have MS Excel and Word and Outlook open so not sure if that is the problem.
Info:
MacBook Pro, Mac OS X (10.7.4)
View 1 Replies
View Related
May 14, 2012
Can I use Automator to put seperate files into seperate folder
Info:
Automator, iOS 5.1.1
View 2 Replies
View Related
Mar 13, 2012
can't open the program time machine located in the folder /applications/time machine anymore, message says program ain't working for unknown reaason, but I still can open time machine in the menu bar. any clues what the trouble might be? and/or is there any way to reinstall time machine only on os x 10.7.3?
btw., on the system backup hd which is a mirror of the imac system, the programm still works
Info:
iMac, Mac OS X (10.7.3)
View 8 Replies
View Related
Jun 24, 2012
Would there be a script I can run in Apple Script Editor that changes several folder icons inside another folder all at once?
View 14 Replies
View Related
Apr 20, 2012
What versions of Mac OS X has an Applications folder inside the users folder?
View 1 Replies
View Related
Sep 3, 2014
Let's say I have the Downloads folder in an open window. Just open in the background as often Finder windows are.
Let's say I have thousands or more files in the Downloads window.
Can this cause a performance hit?
Info:
iMac (27-inch, Late 2012), OS X Mountain Lion (10.8.4)
View 1 Replies
View Related
Mar 7, 2012
Does any one know of a bug or a log for folder scripts that do not run? I am trying to get a basic folder script (to replace %20 in the file name) of the Downloads folder.
When downloading multiple files (two or more) it runs only on the first file, successfully without error, and then never runs on the second file. If I move both of the files out of the Downloads folder and move it back it, the one file that does not get the folder action now does and everything is peachy.So it is not that the folder action is not scripted properly. It is just that the folder does not catch the second file download - guess maybe too fast? Has any one seen this or have this bug?
Info:15" Unibody MacBook Pro , Mac OS X (10.6.4)
View 13 Replies
View Related
Apr 14, 2012
I'm new to ApplesScripting. I've found this script that I'd like to change:--This script will make a new folder on the desktop with current date and dialog box--format the date to 2010-11-19tell (current date) to get day & (it's month as integer) & (it's year as integer)set TheDateFormat to the result as text-- asks for folder name with date as default answerset TheFolderName to text returned of (display dialog "Name the folder" default answer TheDateFormat)--make folder with date & user entered texttell application "Finder" make new folder with properties {name:TheFolderName}end tellThe desired changes:- Date format should be: 150412 + a letter (a, b, c) if the folder to be created already exists.- Place the cursor at the start of name dialog, no selection active.- The new folders should be created in /Users/Hans/Dropbox/Jobs/Another question is related to execution of the script:- How can I start the script easily with a shortcut key or a Dock icon?- Is it possible to select client name from a plain text file containing client names in separate lines?- Is it possible to have zip files automatically unzipped to subfolder names with the zip package name?- Regarding the Dock icon I could even imagine that I drag a zip or other file from an email or the Desktop to the icon and that I only have to type the clients name to have the file moved to a new folder. user entered texttell application
View 1 Replies
View Related
May 10, 2012
Our environment has multiple Windows file servers, both 2003 and 2008. If one of these SMB shares is accessed from a Mac and the user creates a folder, will the ACLs on the share that are set to cascade actually cascade to this newly created folder? We've had issues in the past where ACLs that are supposedly set to cascade on a shared folder are not present on sub-folders created from Macs.Next question: if the share resides on a netapp device, do the same rules apply? The Macs are still connecting to these shared folders using the SMB protocol.All Macs are bound to our 2008 AD domain and use network accounts with local homefolders. The issue seems to happen when one or both of the following things happen:
1. A Mac user copies/creates a folder on a Netapp share and for some reason it doesn't inherit rights correctly
2. We move the folder from one share on an actual Windows server to the Netapp and it doesn't take permissions correctly.
Info:
MacPro 2x2.66GHz Dual Core Xeon, 4GB RAM,, Mac OS X (10.6.8)
View 2 Replies
View Related
Feb 28, 2012
I followed the instructions, but now I do not see any calendars to sync or any mail accounts to sync in the Info section of iTunes.
Info:
MacBookPro, Mac OS X (10.7.2)
View 1 Replies
View Related
Mar 7, 2012
Im trying to run an rsync command which copies a backup of a server services folder using a remote computer. The backup folder of services resides on the main system disk.
AR-ADL-MBP1-John:~ john$ sudo rsync -va -e --delete ssh admin@10.105.141.66:/Volumes/Server HD_mail/Data Store Backups /Volumes/ARINA temp
errors out with building file list ... rsync: link_stat "/Users/john/ssh" failed: No such file or directory (2) rsync: link_stat "/Users/john/admin@mail.arina.biz/Volumes/Server HD_mail/Data Store Backups" failed: No such file or directory (2)
I've also tried to open the server in finder and run the rsync without ssh. This works for non system disks but get permissions errors on this system disk rsync: readdir("/Volumes/Server HD_mail/Data Store Backups/M-W-F/Data_Stores/mail/259F2CAC-D0EB-4348-B85F-1257F8242E87"): Permission denied (13)
View 8 Replies
View Related
Mar 30, 2012
I am running OS 10.6.8, using Automator to create a Folder Action. The input is a single folder containing 2 or more PDF files. I drop this folder onto the folder with the action attached. All of the PDFs are combined and the resulting PDF is copied to a new location.
It works very well with one problem. The name of the combined PDF is an automatically generated system name. I would like this PDF file name to change to the name of the original folder that contained the original PDFs.
To summarize: "Folder A" has the action attached. "Folder B" contains 2 or more PDFs. I drop Folder B onto Folder A. Automator creates a new combined PDF. I would like this to be named "Folder B.pdf"
Info:
Mac Pro, Mac OS X (10.6.8)
View 2 Replies
View Related
May 17, 2012
I need to move one or more files inside a folder to another folder.
View 4 Replies
View Related
May 29, 2012
I have a folder action set up to open movie files in a conversion app but every time I add a new file it loads all the files in the folder. How can i exclude a file that has already been opened by the folder action. I can't move the file due to queing up moves for conversion if the file is moved after it is opened the the program doesn't know where to look for it. Ive tried Filter finder items by last opened and set it as today but that did not work. It opened nothing. May I could set it up to know if the file has been there longer then 5 min that the folder action should not open it.
Info:
Mac Pro, Mac OS X (10.7.3)
View 14 Replies
View Related
Aug 7, 2012
I want to create a Folder Action to run the following shell script on all files with extension .vcs:
sed '1d' >reminder.ics
The job of the Folder Action is to take any Calendar item files downloaded from TVGuide.co.uk, remove the first line and then save them as .ics files. The reason for this is that the files are automatically generated with a carriage return on the first line, which BusyCal (being strict about these things) doesn't like. It then rejects the whole file.
I have tried doing this with Automator but the result didn't work.
If it's possible to have the Folder Action retain the original file name (ie. everything pre-extension) that'd be a bonus.
Info:
Mac mini (Mid 2011), Mac OS X (10.7.4)
View 4 Replies
View Related
Jun 27, 2012
if there is a way of having a list of image file names, searching for the images then putting them into a new folder? I'm guessing it can probably be done through mac scripting but I know nothing about scripting and genreally not great with technogy so ideally need step by step instructions!
View 6 Replies
View Related
Apr 8, 2012
Is there a way I can use a very old .cwk file? I tried opening it in iWorks '06, the old version I have and it said it couldn't read it.
View 1 Replies
View Related
May 23, 2012
I need to collect my students home workn which includes images, small film clips and text:
I use a FileMaker database
I have a FM script which
1 - copies the student ID
2 - opens the URL where the message is located
3 - I added this applescript I found here:
[code]...
Info:Mac Pro, Mac OS X (10.6.8)
View 6 Replies
View Related
May 23, 2012
I’ve found this script that copies the names of multiple selected files in the Finder to clipboard: try set theNames to {} tell application "Finder" repeat with i in (get selection) set end of theNames to name of i end repeat end tell set {TID, text item delimiters} to {text item delimiters, return} set the clipboard to theNames as text set text item delimiters to TIDend try I need to prepend to each result a string like [URL] where “folder” is the parent folder relative to the files.
View 1 Replies
View Related
May 29, 2012
Does anyone have some experience running multiple folder actions at the same time?I've written a Applescript folder action that processes some files. When adding some files, the script starts and all goes well. The processing of each file takes a few minutes, but all files are processed correctly.However, when adding some new files to the dropfolder, while the folder action is all ready processing other files dropped a few minutes earlier, the process that is all ready running immediately aborts and the folder action is relaunched on the new files, leaving the old files for what they are.The same problem occurs with multiple folders, each having a folder action attached. When dropping files in "Folder A", the script starts processing. But if someone droppes files in "Folder B", The script of folder A aborts, and the script of folder B starts processing. When adding more files to the folders, the result is the same. In some casses, when the last dropped files are processed, the os continues where the operation was aborted on the previous files. But this not always happens. To make things worse, when you remove the items from the folders afterwords, the folder actions starts running again on items no longer present in the folder ..Does anyone know how I can prevent the folder action being aborted when new files are dropped and placing the new files in "Hold", until the previous files are processed? How can I prevent a folder action being aborted when a item is dropped into another folder?I've written a small script to test this behaviour. Just create one or more folders and attach the script below. Drop a item into the folder, wait a few seconds and drop another one in the same or another folder. To monitor what happens please check the console. [code]
Info:
Mac OS X (10.6.8)
View 2 Replies
View Related
May 30, 2012
im trying to make folders and name them with structured names but im getting an error and im not sure what im doing wrong.
the error i get is:Finder got an error: Can’t make "/Users/USERNAME/Desktop/Fake Server/Project Name" into type item. ----------------------these variables are just used for my example, the actual script asks for input and makes that into the variables ------------------- set the_folder to "Macintosh HD:Users:USERNAME:Desktop:Fake Server"set theChosenOne to "Selected"set Code to "ABCD"set Number1 to "12345" set projLocation to (POSIX path of the_folder & "/" & theChosenOne)set folderTags to Code & " " & Number1 tell application "Finder" make new folder at projLocation with properties {name:folderTags & " artfile"}end tell
Info:
Applescript, Mac OS X (10.7.4)
View 6 Replies
View Related
Jul 2, 2012
Please accept my apologies if I'm posting in the wrong section . I've been using the fantastic Create Booklet PDF Service (workflow) by Christoph Vogelbusch (his page is on .mac, so it just went bye-bye). I'd like to turn this worklfow into a folder action so that when a file is added to the folder, a pdf booklet is created automatically. In particular, I'm interested in doing this in Microsoft Word. Can anyone tell me if this is even possible, and if so, either point me in the right direction (or, at least, to the best Automator community where I might repost this request)?
Info:
2.2 GHz Intel Core 2 Duo MacBook Pro, Mac OS X (10.6.3)
View 1 Replies
View Related
Apr 9, 2012
not able to open mail , keep getting message loading loading loading ,
Info:iMac
View 2 Replies
View Related
Apr 24, 2012
I'm wondering where to go to find the lastest things like emacs, python distributions, apache, etc. There used to be a bunch of them on apple.com but they keep moving things around and I'm having trouble finding them.
Info:
G4 mac mini, unibody macbook pro, core duo mini(2), iphone 4, ipad, ipod(2), Mac OS X (10.7), numerous other linux boxes
View 1 Replies
View Related
May 9, 2012
I am trying to do research on how to fix my current problem of not being able to open my terminal window. When attempting to do so I get the following error message:
You are unauthorized to run this application.
The administrator has set your shell to an illegal value.
I looked at some previous posts and some people said download iterm2 and put the following command: sudo chsh -s /bin/bash my_username. After this enter password and it should be fixed. However when doing that I get the following response: SC is not in the sudoers file. This incident will be reported.
Couple of things, firstly SC (which is me) is the administrator to this computer (this is my computer and there are no other users on it).
Info:
MacBook (13-inch Early 2008), Mac OS X (10.7.3), 2.4 GHz Intel Core 2 Duo
View 10 Replies
View Related