OS X Technologies :: Applescript To Change Contact Names To Title Case

Feb 10, 2012

That pretty well some it up.  I've looked and looked and it seems this is not an easy thing to do!  I guess the Proper() function from Excel doesn't exist in applescript?

Info:
Mac OS X (10.7.3)

View 3 Replies


ADVERTISEMENT

OS X Technologies :: Creating Folder Names With Variables In Applescript?

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

OS X Technologies :: Change An Alias' Icon Via Applescript?

Apr 25, 2012

Im using package maker and has a script to create my alias, but i am relatively new, and want to change the alias' icon to my applications supposedly icon.

as my app is base on HTML5 thus we are using the browser to open the app

Info:
Applescript

View 1 Replies View Related

OS X :: Converting Upper Case File Names To Lower Case?

Nov 9, 2009

I have about 50 *.mp3's on my hard drive that have the file names in all upper case. When looking at them in itunes it drives me nuts....Is there a way to convert the uppercase file name to lowercase? I have googled but can't find anything. I do not want to do it manually, that would take a long time =( thanks, I'm crossing my fingers

View 11 Replies View Related

ITunes :: Where Is The Album Information (title, Track Names Etc) Stored

Feb 22, 2012

I have two Macs, and on one I went through the arduous task of labelling a bunch of CD-R's I made ages ago in Itunes, and now I want to import those discs via different encoding into another computer, but don't want to have to re-enter all that info. When I put the discs into the original machine, the info is still assigned to the disc. I want to migrate that info to the other machine so I won't have to re-enter this stuff. I feel like I found this data at one point ages ago, but now I can't.

Info:
Mac Pro, Mac OS X (10.6.8)

View 4 Replies View Related

OS X Technologies :: Upload To Ftp Applescript

Apr 28, 2012

is there a simple way to upload some file on ftp with an applescript?

View 2 Replies View Related

OS X :: File Names Not Case-sensitive?

Oct 25, 2010

Every unix system that I've worked with has had case-sensitive file names. In other words, file name "foo" is different than "Foo" is different than "FOO" and so on. In the MAC OS X shell,

if I have a file name FOO, and I type "more foo", then the contents of FOO are displayed, instead of an error message saying "foo not found". It also means that I can't really create files "foo" and "FOO".

Is this something that Apple has implemented on top of unix? Is it possible to get around this, so that the names do indeed become case-sensitive? It doesn't seem like an inherent unix thing, because if I type "f <tab>", and the only file in the directory.

View 17 Replies View Related

OS X Mavericks :: Get Messages To Show Contact Names Instead Of Phone Numbers In Notifications?

Jun 22, 2014

Originally, notifications from Messages.app would show the contact name sending the message. I'm not sure what caused it to stop, but now all notifications show up as the phone number of the contact. In the actual app, the names look fine. Is there some way to get contact names to show up again?

View 4 Replies View Related

MacBook :: How Hard Is It To Change The Top Case And Bottom Case On One Of The Older Macbooks??

Oct 26, 2009

I was wanting to know how hard it is to change top and bottom case and keyboard area? I would like to know that if anything was to happen to my soon to have macbook I could change it. Also this on the older macbooks. And if I have Apple to change it how much would it cost? And yes I know that they should replace keyboard case area for free because of the defunct cracking issue.

View 3 Replies View Related

OS X Technologies :: How To Get AppleScript To Repeat Every 10 Seconds

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

IMac (Intel) :: Deleting Duplicate Names And Addresses From Skype Contact List?

Aug 31, 2014

When I try to delete duplicate names and addresses from my Skype contact list I get the message that this has to be done by deleting these names from my Mac contact list.  How is this done?

Info:
iMac, OS X Mavericks (10.9.4)

View 1 Replies View Related

OS X Technologies :: How To Make AppleScript Mouse Clicker

Feb 3, 2012

I need an applescript that can click on certain points over and over again.

Info:
MacBook Pro

View 7 Replies View Related

OS X Technologies :: How To Exit Quickmask Mode In Applescript

Mar 14, 2012

This works except for the exit quick mask mode.Anyone else been able to do it? tell application "Adobe Photoshop CS5.1" activatetell front documentif (quick mask mode) then exit quick mask mode.end tellend tell

View 2 Replies View Related

OS X Technologies :: Create Folders And Sort Applescript?

Mar 15, 2012

I am using a script that Jacques Rioux kindly helped me out with a couple days ago. I altered his script a little to complete a different task I needed to create a shortcut for. The script below first creates two folders (TIFF & JPEG) and then it sorts files with an extension .tif into the 'TIFF' folder and files with the extension .jpg into the folder named 'JPEG'. This works great but I would like the script to effect multiple folders. Can anyone help me add to the script so when you click it, a prompt will pop up allowing you to choose multiple folders to apply the script too? As of now it will only work on one folder at a time.

Info:
MacBook
Pro, Mac OS X (10.6.8)

View 2 Replies View Related

OS X Technologies :: AppleScript To Press Escape Key (3x) For Excel

Mar 20, 2012

I'm trying to automatically convert Excel files to PDFs using Automator. Although, every time the Excel file is opened, I get a message about links to other workbooks. I really don't care about these links and just want to convert the file to a PDF. I just can't get Automator to press the "Ignore links" button on the Excel message.Now I've found out that pressing the escape key on my keyboard activates the following buttons on the Excel message about the links:

- "Update links" (then there's a Finder window popping up)

- "Cancel" (the search for other workbooks) (another Finder window pops up)

- "Cancel" again

Then Excel opens up the file I need to convert, so I can actually convert it using Automator and do whatever I want with it.I have absolutely no experience using AppleScript.Is there a way to make a AppleScript that presses the escape key three times, so that Excel just opens my file?

Info:
Mac OSX Lion Server, Mac OS X (10.7.3)

View 4 Replies View Related

OS X Technologies :: Using AppleScript To Navigate Playlist On Timer?

Mar 25, 2012

I'm trying to play a new track on a playlist every 30 seconds.  Thought I'd play around with AppleScript. Here's what I've got: on run {input, parameters}  (* Your script goes here *) tell application "iTunes" play track 1 of playlist "Night"   end tell  repeat 10 times delay 30 tell application "iTunes" next track end tell end repeat return inputend run This sort of works, but not until the 4th track on the playlist.  It seems to play the first three for a few seconds, but passes over them very quickly (not 30 seconds).

View 5 Replies View Related

OS X Technologies :: Refreshing Chart Data Using Applescript?

Mar 26, 2012

I am currently getting to grips with applescript. I have created some documents using pages 09 and pull in a couple of charts onto these doc's using Numbers 09. I am trying to find the applescipt command that tells Page 09 to Refresh or Sync the data from Numbers 09. you can do it manually by cliekc ing the Sync/Refrresh arrow thingies but i cant find a way to automoate it

Info:
Applescript, Mac OS X (10.7.3)

View 1 Replies View Related

OS X Technologies :: AppleScript To Delete WAV Files Over X Days Old

Mar 29, 2012

This is probably very easy but I just can't get my attempts at applescript to work. I normally use Windows but the Apple server hosts our phone system and I've been told I have to delete all old voicemails for data protection reasons.I would like to delete all WAV files in a folder tree over 90 days old and have this script run once a week.The folder is on a disk called Vision Array, and the folder path is Vision, Voice, Voicemails with subfolders 2010, 2011, 2012, each with folders within them.

The folder seems to have some sort of security on it that only allows the Vision user to modify it. I know the Vision password. I've tried do shell scripts find -type f -exec rm etc but get syntax errors.I've tried delete every file whose modification date is less than etc but get errors saying the modification date couldn't be turned into Unicode. I also couldn't get this to recurse folders.

Info:
Xserve

View 7 Replies View Related

OS X Technologies :: How To Access An Application That Bundle With AppleScript

Apr 19, 2012

I'm creating an AppleScript application bundle that relies on a separate application. I want to add this application to my bundle and then call it via "tell application xyz ... end tell" 

So far I have been unable to make AppleScript see this application, except when I gave it the absolute path of where it is located. Obviously, as soon as my application bundle is moved to a different directory this will not work anymore so is not a solution. Tinkering with "path to me" and thus creating the current path to the bundled application also does not work, when saving the script, ScriptEditor tries to find the application and see if the commands I want to tell it exist btu fails and consequently does not save. 

I tried putting the application into the Contents, Contents:MacOS, and Contents:Resources folders, all without success. 

View 9 Replies View Related

OS X Technologies :: Create ICloud Calendar With Applescript

May 5, 2012

I use the create calendar with name "" and it makes it "On My Mac". Is there any way to make it in iCloud instead?

Info:
Mac Pro, Mac OS X (10.7.3)

View 2 Replies View Related

OS X Technologies :: Move Folder Content Via Applescript?

May 17, 2012

I need to move one or more files inside a folder to another folder.

View 4 Replies View Related

OS X Technologies :: Telnet Router Login With Applescript?

May 23, 2012

I have to realize a user-based firewall with a draytek vigor 2850 router. Therefore every user has to login at the router during startup with a individual telnet parameter sequence. With the Terminal application the following procedure works fine. 

ADCT-iMac:~ Lucky$ telnet 192.168.3.1

[Code]...

View 3 Replies View Related

OS X Technologies :: Applescript To Rename A Text Variable?

May 25, 2012

I am currently using automator to make folders named after the large numbers of images. I have everything set up and its working great but I am trying to make it more efficient. 

The images follow a filename structure such as: 

bmz12345_black_1.jpg
bmz83762_blue_3.jpg
bmz83762_blue_1.jpg
bmz09990_yellow_5.jpg 

I strip the filename to just the first part of the code eg "bmz12345" and make the folder from that. 

However, In order to do this I have to create a dummy text file or folder somewhere named after the fulle code (bmz12345_black_1) and then strip it down (bmz12345) set a varible of the new filename and then create the folder in the desired location with the right name. 

After getting the name of a finder item, Is it possible to change the text that is passed to it without creating a file out of it first?

Info:
Automator, Mac OS X (10.6.8)

View 2 Replies View Related

OS X Technologies :: AppleScript To Search And Replace In Notes

Jun 2, 2012

How to achieve that. I have hundreds of notes and decided to change my tagging system.

View 8 Replies View Related

OS X Technologies :: Applescript For Sorting Faces In Iphoto?

Jun 12, 2012

I would really like for the Faces pane in iPhoto to sort the faces based on how many photos there are of that person, i.e., the person with the most photos would be first in the list, the person with the second most photos would be second, and so on. I feel sure that it is possible to write an applescript that would do this, but I have almost no experience with applescript. I have 688 faces, so sorting alphabetically mixes my loved ones in with people that have very few photos, while sorting manually is tedious and needs constant updating. 

1. Is it possible to do make iPhoto sort in the way I want, either with an applescript or by some other method? and 2. if it is possible, how do I find someone who can write the script for me? 

View 1 Replies View Related

OS X Technologies :: Running An Applescript Without Username Or Password?

Jun 18, 2012

I am trying to write a generic script that will mount a disk upon log in of a user So far I have this: (which works for a specific user:) 

try
mount volume "smb://MyUserName:MyPassWords@ServerIAmPointingTo"
end try  

I have pointed the script to my log in prefernces so it runs automatically when I log in. Is there a way to do this with a generic username/password? If I wanted to give this script to 100 of my co-workers, they would all have to modify the code to their credeintals. But is there any defaut usernames or passwords that AppleScript will take?  Maybe something like: mount volume "smb://default:default@ServerIAmPointingTo" ...? My goal for this script is to have it run on peoples desktops at work to point to the same server, since I work in IT. But, I don't want to modify each script for each unique person. 

View 1 Replies View Related

OS X Technologies :: AppleScript - Count Only Visible Folders

Jun 21, 2012

How can one count only visible folders (one level down only) in the Finder? 

The following script works fine except that it appears to count some invisible folders eg: when the selection is the startup disk the count is 6 although the actual number of visible folders is only 4. tell application "Finder"          set vSelection to selection as alias  count every folder of folder vSelectionend tell 

I have tried various ideas such as "whose visible is true" but to no avail. 

Assuming it is possible to perform a successful visible folder count, how could one then move between these visible folders in the Finder prior to performing a command (eg: open)? 

View 2 Replies View Related

OS X Technologies :: AppleScript That Will Quit Application Upon Sleep

Jul 6, 2012

I have never worked with applescript before, so I am completely lost. I have a program that does not like to be open when the computer goes to sleep. I usually remember to close the app, but sometimes I forget and get myself in trouble. If I do forget, very bad things can happen to the database of the program, so it is imperative that it is closed.

I am hoping there is an applescript that will quit the application if I put my laptop to sleep, usually by closing the lid. I don't want to trigger the sleep with the applescript, just something that will see that the computer is going to sleep and quit the application before it happens.Is this possible, and if so, how do I go about doing it?

Info:
MacBook Pro (15-inch Mid 2009), Mac OS X (10.7.4)

View 1 Replies View Related

OS X Technologies :: Fire An Applescript Event On Close Of A Window?

Jan 31, 2012

I'm currently writing a GUI applescript program, and I wondering if there was a way to intercept the red "X" button being clicked. I would like to execute my own code before the window closes. If that's not possible, is there a way to make the application quit when the window is closed, like in System Preferences.app?

View 1 Replies View Related

OS X Technologies :: Using AppleScript To Rename Files By Folder Hierarchy

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







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