Script in LR with CC?
Is it possible to install a script (for recovery of deleted files) in LR when using Creative Cloud? I've followed the directions but I'm not seeing the script menu.
Try Jeffrey’s “Extract Cached Image Previews” instead.
Similar Messages
-
[js] CS Scripting not working with CS3
Hello,
We had a JavaScript made for us that enabled the user to exchange certain text within a document.
This script works fine with CS (Ver.3.0.1) but gives a JavaScript Error - #55, Error String: Object does not support the property or method 'findPreferences' with CS3 (Ver.5.0)
I have tried 'tinkering' around with the scripting - but I have zero experience with JavaScript and have not found a solution.
Additionally the people that wrote the initial script are not available.
I have bought several books but they all seem like alien-language to me
Below is the section of origional CS scripting.
Can anyone point out to me WHY this script does not work with CS3?
And WHERE I should start looking - changing?
Thanks in advance for your help and guidence.
Lee
// Exchange the text
function actProjectData(oneDoc, oneResult){
app.findPreferences = null; app.changePreferences = null;
oneDoc.search(undefined, true, true, oneResult[0],{appliedCharacterStyle:oneDoc.characterStyles.item(myProjectTitleCharStyleNa me)}, undefined);
oneDoc.search(undefined, true, true, oneResult[1],{appliedCharacterStyle:oneDoc.characterStyles.item(myOfferNoCharStyleName)}, undefined);
oneDoc.search(undefined, true, true, oneResult[2],{appliedCharacterStyle:oneDoc.characterStyles.item(myOfferDateCharStyleName) }, undefined);
app.findPreferences = null; app.changePreferences = null;> Come to think of it, maybe it's easier to create a folder "Version 4.0 Scripts" under your scripts folder and place your CS script in there. Maybe that will do the trick. Should have thought of that earlier.
Tried this, but it didn't seem to do anything... But certainly a 'try' worth.
Currently playing around with the:
> app.findTextPreferences.findWhat = "a";
app.changeTextPreferences.changeTo = "b";
oneDoc.changeText();
I've got to the point where I have no error messages :-) Now I'm really flying.....
Fact is - not all text and also the wrong text is replaced!!!
I'm currently playing with the script to try and replace
all texts with a given paragraph style with the entered text...
Not proving to be simple for me, but I'm learning rather a lot!
Now that doesn't sound very clear when I go back and read it!
What I want to say is:
Each page of the document has the project name, No & Date on it (each having their own paragraph style)
so
With this script it asks you the Project name, No. and Date and then goes
through the whole document and replaces all instants of those texts with specific paragraph styles with the newly 'entered' text.
Proving to be a little mountain for me - Thought it would only be a hill! -
ACROBAT STARTUP SCRIPTING NOT WORKING (with extendscript Tooklkit CS6)
Hi
I experienced in programming, but newbie in JS-Scripting in CS6.
I have developed some scripts in the console of Acrobat XI Pro, now I wan't to install that global script callable by a menu.
I work on Windows-7, with 64bit:
The script path is:
C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\Javascripts
script name is Confg.js
The script is created with Extendscript Tooklkit CS6 editor
only contains this line:
app.alert("Hi, from a globally executed script");
I expect that an alert is poping up, when I open the Acrobat XI Pro with any PDF-File:
for a change
app.addMenuItem({cName:"Menu Test", cParent: "Help", cExec: "app.alert('Menu Item Test'); "});
doesn't work either
after opening PDF XI Pro with an arbitry PDF I get an error in the console:
Acrobat – Version mit integrierten EScript-Funktionen 11.0
Acrobat SOAP 11.0
SyntaxError: illegal character
1:Folder-Level:App:Config.js
If I create the file with a plain text editor, things will work fine, as expected.
If I edit that clean file with Extendscript Tooklkit CS6 editor again the file is corrupted. This is rahter clumsy. Any solution, so I can work with Extendscript Tooklkit CS6 editor?Thanks for the reply.
>>Acrobat is not one of listed programs that Extendscript is used with.
I was already wondering about this. Thought my installation is corrupted or whatever
Though with regret, I have to accept that Extendscript Toolkit can't be used with Acrobat XI scripting. I use jEdit meanwhile. This has syntax higlighting and a linenumbering, helpful to spot errorous linenumbers. This does the job so far. -
[svn:osmf:] 13494: Update build script to work with Flex 4 SDK.
Revision: 13494
Revision: 13494
Author: [email protected]
Date: 2010-01-13 20:30:13 -0800 (Wed, 13 Jan 2010)
Log Message:
Update build script to work with Flex 4 SDK.
Modified Paths:
osmf/branches/flex4/build/build.xmlNo, you don't need Flash Builder to use the Flex SDK. If you download the SDK and unzip it, you'll find a 'bin' directory that has the mxmlc compiler in it. You can compile Actionscript or MXML files using that.
./mxmlc MyFlexApp.mxml
If you are building an AIR application, you will use amxmlc
./amxmlc MyAIRFlexApp.mxml
Then, launch your AIR application using adl
./adl.exe MyAIRFlexApp-app.xml
Hope this helps,
Joan -
Can someone tell me why Livecycle need to lock scripting on objects with children that are fragments??
I mean, just because I have a fragment (which you can't edit the script for), why does Livecycle need me to NOT edit say the initialise event on the Main form.
Yes, I can remove my fragments, edit and reinsert. Also if the event already has a script, I can edit the xml. But neither of these are terribly convenient.
Couldn't there be a better way?The purpose of the fragment is to create re-usable or standard components. In most cases the fragment is not created by the same person designing the form and they do not want the from designer to modify any part of the fragment (it is a separate XDP file). There may be code in that fragment that relies on the structure that exists. If you have the rights you can always edit the fragment and when your PDF is created the changes will be picked up.
If you want to be able to modify the fragment while it is in Design mode sounds to me like you want to add a component to the object library. This will allow you to have a reusable piece of a form that you can modify on a form by form basis. To do this simply build the piece that you want. Lasso the entire form and drag it onto the Custom library. When you release it a dialog will pop up allowing you to name your component. Now on any form design you can drag your new component onto the canvas and all methods/properties and code will come with that component (allowing you to modify it for that form as you see fit).
Note that you can create your own libraries to hold your components if you see fit. Also if you put your libraries on a shared drive, you can share components between Designers.
Paul -
How to get this script to work with different browser
Do you guys know how to get this script to work with mozilla firefox?
do shell script "open -a safari 'https://login.binck.nl/klanten/Login.aspx?ReturnUrl=%2fklanten%2fdefault.aspx'"
tell application "Safari"
activate
tell document 1
repeat until ((do JavaScript "location.host") is "login.binck.nl")
delay 1
end repeat
do JavaScript"document.getElementById('ctl00_Content_Gebruikersnaam').value='sim';document.ge tElementById('ctl00_Content_Wachtwoord').value='password';window.open(document. g etElementById('ctl00_Content_LoginButton').href, '_self', 'true');"
end tell
end tell
Thank you so much in advance:)That isn't possible. Firefox's AppleScript dictionary doesn't contain anything which can be used to manage JavaScripts.
(63741) -
Run a script before shutdown with launchd
Is there a way to run a shell script before shutdown with launchd? In 10.4, I have a shell script to remove user's folder when a user logs off.
Lisa Perezthe only way to do it that I know of is using a logout hook. see this link for details
http://www.bombich.com/mactips/loginhooks.html
However, I'm not sure exactly at what point in the logout process the logout hook is executed so there might be a problem running a script that deletes the home directory of the user that's being logged out. -
Revision: 8909
Author: [email protected]
Date: 2009-07-29 13:19:07 -0700 (Wed, 29 Jul 2009)
Log Message:
Fix to allow Script blocks interspersed with default property
children.
QE notes:
Doc notes:
Bugs: SDK-22249
Reviewer: Pete F.
Tests run: checkintests
Is noteworthy for integration: No
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-22249
Modified Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/ChildNodeHandler.javaAdd this to the end of your nav p CSS selector at Line 209 of your HTML file, after 'background-repeat...':
margin-bottom: -2px;
Your nav p will then look like this:
nav p {
font-size: 90%;
font-weight: bold;
color: #FFC;
background-color: #090;
text-align: right;
padding-top: 5px;
padding-right: 20px;
padding-bottom: 5px;
border-bottom-width: 2px;
border-bottom-style: solid;
border-bottom-color: #060;
background-image: url(images/background.png);
background-repeat: repeat-x;
margin-bottom: -2px; -
In a Conversion file, Using Java Script - IF statement with Greater,Less definitions
Hail to All Gurus,
Well, I've been trying to make a conversion file by using if statement of Java script with < , > definitions. unfortunately i got "Evolution error" over and over again.
Actually i want to convert all dates before 2009 as 2008.12. And the dates which is greater than 2009 will be converted as they are (e.g. 2009.01 or 2010.02 etc.).
Code is:
js:if(%external%.toString().substring(0,4)<"200900"){"2008.12"}else{%external%.toString().substring(0,4) + "." + %external%.toString().substring(4,6)}
SAP EPM version 10.0 SP15 Patch 2
Build 8586
Thanks for your help in advanceSadi,
You can write if Statement in transformation not conversion.
Look at this docs,
How to Import Master Data and Hierarchies into SAP BusinessObjects BPC 7.5 from SAP NetWeaver BW
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c02d0b47-3e54-2d10-0eb7-d722b633b72e?QuickLink=index&…
Thanks -
ColdFusion Script not work with Httpservice
At first I use PHP to generate xml output on page then use
the data to my httpservice with resultformat e4x. Everything is
fine. But now I want to use coldfusion script since I'm planning to
use ColdFusion as my web server. I have this script located on my
server and generate the data in XML file then the XML file is used
in my web, loaded through httpservice.
My PHP code was like this :
<?php
define( "DATABASE_SERVER", "localhost" );
define( "DATABASE_USERNAME", "root" );
define( "DATABASE_PASSWORD", "" );
define( "DATABASE_NAME", "MyCinema" );
$mysql = mysql_connect(DATABASE_SERVER, DATABASE_USERNAME,
DATABASE_PASSWORD) or die(mysql_error());
mysql_select_db( DATABASE_NAME );
$Query = "SELECT * FROM film";
$Result = mysql_query( $Query );
$Return = "<movies>";
while ( $film = mysql_fetch_object( $Result ) )
$Return .= "<film><judul>".$film->JUDUL.
"</judul><deskripsi>".$film->DESKRIPSI.
"</deskripsi><genre>".$film->GENRE.
"</genre><produser>".$film->PRODUSER.
"</produser><produksi>".$film->PRODUKSI.
"</produksi><homepage>".$film->HOMEPAGE.
"</homepage><durasi>".$film->DURASI.
"</durasi><url>".$film->URL."</url></film>";
$Return .= "</movies>";
mysql_free_result( $Result );
print ($Return);
?>
And now I try to get the same result using coldfusion script.
At first I dont write the XML to file, I just cfoutput it just like
I do with PHP just print result but it doesnt work out with my
HTTPservice. Until I try to write it to XML file then coding my
httpservice to read directly from that XML file. here is my
coldfusion code.
<cfcomponent>
<cffunction name="a" returnType="Void" output="true"
access="remote">
<cfprocessingdirective suppresswhitespace="Yes">
<cfquery name="GetFilm" datasource="myCinemaData">
SELECT b.* FROM playing a, film b
WHERE a.kode_film=b.kode_film AND a.start >
<cfqueryPARAM value = "#DateFormat(Now())#"
CFSQLType = "CF_SQL_STRING">
</cfquery>
<cfxml variable="userXML">
<movies>
<cfloop query="GetFilm">
<cfoutput>
<film>
<judul>#GetFilm.JUDUL#</judul>
<deskripsi>#GetFilm.DESKRIPSI#</deskripsi>
<genre>#GetFilm.GENRE#</genre>
<produser>#GetFilm.PRODUSER#</produser>
<produksi>#GetFilm.PRODUKSI#</produksi>
<homepage>#GetFilm.HOMEPAGE#</homepage>
<durasi>#GetFilm.DURASI#</durasi>
<url>#GetFilm.URL#</url>
</film>
</cfoutput>
</cfloop>
</movies>
</cfxml>
</cfprocessingdirective>
<cffile action="write"
file="#expandPath(".")#\userXML.xml" output="#userXML#">
</cffunction>
</cfcomponent>
Because I need to create the XML files first I try to execute
this coldfusion script first using webservice before I execute my
Httpservice but the XML file creation is slower than the execution
of my httpservice afterthat so it shows an error that my XML file
isn't not available. What can i do? I've tried to show the output
using cfoutput and run that script directly on my httpservice just
like the way I use print result on PHP but it produce an
error.... I try to execute this coldfusion script first using
webservice before I execute my Httpservice but the
XML file creation is slower than the execution of
my httpservice afterthat so it shows an error
that my XML file isn't not available.
Then it might help to apply a named lock to ensure that the
Httpservice runs only after the web service call is complete. For
example, apply an exclusive named lock on the code that calls the
web service and a readonly lock of the same name to the Coldfusion
code that interacts with the Httpservice. -
How to integrate a java script date picker with jsf?
Hi I have a javascript data picker which I want to integrate with a text tield.. that is <jsf:inputtext tag...
I know about onlclick .. but I am more interested in knowing .. how will the java script set date into that input text field.. i mean how will it recognize the field..Pass the input element as 'this' reference to the JS function?onclick="doSomething(this);"This has not much to do with JSF though.
-
I have a script that works with no issues in XP but fails every time in Windows 7
All the script is supposed to do is get the ip address of the client and add .5 to the last octet passing this ip address through to remote desktop. It performs fine in XP but fails on a join error in 7 or 8. Any help?
' SCRIPT to determine IP address of Terminal Server in Field installation
' ASSUMPTIONS: terminal device has been booted after DHCP server
' is operational. Calculation of server IP address is based
' on terminal device's IP address.
' PROCESSING:
' Obtain IP Address from Registry (NB: WMI doesn't work...)
' Compute server's IP Address by replacing own IP address's
' last octet with the number 5
' Invoke the TS client in fullscreen mode using the newly
' computed address
' When done with session, present MSGBOX -- otherwise, the TS
' session times out and restarts, leaving a bunch of sessions active
' VERSION:1.1
' DATE: September 6, 2007
' AUTHOR: Dom
' CHANGE LOG
' 1.0 Original, using registry hack
' 1.1 Modified to use WMI
' 1.2 May 2008 - Added msgbox
' 1.3 August 2008 - Translate msgbox
option explicit ' force all variables to be declared
' *** Start of script ***
Const wbemFlagReturnImmediately = &h10
Const wbemFlagForwardOnly = &h20
Dim WshShell, ObjNet
Dim StrComputer, Server
Dim objWMIService
Dim colItems, objItem
Dim strDefaultIPGateway, strIPAddress, strIPSubnet, cIPAddress
Set WshShell = WScript.CreateObject("WScript.Shell")
Set objNet=CreateObject("wscript.Network")
'Get the Computer's network name
strComputer=objNet.ComputerName
' Connect to root of management interface for this computer
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\CIMV2")
Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_NetworkAdapterConfiguration", "WQL", _
wbemFlagReturnImmediately + wbemFlagForwardOnly)
For Each objItem In colItems
strDefaultIPGateway = Join(objItem.DefaultIPGateway, ",")
strIPAddress = Join(objItem.IPAddress, ",")
strIPSubnet = Join(objItem.IPSubnet, ",")
exit for
Next
cIPAddress=split (strIPAddress,".",4)
Server = cIPAddress(0) & "." & cIPAddress(1) & "." & cIPAddress(2) & ".5"
WshShell.Run "%SystemRoot%\System32\mstsc.exe /v:" & server & " /f",,true
dim answer
answer = msgbox ("Click OK to log in to server, Cancel to terminate session" & vbcrlf & "Cliquez OK pour ouvrir une session sur le serveur, ou CANCEL pour fermer la session.",1 + 64 + 4096)
if answer = 1 then 'that would be "OK"
wshshell.run "wscript c:\windows\connect.vbs"
else
wshShell.run "shutdown -L"
end if
' ENDAfter removing all of the lines that do nothing or introduce subtle errors her eis swhat the script actually needs to do.
' get local address
Set objWMIService = GetObject("winmgmts:\\.\root\CIMV2")
Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_NetworkAdapterConfiguration WHERE IPEnabled=True")
For Each objItem In colItems
IPAddress = objItem.IPAddress(0)
Next
' fix address
ip=Split(IPAddress,".")
ip(3) = 5
TSServerIP = Join(ip,".")
' Run the ssession
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "%SystemRoot%\System32\mstsc.exe /v:" & TSServerIP & " /f",,True
answer = msgbox ("Click OK to log in to server, Cancel to terminate session" & vbcrlf & "Cliquez OK pour ouvrir une session sur le serveur, ou CANCEL pour fermer la session.",1 + 64 + 4096)
if answer = 1 then 'that would be "OK"
wshshell.run "wscript c:\windows\connect.vbs"
Else
wshShell.run "shutdown -L"
end if
Much shorter and much easier to understand. Fewer logic errors.
¯\_(ツ)_/¯ -
Login scripts not running with AnyConnect NAM and ISE 1.2
I am using AnyConnect 3.1 NAM as my 802.1x supplicant for ISE 1.2. When users log in with EAP Chaining (User and Machine Auth), the login script seems hit or miss on if it runs to map their drives. If I uninstall the NAM client, they map drives every time. I would think that running a login script to map drives is a common scenario and I was wondering if anyone else using AnyConnect NAM was having similar issues or how they were dealing with it.
I have the same issue and I solve the issue with change these parameters.
1.- You must change on configuration profile "before user logon". I have 5 seconds
2.- You must change on configuration profile "port authentication Exception policy" and you must enable checkbox "enable port exceptions" and select "allow data traffic before authentication"
3.- You must enable in the option of interface Ethernet Intel on PC "Wait for link" this option It's in "configured advanced of Intel. You must select "on" in this option.
4.- (this recommendation it was by Cisco)
Active Direct GPO has a setting "Computer Configuration\Administrative
Templates\System\Logon\ Always wait for the network at computer startup and logon" that
can be enabled to make the logon scripts wait till 802.1x authentication is completed.
With those changes the logon script run fine.
Regards
David. -
Regarding the Cheque printing in SAP Script. Issue with Layout Change.
I have to modify the layout of a predeveloped script.
The issue with the existing one is that, the Labels (on the window, that is printed) and the data (corresponding to it) are not on the same line.
To be more clear, I have like this on the cheque,
Payee : _______________________
Amount : ____________________
The Data corresponding to the Pay & Amount is not in the respective line (as I shown above).
How can I get that both on the same line.?
Shall I need to modify the layout or what else to do ?
Pls. guide me.
Your guidance is appreciable.
Edited by: ravikanth seal on Mar 9, 2011 5:09 AM
Edited by: ravikanth seal on Mar 9, 2011 5:10 AMHi niraj gadre ..
Ur idea may not workout fir me.
My idea is :
Can I use any formating options in the corresponding window's text elements..
Pressing F9 on the windiw (in the Windows list) displays the Text Elements (Goto Edit-> Text Elemets on the Window chosen) in the Windows list.
Here can we do any formating options, so as to change the layout alignment of window's Text Elements ??
Guide me please.
Your guidance is Appreciable
Thanks.
Edited by: ravikanth seal on Mar 9, 2011 7:55 AM -
tell application "Finder"
activate
set thefolder to choose folder with prompt "Select a Folder with InDesign Files to be Printed" as text
set thePath to thefolder as text
set the selected_items to every item of folder thefolder
if the selected_items is {} then
beep
display dialog "Please select a folder with InDesign files before running this script." buttons {"Cancel"} default button 1
end if
repeat with aFile in selected_items
tell application "Adobe InDesign CS6"
activate
with timeout of 600 seconds
set user interaction level of script preferences to never interact
open aFile
tell document 1
tell print preferences
set active printer preset to "Catalog Pages"
set page range to all pages
end tell
print without print dialog
close saving no
end tell
end timeout
--might need this delay
--delay 10
set user interaction level of script preferences to interact with all
end tell
end repeat
tell application "Finder"
activate
display dialog "Batch Printing is complete!" giving up after 5
end tell
end tellHi
After I put a small delay in as shown, your code ran fine, tested on about twenty ID files, using ID CC 2014, OSX 10.10.2
tell document 1
delay 0.5 -- delay added
tell print preferences
set active printer preset to "Catalog Pages" -
Scripting problem dealing with Acrobat 9's extra (unwanted) nodes
Hello All,
I'm having a few issues with the way Acrobat 9 creates extra nodes in the model tree when you try to export it
out as a u3d. Here's what i mean.
In version 8, my object tree looks something like this:
<Node Name="model">
<Node Name="DTM">
<Node Name="D1"/>
<Node Name="D2"/>
<Node Name="D3"/>
<Node Name="D4"/>
But, when i export the same model in version 9, the object tree looks something like this
<Node Name="model">
<Node Name="model.u3d">
<Node Name="DTM">
<Node Name="D1">
<Node Name="D1"/>
</Node>
<Node Name="D2">
<Node Name="D2"/>
</Node>
<Node Name="D3">
<Node Name="D3"/>
</Node>
<Node Name="D4">
<Node Name="D4"/>
</Node>
Acrobat 9 adds a new level of nodes. This is a problem for me as i have been using a simple script to toggle my
objects on/off. The script that i've have been using:
var Context = getAnnots3D(0)[0].context3D;
var mesh = Context.scene.meshes.getByName("D1");
mesh.visible = !mesh.visible
This works fine under version 8 but not in version 9. I'm assuming that with the new level of nodes, i have to alter my script to reflect this. Does anyone know how i can adjust my script to make this work with all these extra nodes?
ThanksI think I have isolated the source of this problem. It's the Pitstop Professional 9 plug in. I un-installed this, and everything opens quicker than greased lightning. I re-installed it and it's back to slowsville.
Unfortunately Pitstop is essential to my workflow.
Until recently I did my pre-press on a Mac G5 with Acrobat Pro 7 and Pitstop 6.5. I never had this problem with slow file opening. But it seems that the delays would occur when I used the plug-in with large complex files.. So it would open files as fast as you'd expect from an elderly machine. But starting to use Pitstop would result in a prolonged period of staring at a spinning beachball.
I wonder is there any way to stop the Pitstop plug-in from initializing until it is used? So the plug-in stays inert until you select the tool from from the menus.
Maybe you are looking for
-
How do I take music from my itunes on my iPhone 4s that i didnt purchase and transfer them to my new itunes without deleting anything. I do not have my old computer and do not want to delete all my music on my phone. I do have some music i did purcha
-
-5002 Error on adding of A/P Invoice and Company.GetLastError returns 0/""
Hi Hopefuly someone here can help me. I have written a small addon that places orders, Invoices etc between two Companies. One is a sales company and the other a production company. The problem I am having is at the production company when they do an
-
I purchased a used ipod touch 5 and i cant activate it because i needed to remove the device from the owners account but once i did remove it it kept asking me to activate it what shoukld i do ?????
-
Iphoto crashes when importing files...
When I try to import images into iPhoto from Image Capture, iPhoto quits unexpectedly. Unfortunately, this is also happening in Preview and Photoshop CS2. Here is the report: "Process: iPhoto [955] Path: /Applications/iPhoto.app/Contents/MacOS/iPhoto
-
Bridge Flash Gallery in Firefox- great troubles!
Hi everyone, I've noticed a problem in the usability of the Bridge CS4 generated Flash gallery online- in fact, it is so unseeable in Firefox browsers, while it works really fine in Safari and IE! Here's the link http://tiny.cc/JwACz Thanks in advanc