Help cleaning up a script to search in Finder with Spotlight?

I don't know much AppleScript at all, but managed to cobble together a script (invoked with Alfred) that opens a Finder window, sets the size, view options etc. and searches for Photoshop documents with the term passed from Alfred.
As it's cobbled together I'm guessing there are much cleaner, efficient, and more elegant ways of doing this. Any help cleaning it up would be greatly appreciated. Here's the script:
-- set q to "wobbly jelly" -- Test search
on alfred_script(q)
          set theSearch to q
          tell application "Finder"
  activate
  open computer container
  -- Set the folder view
                    tell Finder window 1
                              set the bounds to {630, 150, (630 + 1300), (150 + 1100)}
                              set toolbar visible to true
                              set the sidebar width to 180
                    end tell
          end tell
          tell application "System Events"
  -- Focus to the search field
  keystroke "f" using {command down, option down}
                    delay 0.4
  -- Type the search   
                    keystroke "kind:photoshop " & theSearch
          end tell
  -- Arrange by…
          menu_click({"Finder", "View", "Arrange By", "Date Modified"})
  -- Set to Icon View
          tell application "Finder"
                    set current view of Finder window 1 to icon view
                    tell icon view options of Finder window 1
                              set icon size to 128
                              set shows icon preview to true
                              set shows item info to true
                    end tell
          end tell
end alfred_script
-- `menu_click`, by Jacob Rus, September 2006
-- Accepts a list of form: `{"Finder", "View", "Arrange By", "Date"}`
-- Execute the specified menu item. In this case, assuming the Finder
-- is the active application, arranging the frontmost folder by date.
on menu_click(mList)
          local appName, topMenu, r
  -- Validate our input
          if mList's length < 3 then error "Menu list is not long enough"
  -- Set these variables for clarity and brevity later on
          set {appName, topMenu} to (items 1 through 2 of mList)
          set r to (items 3 through (mList's length) of mList)
  -- This overly-long line calls the menu_recurse function with
  -- two arguments: r, and a reference to the top-level menu
          tell application "System Events" to my menu_click_recurse(r, ((process appName)'s ¬
                    (menu bar 1)'s (menu bar item topMenu)'s (menu topMenu)))
end menu_click
on menu_click_recurse(mList, parentObject)
          local f, r
  -- `f` = first item, `r` = rest of items
          set f to item 1 of mList
          if mList's length > 1 then set r to (items 2 through (mList's length) of mList)
  -- either actually click the menu item, or recurse again
          tell application "System Events"
                    if mList's length is 1 then
  click parentObject's menu item f
                    else
                              my menu_click_recurse(r, (parentObject's (menu item f)'s (menu f)))
                    end if
          end tell
end menu_click_recurse

Mainly just grouping the separate cobbles together, although there is a shortcut that gets rid of all that System Events stuff for the find parameter.  Note that in Mavericks the icon view won't immediately update - changes will be applied when the window target changes.
on alfred_script(theSearch)
  tell application "Finder"
    «event aevtspot» "kind:photoshop " & theSearch -- shhh - don't tell anyone...
    tell Finder window 1 -- Set the folder view
      set the bounds to {630, 150, (630 + 1300), (150 + 1100)}
      set toolbar visible to true
      set the sidebar width to 180
      set current view to icon view -- set the icon view
      tell its icon view options -- view options may not immediately update in Mavericks
        set icon size to 128
        set shows icon preview to true
        set shows item info to true
      end tell
    end tell
  end tell
  menu_click({"Finder", "View", "Arrange By", "Date Modified"}) -- Arrange by...
end alfred_script

