Software :: Applescripts To Open Items At Cursor Location?
Feb 11, 2009
ive had some decent experience with minor automation, but now im trying to get a little more serious.
1. i'm wondering if its possible to write a script that could open up an application, folder, or document such that the header bar of the window opens just under my mouse.
so the key would be to read where the mouse is located and move the said window there.
2. when writing scripts for specific applications, where do you find out what the applications specific names to functions calls, and actions?
I have a MacBook Pro, aluminum running Snow Leopard, 10.6.2.
When I type something, there are times when my cursor will spontaneously skip to another location. As an example: if I am typing this, the cursor might jump to the subject title area.I have been very careful to not touch the trackpad and still have this trouble. I posted this problem some time ago, but had no help or information about this at all. It is getting quite frustrating and I am hoping that someone out there will have a clue about this and perhaps a solution.
I am running Snow Leopard on a new MacBook Pro. I have noticed that often when I am typing, the cursor will jump to another location. So, I might be typing on a line and then suddenly, the cursor will jump to a line, usually above the line that I had been typing on.
Basic questions: When I drag an item to the desktop, say, a mail message, it always appears on the right side of the screen no matter where I release my mouse on the drop. Is there any way to have an item appear where I release the drag-and-drop, or will the dragged item always go to the right side of the desktop?
Another question: is there any way to select a bunch of mail messages and drag them into a folder. I know you can do it where all the emails get merged into one text file, but is there a way to keep them all as individual emails with a group drag and drop?
I have recently upgraded my computer from a G4 iMac running Panther to an Intel 21" screen model which runs Lion 10.7.3. I found that neither the Set Up Assistant or Migration Assistant worked as far as transferring the contents of the old system and therefore transferred it manually.
Included in the contents transferred were a number of Appleworks spreadsheets which worked in conjunction with a series of Applescripts to produce various types of textile patterns, and another series which analysed stock exchange prices. I have found that basicly none of these work and wonder if there are any programs or compilers which could be used to convert them. I have bought iWorks and both Numbers and Pages do not produce satisfactory results which is somewhat disappointing. The thought of having to learn a new Applescript volcabulary and then rewrite the Scripts is somewhat daunting hence my enquiry.
My (relatively) new Macbook Pro has developed some sort of bug, and I'll do my best to explain. The cursor acts as if the left-click button is being held down, i.e. it highlights or drags a selected object. The only way to stop highlighting is to click another part of the desktop, but then it starts highlighting from that point. The only way to get out of this mode is to restart the computer (I've had to do that 3 times today). I've been assuming that it was a bug in Google Chrome since it was always open when the bug started, but this last time Chrome wasn't open.
is there a way to open file location folder through Spotlight search function? I mean when you do a search on spotlight and it finds the file you are looking for, if you hit ENTER it will automatically open the file (in iTunes if it is a mp3, in InDesidn if it a .indl an so on) what if you want to access the folder the file is on?
I am makng this question because I have my computer very organized and my stuff are into folders>in a folder> in a folder> in another folder>in a folder.
and it can be a pain to go through all those folders till I find what I want
We have an older IMac (preIcloud) and just purchased a new Macbook Air. Our Iphones are set-up to synch with the IMAC and my calendars on the IMac & the phone look the same. But when I open ICal on the MacBook Air my calendar is missing items?
i have a very important document i cant find i looked in recent items and its there but when i click it it wont do anything and when i try to show in finder it doesnt do anything.
When opening a Mail message with any sort of scripting, many of the menu items remain greyed out, including the one that's important to me, 'Save Attachments...'.
If I manually open the same message, the menu items are enabled.
Try this script, by resetting the mailbox name to one of your own mailboxes, and you'll see what I mean.
(I've lodged a bug report).
Regards set SaveAttachmentsMenu to truetell application "Mail" activate set WindowCount to count of windows open item 1 of messages of drafts mailbox set x to 0 repeat # wait until the message is really open. tell current application to delay 0.1 set x to x + 1 if x > 40 then exit repeat if (count of windows) > WindowCount then exit repeat end repeat tell application "System Events" to tell process "Mail" select window 1 tell current application to delay 0.2 if exists menu item "Save Attachments…" of menu 1 of menu bar item "File" of menu bar 1 then keystroke "a" using command down if not enabled of menu item "Save Attachments…" of menu 1 of menu bar item "File" of menu bar 1 then say "attachments disabled" click menu item "Select All" of menu 1 of menu bar item "Edit" of menu bar 1 set x to 0 try click menu item "Save Attachments…" of menu 1 of menu bar item "File" of menu bar 1 end try repeat until exists sheet 1 of window 1 tell current application to delay 0.1 set x to x + 1 if x = 40 then set SaveAttachmentsMenu to false exit repeat end if end repeat end if end tellend tellSaveAttachmentsMenu
Info: iMac, OS X Yosemite (10.10), Late 2014 i7 iMac, Epson 730, FX C1110
Anyone come across this? I 've been having it a lot recently on my imac, not my pbook though, and I can't seem to find how to fix it... very strange behaviour, as soon as you start writing the cursor vanishes...make for some very hard writing I tell you...
Well, that's ms, they might even have it as an option somewhere that I cannot find...
MacBook Pro OS X 10.8.5 date and time set automatically to use a network time server (domain controller). After a few weeks of the end-user utilitizing it on their home network, the time reverts back to January 6, 2012. How can I set a secondary location if the first location is unreachable?
I moved my iTunes media folder to an external hard drive to free up space on my iMac's hard drive. The new one is located on a hard drive attached to my Airport Express. Since then, I keep getting messages stating that certain items weren't copied to my iPhone because the originals couldn't be found. When I check, the iTunes media folder has reverted to the location on my iMac's main hard drive.
How can I prevent this? At best this is annoying, but it also is using up hard drive space unnecessarily. Is this behavior avoidable, or is it something that goes with the territory when you move your media folder to an external hard drive?
Any time I try to remove an icon from the dock or an item from the login items and then logout/restart they come right back. It's like OS X is remembering my last login and then just duplicating it. I can't get it to keep it the settings I give it. Google and a quick search of the forums gave me nothing.
My own account login items list in my systems preferences window is limited to one item- an istat menus helper app. But my mac hd/library/StartupItems folder contains two items that I don't recognize and don't think have much to do with starting up the computer. One is a Qmaster folder and another is named RDUSB00A3Startup. Each folder contains a few items, including a unix executable file and a plist file. My mac hd/system/library/StartupItems folder is empty. Can anyone please advise on whether the items in my mac hd/library/StartupItems folder are necessary and if deleting them could affect my computer? I don't use Qmaster and have no idea what the RDUSB00A3Startup folder is for.
Equipment: Mac Mini (Early 2009), Intel Core 2 Duo, 2 GHz, 4 GB RAM, Lion. I started noticing my Mac Mini was having trouble reconnecting my Bluetooth mouse and keyboard, slow processing (spinning pinwheel of death), and programs freezing. I did a recovery within Lion from the recovery drive and it seemed to work for a week or so. It started acting up again. So, I decided to erase the HD and reinstall Lion. I basically use the Mac Mini as a server for all my iTunes content.
My iTunes default save location is to my Drobo storage unit. Now that I have reinstalled Lion, I am looking for the easiest, most convenient, and safest way to change the default save location in iTunes and then importing the media. It would be nice if it was possible to just simply change the default save location to the folder I previously had all my media saved in and it would just magically appear in iTunes. Everything was organized perfectly, which took hours of time and attention to details.
Info: Mac Mini, 2 13 Inch Macbooks, Mac OS X (10.5.7)
A recent crossover to Apple OS I am finding it difficult to specify a location for any downloaded files. Example I may want the first download in directory labeled 'A' and the next in directory labeled 'B' yet I only seem to be able to specify a default location for all downloads (in this case a folder in my 'Folders' directory labelled 'downloads')
Is there a way to specify ad hoc where you wish something be saved?
I'm used to working on a PC. When I open a file on a PC and then do a 'save-as', the PC always saves the new file in the same folder as the original. This seems so obvious, and 99% of the time is exactly what you want. On the other odd occasions it's simple to change the path.
But it doesn't happen on a Mac. MAC saves the file to wherever you last did a 'save-as'. Quite often I forget to check where this is and change it. I then have to do a 'Search' in 'Finder' to look for it. This gives me another problem, because 'Search' goes off hunting before you've even finished typing the name of the file - and either seems to find hundreds of unrelated items, or zilch! The 'help' on search doesn't help. The last time this happened to me, I could only find the file by searching manually in each of the places I thought it might be - and never managed to find it using the 'Search' facility.
I used to find 'Default Folder X' a help in regard to fixing the 'save-as' location, but the current version working in conjunction Snow Leopard, doesn't seem to be so effective.
Hi y'all: i just purchased FCP Studio 5 retail (ouch) and installed it, but not before i had a deal fall through with someone who had "sold" me their copy but then rescinded the deal. So, i have my own copy now, but i have THEIR license key registration - i need to enter mine, but throwing the apps away doesn't delete this info; it's stored somewhere else.
can anyone point me to the correct file for deletion, so that when i relaunch any of the studio apps, i will be prompted for (correct) license key information?
I am changing all of my icons on my mac and want to change the icon for PC when it is on the same network, where is the icon located in Mac OS X so I can change it?