How do I get applescript to package a document?
I have an applescript started that appears to pass syntax checks, but when I run it, I get error window that says InDesign can't complete the package. It doesn't tell me why it can't complete.
package to exportPackage ignore preflight errors preflight_errors with copying fonts, copying profiles and copying linked graphics
exportPackage is a variable that contains the path to a server location. I've tried changing it to the desktop, but get the same error.
I can complete the package process manually.
This is what I found with CS4
When I tried to package a document using the original code I would get a "missing required parameter" error
Full line needed to read (for my purposes) :
package to exportPackage with copying fonts, ignore preflight errors, copying profiles, updating graphics, including hidden layers, copying linked graphics and creating report
d.
Similar Messages
-
How do I get the m3g package working under wtk2.2?
How do I get the m3g package working under wtk2.2? When I try to build applications which use the package, the toolkit can't find it, although the .jar file is in WTK2.2/lib (jsr184.jar). But none of the scripts in WTK2.2/bin reference the file. I have tried adding classpath references to the jar file in all of the bin sripts, but I still get 'package does not exist' messages when I try to build, e.g., Redikod's M3GMIDlet. i have of course tried putting the jar file in the 'res' directory for the application.
Thanks,
tom arnall
north spit, ca
usaDo you see the WebContactSheetII and ContactSheetII plugins in photoshop cs5.1 plugins folder?
Applications ▸ Adobe Photoshop CS5.1 ▸ Plug-ins
To run photoshop cs5.1 in 32 bit mode, right click on the Adobe Photoshop CS5.1.app, click on Get Info
and then check Open in 32-bit mode -
How do i get to Type within a document
All i am aakinf is How do i get to type within a document what button do i hit to do this
What type of file are you trying to type into?
-
How do you get applescript to say multiple things simultaneously?
I'm quite new to applescrips, and although I've written some basic scripts, I can't really do anything useful (since I have no knowledge of how to use Terminal commans or how to run shell scripts).
I've been trying to get applescript to say multiple things at once, in the same OR in different voices, whatever. No matter what I've tried, it either waits for what it's currently saying to finish before saying a new line, or it cuts off all lines but the last one before speaking.
I've tried say all by itself, with stopping current speech, without waiting until completion, or with both of those last 2 at once, like shown here:
say "TESTING" using "Agnes" with stopping current speech without waiting until completion
say "TESTING" using "Alex" with stopping current speech without waiting until completion
(Take off whatever endings you want, I don't even like those there.)
None of them worked. Also, putting a delay in between doesn't work either.
I've also tried saving applescripts that say something as their own scripts and opening those with a different one, like so:
run script file "Macintosh HD:Users:MY NAME:Library:Scripts:TESTING1.scpt"
run script file "Macintosh HD:Users:MY NAME:Library:Scripts:TESTING2.scpt"
But that didn't work either.
I'm stuck and neither Google nor any Apple support threads I could find could help me.
Any help would be much appreciated, thanks.You can try a script I have, and work from that:
set anSwer to the text returned of (display dialog "What text do you want to say?" default answer "") as text
set the_names to {"Fred", "Bruce", "Alex", "Albert", "Ralph", "Junior", "Vicky", "Agnes", "Kathy", "Princess", "Victoria"}
repeat with this_name in the_names
tell application "System Events"
try
say "Using" & this_name & "'s voice..., " & anSwer using this_name
on error
display dialog "Didn't Work" giving up after 3
end try
end tell
end repeat -
How do i get the installation package for Adobe Bridge
Hello,
Our Creative services Department have taken a Creative Cloud account and they only want to install Adobe Bridge, however when i access the Creative Cloud account there is no installer for Adobe Bridge. Now i believe Bridge is installed as part of the installation package for other Creative Cloud products such as Photoshop, so how would i find the installer package for just Bridge?
Any help greatly appreciatedand it seems like I saw this somewhere,
http://www.adobe.com/products/bridge.html
http://www.dummies.com/how-to/content/how-to-work-with-bridge-cc-and-the-adobe-output-ma.h tml -
How can I get changes made in documents on my Windows 7 computer to show up in the documents on my iPhone 5? These documents show up in ICloud without showing the changes.
You have to be accepted into the Apple Beta program before any of that works.
-
How can I get the missing font in document
How can I get the missing font in document
PSE uses the fonts on your computer, so if you install Rockwell there, PSE should pick it up.
-
How can I get Notification Number from Material Document?
Can you please tell me that how can I get Notificatin Number(QMEL-QMNUM) from Material Document(MSEG-BELNR)?
Regards,
SubhasishThis question is closed but unanswered.
-
HT1175 How do I get Time Machine to backup Documents and Photos?
My backups do not include photos and my documents folder. How can I get them included in the backup?
Time Machine will backup everything on the Mac unless you specifically Exclude the files from being backed up. If the Documents and Photos folder are not being backed up, then someone placed them on a list of items to be Excluded from backups.
These folders will appear in the list of Excluded items.
Click the Time Machine "clock" icon at the top of the Mac's screen
Click Time Machine Preferences
Click Options
Click on the Documents folder to highlight it, then click the - (minus) button at the bottom of the list to remove the Documents folder from Excluded items.
Time Machine will now back up the Documents folder on the next pass.
Do the same for the Photo folder and it wil be backed up on the next pass as well. -
How can I get Applescript to operate correctly again?
I can't Applescript on G4 with OS 10.3.9 to work correctly. When I try to open an applescript the G4 says it can't find the Scriptable Text editor. I am then asked to choose an application but Applescript is not amoung the choices. When I close that window, the script I tried to open now opens with the script in purple (is that significant?). And icon of Scriptable Text Editor in on the desktop but when I try to open it, the program "cannot be found".
The script I am trying to run starts out:
tell application "Scriptable Text Editor"
activate
count characters of document 1
I have some good scripts from my G3 but I can't get the G4 to open or run them. Does this mean I have to reinstall Applescript from the CD? Or should I move the script editor from the extra drive or the desktop and put it in the Applescript folder?HD--
I followed your suggestion and used
tell application "TextEdit"
activate
count characters of text of document 1
end tell
The even log came back as:
tell application "TextEdit"
activate
count every character of every text of document 1
"TextEdit got an error: NSReceiverEvaluationScriptError: 4"
The application I am working with is Appleworks 6. I went to AW6 Text suite dictioary and found:
AppleWorks Text Suite: Terms for use with word processing
Class character: a character
Plural form:
characters
Elements:
character by numeric index, as a range of elements
text as a range of elements
Properties:
color RGB color -- the color
font text -- the name of the font of the character
size real -- the size in points of the character
style text style info -- the text style of the character
uniform styles text style info [r/o] -- the text styles which are uniform throughout the specified text
drawing area drawing layer [r/o] -- the character’s drawing area (only for embedded graphics)
<Inheritance> text [r/o] -- subclass of text
So it appears that Script Editor should recognize characters.
There may be another glitch. When I open the downloaded Scriptable Text Editor, it opens in Mac Classic OS9. I don't know how relavent this is.
I also checked the dictionary for TextEdit Text suite and found:
Class text: Rich (styled) text
Elements:
character by numeric index, before/after another element, as a range of elements, satisfying a test
attribute run by numeric index, before/after another element, as a range of elements, satisfying a test
attachment by numeric index, before/after another element, as a range of elements, satisfying a test
word by numeric index, before/after another element, as a range of elements, satisfying a test
paragraph by numeric index, before/after another element, as a range of elements, satisfying a test
Properties:
<Inheritance> item [r/o] -- All of the properties of the superclass.
size integer -- The size in points of the first character.
font Unicode text -- The name of the font of the first character.
color color -- The color of the first character. -
How do I get Applescript to edit the text of a file?
For a number of reasons I need to change the text of a "TXT" file using Applescript. If possible, without launching/opening text edit. Is this possible? If so how? Thanks in advance.
To answer my own question, I found an answer here: http://stackoverflow.com/questions/8141141/writing-to-file-in-applescript-not-wo rking
-
So how do I get applescripts to work again? Without installing Rosetta?
I read quite a bit about snow leopard before "upgrading" but nothing mentioned the fact that my apple scripts would all stop working. Thanks Apple.
So how do I deal with this without running rosetta? The following script works fine when run via script editor, but when I save it as an application it demands Rosetta to run.
Why would apple upgrade everything to 64 bit, and leave one of THEIR OWN programs creating non-compatible applications?
tell application "Finder"
if exists (disk "Clone") then
eject "Clone"
else
display dialog "volume not found or is unmounted already"
end if
end tell
tell application "Finder"
if exists (disk "Sandbox") then
eject "Sandbox"
else
display dialog "volume not found or is unmounted already"
end if
end tellOld Applescripts that were saved as an application are PowerPC and thus require Rosetta. I discovered this sometime back in Leopard, so it has been true for quite awhile now. You probably didn't notice since Rosetta was installed by default. I noticed because of a slight delay in my old scripts and wondered what was going on. See this at MacOSXHints:
http://www.macosxhints.com/article.php?story=2006080109510225
I did that thing and all was good. Got curious to see if the Snow Leopard version of Editor will now save a script as Intel native when selecting "Application" and I copied your script, pasted into Script Editor, saved as an Application and ran it. When it ran it did so as Intel (64 bit), and GetInfo shows it as an Application (Universal), so Script Editor ought to work (and no longer offers the "Application Bundle" option, just a "Script bundle" which is a different thing). I found it interesting that even though Snow Leopard won't run on a PowerPC machine, Script Editor produces Applescripts that will run on both PPC and Intel machines.
For more help with your scripts you should probably post in the Applescript forum:
http://discussions.apple.com/forum.jspa?forumID=724
Redoing your scripts in the new Editor and resaving really ought to work.
Francine
Francine
Schwieder -
How do I get more space in a "Documents" window?
I wonder if someone can help me with this. I recently upgraded from 10.3.9 to 10.4.9. When I open, for example, the "Documents" window and find the page is full with folders/files I place the arrow cursor in the bottom right hand corner and move the window up. I then pull the scroll bar down, place the arrow cursor in the bottom right hand corner and pull the window down. Under 10.3.9 the folders/files would stay where they were and I would get more free space. Under 10.4.9 it doesn't do that; pulling the window down means pulling everything else down as well. So the window remains full with folder/files all the time. Is there a way of changing it as it was under 10.3.9?
Open the window, hit the end key, and expand the window, via the lower right-hand corner triangle. Works here and always has in Tiger. If that doesn't work on your machine, then I suspect a corrupt preference file. Create a new admin user account, log into, and see if the problem exists there. If not, then it's one of the preference files listed in the new account's /Library/Preferences/ folder that's screwy. Make a list of them, log back into the old account, move the same one's, one at a time, to the Desktop, OPTION-click the Dock's Finder icon, and select Relaunch. Do that until you isolate the one's that are causing the problem. Start with the com.apple.finder.plist.
-
How do I get Pages to mirror my documents on my desktop with my IOS devices
In the Apple description of iCloud if you work on a document on one device it also shows the changes on all your other IOS devices and on your desktop. How do I set that up?
You can't make it do this.
Importing photos from the iPhone's Camera Roll has nothing to do with iTunes and is completely separate from iTunes. iTunes doesn't need to be installed on a computer in order to import photos from the Camera Roll.
With a Mac, you can use iPhoto or the Image Capture application for the import. -
How do I get Full Url to a Document?
I am querying Document Folders using the IDocument Interface. The query returns the Url, but only a partial Url. I need to Full Url path in order to send to a user to access it. The URL being returned is only the last part (e.g. "_477_0_0_18/DeveloperGuide_PlumtreeNETWebControls_v2-1.pdf"). I need the first part (e.g. the http://.....)
Sample Code:
Protected Sub RetrieveDocumentDetails(ByVal intFolderID As Integer)
Dim customDataSet As New DataSet Dim newTable As New DataTable("TestTable") Dim newRow As DataRow
'Initialize Custom DataSet newTable.Columns.Add("CardName", GetType(String)) newTable.Columns.Add("DateCreated", GetType(String)) newTable.Columns.Add("DateModified", GetType(String)) newTable.Columns.Add("DocOwner", GetType(String)) newTable.Columns.Add("DocumentUrl", GetType(String)) 'newTable.Columns.Add("DocDescription", GetType(String))
'Instantiate Plumtree Remote Session Dim IPTRemoteSession As IRemoteSession IPTRemoteSession = RemoteSessionFactory.GetExplicitLoginContext(New System.Uri("http://cgi-clay01.clayton.com:8111/ptapi/QueryInterfaceAPI.asmx"), "Administrator", "")
'Query the Plumtree Document Manager passing in the Folder ID Dim PTDocumentManager As IDocumentManager = IPTRemoteSession.GetDocumentManager() Dim PTDocumentQuery As IDocumentQuery = PTDocumentManager.CreateQuery(intFolderID) Dim PTQueryResults As IObjectQuery = PTDocumentQuery.Execute() Dim i As Integer
'Loop throught the Document Query Results and load into the Custom Dataset For i = 0 To PTQueryResults.GetRowCount - 1 Dim PTDocument As IObjectQueryRow = PTQueryResults.GetRow(i)
newRow = newTable.NewRow() newRow("CardName") = PTDocument.GetName() newRow("DateCreated") = PTDocument.GetCreated() newRow("DateModified") = PTDocument.GetLastModified() newRow("DocOwner") = PTDocument.GetOwner() newRow("DocumentUrl") = PTDocument.GetStringValue(DocumentProperty.URL) '(I NEED THE FULL URL HERE) 'newRow("DocDescription") = PTDocument.GetDescription()
newTable.Rows.Add(newRow) Next customDataSet.Tables.Add(newTable) customDataSet.AcceptChanges()
'Bind Custom Dataset to Datagrid DataGrid1.DataSource = customDataSet DataGrid1.DataBind()
End Sub
PaulYou can insert layout breaks to change the number of columns throughout your document. This screenshot is from a newsletter I did in Pages 1/iWork '05, but this function is unchanged.
You should change your profile information that appears at the bottom of your posts. Mac OS 9 hasn't been a current OS for over 10 years & there is no way to run Pages on it. If you're not sure what version of Mac OS you're using, click the in the upper left of your menu bar & choose About This Mac.
Maybe you are looking for
-
Preview will no longer open PDFs in Safari
Hello Everyone, Lately, when I open links PDFs, they will not open in Safari (only a blank page). I have to control click the link to download the file, but I want it to go back to normal by opening within my Safari browser. I used to have Adobe Acro
-
Excessive Logical I/O's.
DB - 9.2.0.8.0 O.S - Win 2003 Server. I've got the following query, which does the excessive logical I/O. I really failed to figure out what caused these I/O's to occur. UPDATE REPAIRTIP SET BULLETINID = (SELECT DISTINCT B.BULLETINID FROM BULLETIN B
-
I have been doing some video/dvd projects for someone and will be doing more. What I want to be able to do is to save the iMovie HD-6 projects to an external HD to give to him for future use and possible future editing. He currently dosent have a Mac
-
MacBook Pro stalls with image of Hard drive on screen
I'm running Snow Leo 10.6.8. I just ran a software update and reboot, and my Book Pro got stuck with the white screen with a large Hard Drive Icon and an upwards arrow under it. I have never experienced this icon appearing on bootup before. Big prob
-
Out of the blue, my AppleTV went to a screen that had two icons, Computers and Settings. Why won't it go the the usual TV screen with viewing options? Help!