OS X :: How To Launch Applescript From Firefox URL Bar
May 31, 2010
I often have a small chat program running, I keep it in the bottom right corner of my screen. It's kind of a stupid application, so it never pops up above active windows for an update, so I keep it uncovered - this means all my windows have to be shrunk to fit, and to not hide it.
Now, because I'm such an OCD person, I like to have a perfect, 1px border between applications, and I like things to be neat and orderly, etc. That means there's a VERY specific place all my firefox windows go. When i open a new one, however, they can be in any shape, size, etc. For a while, I had a bookmarklet with a keyword, I would just type "chatsize" into the URL bar, and the window would automatically position itself correctly. The problem with this is the fact that it, for some reason, would ignore the 4 leftmost pixels of the entire screen, and would not line up with the edge. Moving it 4 pixels isn't such a big deal, but it gets kind of annoying. No matter what I tried javascripting into the URL bar, it never worked.
I came up with a solution: Applescript, I could make the window go to the perfect spot and be the perfect size, but now, I have another problem: I can't launch the applescript from the URL bar. I want to be able to type in "chatsize" to the URL bar, and have it work perfectly, but whenever I change the bookmark to the applescript's location on my hard drive, it attempts to download it. Does anybody have any clue how to launch the application from the URL bar?
View 5 Replies
ADVERTISEMENT
Jan 26, 2009
My mac is a PowerBook G4 and version is 10.3.9 (Build 7W98).
I tried to launch firefox 3.0.5 but i got this in the CrashReporter :
Host Name: Ganesh-2.local
Date/Time: 2009-01-26 12:30:32 +0100
OS Version: 10.3.9 (Build 7W98)
Report Version: 2
Command: firefox-bin
Path: /Applications/Firefox.app/Contents/MacOS/firefox-bin
Version: ??? (???)
PID: 421
Thread: Unknown
View 4 Replies
View Related
Nov 6, 2010
i know safari is default cuz its apple and all.. but what do you guys have as a separate option:
Google Chrome
Firefox 3.5
Firefox 4 Beta
Opera
Just safari
just curious.. wanting to put a browser but not too sure. (on my desktop PC, i have firefox 4), but i would like to know
View 24 Replies
View Related
Dec 29, 2009
the Firefox addons on Mozilla's website work on OSX when using Firefox? I just wanted to make sure since I like using all of the apps on my firefox configuration and was thinking about buying a mac. I know a lot of 3rd party apps that aren't specifically made for Mac at times will not work
View 1 Replies
View Related
Apr 23, 2012
I don't like Firefox 11 one bit and am yearning for 3.6. I read online to drag firefox 11 to trash and that, of course did nothing to actually uninstall. I then dowloaded 3.6 and 'installed' that, restarted but still firefox 11 lives on in my computer.
Info:
MacBook Pro (13-inch Mid 2009), Mac OS X (10.6.8)
View 1 Replies
View Related
May 25, 2010
I'm thinking about learning Applescript so that I can write routine to run in an Excel workbook. Would the routine run when that Excel workbook is opened on a PC?
View 1 Replies
View Related
Jan 24, 2010
I am relatively new to the whole Apple and iMac community. I am slowly learning though. Any way, my question is: I have a script that causes Safari to open a new window every time I click the icon on the dock instead of opening the Safari window that may already be opened and running in the background. What I cant figure out is how to make my Applescript an application represented by an icon on the dock, and when i click the icon, it just runs with no editor opening or running in the background or ne thing like that. I tried making the script an app by putting a '.app' suffix, but when i tried to run it afterward I got "You cannot open that application NewWindowScript because the Classic environment is no long supported."
View 2 Replies
View Related
Apr 28, 2012
is there a simple way to upload some file on ftp with an applescript?
View 2 Replies
View Related
Nov 4, 2007
i HATE stacks with a passion. i used to use the dock for shortcuts to folders so much, and frankly stacks just ruins it. is there any way to turn it off with terminal or applescript or anything?
View 24 Replies
View Related
Jan 27, 2009
I've found (and somewhat modified) an AppleScript to sync a research folder on my MacBook with a directory on my FTP server so I can have access here and at the office to an exact close of a file system (as well as backup remotely).
Quote:......................
View 2 Replies
View Related
Jun 24, 2009
i would like to use either automator or applescript to get attachments from certain emails i get in mail that have the subject line that contains "Database Backup" then according to the first part of the subject to save the attachment into a folder with that name.
View 1 Replies
View Related
Jul 23, 2009
I seem to have an AppleScript that is hanging, and I can't figure out how to quit it. I tried the force quit, but it doesn't appear in the list of applications. It was activated when I was compressing a pdf using the print command yesterday. I let it go overnight, but the Applescript icon is still spinning in the uppertoolbar (near my battery indicator etc). If I move my mouse over it I just get a spinning beach ball.Thanks all!
View 1 Replies
View Related
Aug 16, 2010
I am looking for an Applescript that will add file extensions to a bunch of files. Specifically .jpg to a bunch of pictures. I thought I had it in one of the forums but when you click on the link Attached Files
File Type: zip add to file names.scpt.zip (7.6 KB, 227 views) you get a blank screen and the tab says "attachment.php" and nothing happens. Is there a script somewhere?
View 1 Replies
View Related
Apr 9, 2012
I need to have the built in camera of an IMac take a photograph and insert it into a field in Filemaker Pro without user interaction. It would hopefully be used for staff attendance, and track who is changing records. I have no experience with applescript, but I think it might be the way to get the task done.
Info:
iMac (27-inch Mid 2011), Mac OS X (10.7.3)
View 1 Replies
View Related
Apr 10, 2012
I've been trying several different methods to download a file through Applescript. I've looked at different sites/discussions and I've tried to use curl, wget, and some other ways, however I still can't get it to download the file. It'll either just not download, or no URL specified. [code]
Info:
Mac Mini, Mac OS X (10.7)
View 2 Replies
View Related
Apr 12, 2012
I created this piece of code using AppleScript Editor on OS X Lion 10.7.3 and I want to make it automatically repeat itself every 10 seconds. The code is supposed to reload the tab which the user is currently on every 10 seconds. I made the reload part but can't figure out how to make it reload every 10 seconds after extensive googling. Here is the code, can someone add the needed code it to make it reload the current page every 10 seconds and reply to me please.tell application "Safari" activateend tell tell application "System Events" tell process "Safari" keystroke "r" using {command down} end tellend tell
Info:
MacBookPro, Mac OS X (10.7.3)
View 3 Replies
View Related
Nov 17, 2009
I've seen a similar request posted a couple times, but have had no luck on those threads finding the solution to my problem. I would like to write an AppleScript that would save an attachment (a .txt file) from Mail to my desktop. (Then in turn, I will make a rule in Mail that will run this script when certain conditions are met in the email). I'm sure it's probably very simple, but I have been playing around with the script editor for a few hours now and still can't figure it out. Needless to say, I am new to scripting.
View 6 Replies
View Related
Feb 3, 2012
I need an applescript that can click on certain points over and over again.
Info:
MacBook Pro
View 7 Replies
View Related
Mar 1, 2012
I've seen some demonstrations of using the built in encoding feature with automator or in with a command line but can you tell it in applescript? Â
tell application "avconvert" resize selected video to 480p endtellÂ
Or how do you run avconvert in a command line through applescript?Â
Info:
iMac, Mac OS X (10.7.2)
View 4 Replies
View Related
Mar 14, 2012
This works except for the exit quick mask mode.Anyone else been able to do it? tell application "Adobe Photoshop CS5.1" activate tell front document if (quick mask mode) then exit quick mask mode.end tellend tell
View 2 Replies
View Related
Mar 15, 2012
I have been trying to find online sites that tell how to do this, but have not found any resources. Â
So how can I insert a timer into an applescript dialog? Â
I've tried finding Xcode examples of this, but no luck.Â
View 1 Replies
View Related
Mar 15, 2012
I am using a script that Jacques Rioux kindly helped me out with a couple days ago. I altered his script a little to complete a different task I needed to create a shortcut for. The script below first creates two folders (TIFF & JPEG) and then it sorts files with an extension .tif into the 'TIFF' folder and files with the extension .jpg into the folder named 'JPEG'. This works great but I would like the script to effect multiple folders. Can anyone help me add to the script so when you click it, a prompt will pop up allowing you to choose multiple folders to apply the script too? As of now it will only work on one folder at a time.
Info:
MacBook
Pro, Mac OS X (10.6.8)
View 2 Replies
View Related
Mar 20, 2012
I'm trying to automatically convert Excel files to PDFs using Automator. Although, every time the Excel file is opened, I get a message about links to other workbooks. I really don't care about these links and just want to convert the file to a PDF. I just can't get Automator to press the "Ignore links" button on the Excel message.Now I've found out that pressing the escape key on my keyboard activates the following buttons on the Excel message about the links:
- "Update links" (then there's a Finder window popping up)
- "Cancel" (the search for other workbooks) (another Finder window pops up)
- "Cancel" again
Then Excel opens up the file I need to convert, so I can actually convert it using Automator and do whatever I want with it.I have absolutely no experience using AppleScript.Is there a way to make a AppleScript that presses the escape key three times, so that Excel just opens my file?
Info:
Mac OSX Lion Server, Mac OS X (10.7.3)
View 4 Replies
View Related
Mar 21, 2012
I have a applescript that sometimes hangs (this is on a blind server). reason is that the application (JSMS, it sends text messages via my mobile phone account) can not connect to the server. it than pops a message saying so, but as a result the script does hang and interferes with other stuff.
is there a way to have the script stop (would 'try if' do this?) or alternative is to force quit this script after 10 minutes with an other script.
Info:MBP, MM, MBP - 10.6 + Windooz XP on a hard partition
View 14 Replies
View Related
Mar 25, 2012
I'm trying to play a new track on a playlist every 30 seconds. Thought I'd play around with AppleScript. Here's what I've got: on run {input, parameters} (* Your script goes here *) tell application "iTunes" play track 1 of playlist "Night"   end tell  repeat 10 times delay 30 tell application "iTunes" next track end tell end repeat return inputend run This sort of works, but not until the 4th track on the playlist. It seems to play the first three for a few seconds, but passes over them very quickly (not 30 seconds).
View 5 Replies
View Related
Mar 26, 2012
I am currently getting to grips with applescript. I have created some documents using pages 09 and pull in a couple of charts onto these doc's using Numbers 09. I am trying to find the applescipt command that tells Page 09 to Refresh or Sync the data from Numbers 09. you can do it manually by cliekc ing the Sync/Refrresh arrow thingies but i cant find a way to automoate it
Info:
Applescript, Mac OS X (10.7.3)
View 1 Replies
View Related
Mar 29, 2012
This is probably very easy but I just can't get my attempts at applescript to work. I normally use Windows but the Apple server hosts our phone system and I've been told I have to delete all old voicemails for data protection reasons. I would like to delete all WAV files in a folder tree over 90 days old and have this script run once a week. The folder is on a disk called Vision Array, and the folder path is Vision, Voice, Voicemails with subfolders 2010, 2011, 2012, each with folders within them.
The folder seems to have some sort of security on it that only allows the Vision user to modify it. I know the Vision password. I've tried do shell scripts find -type f -exec rm etc but get syntax errors. I've tried delete every file whose modification date is less than etc but get errors saying the modification date couldn't be turned into Unicode. I also couldn't get this to recurse folders.
Info:
Xserve
View 7 Replies
View Related
Apr 19, 2012
I'm creating an AppleScript application bundle that relies on a separate application. I want to add this application to my bundle and then call it via "tell application xyz ... end tell"Â
So far I have been unable to make AppleScript see this application, except when I gave it the absolute path of where it is located. Obviously, as soon as my application bundle is moved to a different directory this will not work anymore so is not a solution. Tinkering with "path to me" and thus creating the current path to the bundled application also does not work, when saving the script, ScriptEditor tries to find the application and see if the commands I want to tell it exist btu fails and consequently does not save.Â
I tried putting the application into the Contents, Contents:MacOS, and Contents:Resources folders, all without success.Â
View 9 Replies
View Related
Apr 25, 2012
Im using package maker and has a script to create my alias, but i am relatively new, and want to change the alias' icon to my applications supposedly icon.
as my app is base on HTML5 thus we are using the browser to open the app
Info:
Applescript
View 1 Replies
View Related
May 5, 2012
I use the create calendar with name "" and it makes it "On My Mac". Is there any way to make it in iCloud instead?
Info:
Mac Pro, Mac OS X (10.7.3)
View 2 Replies
View Related