OS X :: Will Applescript Run On PC

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


ADVERTISEMENT

OS X :: Applescript - Having Icon The Causes The Script To Run

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

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 View Related

OS X Technologies :: Upload To Ftp Applescript

Apr 28, 2012

is there a simple way to upload some file on ftp with an applescript?

View 2 Replies View Related

OS X :: Turn Off Stacks With Terminal Or Applescript?

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

Applications :: Use AppleScript To Run Cyberduck In Background?

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

OS X :: Using Automator Applescript To Get Mail Attachments?

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

OS X :: AppleScript Hanging - Can't Figure Out How To Quit

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

Software :: Applescript To Add File Extension .jpg

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

Intel Mac :: AppleScript To Take Photo For Filemaker?

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

OS X V10.7 Lion :: Download A File Through AppleScript

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

OS X Technologies :: How To Get AppleScript To Repeat Every 10 Seconds

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

Applications :: Applescript For Saving .TXT Files From Mac Mail

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

OS X Technologies :: How To Make AppleScript Mouse Clicker

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

OS X V10.7 Lion :: Run Avconvert, The Video Encoder, With Applescript?

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

OS X Technologies :: How To Exit Quickmask Mode In Applescript

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

MacBook Pro :: Insert A Timer Into An Applescript Dialog?

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

OS X Technologies :: Create Folders And Sort Applescript?

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

OS X Technologies :: AppleScript To Press Escape Key (3x) For Excel

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

OS X V10.6 Snow Leopard :: Quit A Applescript That Sometimes Hangs

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

OS X Technologies :: Using AppleScript To Navigate Playlist On Timer?

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

OS X Technologies :: Refreshing Chart Data Using Applescript?

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

OS X Technologies :: AppleScript To Delete WAV Files Over X Days Old

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

OS X Technologies :: How To Access An Application That Bundle With AppleScript

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

OS X Technologies :: Change An Alias' Icon Via Applescript?

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

OS X Technologies :: Create ICloud Calendar With Applescript

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

OS X V10.6 Snow Leopard :: Unable To Save Applescript

May 14, 2012

I cannot modify then save or create a new Applescript and save it on my MacPro. I get an error message saying I don't have permission. To view or change permissions select the item in the Finder then chose File > Get Info. When I do that, and enter my pass phrase to unlock the lock at the bottom right of the Get Info window I can do that, but I cannot change the Privileges and I wouldn't know what to change them to anyway. 

If it helps, I'm running off a drive that used to be my backup drive and the info on it was copied by Carbon Copy Cloner. Also, I recent reinstalled the OS because the machine wasn't booting from the drive reliably. After the reinstallation I ran Disk Warrior, Disk Utility (permissions and repair), optimized the drive with DiskTools Pro and checked its SMART status.

I should add that if I restart off my main drive I can change and save scripts. But I don't want to use that drive as my main drive anyore as I upgraded it to Lion which I don't like (Lion killed my most important applications).

View 2 Replies View Related

OS X Technologies :: Move Folder Content Via Applescript?

May 17, 2012

I need to move one or more files inside a folder to another folder.

View 4 Replies View Related

OS X Technologies :: Telnet Router Login With Applescript?

May 23, 2012

I have to realize a user-based firewall with a draytek vigor 2850 router. Therefore every user has to login at the router during startup with a individual telnet parameter sequence. With the Terminal application the following procedure works fine. 

ADCT-iMac:~ Lucky$ telnet 192.168.3.1

[Code]...

View 3 Replies View Related

OS X Technologies :: Applescript To Rename A Text Variable?

May 25, 2012

I am currently using automator to make folders named after the large numbers of images. I have everything set up and its working great but I am trying to make it more efficient. 

The images follow a filename structure such as: 

bmz12345_black_1.jpg
bmz83762_blue_3.jpg
bmz83762_blue_1.jpg
bmz09990_yellow_5.jpg 

I strip the filename to just the first part of the code eg "bmz12345" and make the folder from that. 

However, In order to do this I have to create a dummy text file or folder somewhere named after the fulle code (bmz12345_black_1) and then strip it down (bmz12345) set a varible of the new filename and then create the folder in the desired location with the right name. 

After getting the name of a finder item, Is it possible to change the text that is passed to it without creating a file out of it first?

Info:
Automator, Mac OS X (10.6.8)

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved