Question about AppleScript, iTunes and the app Proximity...

So I have this application Proximity, which uses bluetooth's proximity to the cpu to run both an out-of-range script and and in-range script. I'm currently using it to activate my screensaver with password lock and vice versa. I'm also using it to sync my Bluetooth phone via iSync. Finally, I'm using it to pause and pause/play iTunes when I come and go from the cpu. The problem I was having was that if I had iTunes closed the script would still open it and then play the first tune. If iTunes is closed I don't want it to start playing. I came up with a workaround, but it seems a little sloppy. Here is what I came up with, but I want to make it as seamless and clean as possible. This is a script for when I enter the proximity of the cpu. If it's in a paused state it will play. If it's in a stopped state (it will quit) or closed from the get go, iTunes will open then subsequently quit.
-- PlayPause iTunes
tell application "iTunes"
if player state is paused then
playpause
end if
end tell
tell application "iTunes"
if player state is stopped then quit
end tell

How to Get Apps From the App Store Without a Credit Card
http://ipadhelp.com/ipad-help/how-to-get-free-apps-from-the-app-store-without-a- credit-card/
Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
http://support.apple.com/kb/ht2534
If None is not available - On your computer launch iTunes and click "iTunes Store" in the left navigation pane. Click the "down arrow" next to your name at the top right side of the page and click "Account." Enter your username and password and click "View Account" to log into your account information. Next to your Payment Type, click "Edit." Select the "None" button and click "Done." Confirm that your card has been removed by returning to the Apple account information screen. Under Payment Type, it should say that there is no credit card on file.
 Cheers, Tom