Similar Messages

  • Searching work servers with Spotlight

    Having issues with Spotlight, it seems to be working fine locally but cannot retrieve the files and folders required from any servers that we have in our office, which is frustrating when looking for older files on our Archive etc...
    Is there a preference that I need to click on to allow this?
    Any help would be appreciated,
    Thanks.
    G5 Apple Mac   Mac OS X (10.4.8)  

    First of all, Tiger's Spotlight technology is not intended for Window servers. (See below)
    Spotlight Support for Network Homes
    "Perform a Spotlight search on network-based Home directories in addition to searching local hard drives."
    Leopard will expand to search on servers running Mac OS X Leopard Server. http://www.apple.com/macosx/leopard/spotlight.html
    "The Spotlight store retains information that the plug-ins extract in two separate indexes: one for metadata and the other for content. This provides important performance benefits, because Spotlight doesn’t waste time looking through its massive content index unless specifically requested. Each index is created on a per-volume basis, which means each disk or partition carries its own set of indexes for the information on that volume.
    Spotlight works with most locally mounted volumes that can be read and written to, including FireWire and USB/ flash drives. Some volumes, such as Windows-formatted drives, are not indexed automatically. You can change this easily by opening the Info window for the volume in the Finder." http://images.apple.com/macosx/pdf/MacOSXSpotlightTB.pdf
    For sure if you are searching network drives, use Command-f and make sure that the drive (volume) you are searching in is shared (connected) and selected. Keep in mind that the volume you are searching in may not be indexible, e.g., CDs, but can be searched using the (old) Find command.

  • Searching photo keywords with spotlight

    Hi - I have been adding keywords to my photos - through Photoshop. Spotlight does search these keywords. The problem is, I also add "Author" data to the photos and I want to be able to search just by keyword - is there any way to narrow the search, or is there a third-party application that will do this. I can search within Photoshop's File Browse, but I am not crazy about the interface.
    Thanks

    Assuming you're using the ⌘F interface in Finder - you can select Keywords as a specific criteria option - click on Kind or Last Modified to change. If you give it a few seconds, it generates a list of all the keywords in the index allowing you to pick them from the drop down menu.
    Entering the term in the standard search oval, or on the menubar Spotlight offers some ability to narrow the search but its limited.

  • Search Inside Catalogs With Spotlight on Mac

    My wife is a pro-photographer and a Lightroom user; I'm tech support. We like to use small catalogs because they are easier to manage. The problem that arises is files become lost amongst the many catalogs with no way to search across catalogs for a given photo. To remedy the situation, I wrote a Spotlight importer that allows the Mac to index filenames inside LR catalogs. Here is a quick screenshot of me searching for the filename "HPDE" and Spotlight locating the catalog referencing this filename.
    I packaged up the Importer for install. You can read the technical details in my blog post or jump right to the download package. If you have any questions, feel free to follow up here, however I'd prefer that you add a comment to the blog post. Thanks!

    How to download
    Flour milling

  • Searching your music with ios7?

    Just installed ios7 and it's great cos now all my music is on my ipad but I can't find the search bar anywhere? Can anyone help me work out how to search my music with ios7? Cheers!

    The only way that I can see to do it is to tap on the Playlist Tab at the bottom and there will by a search field at the top of the screen.
    EDIT - If you pull down under the heading like Albums, Songs, etc...the search field appears. I get it now.

  • Script to search all files in specified folder for multiple string text values listed in a source file and output each match to one single results txt file

    I have been searching high and low for this one.  I have a vbscript that can successfully perform the function if one file is listed.  It does a Wscript.echo on the results and if I run this via command using cscript, I can output to a text file
    that way.  However, I cannot seem to get it to work properly if I want it to search ALL the files in the folder.  At one point, I was able to have it create the output file and appear as if it worked, but it never showed any results when the script
    was executed and folder was scanned.  So I am going back to the drawing board and starting from the beginning.
    I also have a txt file that contains the list of string text entries I would like it to search for.  Just for testing, I placed 4 lines of sample text and one single matching text in various target files and nothing comes back.  The current script
    I use for each file has been executed with a few hundred string text lines I want it to search against to well over one thousand.  It might take awhile, but it works every time. The purpose is to let this run against various log files in a folder and
    let it search.  There is no deleting, moving, changing of either the target folder/files to run against, nor of the file that contains the strings to search for.  It is a search (read) only function, going thru the entire contents of the folder and
    when done, performs the loop function and onto the next file to repeat the process until all files are searched.  When completed, instead of running a cscript to execute the script and outputting the results to text, I am trying to create that as part
    of the overall script.  Saving yet another step for me to do.
    My current script is set to append to the same results file and will echo [name of file I am searching]:  No errors found.  Otherwise, the
    output shows the filename and the string text that matched.  Because the results append to it, I can only run the script against each file separately or create individual output names.  I would rather not do that if I could include it all in one.
     This would also free me from babysitting it and running each file script separately upon the other's completion.  I can continue with my job and come back later and view the completed report all in one.  So
    if I could perform this on an entire folder, then I would want the entries to include the filename, the line number that the match occurred on in that file and the string text that was matched (each occurrence).  I don't want the entire line to be listed
    where the error was, just the match itself.
    Example:  (In the event this doesn't display correctly below, each match, it's corresponding filename and line number all go together on the same line.  It somehow posted the example jumbled when I listed it) 
    File1.txt Line 54 
    Job terminated unexpectedly
     File1.txt Line 58 Process not completed
    File1.txt
    Line 101 User input not provided
    File1.txt
    Line 105  Process not completed
    File2.txt
    No errors found
    File3.txt
    Line 35 No tape media found
    File3.txt
    Line 156 Bad surface media
    File3.txt Line 188
    Process terminated
    Those are just random fake examples for this post.
    This allows me to perform analysis on a set of files for various projects I am doing.  Later on, when the entire search is completed, I can go back to the results file and look and see what files had items I wish to follow up on.  Therefore, the
    line number that each match was found on will allow me to see the big picture of what was going on when the entry was logged.
    I actually import the results file into a spreadsheet, where further information is stored regarding each individual text string I am using.  Very useful.
    If you know how I can successfully achieve this in one script, please share.  I have seen plenty of posts out there where people have requested all different aspects of it, but I have yet to see it all put together in one and work successfully.
    Thanks for helping.

    I'm sorry.  I was so consumed in locating the issue that I completely overlooked posting what exactly I was needing  help with.   I did have one created, but I came across one that seemed more organized than what I originally created.  Later
    on I would learn that I had an error in log location on my original script and therefore thought it wasn't working properly.  Now that I am thinking that I am pretty close to achieving what I want with this one, I am just going to stick with it.
    However, I could still use help on it.  I am not sure what I did not set correctly or perhaps overlooking as a typing error that my very last line of this throws an "Expected Statement" error.  If I end with End, then it still gives same
    results.
    So to give credit where I located this:
    http://vbscriptwmi.uw.hu/ch12lev1sec7.html
    I then adjusted it for what I was doing.
    What this does does is it searches thru log files in a directory you specify when prompted.  It looks for words that are contained in another file; objFile2, and outputs the results of all matching words in each of those log files to another file:  errors.log
    Once all files are scanned to the end, the objects are closed and then a message is echoed letting you know (whether there errors found or not), so you know the script has been completed.
    What I had hoped to achieve was an output to the errors.log (when matches were found) the file name, the line number that match was located on in that file and what was the actual string text (not the whole line) that matched.  That way, I can go directly
    to each instance for particular events if further analysis is needed later on.
    So I could use help on what statement should I be closing this with.  What event, events or error did I overlook that I keep getting prompted for that.  Any help would be appreciated.
    Option Explicit
    'Prompt user for the log file they want to search
    Dim varLogPath
    varLogPath = InputBox("Enter the complete path of the logs folder.")
    'Create filesystem object
    Dim oFSO
    Set oFSO = WScript.CreateObject("Scripting.FileSystemObject")
    'Creates the output file that will contain errors found during search
    Dim oTSOut
    Set oTSOut = oFSO.CreateTextFile("c:\Scripts\errors.log")
    'Loop through each file in the folder
    Dim oFile, varFoundNone
    VarFoundNone = True
    For Each oFile In oFSO.GetFolder(varLogPath).Files
        'Verifies files scanned are log files
        If LCase(Right(oFile.Name,3)) = "log" Then
            'Open the log file
            Dim oTS
            oTS = oFSO.OpenTextFile(oFile.Path)
            'Sets the file log that contains error list to look for
            Dim oFile2
            Set oFile2 = oFSO.OpenTextFile("c:\Scripts\livescan\lserrors.txt", ForReading)
            'Begin reading each line of the textstream
            Dim varLine
            Do Until oTS.AtEndOfStream
                varLine = oTS.ReadLine
                Set objRegEx = CreateObject("VBScript.RegExp")
                objRegEx.Global = True  
                Dim colMatches, strName, strText
                Do Until oErrors.AtEndOfStream
                    strName = oFile2.ReadLine
                    objRegEx.Pattern = ".{0,}" & strName & ".{0,}\n"
                    Set colMatches = objRegEx.Execute(varLine)  
                    If colMatches.Count > 0 Then
                        For Each strMatch in colMatches 
                            strText = strText & strMatch.Value
                            WScript.Echo "Errors found."
                            oTSOut.WriteLine oFile.Name, varLine.Line, varLine
                            VarFoundNone = False
                        Next
                    End If
                Loop
                oTS.Close
                oFile2.Close
                oTSOut.Close
                Exit Do
                If VarFoundNone = True Then
                    WScript.Echo "No errors found."
                Else
                    WScript.Echo "Errors found.  Check logfile for more info."
                End If
        End if

  • Searching for scripts with Spotlight

    I decided to ask this question on this forum because AppleScripters are the most likely to search for scripts with Spotlight.
    *First, here’s what seems to be the normal behavior of Spotlight:*
    If I open the folder “/Users/pierre/Documents/Loisirs/Informatique/Utilisation avancée/AppleScript”, type ⌘F and enter “Kind is Other” and “script” as the search criterion, I get 89 items in the +Searching “AppleScript”+ window.
    On the other hand, if I replace the previous criterion with “File extension is scpt”, I get 88 items in the +Searching “AppleScript”+ window, which is normal since one of my scripts is a script bundle, whose extension is “scptd”.
    Next, if I open my home folder, type ⌘F again and enter “Kind is Other” and “script” as the search criterion, I get 110 items in the +Searching “pierre”+ window, which again is normal since many of my scripts are outside of my “AppleScript” folder.
    *Now, here’s what looks like a bug:*
    If I replace the previous criterion with “File extension is scpt” in my home folder, I get only 3 items (instead of 109) in the +Searching “pierre”+ window, which obviously is nonsense.
    I have rebuilt permissions and reindexed Spotlight, without any difference.
    Any explanation?

    Hi Pierre
    Not a explanation, but a possible solution, try some of these ideas:::
    1) Restart Mac
    2) Rebuild the spot light index manually (I no you said you have done this, this is just a path to follow):
    a) launch terminal
    b) type this sudo mdutil -E /
    c) type in your admin password when prompted
    d) rebuilding index should commence (could take a while)
    3) clear the spot light caches and prefs:
    a) download "Yasu" from here and install
    http://jimmitchelldesign.com/yasu/
    b) enable "Reset System Prefs", "Clear System font Cache", "Clear local font cache", "Clear user font cache"
    click ok
    c) Restart Mac
    4) Kill the SystemUIServer:
    a) launch activity monitor, find process "SystemUIServer" highlight then click button quit process
    hope this helps
    Budgie

  • HELP! How to remove Yahoo search from firefox 36.0.1? HELP!

    I guess I made a big mistake upgrading to FireFox 36.0.1! Nothing but grief since trying to remove the Yahoo search from this version.
    Didn't appreciate this version removing my default Home page tabs to use on startup. Looks like they are gone forever - not happy!
    I have tried many if not all forms of advice to remove this yahoo search from my home page to no avail. I even uninstalled it and made sure I got a non Yahoo version from the Mozilla site. Still no help.
    1) I have tried changing keyword.URL via about:config - no help
    2) I have tried changing the Search - Change Search Settings - no help
    3) I tried bringing up a single tab with Google and using General options to Use Current Page - no help
    4) I tried the same using many other tabs without Google - no help
    5) I have removed Yahoo and others from the Search options - no help
    6) Uninstalled and reinstalled a "CLEAN" version from Mozilla site - no help
    7) Retried 1 thru 5 above again - no help
    8) Checked the Shortcut Target in Mozilla FireFox Properties - no help
    Get the idea? No matter what, Yahoo comes back every time I open FireFox. Which means I cannot use a set of tabs as my default any more. WHY????
    Looks like it may be time to severe my long time use of this browser since the beginning with NetScape in the earliest of days with PC's. Too Bad.

    This worked. The problem is the user.js file was changed. See below:
    User.js file overriding preferences
    If you don't have any of the above programs installed, or if you followed the suggestions and single preferences still aren't being saved, you may have to edit Firefox's configuration files yourself. Don't panic, it's pretty easy. Here's how to do it.
    Open your profile folder:
    Click the menu button New Fx Menu , click help Help-29 and select Troubleshooting Information. The Troubleshooting Information tab will open.
    Under the Application Basics section, click on Show Folder. A window with your profile files will open.
    Note: If you are unable to open or use Firefox, follow the instructions in Finding your profile without opening Firefox.
    Click the menu button New Fx Menu and then click Exit Close 29
    Open the file user.js with a text editor (like Notepad).
    If there is no user.js file, these steps won't help you.
    Remove the lines for the options you want to be able to change. You can delete all the lines if you want to be able to change everything.
    Save the file and close the text editor.
    You should now be able to change your Firefox settings.

  • Script to search PDFs and print report as to contents

    I would like to create a script to help me with the following task, I have minimal experience, but am willing to invest some time on making this work, I just need some help getting started.
    I have several thousand PDF files that are not text-searchable right now. I want to use Acrobat Pro 9 to batch process the files through its OCR utility. I would then like to use a script to search for certain keywords (names and dates) and generate a report that lists where those keywords appear.
    Is this possible?
    Thanks in advance,
    Andy

    this piece of script will help you get there:
    [code]
    set search_for to "part" ---search for this name
    set search_here to POSIX path of (path to desktop folder) as string ---- too much to handle
    set search_here to "/Users/timmason/Desktop/spotlight scripts/csacsacs/alta__001 copy 2.pdf" ------file to search -not working
    set search_here to "/Users/timmason/Desktop/spotlight scripts/csacsacs/" ------folder to search
    display dialog searcher(search_for, search_here) ---returns location of doc
    on searcher(search_for, search_here)
    set the_script to {"mdfind -onlyin '", search_here, "' '", search_for, "'"} as string --converted for vars
    set the_text to (do shell script the_script)
    set num_records to count of paragraphs in the_text
    set x to 0
    set all_recs to ""
    repeat num_records times
    set x to x + 1
    set all_recs to all_recs & return & return & paragraph x of the_text
    end repeat
    return all_recs
    end searcher

  • Scripting for search/replace

    I created 6 Search/Replace items to help with changing the format of a document.  I would like to get a script that will run them in order.  Can anyone help me to do this or point me in the right direction? I'd really appreciate it. Thanks!!

    Here is my way of performing a series of find/change operations:
    First I create an array, each element of which contains a find/change pair. Then I process it in a function:
    // for text
    var myTxtReplace = [
    function replaceTxt() {
        app.findTextPreferences = NothingEnum.nothing;
        app.changeTextPreferences = NothingEnum.nothing;
        app.findChangeTextOptions.wholeWord = false;
        app.findChangeTextOptions.caseSensitive = true;
        app.findChangeTextOptions.includeMasterPages = false;
        for (i = 0; i <  myTxtReplace.length; i++) {
            var myCurArray = myTxtReplace[i];
            app.findTextPreferences.findWhat = myCurArray[0];
            app.changeTextPreferences.changeTo = myCurArray[1];
            myTextFrame.parentStory.changeText();
        app.findTextPreferences = NothingEnum.nothing;
        app.changeTextPreferences = NothingEnum.nothing;
    // for GREP
    myGrpReplace =[
                   ["[~m~>~f~|~S~s~<~/~.~3~4~% ]{2,}", " "], // Multiple Space to Single Space
                   ["--", "~_"], // Dash Dash to Em-dash
                   ["~b~b+", "\\r"] // Multiple Return to Single Return
    function replaceGrep() {
        app.findGrepPreferences = NothingEnum.nothing;
        app.changeGrepPreferences = NothingEnum.nothing;
        for (i = 0; i <  myGrpReplace.length; i++) {
            var myCurArray = myGrpReplace[i];
            app.findGrepPreferences.findWhat = myCurArray[0];
            app.changeGrepPreferences.changeTo = myCurArray[1];
            myTextFrame.parentStory.changeGrep();
        app.findGrepPreferences = NothingEnum.nothing;
        app.changeGrepPreferences = NothingEnum.nothing;
    Another option is to use FindChangeByList.jsx script – it’s pre-installed with incopy.                   

  • Script to search and relink linked image files that were moved?

    Good afternoon
    My indesign product catalog has links with a lot of different folders around in my hard disk, not a single folder. And to keep my catalog up to date I must package it.
    When I move my linked files in my computer because I change the folder structure or do some cleaning, my indd loses track of its linked files. Currently I need to relink one by one.
    Therefore I would like to find a script which would scan the hard disk with the all broken links in mind to detect their new location and relink. Yes I am a lazy person.
    Thanks for any clue,

    Thanks so much! I will try soonest.
    How does your script react in the unlikely case of duplicates?
    Date: Thu, 18 Jun 2009 12:43:47 -0600
    From: [email protected]
    To: [email protected]
    Subject: Script to search and relink linked image files that were moved?
    At least your honest about your laziness.... Here's your reward:
    Just a hint, don't select root of your volume, it will loop through every folder in existence, but key to this script is, if you know the general location, select into that folder hierarchy and the script will test for a relative path, otherwise, come back in a few days, and it will be finished.
    ~mike
    var processed = 0
    var skipped = 0
    var updated = 0
    if (app.documents.length > 0){
        if(app.activeDocument.links.length > 0){
            var mydoc = app.activeDocument;
            var mylinks = mydoc.links;
            var myRoot = Folder.selectDialog("Choose the volume or server where assets are located", undefined, false);
            main();
    else
    { alert("No Links present")
    else{alert("No Documents Open")
    function main(){
        if(myRoot != null){
            for(var i = 0; i < mylinks.length ; i++){
                if(mylinks.item(i).status == LinkStatus.linkMissing){
                        var linkdata= mylinks.item(i).filePath;
                        var my_result = linkRepair(linkdata);
                            if (my_result == false){
                                var filetype = "." + mylinks.item(i).linkType;
                                var mysearch =   search(linkdata, filetype);
                                    if(mysearch != undefined){
    var myswitch = confirm(mylinks.item(i).name + " has been found in a different location, Relink and Update?", "Relinker")
                                            if(myswitch){
                                                mylinks.item(i).relink(File(mysearch));
                                                mylinks.item(i).update();
                                else{
                                    alert("" + mylinks.item(i).name " was not found\nFolders processed: "processed + "\nFiles skipped: "+ skipped)
                            else{ alert( my_result + " has been found");
                                mylinks.item(i).relink(File(my_result));
    function linkRepair(linkdata){
    var mypath = linkdata.split(":")
            my_status = analyzePath(mypath)
            if(my_status == true){alert("UPDATED");
                    updated++       
        return my_status
    function analyzePath(mypath){
    var num = mypath.length ;
    for(var i = 0; i < num-1; i++){
        mypath.shift()
        var newpath = pathRebuild(mypath)
        newpath = (myRoot + newpath)
            if(File(newpath).exists){
                return newpath
        return false
    function pathRebuild(pathArray){
    var solidPath = ""
        for(var i = 0; i < pathArray.length ; i++){
            solidPath +=  "/" + pathArray+ ;
        return solidPath;
    function search(linkdata, filetype){
        var mypath = linkdata.split(":")
        var mylink = mypath.pop();
        var OK = confirm("Relative Path does not exist, search folder hiearchy for file?", true, "File Scanner")
        if(OK){
    var myscanresult = getfiles(mylink, myRoot)
    return myscanresult
    function getfiles(mylink, myBase){
    myBase = Folder(myBase);
    var files = myBase.getFiles("*")
    for(var i = 0; i < files.length; i++){
    try{
    var foldertest = files+.getFiles();
    processed++
    var myfile =     File(files+ + "/" + mylink)
        if(myfile.exists == true){
            return myfile
            break;
        else{
        var myscan = getfiles(mylink, Folder(files+))    
            if(myscan != undefined){
            return myscan
            break;
    catch(myerror){
        skipped++
    >

  • Attachments dont download from Gmail in Safari, They disappear,I even tried re-downloading Safari and that download disappeared, it is not in my downloads folder, I actually searched in finder for the file and it is nowhere on my computer.  Please help!

    Attachments dont download from Gmail in Safari, They disappear,I even tried re-downloading Safari and that download disappeared, it is not in my downloads folder, I actually searched in finder for the file and it is nowhere on my computer.  Please help!

    Oh my gosh I had the EXACT same problem, and for ages I couldn't figure out how to fix it until today. Here's what I did:
    First I went onto my computer, opened itunes, and un-installed tumblr, vine and kik. These were the apps I was having problems with (it said I had them on my phone but, like you, they didn't show).
    Then I went to the itunes store, searched for each one, and it said I could update them so I did (just FYI: for tumblr a window popped up saying "please click ok to confirm you are 17 years or older", so I did that also)
    When I went back to my phone and tried installing them again (still on my computer), it worked!
    I hope this helps, because it was incredibly frustrating. Good luck!

  • Need help. I am running a 27 in imac with 16 gigs of ram. Photoshop runs really fast, except when opening files. It takes 5-10 minutes to open even a small file of 1 meg. I cleaned and validated all the fonts and removed all questionable fonts. Reset pref

    Need help. I am running a 27 in imac with 16 gigs of ram. Photoshop runs really fast, except when opening files. It takes 5-10 minutes to open even a small file of 1 meg. I cleaned and validated all the fonts and removed all questionable fonts. Reset preferences and still have problem. Slow to open and in force quit "Photoshop not responding" At this point should I uninstall and start over.

    What are the performance Preferences?

  • Can anyone help me write a script that would click "get info" and then "enter" on each movie in my itunes library? I am asking because my itunes 11 repeatedly loses the artwork to my movies in my itunes library.

    Can anyone help me write a script that would click "get info" and then "enter" on each movie in my itunes library? I am asking because my itunes 11 repeatedly loses the artwork to my movies in my itunes library. I can restore the artwork (and make my apple tv see the movie exists as well) by going into the movie library and clicking on each movie by hand, slecting get info, and then selecting enter. Now doing this 10 times in 20 days was fun and all BUT I would really like to automate the process so everytime itunes screws it up I can fix it easier.
    I saw this example of an itunes script that restores artwork for music
    tell application "iTunes" set theSelection to selection repeat with i from 1 to count of theSelection tell (item i of theSelection) set artworkCount to count of artwork repeat artworkCount times set theArtwork to data of artwork 1 delete artwork 1 set data of artwork artworkCount to theArtwork end repeat end tell end repeat end tell
    but I need to tweak this to fit my needs for simply clicking the "get info" button and "enter" in the movie library rather than all the stuff this guy has listed. Any ideas or help on writing this? Thanks.

    Try assigning Queen as the Album Artist on the compilations in iTunes on your computer.

  • Please Help me simplify this Script

    Hi
    I did a magnyfying menu based on this Tutorial:
    http://www.flashkit.com/tutorials/Interactivity/Navigation/Mac_OS_X-Aaron_Ha-722/index.php
    The problem : is that I have 20 Menu Items. Each time I want
    to modify something, there are too much things to modify.
    The answer I'm lloking for: I guess there is a much more
    intelligent and short way of doing this using just a few script
    lines and a few xml or txt files:
    1-Creates Movie Clip with button inside
    2-Get the list of items to create in this txt file (lets say
    "list_of_movies_containing_a_button.txt")
    3-Put the butons separated by 40px on Y and X=0
    4-Name each button instance with this other txt file
    5-Put inside each bouton the text on this third file.
    text_appearing_in_each_button.txt
    6-For all buttons, use this colour on Over and this other
    color on mouse up style.css (?)
    7-Each button links to the url defined in Links.txt file.
    8-All buttons behave in such manner....
    Do you understand what I mean?
    Can you please help me? Thanks a lot
    Here's the 17th century script I'm using now (with only 10
    items in this example)
    onClipEvent (load) {
    function checkOffset (coffset) {
    if (coffset<-120) {
    coffset = -120;
    } else if (coffset>120) {
    coffset = 120;
    return coffset;
    function setScale (soffset) {
    return 100*(2-(1*(Math.abs(soffset)/120)));
    onClipEvent (mouseMove) {
    // Get cursor x and y coordinates
    y = getProperty("_root.drag", _y);
    x = getProperty("_root.drag", _x);
    // Find cursor offset for each icon based on icon's starting
    location
    HomeOffset = y-200;
    NewsEventsOffset = y-240;
    ScheduleOffset = y-280;
    ManualOffset = y-320;
    DirectionsOffset = y-360;
    LessonOffset = y-400;
    ContactUsOffset = y-440;
    MP3CollectionOffset = y-460;
    BookmarkOffset = y-500;
    LinksOffset = y-540;
    // If cursor is inside menu
    if (x>=0 and x<=100 and y>=100 and y<=700) {
    // Make sure the offsets are within acceptable limits
    HomeOffset = checkOffset(HomeOffset);
    NewsEventsOffset = checkOffset(NewsEventsOffset);
    ScheduleOffset = checkOffset(ScheduleOffset);
    ManualOffset = checkOffset(ManualOffset);
    DirectionsOffset = checkOffset(DirectionsOffset);
    LessonOffset = checkOffset(LessonOffset);
    ContactUsOffset = checkOffset(ContactUsOffset);
    MP3CollectionOffset = checkOffset(MP3CollectionOffset);
    BookmarkOffset = checkOffset(BookmarkOffset);
    LinksOffset = checkOffset(LinksOffset);
    // Move the Home Icon
    // setProperty ("_root.Home", _y, 200-HomeOffset);
    setProperty ("_root.Home", _xscale, setScale(HomeOffset));
    setProperty ("_root.Home", _yscale, setScale(HomeOffset));
    // Move the News and Events Icon
    // setProperty ("_root.NewsEvents", _y,
    230-NewsEventsOffset);
    setProperty ("_root.NewsEvents", _xscale,
    setScale(NewsEventsOffset));
    setProperty ("_root.NewsEvents", _yscale,
    setScale(NewsEventsOffset));
    // Move the Schedule Icon
    //setProperty ("_root.Schedule", _y, 260-ScheduleOffset);
    setProperty ("_root.Schedule", _xscale,
    setScale(ScheduleOffset));
    setProperty ("_root.Schedule", _yscale,
    setScale(ScheduleOffset));
    // Move the Manual Icon
    // setProperty ("_root.Manual", _y, 290-ManualOffset);
    setProperty ("_root.Manual", _xscale,
    setScale(ManualOffset));
    setProperty ("_root.Manual", _yscale,
    setScale(ManualOffset));
    // Move the Directions Icon
    //setProperty ("_root.Directions", _y,
    320-DirectionsOffset);
    setProperty ("_root.Directions", _xscale,
    setScale(DirectionsOffset));
    setProperty ("_root.Directions", _yscale,
    setScale(DirectionsOffset));
    // Move the Lesson Icon
    //setProperty ("_root.Lesson", _y, 350-LessonOffset);
    setProperty ("_root.Lesson", _xscale,
    setScale(LessonOffset));
    setProperty ("_root.Lesson", _yscale,
    setScale(LessonOffset));
    // Move the Contact Us Icon
    // setProperty ("_root.ContactUs", _y, 380-ContactUsOffset);
    setProperty ("_root.ContactUs", _xscale,
    setScale(ContactUsOffset));
    setProperty ("_root.ContactUs", _yscale,
    setScale(ContactUsOffset));
    // Move the MP3 Collection Icon
    // setProperty ("_root.MP3Collection", _y,
    410-MP3CollectionOffset);
    setProperty ("_root.MP3Collection", _xscale,
    setScale(MP3CollectionOffset));
    setProperty ("_root.MP3Collection", _yscale,
    setScale(MP3CollectionOffset));
    // Move the Bookmark Icon
    //setProperty ("_root.Bookmark", _y, 440-BookmarkOffset);
    setProperty ("_root.Bookmark", _xscale,
    setScale(BookmarkOffset));
    setProperty ("_root.Bookmark", _yscale,
    setScale(BookmarkOffset));
    // Move the Links Icon
    //setProperty ("_root.Links", _y, 470-LinksOffset);
    setProperty ("_root.Links", _xscale, setScale(LinksOffset));
    setProperty ("_root.Links", _yscale, setScale(LinksOffset));
    } else {
    //setProperty ("_root.Home", _y, 200);
    setProperty ("_root.Home", _xscale, 100);
    setProperty ("_root.Home", _yscale, 100);
    // setProperty ("_root.NewsEvents", _y, 240);
    setProperty ("_root.NewsEvents", _xscale, 100);
    setProperty ("_root.NewsEvents", _yscale, 100);
    // setProperty ("_root.Schedule", _y, 280);
    setProperty ("_root.Schedule", _xscale, 100);
    setProperty ("_root.Schedule", _yscale, 100);
    //setProperty ("_root.Manual", _y, 290);
    setProperty ("_root.Manual", _xscale, 100);
    setProperty ("_root.Manual", _yscale, 100);
    // setProperty ("_root.Directions", _y, 320);
    setProperty ("_root.Directions", _xscale, 100);
    setProperty ("_root.Directions", _yscale, 100);
    //setProperty ("_root.Lesson", _y, 350);
    setProperty ("_root.Lesson", _xscale, 100);
    setProperty ("_root.Lesson", _yscale, 100);
    // setProperty ("_root.ContactUs", _y, 380);
    setProperty ("_root.ContactUs", _xscale, 100);
    setProperty ("_root.ContactUs", _yscale, 100);
    // setProperty ("_root.MP3Collection", _y, 410);
    setProperty ("_root.MP3Collection", _xscale, 100);
    setProperty ("_root.MP3Collection", _yscale, 100);
    //setProperty ("_root.Bookmark", _y, 440);
    setProperty ("_root.Bookmark", _xscale, 100);
    setProperty ("_root.Bookmark", _yscale, 100);
    //setProperty ("_root.Links", _y, 470);
    setProperty ("_root.Links", _xscale, 100);
    setProperty ("_root.Links", _yscale, 100);

    Thanks a lot! It works fine.

Maybe you are looking for

  • Addig a new row in a table in Ess/cats

    Hello all, I am working on Ess/cats application. By default it is displying me 8 rows.I have to put a button to add a new row in the table. but i could not find a way to add a new row. Thanks and Regards. Punit Pawar

  • Adobe Presenter 9  Scorm 1.2 package does not close..Help!

    Hello.  I am in the process of compiling some 90+ SWIF CBTS into SCORM 1.2 conformant LMS Lessons using Adobe Presenter 9.0 and MS Powerpoint 2010. All works like a charm when compiled in 2 different LMS systems up to the end..  The Lesson Window rem

  • How can I stop Adobe Acrobat plug-in from crashing?

    Whenever I try to download a pdf file, adobe acrobat plugin crashes. I have disabled it. Is it corrupted? Should I install it again, and if so, how?

  • Light scribe software imac late 2012

    hello, I am using an external Lightscribe dvd burner with Disc cover 3 and it works very well on my macbook pro, however when I try to install on the Imac, it give me an error : No lightcribe devideavailable please check the following : - the latest

  • How to Have Reader Users Add a picture

    I want Reader users to be able to add a photo to a pdf in a certain place. I know I'll have to "Enable" the pdf made in Acrobat 9 Pro. (I've already asked in that forum and they sent me here.)