Small change to script and it doesn't work?

This is my working script, and it counts the files of the desktop ready to use elsewhere in a larger script,
It references the desktop.
(do shell script "ls -F ~/Desktop | grep '/' | cut -d'/' -f1"
Now  I need it to reference the folders within a different location so I changed it.
(do shell script "ls -F ~/Pictures/CompletedFolders | grep '/' | cut -d'/' -f1"
And I then get the error>
tell application "Finder"
  count every file of folder "BHS_WK3_PSD"
  --> error number -1728 from folder "BHS_WK3_PSD"
Result:
error "Finder got an error: Can’t get folder \"BH_WK3_PSD\"." number -1728 from folder "BH_WK3_PSD"
How is so different?
set dtF to paragraphs of (do shell script "ls -F ~/Desktop | grep '/' | cut -d'/' -f1")
set tc to (count dtF)
set dialogString to ""
set folderCount to {}
repeat with i from 1 to tc
          set folderName to item i of dtF --<:  is the folder name, no need to use text item delimiters -->":"
          tell application "Finder"
                    set end of folderCount to {fName:folderName, fCount:count of (files in folder folderName)}
          end tell
end repeat
set totalFiles to 0
repeat with theFolder in folderCount
          set totalFiles to totalFiles + (fCount of theFolder)
          set dialogString to dialogString & return & theFolder's fName & tab & tab & tab & tab & theFolder's fCount
end repeat

Hello
You get the said error because the folder "BHS_WK3_PSD" is not in ~/Desktop but in ~/Pictures/CompletedFolders.
E.g., the following script returs Finder object representing ~/Desktop/a because Finder assumes folder "a" is in desktop if its container is not specified.
tell application "Finder"
    folder "a" --> folder "a" of desktop
end tell
If you want to get folder "a" in ~/Pictures/CompletedFolders, you'd need to write something like this -
set dir to (path to pictures folder from user domain as Unicode text) & "CompletedFolders" as alias
tell application "Finder"
    folder "a" of dir
end tell
Thus, as a whole:
set dir to (path to pictures folder from user domain as Unicode text) & "CompletedFolders" as alias
set dtF to paragraphs of (do shell script "ls -F " & dir's POSIX path's quoted form & " | grep '/' | cut -d'/' -f1")
set tc to (count dtF)
set dialogString to ""
set folderCount to {}
repeat with i from 1 to tc
    set folderName to item i of dtF
    tell application "Finder"
        set end of folderCount to {fName:folderName, fCount:count of (files in folder folderName of dir)}
    end tell
end repeat
set totalFiles to 0
repeat with theFolder in folderCount
    set totalFiles to totalFiles + (fCount of theFolder)
    set dialogString to dialogString & return & theFolder's fName & tab & tab & tab & tab & theFolder's fCount
end repeat
return folderCount -- # for test
Hope this helps,
H

Similar Messages

  • IPhone 3GS - changed ATT plans and it doesn't work as well anymore, etc

    Ok. I've had the IPhone 3GS for about a year. a month or so ago I changed plans to the $15 for 200MB plan. Whether this is a coincidence or not, since then, a) when I scan for email it just spins and spins and then says the password is not correct for my email address.....Ive inputted it multiple times, it recognizes it then, but still has a problem. After refusing connection about 10 times, it finally gets tired of fighting me and downloads the email. It also will say can't "connect to the server" and then after multiple attempts it will. I got this plan because ATT said I was averaging about 35MBs a month. I change the plan, and last month I had 132MBs and in 6 days this month I had 73MBs. .....when I'm using it much less because it's too much of a hassle to sit around for 10 minutes for it to comply. I called ATT a couple of weeks ago, they had me do a couple of things, but it didn't work. So is this an ATT problem or is it an Apple problem????? thanks.

    Somewhere back then I figured it out, but don't recall how I did it now

  • After change to Mavericks my Mac become too slow e I can't use it because stays asking passwords for "talagent" and "messages agent" as icloud keys. I got changed the icloud password many times and still doesn't work. I can't open any program.

    After change to Mavericks my Mac become too slow e I can't use it because stays asking passwords for "talagent" and "messages agent" as icloud keys. I got changed the icloud password many times and still doesn't work. I can't open any program.

    Back up all data.
    Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Keychain Access in the icon grid.
    Select the login keychain from the list on the left side of the Keychain Access window. If your default keychain has a different name, select that.
    If the lock icon in the top left corner of the window shows that the keychain is locked, click to unlock it. You'll be prompted for the keychain password, which is the same as your login password, unless you've changed it.
    Right-click or control-click the login entry in the list. From the menu that pops up, select Change Settings for Keychain "login". In the sheet that opens, uncheck both boxes, if not already unchecked.
    From the menu bar, select
    Keychain Access ▹ Preferences ▹ First Aid
    If the box marked Keep login keychain unlocked is not checked, check it.
    Select
    Keychain Access ▹ Keychain First Aid
    from the menu bar and repair the keychain. Quit Keychain Access.

  • How do i get a password?  I changed my password last night and it doesn't work.  Or, it is asking for a password for something else and I do not know which one!

    how do i get a password?  I changed my password last night and it doesn't work.  Or, it is asking for a password for something else and I do not know which one!

    Usually when someone mentions "passowrd" in a posting it will not be related to an Adobe product but to the machine that you are trying to implement some installation or update for.  If you explain more about what you are trying to do and describe what you encounter it might be easier to determine what you are dealing with... include a screenshot to help explain as well if you can.

  • I plugged in my headset and it doesn't work,  am I supposed to change modes or something?

    I plugged in my headset and it doesn't work. Do I need to change modes? If so, how do I do that? Any help would be appreciated.

    If you were using icloud for your contacts then they are synced automatically everytime you add a new one or delete one. They will return to your new phone once you sign back into your icloud account.

  • Moving backward and forward doesn't work as it used to do

    The latest update, 32.0.2, or perhaps the one earlier, 32.0.1, has created a problem with Fx.
    Moving backward and forward doesn't work as it used to do; and if it is done quickly, backward and then forward again to the last page, Fx gets confused and both pages get the same address and the browser shows the same page.
    Guess it has something to do with the latest changes to how Fx handles the cache, or that in combination with how some pages use scripts.
    As it is it can be a pain to use sometimes.

    Are you able to switch songs from control center when Spotify is playing on your phone?
    If you have Spotify playing on your computer then it won't show in control center on your phone. You will have to open up the app to control music on your computer. 
    This is because iOS does not show anything on the control center unless an app is outputing audio. The Spotify app is not outputing audio, it only shows what is playing on your computer.
    Does that make sense?

  • HELP! Uploading AS3 Game to server, no sound and Spacebar doesn´t work HELP!

    Hello, relatively new to AS3 and flash, this is the first time i am publishing anything. We are trying to upload our simple flashgame to our webserver, the game works perfectly fine locally save for one thing. We get an error regarding TLF which says it wont stream or something. So when it gets online, no sounds play and spacebar doesn't work, left and right arrow does work. We have three TLF text fields that are used to update score, lives and show you final score. If i turn these into classical text they stop working.
    Things we have tried: Changing default linkage from RLS to Merged into code, changing the text boxes to classical text(they then stop working), made sure the paths are correct(all files are in the same directory including the .swz file)
    This is the code from the soundclass:
    package 
        import flash.net.URLRequest;
        import flash.media.Sound;
        import flash.media.SoundChannel;
        import flash.events.*;
        public class MySound
            private var bgSound:Sound;
            private var fireSound:Sound;
            private var waterSound:Sound;
            private var earthSound:Sound;
            private var lightSound:Sound;
            private var soundChannel:SoundChannel;
            public function MySound()
                soundChannel = new SoundChannel();
                bgSound = new Sound();
                var req:URLRequest = new URLRequest("BackgroundSound.mp3");
                bgSound.load(req);
                //fire
                fireSound = new Sound();
                var req2:URLRequest = new URLRequest("soundFire.mp3");
                fireSound.load(req2);
                // water
                waterSound = new Sound();
                var req3:URLRequest = new URLRequest("soundWater.mp3");
                waterSound.load(req3);
                // earth
                earthSound = new Sound();
                var req4:URLRequest = new URLRequest("soundEarth.mp3");
                earthSound.load(req4);
                // light
                lightSound = new Sound();
                var req5:URLRequest = new URLRequest("soundLight.mp3");
                lightSound.load(req5);
            public function playBgSound()
                soundChannel = bgSound.play(0, 999999);
            public function stopBgSound()
                soundChannel.stop();
            public function playFireSound()
                fireSound.play();
            public function playWaterSound()
                waterSound.play();
            public function playEarthSound()
                earthSound.play();
            public function playLightSound()
                lightSound.play();
    I can somewhat get that sound can bugg out, but why does spacebar stop functioning? ANy help is greatly appreciated as this has to be delivered in twelve hours(published online) for a school assignment.

    Also might add publishing it locally in my own browser everything works, as does ofcourse playing it in flash itself. Changing from RLS to merged into code stops the error from coming, but doesn´t fix the problem on the server.
    Code from main class related to sound and spacebar:
    import flash.display.*;
        import flash.events.*;
        import flash.ui.Keyboard;
        import flash.text.TextField;
        import flash.media.Sound;
        import flash.net.URLRequest;
        import flash.events.MouseEvent;
        import flash.utils.Timer;
        import flash.events.TimerEvent;
        public class main extends MovieClip
            private var fireTimer:Timer; //delay between shots
            private var canFire:Boolean = true;
            private var mySound:MySound;
            private var bulletSpeed:Number = -450;
              public function main()
                //load sounds
                mySound = new MySound();
            private function playGame(event:MouseEvent)
                gotoAndStop(2);
                // initialize
                myLives = 5;
                myHitsNo = 0;
                weaponType = 1;
                mybullets = new Array();
                enemys = new Array();       
                myScoreTxt.text = "Score: " + myHitsNo;
                myLivesTxt.text = "Lives: " + myLives;   
                fireTimer = new Timer(400, 1);
                fireTimer.addEventListener(TimerEvent.TIMER, shootTimerHandler, false, 0, true);
                stage.addEventListener(KeyboardEvent.KEY_DOWN, listenKeyDown);
                stage.addEventListener(Event.ENTER_FRAME, addEnemy);
                stage.addEventListener(Event.ENTER_FRAME, checkCollision);   
                player = new thePlayer(stage.stageWidth-40, spawnPoint2);// stage.stageHeight/2);
                stage.focus = player;
                addChild(player);
                mySound.playBgSound();
    public function listenKeyDown(event:KeyboardEvent)  // Controls and weapontype selector
                if (event.keyCode == 37) //left
                    player.movethePlayerDown();
                if (event.keyCode == 39) //right
                    player.movethePlayerUp();
    if (event.keyCode == Keyboard.SPACE) //space
                    shootBullet();
                    //soundFX.attachSound("Pistol Fire.wav");
                    //soundFX.start();

  • My iPad updated and wants a security code. I tried the one from my phone and it doesn't work - I never entered a security code. How can I get in now?

    ?My iPad updated and now wants a security code for access and I never gave it one. I tried code I used for my phone and it doesn't work. How can I access now?

    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    Saw this solution on another post about an iPad in a school environment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just cancelling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • I just downlouded the latest version of the Muse CC and it doesn't work well, it freezes all the time, in particular with the tools. Example the selection tool doesen't wor at all.

    I just downlouded the latest version of the Muse CC and it doesn't work well, it freezes all the time, in particular with the tools. Example the selection tool doesn't wor at all. Is there any solution for this problem?

    Hi!
    I restarted the computer, but the same issue happens again. When I move my mouse over some object or tool, it doesn’t come active at all (only some of the tools works) When I try to change “site properties”, I can’t choose tablet or phone mode or even I can’t select the checkboxes, only thing what I can do is change the numbers (high and width) . After all the main problem is that I can’t select some of the items or functions by mouse, but only by the keyboard.

  • I pay for upgrading ifindyou and it doesn't work!!!! it clearly says that it tracks only your mobile in the lite version, after you ask the upgrade for all the mobile... can we call this a fraud????

    i pay for upgrading ifindyou and it doesn't work!!!! it clearly says that it tracks only your mobile in the lite version, after you ask the upgrade for all the mobile... can we call this a fraud????

    Hi,
    "A day after the name change became official my built in skydrive app stopped working"
    Did you point that SkyDrive changed to OneDrive?
    Did you move your OneDrive to another location or change its name?
    Please login OneDrive with web-based to check if you could access it successfully.
    Please refer to the following article to try the troubleshooter and check the service status:
    SkyDrive: FAQ
    http://windows.microsoft.com/en-in/windows-8/skydrive-app-faq
    Karen Hu
    TechNet Community Support

  • I am trying to complete a form but can't get to the final drop down question as it is not displayed because it falls below where my screen ends.  i have tried changing the resolution but that doesn't work.  any suggestions?

    i am trying to complete a form but can't get to the final drop down question as it is not displayed because it falls below where my screen ends.  i have tried changing the resolution but that doesn't work.  any suggestions?

    brilliant
    google chrome works where safari doesn't on my macbook air.  many thanks
    i now have an embarrassing qu.  have dowloaded spider solitaire (sad!) and i can't add cards at the bottom of a column for the same reason - the display cuts short.  i have tried to extend it with the arrows in the bottom corners but it makes no difference.  any ideas?

  • MacBook doesn't turns into sleep mode and swop doesn't work.

    MacBook doesn't turns into sleep mode and swop doesn't work.
    Can you help me please. I have a MacBook Pro 8.2. I reinstalled OS X to make swop file working, but it still doesn't work. I reinstalled OS X from Internet recovery.
    Start time: 10:31:02 03/15/15
    Model Identifier: MacBookPro8,2
    System Version: OS X 10.10.2 (14C109)
    Kernel Version: Darwin 14.1.0
    Time since boot: 3 minutes
    Memory
        BANK 0/DIMM0:
          Size: 4 GB
          Speed: 1333 MHz
          Status: OK
          Manufacturer: 0x029E
        BANK 1/DIMM0:
          Size: 4 GB
          Speed: 1333 MHz
          Status: OK
          Manufacturer: 0x029E
    SerialATA
       TOSHIBA MK5065GSXF                     
    Diagnostic reports
       2015-03-15 Boom 2 crash
       2015-03-15 com.apple.internetaccounts crash
    Log
       Mar 15 10:26:10 memorystatus_thread: idle exiting pid 546 [tccd]
       Mar 15 10:26:11 memorystatus_thread: idle exiting pid 547 [nsurlstoraged]
       Mar 15 10:26:12 memorystatus_thread: idle exiting pid 544 [soagent]
       Mar 15 10:26:13 memorystatus_thread: idle exiting pid 548 [nsurlstoraged]
       Mar 15 10:26:43 memorystatus_thread: idle exiting pid 556 [com.apple.CodeSi]
       Mar 15 10:26:44 memorystatus_thread: idle exiting pid 558 [accountsd]
       Mar 15 10:26:45 memorystatus_thread: idle exiting pid 553 [com.apple.iCloud]
       Mar 15 10:26:46 memorystatus_thread: idle exiting pid 561 [networkd_privile]
       Mar 15 10:26:47 memorystatus_thread: idle exiting pid 555 [secinitd]
       Mar 15 10:26:48 memorystatus_thread: idle exiting pid 560 [tccd]
       Mar 15 10:26:49 memorystatus_thread: idle exiting pid 562 [secd]
       Mar 15 10:26:50 memorystatus_thread: idle exiting pid 554 [com.apple.intern]
       Mar 15 10:26:51 memorystatus_thread: idle exiting pid 565 [nsurlstoraged]
       Mar 15 10:26:52 memorystatus_thread: idle exiting pid 563 [soagent]
       Mar 15 10:26:53 memorystatus_thread: idle exiting pid 551 [syncdefaultsd]
       Mar 15 10:26:54 memorystatus_thread: idle exiting pid 557 [CoreServicesUIAg]
       Mar 15 10:26:55 memorystatus_thread: idle exiting pid 567 [iconservicesd]
       Mar 15 10:26:56 memorystatus_thread: idle exiting pid 566 [iconservicesagen]
       Mar 15 10:26:57 memorystatus_thread: idle exiting pid 568 [systemstatsd]
       Mar 15 10:26:58 memorystatus_thread: idle exiting pid 550 [cfprefsd]
       Mar 15 10:26:59 memorystatus_thread: idle exiting pid 552 [cfprefsd]
       Mar 15 10:27:00 memorystatus_thread: idle exiting pid 549 [coreduetd]
       Mar 15 10:27:01 memorystatus_thread: idle exiting pid 564 [nsurlstoraged]
       Mar 15 10:28:18 ** GPU Hardware VM is disabled (multispace: disabled, page table updates with DMA: disabled)
       Mar 15 10:29:09 proc 316: load code signature error 4 for file "Boom 2"
    I/O per process: coresymbolicati (UID 0) is using 15 MB/s
    kexts
       com.globaldelight.driver.Boom2Device (1.1)
    Daemons
       com.apple.installer.osmessagetracing
    Agents
       com.apple.AirPortBaseStationAgent
       com.globaldelight.Boom2Daemon
    Extensions
       /Library/Extensions/Boom2Device.kext
       - com.globaldelight.driver.Boom2Device
       /System/Library/Extensions/EPSONUSBPrintClass.kext
       - com.epson.print.kext.USBPrintClass
       /System/Library/Extensions/JMicronATA.kext
       - com.jmicron.JMicronATA
    Applications
       /Applications/Boom 2.app
       - com.globaldelight.Boom2
       /Applications/Boom 2.app/Contents/Library/LoginItems/Boom2Daemon.app
       - null
    Bundles
       /Library/Printers/Canon/BJPrinter/Plugins/BJNP/CIJNetworkIOM.plugin
       - jp.co.Canon.ij.print.iom.CIJNP
       /Library/Printers/Canon/BJPrinter/Plugins/BJNP/CIJNetworkPBM.plugin
       - jp.co.Canon.ij.print.pbm.CIJNP
       /Library/Printers/Canon/BJPrinter/Plugins/BJUSB/BJUSBIOM.plugin
       - jp.co.canon.bj.print.bjusbiom
       /Library/Printers/Canon/BJPrinter/Plugins/BJUSB/BJUSBPBM.plugin
       - jp.co.canon.bj.print.pbm.USB
       /Library/Printers/Canon/BJPrinter/Plugins/BJUSB/CIJUSBClassDriver.plugin
       - jp.co.canon.ij.print.CIJUSBClassDriver
       /Library/Printers/Canon/BJPrinter/Plugins/BJUSB/CIJUSBClassDriver2.plugin
       - jp.co.canon.ij.print.CIJUSBClassDriver2
       /Library/Printers/Canon/BJPrinter/Plugins/IJBluetooth/IJBluetoothIOM.plugin
       - jp.co.canon.ij.print.ijbluetoothiom
       /Library/Printers/EPSON/CIOSupport/CIOHelper.plugin
       - com.epson.print.plugin.CIOHelper
       /Library/Printers/EPSON/CIOSupport/EPSONUSBPrintClass.plugin
       - com.epson.print.plugin.USBPrintClass
       /Library/Printers/EPSON/CIOSupport/XIOP.plugin
       - com.epson.print.plugin.XIOP
       /Library/Printers/EPSON/CIOSupport/XIORemoteClient.plugin
       - com.epson.print.plugin.XIORemoteClient
       /Library/Printers/EPSON/CIOSupport/XIORemoteServer.plugin
       - com.epson.print.plugin.XIORemoteServer
    Restricted files: 219
    Elapsed time (s): 238

    Remove "Boom" and test.
    Any third-party software that doesn't install by drag-and-drop into the Applications folder, and uninstall by drag-and-drop to the Trash, is a system modification.
    Whenever you remove system modifications, they must be removed completely, and the only way to do that is to use the uninstallation tool, if any, provided by the developers, or to follow their instructions. If the software has been incompletely removed, you may have to re-download or even reinstall it in order to finish the job.
    I never install system modifications myself, and except as stated in this comment, I don't know how to uninstall them. You'll have to do your own research to find that information.
    Here are some general guidelines to get you started. Suppose you want to remove something called “BrickMyMac” (a hypothetical example.) First, consult the product's Help menu, if there is one, for instructions. Finding none there, look on the developer's website, say www.brickmymac.com. (That may not be the actual name of the site; if necessary, search the Web for the product name.) If you don’t find anything on the website or in your search, contact the developer. While you're waiting for a response, download BrickMyMac.dmg and open it. There may be an application in there such as “Uninstall BrickMyMac.” If not, open “BrickMyMac.pkg” and look for an Uninstall button. The uninstaller might also be accessed by clicking the Customize button, if there is one.
    Back up all data before making any changes.
    You will generally have to restart the computer in order to complete an uninstallation. Until you do that, there may be no effect, or unpredictable effects.
    If you can’t remove software in any other way, you’ll have to erase and install OS X. Never install any third-party software unless you're sure you know how to uninstall it; otherwise you may create problems that are very hard to solve.
    Trying to remove complex system modifications by hunting for files by name often will not work and may make the problem worse. The same goes for "utilities" such as "AppCleaner" and the like that purport to remove software.

  • Booting problem, mouse and keyboard doesn't work for 2 minutes

    I got a brand new mac mini 2.4Ghz just 3 weeks ago, got a few problems over the last week that I've been able to fix, but now I'm stuck with a problem when booting. The booting process seems a bit slow, and once the desktop has been fully loaded, the keyboard and mouse doesn't work, and the computer is using the non-calibrated Display Profile. After about 2 minutes, the display profile change to calibrated, and the mouse and keyboard work again. I have no clue about how to fix that problem, and I'm thinking about bringing the computer to an Apple Store by tomorrow if I can't fix it.

    Welcome to  Discussions!
    Check your login items to see what's there. You may have too much going on at login which is causing the serious delay in loading time.
    To check the login items, open System Preferences, under the System section click Accounts, click your account name, then click the tab at top labeled Login Items. If you want to remove an item in the list, click the item then click the - button below the list.

  • How can I fix my search engine? Google, Yahoo and Bing doesn't work.

    How can I fix my search engine? Google, Yahoo and Bing doesn't work. I try to change them and they doesn't work. Its there a way to fix this problem?

    Power off the router. Unplug it from the wall. Wait for few  minutes.
    Power off the router. Wait a while.
    Connect the router back to to the wall.
    Power the router back on. Wait  until all lights are lit properly. It will take a while.
    Restart the computer.
    Start up in Safe Mode.
    http://support.apple.com/kb/HT1455

  • Hi, I am wondering why my iphone won't send pictures through messages, I have MMS on and I have tried sending it with 3G on aswell and still doesn't work. Someone please help me :)

    Hi, I am wondering why my iphone won't send pictures through messages, I have MMS on and I have tried sending it with 3G on aswell and still doesn't work. Someone please help me :)

    Hey lozza567,
    Thanks for the question. I understand that you are experiencing issues sending MMS messages. The following resource may provide a solution:
    iOS: Troubleshooting Messages
    http://support.apple.com/kb/ts2755
    Issues with sending and receiving MMS
    You will need these to send and receive MMS:
    - An iPhone 3G or later.
    - iOS 3.1 or later.
    - A cellular data connection. MMS isn't available if you are using only Wi-Fi.
    - A domestic MMS plan from your cellular provider. You may need an international messaging plan to send MMS to an international contact. Contact your carrier for more information.
    - A roaming MMS when using a cellular provider's network different from your billing cellular provider's network. Learn more about roaming and contact your carrier for more information.
    To resolve issues with sending and receiving MMS, follow these steps first
    1. Go to Settings and turn airplane mode off.
    2. Go to Settings > Messages and turn MMS Messaging on.
    3. Go to Settings > Cellular and turn Cellular Data on.
    4. Go to Settings > Cellular and turn Data Roaming on if you are roaming on a cellular provider network different from your billing provider's network.
    5. Verify that you have a cellular data connection in the status bar at the top left of your iPhone.
    6. Go to Settings and turn Wi-Fi off. Open Safari and navigate to www.apple.com to verify that you have a data connection. Turn Wi-Fi back on to continue using Wi-Fi for other features. If your cellular data connection isn't available, follow these steps.
    7. Verify that you can send and receive SMS. If you are unable to send and receive SMS, see the "Issues with sending and receiving SMS" section, above.
    8. MMS may not be available while on a call. Only 3G and faster GSM networks support simultaneous data and voice calls. Learn more about which network your phone supports.
    9. Restart your iPhone.
    10. Tap Settings > General > Reset > Reset Network Settings on your iPhone.
    11. Reseat your SIM card.
    If you are still unable to send or receive MMS, follow these steps
    1. Make sure that the contact trying to message you isn't blocked in Settings > Messages > Blocked.
    2. Go to Settings > Messages and turn on group messaging if you are sending a group message.
    3. Make sure that you are using the area code with the contact's phone number. When sending messages internationally, you also need the contact's international code.
    4. Verify a "Pay as you go" MMS plan has enough available balance. Contact your carrier if unsure of your MMS plan or available balance.
    5. If the issue occurs with a specific contact or contacts, back up or forward important messages and delete your current messaging threads with the contact. Create a new message to the contact and try again.
    6. If the issue occurs with a specific contact or contacts, delete and re-create the contact from the Contacts application. Create a new message to the newly created contact and try again.
    7. Back up and restore your iPhone as new.
    8. If your carrier has recently ported your phone number, the porting process may not be complete. Contact your carrier to confirm that the porting process is complete.
    9. Contact your carrier to verify that you are provisioned to send SMS and are in an area with cellular coverage.
    10. Contact your carrier to verify that there are no blocks or filters placed on your wireless account preventing you from sending SMS.
    11. Your carrier may require APN settings to be modified to use MMS. Learn more about when you should adjust APN settings.
    Thanks,
    Matt M.