Similar Messages

  • I bought a new iPad at some unauthorized dealer. They said I needed to pay to activate it, registrate it and to activate the app such as youtube, facetime, itunes and the app store. Is this true?

    Please help as I really don't know anything about this.

    No, this is NOT true at all.
    You are able to use the Youtube, iTunes, and the App Store as soon as you want without activating these Apps.
    You will need an internet connection to use these Apps though.
    *Facetime will NOT work in UAE by law.
    Facetime DOES need to be Activated.
    iOS: Using FaceTime
    iOS: Troubleshooting FaceTime
    iOS: FaceTime is 'Unable to verify email because it is in use'

  • HT2534 how do i use itunes and the app store without any credit card or gift card?

    i just got my iphone and i used to use itunes all the time before when downloading all songs were completly free, how do i use itunes and the app store to find free stuff to download without having to add a credit card or gift card with my account?

    Create a NEW account/ID for her using these instructions. Make sure you follow the instructions. Many do not and if you do not you will not get the None option. You must use an email address that you have not used with Apple before. Make sure you specify a birthdate that results in being at least 13 years old
      Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
    More details of how:
      http://ipadhelp.com/ipad-help-tips-tricks/how-to-get-free-apps-from-the-app-stor e-without-a-credit-card/

  • How do I fix my iPod I updated it to iOS 6 and now iTunes and the App Store will not work?, How do I fix my iPod I updated it to iOS 6 and now iTunes and the App Store will not work?

    How do I fix my iPod I updated it to iOS 6 and now iTunes and the App Store will not work?, How do I fix my iPod I updated it to iOS 6 and now iTunes and the App Store will not work?

    App Store Failure / Updates White Screen
    Tap Settings > General > Date and Time > Set Automatically > Off. Set the date one year ahead. Then try to access the App Store.
    It may be a connection issue. Try changing your DNS settings to Google’s open DNS by tapping Settings > Wi-Fi >, tap the blue arrow next to your current Wi-Fi network, and then tap the “DNS” field and enter the DNS servers; 8.8.8.8 (Google’s Public DNS, 8.8.4.4 also alternate).

  • How can I get the apps that I paid for on iTunes and the app store I don't have a computer I paid for them using my ipad and everytime I try to redownload them it asks for my card number and when I put the number in it tells me that the number is not a wo

    Ok can anyone tell how I can get the apps that I paid for on iTunes and the app store using my I pad because I don't have a computer and when I try to redownload the apps it keeps asking me for my card number and when I give it my card info it says that it's an invalid number when I know that it's not

    If you are getting an 'invalid security code' message then is the address on your iTunes account exactly the same (format and spacing etc) as on your credit card bill : http://support.apple.com/kb/TS1646 ? If it is then you could try what it says at the bottom of that page :
    If the issue persists, contact your credit card company and verify that they and any company they use to process credit card authorizations have the correct information on file.
    And/or try contacting iTunes support : http://www.apple.com/support/itunes/contact/ - click on Express Lane, then iTunes > iTunes Store

  • A friend of mine downloaded an app from the internet onto my iPod Touch 4 so I could play pokemon on my iPod, I deleted the app but now iTunes and the App Store won't open, they say that the certificate for this server is invalid. What should I do?

    A friend of mine downloaded an app from the internet onto my iPod Touch 4 so I could play pokemon on my iPod, I deleted the app but now iTunes and the App Store won't open, they say that the certificate for this server is invalid. What should I do?

    Try:
    Why does my iPod 4th generation say the certificate for this server is invalid when trying to access iTunes? I've never had an issue until this recently.

  • Cannot access itunes and the app store after updating to iso6

    have just updated to ISO6 and now everytime try to go to itunes or app store the screen just comes up blank or get a message say it couldnot connect. have tryed resetting date as read that works but didnt for me, have still got maps and facebook ect  they seem to be fine but cant do anything with the itunes and the app store any ideas as i only did the update as the phone said to, so I am hoping there is a way to fix this or else its not worth having an iphone if you are un able to utlitise it.

    If you updated your existing account then try logging out of it on the iPad by tapping on the id in Settings > iTunes & App Stores and then log back in and see if that 'refreshes' the account on the iPad.

  • I just bought a new iPhone 5 and both the itunes and the App Store apps don't work, can anyone give me some answers?

    I just bought a new iPhone 5 and both the itunes and the App Store apps don't work, can anyone give me some answers?

    Follow the directions here:
    http://support.apple.com/kb/HT2109

  • HT1311 trying to update apps in the app store. My old apple id comes up. I've already signed in and out off itunes and the app store several times with the current id.  still everytime i try to update the apps the old id comes up

    trying to update apps in the app store. My old apple id comes up. I've already signed in and out off itunes and the app store several times with the current id.  still everytime i try to update the apps the old id comes up

    Apps and their updates are permanently tied to the ID used to purchase them originally.  It will always ask you for your old ID if they were purchased using that ID.  The only way to stop this would be to delete them from your phone and your iTunes library, then repurchase them using your current ID.

  • When will apple sort out the scrolling issues on iOS versions of iTunes and the App Store?

    When will apple sort out the scrolling issues on iOS versions of iTunes and the App Store?
    It seems impossible to get the horizontal scrolling to work smoothly and in a way that doesn't result in some albums/apps in the row being skipped.

    Working fine for me. Have tried resetting or restoring?
    tt2

  • A question about thread safety and the Acrobat SDK

    Hi All,
    On page 12 of this FAQ: http://www.adobe.com/devnet/acrobat/pdfs/Acrobat_SDK_developer_faq.pdf
    It says that Use of any Acrobat product in a multithreaded way is technically impossible.
    I'm currently writing a command line application to perform some basic data gathering on a PDF file. The Application only makes use of a PDDoc object, and never calls on any other kind of object (i.e. AVDoc).
    The application itself is not multithreaded. All of the logic runs in a single thread.
    However, the application will be called (via the command line) from another application that /is/ multithreaded. I think that this might be fine, but I wasn't sure. In this case, would this count as a single thread, but spread across multiple processes? And if that is the case, would that be OK with the SDK?
    Or would having multiple invocations/calls into the Acrobat DLLs cause the same issue as a multi-threaded application?
    Unfortunately, I haven't done a lot of work with threads before. This might be a very silly question.

    The application would be called from a perl script that is used to automate several tasks. The app is a console application, written in C# w/ the Acrobat COM components, and Visual Studio 2005.
    The console application uses the Acrobat SDK to instantiate a PDDoc object, open a PDF, and get information about the document. It then returns results back to the console.
    So, the perl script just calls: "C:\pdfinfo.exe -f=myPdf.pdf" and pipes the result to a log file.
    In this case, it never creates a new instance of the Acrobat application, but it does use the SDK.
    The reason that I was concerned was that the perl script is multi-threaded. I wasn't sure if acrobat was just sensitive to multiple threads inside a single process, or if it was unable to handle multiple processes as well.
    PDL's answer suggests that I should be fine as long as a new process is started each time. This is good to hear.

  • I seem to have deleted iTunes and the App Store from my iPad mini, how do I get them back?

    I've deleted the App Store and iTunes from my iPad mini, how do I get them back?

    If you can't find them on any of your homescreens or app folders, and you can't find them via the spotlight search screen (swipe your first home screen to the right), then are they hidden by Settings > General > Restrictions > Installing Apps and iTunes being set 'off' ?
    If not then have you tried a reset to see if you can find them after the iPad has restarted ? Press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • ITunes and the app store on my iPod won't let me log in with my apple id

    both itunes and my ipod app store wont let me login or download apps. it comes up with the message 'unknown error'. it lets me log in to this website though and i just dont know what to do

    HI...
    On your iPod tap Settings > Store then tap Apple ID then tap iForgot
    Now "reset" your Apple iD password. It may help even if you can login here. Two different servers.

  • Bought the new iPad and it's up and running, itunes and the app store are working well but when I try to open up either FaceTime or messages they won't open and a message appears cannot open try your connection.  Help what is not right.

    Have just bought the new iPad, everything working fine including iTunes, the app store and iCloud but when I try to log in to both FaceTime and imessage an error message comes up saying it cannot connect and to check my connections.  What am I doing wrong.

    The Complete Guide to FaceTime: Set-up, Use, and Troubleshooting Problems
    http://tinyurl.com/32drz3d
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
     Cheers, Tom

  • A question about backend of creating the app with Xcode

    Hi,
    I'm a new iphone developer who just started to learn how to create iphone apps.
    I just started to learn about view-based applications.
    When I select view-based applications, XCode will automatically generate some files for me.
    For example, if a create a new project called "A", XCode will generate files like "AViewController.m", "AAppDelegate.m", and "main.m".
    but I don't see anywhere in those files where it's actually creating the instance of "AViewController" or "AAppDelegate".
    So at where and at which file are the instances of "AViewController" and "AAppDelegate" created?
    Also where is the instance of the main application created?(not A.app if you know what I mean)

    I hope I can add to the correct answer posted by J D McIninch since the solution to this thread might provide a good example of how xib objects work--i.e. what I tried to explain in your [previous thread|http://discussions.apple.com/message.jspa?messageID=11479911#11479911].
    Daviiidddd wrote:
    So at where and at which file are the instances of "AViewController" and "AAppDelegate" created?
    Open MainWindow.xib and make sure the xib window is visible by selecting Document from the Windows menu. You should see a solid orange cube labeled "A App Delegate", and a circular icon labeled "A View Controller". These icons represent IB objects. The objects are described by xml elements in the xib file, and that xml will direct the system to create the real objects in memory when the xib is loaded. While it's not technically correct to say the real objects are "created by IB", we can say that the specification for the real objects is built in IB. In other words, the xib file which results from an IB editing session contains a tree of specifications which will be used to create real objects at runtime.
    Btw, to graphically see the tree of xib objects (the "view hierarchy", find the +View Mode+ switch in the upper-left corner of the xib window. Select the Center position of that switch so the window displays a two column table with a tree of small icons to the left. This is the xib view I recommend for all your work.
    Also where is the instance of the main application created?(not A.app if you know what I mean)
    The Application object is created by the [UIApplicationMain()|http://developer.apple.com/iPhone/library/documentation/UI Kit/Reference/UIKitFunctionReference/Reference/reference.html#//apple_ref/doc/ui d/TP40006894-CH3-SW7] function called by main() in main.m. The MainWindow.xib is then loaded, and the Application object is given ownership of that xib. This means that the File's Owner proxy object represents the real Application object, so all connections to File's Owner become connections to the real Application object.
    Note that the File's Owner cube is transparent. This is IB's way of denoting a proxy object. The First Responder is actually a proxy of a different kind, but let's not go there now.
    \- Ray

Maybe you are looking for

  • TS4002 Icloud data restore from one Apple ID to another?

    I had to replace my 4S with another.  I originally set up icloud on phone "1" (now not working) to back up contact, data, etc with a specific Apple ID.  The person who set up icloud on phone "2" used a different aApple ID.  How do I get the data from

  • How to keep music on an external hard drive, but still manage in itunes

    Hello, so i just got a new pc. Have downloaded and authorized Itunes and have pointed my file media folder to the external hard drive. What I'd like to do is keep all my music on the external hard drive without saving any music onto my new pc. So is

  • Averaging a range of numbers

    I'm looking to try and average a range of numbers, but instead of doing it by certain rows (that is, average rows A1 through A30), I'd like for Numbers to average cells if they fall into a certain numerical range (that is, average cells whose values

  • Indicator for third party vendor

    Hi, I would like to know how to create third party vendor in SAP. Is there any indicator that indicate that the particular vendor is third party vendor? Please advise. Thanks.

  • Is the "update Genius" option gone?

    Didn't iTunes used to have a menu item that you could click on, to update Genius? I'm using the latest on Mac Lion, and most of my iTunes songs, some are popular , get the Genius message that that song is not in the database.