Apple script for print que???
I was wondering if anyone knew of an Applescript or third-party software for the print que in OS 10.4 that will allow me to see what application the completed files were printed from.
Thank,
John
733mhz Quicksilver upgraded to 1ghz processor, 40gig Maxtor HD Mac OS X (10.3.8)
You may be able to adopt this script:
on open dropped_items
-- Write a message into the event log.
log " --- Starting on " & ((current date) as string) & " --- "
-- set see to alias "Macintosh-HD:Users:mac:Desktop:app.html"
-- set dropped_items to {see}
set the_app to "Safari"
repeat with dropped_item_ref in dropped_items
--set UrlBase to "xzzx FILE://" & POSIX path of dropped_item_ref
--display dialog UrlBase
-- Activate
activate application the_app
-- Open the URL
tell application the_app
open dropped_item_ref
-- print dropped_item_ref
tell application "System Events"
tell process the_app
delay 3
-- click menu item "Print..." of menu "File" of menu bar 1
keystroke "p" using command down
delay 1
keystroke return
delay 10
keystroke "w" using command down
end tell
end tell
--quit
end tell
end repeat
end open
Similar Messages
-
Apple script for Message box when Mail app Compose Window Opens
Hi there
I'm trying to make mail app remind me to choose the right emaill address to send from since I have several email addresses. Is there a way I can make or write an apple script for a message box to pop up whenever mail app's compose window opens up.
I can do for the case when I actally click the compose button when I'm on mail app by using UI scripting. But when it comes to hyperlinks which opens up the compose window, it fails.
I just want a script to see whether the compose window is open and if open pop up a message box.
Thanks
Best regards
Zam Shabeer ThahirTaoChitpol wrote:
By the way, the problem happens with the account of MS Exchange service, I don't know if this is the cause of the problem.
I think yes. The encoding is being corrupted somewhere, probably Exchange. There is nothing you can change on the iPad other than the OS languagel, to see if that helps. You can also tell Apple at
http://www.apple.com/feedback/ -
Apple Script for deleting podcasts
I subscribe to a lot of podcasts, but I don't want to keep them in my iTunes library after I'm done listening to them. Is there an Apple Script for automatically deleting podcasts? Thanks.
Thanks - once I'm in Automator and select Music, I don't see any options for finding Podcasts. Any suggestions which item/step I should select next in Automator? Thanks.
-
Script for downloading files from pdf placed on web, script for printing for exchange-
Looking for java script command to set on button in pdf. We have mp3 and pdfs on our web site, example of URL: http://www.uzlicek.cz/download/Pohadky/O_holcicce_ktera_si_prala_byt_dospela.mp3
By clicking on button/link in reader I would like to appear a dialog box with offer to Safe file as…
Any suggestion? In case of using “link tool” the file starts downloading to cache and this is not the objective. In case of using “sound tool”, the file does not appear for saving.
For exchange the script for Print the current page:
var n = this.pageNum;
var pp = this.getPrintParams();
//pp.pageSubset = pp.subsets.all;
//pp.printContent = pp.constants.printContent.doc;
pp.firstPage = n;
pp.lastPage = n;
this.print(pp);
Cheers MartinIt can't be done using only a PDF file - any link to a URL will simply open your web browser, and whatever handler that browser uses when presented with MP3 files will be triggered (download, play, etc.) - nothing in the PDF can override that handler and force a "save" operation.
Instead you'll need to configure your website to force downloads (using HTTP headers) and link to those URLs instead; which is a subject outside this forum. -
Apple Script For Opening External EML File With Apple Mail
Hi folks,
I am working with Apple Script for implementing numerous function related to Mail App.
I am using the following Apple Script lines for opening the mails which are in Mail app for each modes.
View Mode : open theMsg
Reply View Mode : reply theMsg opening window yes
Reply All Mode : reply theMsg opening window yes reply to all yes
Forward Mode : forward theMsg opening window yes
I want to know how we can open external eml file in different view modes (View, Reply, Reply All and Forward) using Apple Script or Apple Event programmatically with a similar mechanism available through script in Mail App.
Thanks in advance. Regards
NisarI'm not sure what you're doing here, but this isn't anything I recognize as compilable applescript. what is this 'mode' thing you're talking about.
at any rate, if you have a loose emlx file sitting around somewhere you can simply open it in mail (use the 'open' command and the file specification for the emlx file) and work with it appropriately. if you're talking about an actual eml file (e.g. from Outlook Express) you'd have to GUI script Mail's 'import mailbox' command (the applescript handler for importing mail only works with Mail.app mailboxes) -
I have made a photo book which is ready now to send to the apple store for printing but half way through the download process it cuts out unexpectadly and will not send. I have printed many books from my computer through Iphoto and have never had this problem before. What could be the problem? I have checked for updates and installed all of them. Turned my computer off and then on again. But still keeps doing this. Help ?
Apple's servers are very busy today, right after the big WWDC conference and the announcement of new products.
download process it cuts out unexpectadly and will not send
The reason for this may be that the book contains photos that cannot be rendered. Have you checked the preview of your book? Does the pdf look correct?
See: http://support.apple.com/kb/HT1040
If that is not the problem, check your network and your security settings. If you are using a Firewall or Antivirus filter, disable it temporarily.
Regards
Léonie -
Hai all,
i am trying to insert footnote and its contents for a particular xml element in "Adobe Indesign cs2" thru apple script. But i'm facing some problem. I'm able to select the xml element and its contents and i can insert footnote for that element and i can cut that contents but i couldn't paste this contents in footnote. I have tried with the following code:
tell application "Adobe InDesign CS2"
tell active document
set theRoot to (item 1 of XML elements)
end tell
end tell
myLoopLoop(theRoot)
property myLoLoV : {}
property myHoHoV : {}
on myLoopLoop(myElement)
tell application "Adobe InDesign CS2"
tell active document
set moreElement to every XML element of myElement
repeat with x from 1 to (count of moreElement)
set em1 to item x of moreElement
select em1
if (name of markup tag of em1 is "informalexample") then
set em2 to em1
select text of em2
tell insertion point 1 of em1
set myfootnote to make footnote
end tell
tell application "Adobe InDesign CS2"
set myselection to selection
cut (selection of active document)
end tell
tell application "Adobe InDesign CS2"
tell insertion point 1 of myfootnote
paste into myfootnote
set text of em2 to myfootnote
end tell
end tell
end if
tell me to myLoopLoop(item x of moreElement)
end repeat
end tell
end tell
end myLoopLoop
Can anyone help me out to sort this problem?
Thanks
anbu
I Mac Mac OS X (10.4.8) Intel based Machi all
any help
thanks
anbu -
In FCP you can scrub though a video in the viewer by 1 second intervals by holding shift + arrow key (left=back, right=forward). I really like this shortcut.
Anyone have any script for QT to make it do the same thing?
Apple should add it on the next version. It will be super helpful and better integrated with FCP.
BlakeYes, but in FCP when you hit shift+arrow every time you hit the arrow it scrubs either 1 second forward or 1 backward. This is very helpful if I know I want a clip to start at and exact point and go for exactly 5 (6,9,25) seconds. I have to do this a lot in my work. In QuickTime it just moves you frame by frame, which is perfect for certain situations but I would really like to be able to do what I can do in FCP also.
Blake -
Script for printing using alternate layout in Word
I am relatively new to Applescript, but have a basic understanding of commands, etc. I am trying to write a script to print the active document in MSWord in draft quality. I often print large volumes of docs for quick reference but do not need high quality output. I am simply saving ink. How does Applescript access the printing preference settings? The Word script library obviously has no specific commands for the print dialog options, and I don't see any applescript commands to do it either. Since printing is handled by OS X, not by Word, I assume the commands will rest outside of the Word tell block?
Any help would be super!
Dual 2.0 G5 PPC Mac OS X (10.4.8) 1GB DDR GeForce 6800 Ultra Mac Mini 1.4It can't be done using only a PDF file - any link to a URL will simply open your web browser, and whatever handler that browser uses when presented with MP3 files will be triggered (download, play, etc.) - nothing in the PDF can override that handler and force a "save" operation.
Instead you'll need to configure your website to force downloads (using HTTP headers) and link to those URLs instead; which is a subject outside this forum. -
Apple Scripting for Microsfot Power Point 2011
Hi,
I am having problem with following apple script. This is working fine with Office 2004 but when i am using office 2011 then on action is changing to «class BCOa». Can any one please help me in this. I will be very thankful
tell application "Microsoft PowerPoint"
set btnAbout to make new command bar control at command bar ¬
"CPS" with properties {control type:control button, button style:button caption}
-- Set button style in "with properties" block
set width of btnAbout to 60
set name of btnAbout to "About"
set *on action* of btnAbout to "cpsHandleAbout"
set tooltip text of btnAbout to "About CPS for PowerPoint"
end tellHm, not sure if this helps, but perhaps... first create this command button by hand...
then run
tell application "Microsoft PowerPoint"
get properties of command bar control "About" of command bar "CPS"
end tell
this returns the properties of this button...
something like:
{class:command bar button, begin group:false, built in:true, name:"About", description text:"", enabled:true, height:22, help context ID: 0, help file:"", id:2520, entry_index:1, left position:674, parameter:"", priority:3, tag:"", tooltip text:"&About", top:324, control type:control button, visible:true, width:28, button face is default:false, face id:23, button state:button state up, button style:button automatic}
If the button uses a build in command you will get to know the id of this command...
e.g. the ID is 23 (open file)
make new command bar control at command bar ¬
"CPS" with properties {id:23}
and this would create such a new button...
But I am not sure who to get a list of all action ids... -
Can anyone make an Apple Script for me?
I'm looking for an Apple Script so that when I press cmd+F1 on my Macbook Pro Retina it turns the brightness to 0 instantly. Rather than having to hold F1 down to make the brightness go down to 0.
Is this something that is even possible?
Thank YouThere is evidently no direct way to do this, but there is an indirect way:
Download an app called SleepDisplay: Download SleepDisplay for Mac - Put your display to sleep instantly. MacUpdate.com
put SleepDisplay in your Applications folder
open Automator.
Select service for type of document
at the top, for service receives, select no input, and after in, any application
in the column on the left, select Utilities
in the next column, drag Launch Application over to the right, and select SleepDisplay for the app
close the window with the red circle in the left upper corner, and give the service a name, like Dark.
go to system preferences > keyboard > shortcuts
select services in the box on the left, and scroll down in the box on the right until you find the service you just created. select that service.
when you select it, a white oval should appear that says "add shortcut". Type in the shortcut you want to use. I couldn't get ⌘F1 to work, but control-option-⌘-D did work. It must be a unique shortcut, not already in use. -
Aperture 3.2.3 can't access my Apple account for prints?
When I try to order prints, I give my login credentials for my apple account, but I get prompted to create a new account. I have an account authorized for iTunes on several devices, and Aperture can in fact create a mobileme web page no problem. But it does not seem to be able to connect to the account for print orders (this is my first try ordering prints). Yes, I have tried more than once and do not think it is a typo in the password.
Either your iTunes Store or App Store account shouöd suffice, but right now the procedure is very buggy. Just go thru the motions of creating a new account, without actually creating it: see this post by markpek: Re: i have and apple account but upon ordering prints i cannot login it wants a new account
Regards
Léonie -
Apple script for 10.4 - works in OSX but not older
Hi I have a script which I'm using on my current system 10.9 it runs in excel and it goes something like this:
tell application "Microsoft Excel"
-- put the complete set of data into a list of lists (i.e., 2 dimensions -> columns of rows)
tell active sheet to set myData to value of used range
-- recipient email
set myRow1 to 1
set myCol1 to 1
set Address to item {myCol1} of item {myRow1} of myData
-- recipient name
set myCol4 to 4
set rName to item {myCol4} of item {myRow1} of myData
The above is just a small snippet from the script. However I try running this on apple 10.4 apple script and it does not work. I'm trying to save my computer time from have to this minimal task on an older mac I have but I'm experiencing some problems. Does the active sheet not work in apple mac 10.4? What am I missing? Any help would be greatly appreciated.Hi Ohms238,
I found this Apple developer page that talks about changes made in each version of OSX. It will require some work, but you can go through and see what changes are relevant to your script.
But I would actually recommend running pieces of your code separately to see exactly what parts don't work and then rewrite just those portions. -
Hello there. How do I create an apple script that switches between the default printers? I am using 9.2.2. I am not familar with apple scripts in OS9. Thanks
Try starting with the script posted on this page.
(15380) -
How to find out the driver program and script for print preview for PO
Hi All,
We are getting some text output on the print preview of a purchase order.
How can we determine the driver script and the corresponding print program for this.
Can you please guide on this.
Thanks in advance.
Regards,
SanjeetHi,
check with below table
TNAPR --- Processing programs for output
and NACE Transaction code
NACE -- out types
Regards,
Madhu
Maybe you are looking for
-
Grayscale Printing with HP Color Laserjet 2600n Using OS 10.6
Like a lot of people, I've been frustrated with the (lack of) support and functionality with this printer since upgrading to Snow Leopard. But at least it's working. I have two questions: 1. Even with the printer set to Grayscale, all of my pages com
-
Lots of cabinets appearing in my village (Blackbur...
Over the past few days, I've noticed 3 cabinets appearing a short distance apart from each other, near the telephone cabinets that are already there. The exchange I'm connected to in Bathgate was activate for infinity a few months ago. I checked on t
-
Marking used clips and photos in video
I am making a video with photos only. I will be using over 200 phtos. How can I mark the phtos ive used? Many thanks Wendy
-
I upgraded from Firefox 3 point something or other (if I could remember exactly, I'd tell you) about 2 weeks ago to version 6.0. Thereafter, Firefox always starts up with two pages; one is a page declaring "Your Firefox is up to Date" and, on another
-
Compare Group to Previous Group
Post Author: nomore CA Forum: General I have a report with the format: GH1.....GH2 | Number1.....GH2 | Number2.....GH2 | Number3GF1(Details Hidden, but can be drilled down into) The 3 numbers are summaries from the Details field. I need to