Maybe you are looking for

  • Safari 5.0.2 (Mac) always crashes at startup on Intel based iMac OSX 10.6.5

    Hi all. I'm running Safari 5.0.2. on Mac OS X 10.6.5. Every time I start my iMac it always shuts down (crashes) and generates the following crash report. Any help to fix this issue would be appreciated. Thanks Brad Process: Safari [404] Path: /Applic

  • HP Pavilion DV6T Sound Issue

    My Pavilion DV6T does not playback bass anymore or send it out through the headphone jack.  Everything else is properly wired, tried a few different devices,  but it is just the laptop not playing bass.  Gets used for a lot of music, so I really appr

  • Cannot create L7 Class

    My load balancing is not working, I believe it is due to the fact that the class map i have created for L7 is not being treated as an L7 class map. From doc: "The ACE treats as a Layer 3 and Layer 4 policy any policy map that ... has the default clas

  • When I try to upgrade to a newer version I get an "Administrator" login

    I had a virus and un-installed Firefox. Finally was able to re-install but only an older version. It keeps telling me I need to upgrade but an "Administrator" permission thing comes up and I'm not able to do an upgrade. In the meantime, Firefox keeps

  • Photoshop CC: Calling PIUGetInfoByIndex causes an exception when searching documents

    I have a function call in an automation plug-in that searches through the documents opened in Photoshop and attempts to get the name of each document (to compare it to a name that is passed in).  When this piece of code gets hit, if Photoshop has two