Applescripting itunes - weird results

Here's the script:
tell application "iTunes"
set t to current date
log year of t
end tell
set t to current date
log year of t
and here's the log output:
tell application "iTunes"
current date
date "Tuesday, December 12, 2006 7:16:14 PM"
(year)
end tell
tell current application
current date
date "Tuesday, December 12, 2006 7:16:14 PM"
(2006)
end tell
the line (year) should read (2006)
when I try telling a different app, like Safari, it has no problem
So, why does iTunes choke on the year of a date? Is this just a bug?
iMac 24"   Mac OS X (10.4.8)  

In case anyone cared about the answer to this, I'll answer my own post:
The answer is basically Never do anything inside a "tell" statement that could be done outside the statement. Use "tell" sparingly.

Similar Messages

  • ITunes Match Unable To Get Past "Waiting for Apple to deliver your iTunes Match results..."

    Been trying for days but it just gets to "Waiting for Apple to deliver your iTunes Match results..." and then stops and allows me to press the Start button again to start the match process.  Sometimes I get error -3231.
    I've called Apple and they want $19 to solve the issue even though I paid the $25 for Match.
    I've turned iTunes Match off.  Turned Genius off.  Logged out of my iTunes account.  Quit iTunes.  Restarted. Logged back into iTunes account.  Turn Genius on.  Turn iTunes Match back on and let it go through the process again with no success.
    My library has a couple hundred songs less than the 25,000 max but it is pretty large.  Had the same issue when I tried with a smaller library some time ago.  I've created a new library and have the same issue.

    Hi,
    You should consider rebooting your internet router
    Then try holding option key whilst turning off match. Close iTunes and then reopen. Turn on iTunes Match and select add this computer.
    Jim

  • Waiting for apple to deliver your itunes match results - time out -uk

    Hi,
    Help me please
    I seem to be stuck in a loop that after the gathering of information has finished, the info is sent to apple and then I get 'waiting for apple to deliver your itunes match results' after about 30 or so seconds I then get an error message
    'we could not complete your request, the network timed out, blah blah blah make sure network connection is active'  no error code.
    I am a windows 7 user, I have comodo fire wall, nod32 and sky broadband.
    I have forwarded the ports 80 and 443, i have turned off comodo and disabled nod32, uninstalled, rebooted and reinstalled itunes and I am still no further forward.
    My internet connection is fine, i can access and download from the itunes store so there should be no issues, genius is on and working and getting results from apple so what is wrong with match?
    Thanks
    Marc

    Marcus_30,
    thanks, unfortunately tried almost all of that already...
    You must be able to disable the firewall, even just temporarily.
    Did that already, no change
    Plug directly into the router and have nothing else running.
    no change either if connected via Wifi or cable
    I take it that you can connect to the store ok?
    yes, iTunes store is working fine - even can download at the same time I am getting the network timeout error
    Have you been through the re-installing iTunes motions?
    this will be my next step - had hoped to avoid that...

  • Waiting for apple to deliver your itunes match results

    Out of the blue, iMatch is hung-up on step 1 and displays this in the progress bar
    "waiting for apple to deliver your itunes match results".  Nothing ever happens after that.  Songs that I have been adding since the beginning are in the cloud and play on all my devices -even thought in itunes it indicated that they are not in the cloud. Anything new I have added to my library appears on my other devices as grayed-out and do not play.  They do play on my PC.
    I have a Dell PC with Vista running the latest version of iTunes.
    I have signed in/out
    Turned iMatch (and genious) off/on
    Deauthorized and re-authorized the PC
    restarted iTunes
    restarted the PC.
    I have no other issues with this machine.
    Support has not been able to help other than claiming it is Apple's fault.
    Thanks, VJ

    I had to restart iTunes.

  • Always "Delivering your iTunes Match Result"

    I have around 23.5K songs in my iTunes library, and everything works fine for me before. Now, I am going to rip some new CDs to iTunes, the new songs won't upload to iTunes Match. After I manually clicked "Update iTunes Match". It keeps looping with "Delivering your iTunes Match Result" for the whole night. Even I turn it off, and turn it on again (reset the iTunes Match result), but no luck.
    I do even remove the newly ripped songs, and reset the iTunes Match result. It works without any new songs. But, after I ripped the CD again, it still keeps "Delivering your iTunes Match Result". It's sad.
    Any one has similar problem?
    Thanks.
    Regards

    Hi,
    I have had this problem on a number of occasions recently.
    Usually holding option key (Mac) or shift key (PC) whilst turning off match then relaunching iTunes, turning on match and selecting add this computer works.
    These days I don't usually let the automatic scan kick in. If it does, I stop match then go to "Update iTunes match". Usually works but if I think it is taking too long, I stop match go to "Update iTunes match" again.
    Try deleting tracks again, select  "update genius" then "Update iTunes match". Leave a short time before reripping your CD.
    Jim

  • Can you filter iTunes search results by video or audio podcasts?

    I have been searching for hours and haven't found a definite answer. Anyone know if this is possible?
    Can you filter iTunes search results by video or audio podcasts?

    I'm having the same problem. I go to Podcasts/Video Podcasts/News and they only give the featured, favorites (whose?), etc. I want to see all video news podcasts but if I then click on see all, it drops the video classification and shows all news podcasts. The iTunes search in general leaves a lot to be desired; its not very intuitive or pleasant to use, not the usual Apple experience.

  • Recently when I search for things in the top right search bar in iTunes, the results show up but I cannot click on them. Any ideas on how to fix this?

    Recently when I search for things in the top right search bar in iTunes, the results show up but I cannot click on them. Any ideas on how to fix this?

    Go to this address: http://mycroft.mozdev.org/search-engines.html?country=AU
    Item 24 lists 3 installable major search engines for Australia.
    You can also restrict your search in Google by including ''country:au'' or ''location:au'' or ''city:perth'' (for example) in your search terms. Example: ''city:sydney plumbers'' in the Google search box will list plumbers in cities named sydney.

  • Variable Definitions - weird results

    Using Flash8 I am getting some weird results when defining
    variables.
    In my Actionscripts I am trying to define and assign
    variables on the same line and then trace it as below :
    var light_critical_colour:String = "#FF0000";
    trace ("light_critical_colour = " + light_critical_colour);
    If I create an new blank fla file and place this in the first
    frame, scene 1, it works as you would expect and opens a trace
    window and returns "light_critical_colour = #FF0000". Also if I
    remove the first line then the result is "light_critical_colour =
    undefined" again as expected.
    My issue is that I have another fla file which i have created
    from scratch as per the example above. I have 2 scenes, scene 1 is
    the preloader and scene 2 is the main user screen. It does not
    matter where I place the code even in the the first frame of scene
    1, the var definition seems to be ignored and if I remove the var
    definition line and just have "trace ("light_critical_colour = " +
    light_critical_colour);" I get "light_critical_colour =" rather
    than "light_critical_colour = undefined" as expected.
    Does anyone have any idea's ?
    Thanks

    More Information:
    I have managed to get around this by cutting and pasting my
    ActionScript and objects into a new fla and its now working fine.
    If I was not such a ActionScript newbee I would suggest that
    this is a Flash8 bug !
    This sure managed to waste lots of my time.........

  • How long must I wait on Apple to deliver iTunes Match results?

    I have tried three times the following:
         I have started iTunes Match and it runs and then after about two hours stops and I get "Waiting for Apple to deliver your iTunes Match results...". The first time I waited about 6 hours. The second time was over night - about 10 hours. Now I have waited 3 days and it still is waiting!!! I renewed iTunes Match a month ago. Since iTunes 12 Match has been working for sh*t! Now I am angry having just paid for something that again is not working!!! PLEASE Apple help!

    Hi!
    It all depends on the amount of songs that you are trying to upload and your internet speed!
    When I first signed up for iTunes Match it had over 600 songs to upload which took about 6 hours.
    Make sure you are on the latest version iTunes also.
    If that does work just completely turn disable iTunes Match by clicking Store > Turn Off iTunes Match > Turn On iTunes Match
    iTunesMatch has been very buggylately whichis Apple's fault.
    Hope this works!
    Michael

  • Read Verify Scan Weird result "11ror!"

    Had some problems with my ipod for no real reason, never droped or anything, but the other day stopped responding totally. After leaving it on charge over night managed to at least to get it to show sad ipod face, or sometimes the folder icon. After about 40 trys managed to get it into diagnostic mode. Ran the Read Verify Scan in th IO harddrive option, and it returned the result of 11ror!. I am guessing that this basically means the harddrive is screwed. The computer wont even recognise that it is attached at all.
    Rich

    The Sad iPods icon, clicking sound or folder with an exclamation mark are the toughest problems to deal with, and must do a Restore in order to fix it. However, when your iPod is showing this icon, it is probably too late for your computer to recognize the iPod.
    1. Try these five steps (known as the five Rs) and it would conquer most iPod issues.
    http://www.apple.com/support/ipod/five_rs/
    2. Try to put the iPod into Disk Mode if it fails to appear on the desktop
    http://docs.info.apple.com/article.html?artnum=93651
    Still can't see your iPod?
    Several things could keep iPod from appearing in iTunes or in the Desktop/Finder when you connect it to your PC/Mac. The most likely causes are listed below in logical order. Check from the top of the list to see if that is what's keeping iPod from appearing.
    3. Try to wait 30 minutes while iPod is charging.
    4. Try another known-good FireWire or USB through Dock Connector cable.
    5. Try another known-good FireWire or USB port on your computer .
    6. Try to disconnect all devices from your computer's FireWire and USB ports.
    7. Windows users having trouble with their iPods should locate a Mac user. We've found that in many cases when an iPod won't show up on a PC that it will show up on the Mac. Then it can be restored. When the PC user returns to his computer the iPod will be recognized by the PC, reformatted for the PC, and usable again. By the way, it works in reverse too. A Mac user often can get his iPod back by connecting it to a PC and restoring it.
    There are also some cases being reported that some unrecognized iPod being able to be erased with Linux, then reconnect the iPod with the original computer and do a Restore there.
    8. Try to do an Erase (Disk Utility) on a Mac computer or a format with a PC (Disk Management tool) but ensure you choose the right Drive (your iPod not your Hard Disk of your computer). You may need to plug and unplug your iPod with the computer for several attempts, and switching around Format and Restore, and hope out of sudden, it will get recognized.
    9. Diagnostic mode solution – which I copied from a thread of a post from thinktwice
    “Then I cam across this special Diganostics Mode that you can get to by resetting and then while the Apple is showing pressing the Select and backwards keys simultaneously. It bring up and weird Diagnostic utility witha a abunch of tests. Here is what I did
    - I tried the 5in1 test and got and error on Firewire.
    - I did the HDD R/W and surprisingly it passed.
    - I went on to the HDD scan. This supposedly tkaes acouple of minute so I waited. I think 4-5 dots appeared then nothing. The iPod started to get hot. THe disk was spinning away. After a while the battery got very low. THis test chews up the battery. So I escaped out by resetting and went to connect it to a power source.
    My USB was dangling out of my computer and I was too lazy to get the Firewire AC adapter thing going so I connected expecting the whole lockup thing with iTunes. Surprise. IT was recognized immediately and has been working like a champ. So go figure.
    Details on Diag mode can be found at http://www.methodshop.com/mp3/ipodsupport/diagnosticmode/index.shtml
    10. Let me ask you a question, if an iPod with no iPod software with it. When your connect it with a computer, what would happen?
    Yeah, the computer will treat it as a fresh external hard disk, which will get force mounted, the computer will ask you to format the iPod. It does not really matter the format is completed or not, the key is to erase (or partly) the corrupted iPod software on the iPod, after that the computer will recognize it.
    Once it has been completed, eject your iPod, open the iPod updater and interestingly, you will able to do the Restore this time.
    Base on the above, that's why I suggest Windows users who experience trouble with their iPods should locate a Mac machine or vice versa. PC computer will not recognize a Mac formatted iPod, but it will get mounted in an attempt to format your iPod.
    11. Put your iPod in disk mode and plug with a computer, and have a boot of your computer using the Mac OS or XP startup disks, hope that your iPod will be seen on Mac's Disk utility and allow you to do a Erase there. Or, under the XP, you will be able to find your iPod there for you to do a Restore.
    But, if none of these steps address the issue, your iPod may need to be repaired. You can arrange for service at the iPod Service Website.
    I have just read an interesting solution about the Sad iPod, it does make sense but the warranty will be waived once you open the iPod, I would not do it myself as I am not good on doing this
    http://discussions.apple.com/thread.jspa?threadID=412033&tstart=0
    Pictures and instructions of how to open the iPod case for battery replacement
    http://www.kokopellimusic.us/KM_instructions.htm

  • Podcast No Longer Showing Up on iTunes Search Results

    We submitted our podcast months ago and it showed up on the iTunes store just fine. Somewhere along the way, someone on our end introduced a code error in the .xml file that broke the links to the audio files. We didn't find this issue out for quite a while, and in that time, it appears that iTunes flagged and took down our podcast feed from the store (I'm assuming because of this code error).
    I have since remedied the code issues and I can subscribe directly to the feed now, so it is working fine. But I cannot get the store to show the podcast in any search results. When I try to resubmit the feed the store says it is already submitted - even if I change the url and the .xml file name, so it is clearly smarter than I am, haha.
    Any tips on how to get out of this problem? It has been several weeks and the podcast still does not show up on the store.
    Thanks,
    Bill

    Roger,
    Thanks for the reply - in the time it took me to hit submit and tab back to my .xml file I saw that I'd missed changing the link/title. Thank you for confirming that this will do it - it let me resubmit. Take care!
    Bill

  • ITunes Upgrade results in no access to ITunes Store

    I've recently downloaded the latest version of Itunes (9.2.1.5) as since doing so I cannot access the ITunes Store. Prior to downloading this laterst version, I had no trouble with access. I've tried deleting the download and re-installing it, and I've tried just reinstalling it to "repair" any damaged or fragmented files. Nothing helps. I've tried rebooting, I've tried closing Itunes and re-opening, and I've tried clicking on Podcasts and then on Itunes Store. Again, nothing helps. The error I get is:
    "ITunes could not connect to the Itunes Store. Network Connection timed out."
    I ran the diagnostic and my connection to the internet was fine, the only red line failure I got was:
    "Secure link to Itunes Store failed."
    Everything else was fine. Again, I've never had this problem on this machine with any previous downloads.
    I performed the download Saturday evening, so I thought that maybe Itunes Store was off line for maintenance or some other reason. But, at mid-day on Sunday, I'm still having the same issue, so I doubt it is the store. I've tried everything I can find on-line, and the bottom line is, nothing lets me have access to the Store.
    In downloading the newer version of Itunes, I wasn't able to access it by opening the Itunes application. When I opened Itunes, I would get the dialogue box asking if I wanted to download the latest version of Itunes. When I clicked on the response to download the latest version, the dialogue box disappeared, but nothing was downloaded. So, I went to the Itunes webpage and downloaded from there.
    I was doing other things on the computer while Itunes downloaded the new version, and it could have sat waiting for a response for some time. But, I had an active connection to the internet the whole time, and have not been without access since.
    Basically, I'd like to know how to regain access to the Itunes Store with this latest version of Itunes. As a fallback, I'd like to revert back to my latest version that worked fine.
    I'd be grateful for any help you can offer.
    These are my system specs and the results of the last diagnostic.
    Thanks
    Microsoft Windows 7 Home Premium Edition (Build 7600)
    HP-Pavilion GN553AA-ABA m9040n
    iTunes 9.2.1.5
    QuickTime 7.6.6
    FairPlay 1.8.20
    Apple Application Support 1.3
    iPod Updater Library 9.2d4
    CD Driver 2.2.0.1
    CD Driver DLL 2.1.1.1
    Apple Mobile Device 3.1.0.62
    Apple Mobile Device Driver not found.
    Bonjour 2.0.2.0
    Current user is not an administrator.
    The current local date and time is 2010-08-29 11:22:13.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is not supported.
    Video Display Information
    NVIDIA, NVIDIA GeForce 8400 GS
    ** External Plug-ins Information **
    No external plug-ins installed.
    ** Network Connectivity Tests **
    Network Adapter Information
    Description: USB Wireless 802.11 b/g Adaptor
    IP Address: 0.0.0.0
    Subnet Mask: 0.0.0.0
    Default Gateway: 0.0.0.0
    DHCP Enabled: Yes
    DHCP Server:
    Lease Obtained: Wed Dec 31 19:00:00 1969
    Lease Expires: Wed Dec 31 19:00:00 1969
    DNS Servers:
    Description: Intel(R) 82566DC-2 Gigabit Network Connection
    IP Address: 192.168.1.102
    Subnet Mask: 255.255.255.0
    Default Gateway: 192.168.1.1
    DHCP Enabled: Yes
    DHCP Server: 192.168.1.1
    Lease Obtained: Sun Aug 29 11:04:07 2010
    Lease Expires: Mon Aug 30 11:04:07 2010
    Active Connection: LAN Connection
    Connected: Yes
    Online: Yes
    Using Modem: No
    Using LAN: Yes
    Using Proxy: No
    SSL 3.0 Support: Enabled
    TLS 1.0 Support: Disabled
    Firewall Information
    Windows Firewall is on.
    iTunes is enabled in Windows Firewall.
    Connection attempt to Apple web site was unsuccessful.
    The network connection timed out.
    Connection attempt to iTunes Store was unsuccessful.
    The network connection timed out.
    Secure connection attempt to iTunes Store was unsuccessful.
    The network connection timed out.
    Secure connection attempt to iPhone activation server unsuccessful.
    The network connection timed out.
    Last successful store access was 2010-08-28 19:24:40.
    ** CD/DVD Drive Tests **
    LowerFilters: PxHelp20 (2.0.0.0),
    UpperFilters: GEARAspiWDM (2.2.0.1),
    F: HL-DT-ST DVD-RW GSA-H60L, Rev DC08
    Drive is empty.
    ** Device Connectivity Tests **
    iPodService 9.2.1.5 is currently running.
    iTunesHelper 9.2.1.5 is currently running.
    Apple Mobile Device service 3.1.0.0 is currently not running.
    Universal Serial Bus Controllers:
    Intel(R) ICH9 Family USB Universal Host Controller - 2934. Device is working properly.
    Intel(R) ICH9 Family USB Universal Host Controller - 2935. Device is working properly.
    Intel(R) ICH9 Family USB Universal Host Controller - 2936. Device is working properly.
    Intel(R) ICH9 Family USB Universal Host Controller - 2937. Device is working properly.
    Intel(R) ICH9 Family USB Universal Host Controller - 2938. Device is working properly.
    Intel(R) ICH9 Family USB Universal Host Controller - 2939. Device is working properly.
    Intel(R) ICH9 Family USB2 Enhanced Host Controller - 293A. Device is working properly.
    Intel(R) ICH9 Family USB2 Enhanced Host Controller - 293C. Device is working properly.
    FireWire (IEEE 1394) Host Controllers:
    LSI 1394 OHCI Compliant Host Controller. Device is working properly.
    Most Recent Devices Not Currently Connected:
    iPod shuffle (2nd Generation) running firmware version 1.0.4
    Serial Number: 4H83648V3FL
    ** Device Sync Tests **
    No iPod, iPhone, or iPad found.

    Are you running any of Symantec's (Norton) or McAfee's Internet security products or anything similar, or an antivirus/antispyware application? There have been reports that some such utilities treat an upgrade to iTunes as a new application and can block the application from connecting. So you have to go in and reset the utility to allow iTunes. The same thing can happen if you upgrade the security product (this has particularly been a problem with recent McAfee upgrades).
    Check the settings for your utility. If iTunes is still listed, remove and re-enable the exception for iTunes. Consult your utility's documentation for the appropriate procedure. If you have Norton, you can find instructions for that utility on Symantec's web page for iTunes. You may also need to check the built-in Windows firewall as well.
    Hope this helps.

  • ITunes diagonstics result

    Hi All!
    In continuation to my previous post, where I mentioned nothing was happenning when I tried resetting/charging/etc. I uninstalled iTunes completely, reinstalled it and connected the iPod, but nothing happenned still. But when I ran iTunes diagonstics, it's result(as under)actually mentions a 5th gen ipod!! But my iPod is still not charging and not recognized by iTunes or PC.
    Can anyone please help?
    Thank you
    Microsoft Windows XP Home Edition Service Pack 2 (Build 2600)
    Dell Inc. MM061
    iTunes 8.0.2.20
    QuickTime 7.5.5
    FairPlay 1.1.11
    CD Driver 2.0.7.5
    CD Driver DLL 2.1.1.1
    Apple Mobile Device 2.1.2.7
    Bonjour 1.0.5.11 (118.5)
    iTunes Serial Number F74BF9A5396BEFC0
    Current user is an administrator.
    The current local date and time is 2008-12-15 14:15:29.
    iTunes is not running in safe mode.
    Video Display Information
    Mobile Intel(R) 945GM Express Chipset Family
    Mobile Intel(R) 945GM Express Chipset Family
    ** External Plug-ins Information **
    No external plug-ins installed.
    ** iPod/iPhone Connectivity Tests **
    iPodService 8.0.2.20 is currently running.
    iTunesHelper 8.0.2.20 is currently running.
    Apple Mobile Device service 2.12.33.0 is currently running.
    Universal Serial Bus Controllers:
    Intel(R) 82801G (ICH7 Family) USB Universal Host Controller - 27C8. Device is working properly.
    Intel(R) 82801G (ICH7 Family) USB Universal Host Controller - 27C9. Device is working properly.
    Intel(R) 82801G (ICH7 Family) USB Universal Host Controller - 27CA. Device is working properly.
    Intel(R) 82801G (ICH7 Family) USB Universal Host Controller - 27CB. Device is working properly.
    Intel(R) 82801G (ICH7 Family) USB2 Enhanced Host Controller - 27CC. Device is working properly.
    FireWire (IEEE 1394) Host Controllers:
    OHCI Compliant IEEE 1394 Host Controller. Device is working properly.
    Most Recent Device Not Currently Connected:
    +*Fifth Generation iPod (iPod with video) running firmware version 1.3*+
    +*Serial Number: 9C649QWDV9M*+

    Hi,
    I have had this problem on a number of occasions recently.
    Usually holding option key (Mac) or shift key (PC) whilst turning off match then relaunching iTunes, turning on match and selecting add this computer works.
    These days I don't usually let the automatic scan kick in. If it does, I stop match then go to "Update iTunes match". Usually works but if I think it is taking too long, I stop match go to "Update iTunes match" again.
    Try deleting tracks again, select  "update genius" then "Update iTunes match". Leave a short time before reripping your CD.
    Jim

  • Possible Bug in iOS 8 via Streaming iTunes Video results in lost storage space?

    Hi looking for suggestions or help on this issue if you can.
    I'm not sure if the issue is my attempting to stream a movie from iTunes under iOS 8 or if it is a result of the iOS 8 update (size) itself or some type of memory leak or inability of memory to be released back to the OS.
    This AM I had ~4.8GB of free space on my 16GB iPhone 5C; running under iOS 7. I then updated to iOS 8 by connecting the phone to my iMac and doing the install through iTunes under a USB wired connection. I however I did NOT check after the update how much space was "Available" after the update on the iPhone itself.
    While streaming a long movie (LOTR extended) from the iCloud through the Apple Video app; now under iOS 8, I received a notification that my Storage space was nearly used up. While looking in Settings\Usage\Storage I can see that I had roughly 250MB of space "Available" but only 12.7GB was "USED." Here is were things get strange. Looking into the "Manage Storage" section I added up all of the space "used" by the apps listed (Video app was NOT listed) and came up with a sum of 6GB of used space. Now why is that? The listed 12.7GB of used space is not equal to 6GB what is using up the remaining 6.7GB?
    Now my research of the web suggests iOS 7 was ~3.5GB in size and my best GUESS at iOS 8 is that it is a16GB - 12.7GB = 3.3GB; although I thought iOS 8 was going to use up more space? For the sake of argument lets say iOS 8 is 5.8GB and my calculated Used Space it 6GB, that equals 11.8GB. Where are the remaining 4.2GB?
    Keep in mind I added No new apps (albeit a few updates to FindMyFrieds, Remote, Pages, AirPort Utility, FindMyiPhone all to be iOS 8 compatable).  I also force quit the VIDEO app thinking that the video that was streaming was taking up local storage while it was playing. Is it possible that the memory was used up by the stream and is not being Released; hence it seems I have no available space?
    Powering the phone down and re-starting it did not seem to do anything.
    I still need to go home, connect to iTunes and double check if the available space on the phone matches to what iTunes see.
    Thanks and sorry for the long question, just wanted to get as many variables out there in case anyone else has had this issue.

    searching.4.answers . . . sounds like you too were able to "inform" your device that the content is no longer needed, great.  I posted a solution that later didn't work for me when I streamed another video (see my post dated Nov 1 - cjdmedia).  I then had great success using what others in this forum have suggested . . . I downloaded the free ibrowse app (do a quick google search for this and you'll find the website for it).  Sure enough it was a piece of cake to navigate to the iCloud assets folder and find and delete the video file.  That is my solution from now on.  Unfortunate that I need to do that to have my storage space clear. 
    Also in my post I shared that I thought this was a bug, unfortunately I now believe that this could be intended behavior.  The only question is how long does this data just sit there until it is removed by the system? or is it removed by the system?  If it is not removed by the system at some point then a strong argument could be made that this is a bug. Streaming means that data is not permenantly saved on the device, right?  
    My fundamental issue is that I have 16GB storage that really means I have a total of 12.8GB (so says my iPhone).  With no personal photos or videos, only 300MB of music, some books etc, and all the apps I want installed on my iPhone I end up with only 9GB available for anything else.  A typical movie in HD takes up half of that.  Not aware that the data of movies was being stored on my phone while streaming I completely filled up my iPhone only days after completely wiping and setting up.  When I got the notification that my phone was full when trying to take video of my kids Trick-or-Treating - I was infuriated that something was hogging the memory in my phone, perhaps I had upgraded to iOS 8 too early before known issues were eliminated.  I thought I had 9GB of space for pictures and video!  To be fair, Apple did not ruin Halloween because my wife had her iPhone.  I also know that this "issue" has been around since iOS 7 (based on my searching) and I haven't seen any confirmation it has ever been dealt with.  From another apple discussion forum stream itunes purchased movies to iPad I discovered that if your device is almost full you can still "stream" because somehow the system knows how much space you have and then behaves more like what you'd expect from streaming which is interesting. 
    So to wrap this long post . . . it is obvious that to stream there needs to be data stored locally, but it is unclear how much data and how long this data will stay on your device.  The quickest solution (requires a computer) is to use the iBrowse app and manually delete the movie files in the iCloud assets folder.

  • Window.bounds gives weird results

    I run without Application Frame and without Application Bar. I see no point to the former and the latter is just a shocking waste of space. For years, I've been using a handful of scripts to manage my window positions. One of them is now misbehaving. The script is so old that it didn't use functions and all its variables were global -- it probably dates all the way back to when I was beta-testing the original ExtendScript in CS.
    So I decided to rewrite it in case I'd done something weird that rewriting would expose. Well, I found the weirdness but it wasn't me. With one document window open, I typed this into the JavaScript Console (I'm running with a monitor that is 1920 x 1200):
    app.windows[0].bounds = [22,32,1140,863]
    and the console duly responded with:
    Result: 22,32,1140,863
    and visually, I can see that the window is indeed at that location.
    But now when I type:
    app.windows[0].bounds
    into the JS Console, it responds with:
    Result: 60,32,1178,863
    The x values are right but the y values are off by 38.
    Is this a Mac-only issue? I'm running with Mountain Lion on a Retina MacBook Pro. Oh: of course it's Mac only: you can't switch off the Application Frame on Windows, can you?
    Dave

    It turned out that moving to 0,0 created problems with the x-coordinate, but since those were the only x-coordinate problems I ever saw, I decided to focus only on the y-coordinate. In this version of the script, I move the window to y = 0 to measure the current value of the y error.
    //DESCRIPTION: Resets active layoutWindow size or uses front layoutWindow to set page default size.
              Rewrite of a venerable old favorite
              1. If no layoutWindow open offer to delete settings file
              2. If no settings and layoutWindow offer to make layoutWindow bounds new settings
              3. If settings and layoutWindow move layoutWindow to settings location unless there's a layoutWindow already there
                  in which case, move layoutWindow next to that other layoutWindow or move only layoutWindow right by its width
    (function() {
              var settingsFile = getSettingsFile();
              if (app.layoutWindows.length == 0) {
                        // no front layoutWindow; offer user chance to delete settings
                        if (confirm("No layoutWindow is open; would you like to delete the settings file?")) {
                                  // user said yes; only bother to delete it if it exists
                                  if (settingsFile.exists) {
                                            settingsFile.remove();
                        return; // no layoutWindow, so nothing more to do
              // there's at least one layoutWindow
              var yDelta = getDelta(app.layoutWindows[0]);
              if (settingsFile.exists) {
                        applySettings(settingsFile, yDelta);
              } else {
                        if (confirm("Settings file is missing. Use current front layoutWindow to set default?")) {
                                  // user said do it
                                  var bounds = app.layoutWindows[0].bounds;
                                  var bounds = [
                                            bounds[0] - yDelta,
                                            bounds[1],
                                            bounds[2] - yDelta,
                                            bounds[3]
                                  new File(settingsFile);
                                  settingsFile.open("w");
                                  settingsFile.write(bounds);
                                  settingsFile.close();
              function getDelta(layoutWindow) {
                        // get current layoutWindow position and dimensions
                        var reportedBounds = layoutWindow.bounds;
                        var wHeight = reportedBounds[2] - reportedBounds[0];
                        // move to 0, 0
                        layoutWindow.bounds = [0, reportedBounds[1], wHeight, reportedBounds[3]];
                        $.sleep(10);
                        var newBounds = layoutWindow.bounds;
                        // calculate errors
                        var yDelta = newBounds[0];
                        // restore layoutWindow to original position
                        layoutWindow.bounds = [
                                  reportedBounds[0] - yDelta,
                                  reportedBounds[1],
                                  reportedBounds[2] - yDelta,
                                  reportedBounds[3]
                        $.sleep(10);
                        return yDelta
              function applySettings(settingsFile, yDelta) {
                        // values written out to the settings file must take delta into account
                        settingsFile.open("r");
                        var savedBounds = settingsFile.read();
                        settingsFile.close();
                        var myBounds = savedBounds.split(",");
                        for (var j = myBounds.length - 1; j >= 0; j--) {
                                  myBounds[j] = Number(myBounds[j]);
                        // Check to see if an existing layoutWindow is already at these bounds;
                        var layoutWindowsBounds = app.layoutWindows.everyItem().bounds;
                        // all these values are off by delta
                        for (var j = layoutWindowsBounds.length - 1; j >= 0; j--) {
                                  if (layoutWindowsBounds[j][0] - yDelta == myBounds[0]
                                                      && layoutWindowsBounds[j][1]  == myBounds[1]
                                                      && layoutWindowsBounds[j][2] - yDelta == myBounds[2]
                                                      && layoutWindowsBounds[j][3] == myBounds[3]) {
                                            // layoutWindow right there, so:
                                            var myWidth = myBounds[3] - myBounds[1];
                                            myBounds[1] += myWidth;
                                            myBounds[3] += myWidth;
                                            break; // only do it once!
                        app.layoutWindows[0].bounds = myBounds;
              function getSettingsFile() {
                        var scriptFile = getScriptFile();
                        return File(scriptFile.parent + "/PageDefault" + parseInt(app.version) + ".txt");
              function getScriptFile() {
                        // This function returns the file of the active script, even when running ESTK
                        try {
                                  return app.activeScript;
                        } catch(e) {
                                  return File(e.fileName);

Maybe you are looking for