Access indesign files using a script
> If you want to do it as a learning exercise, however, one can
> understand that.
Particularly since that's now what I want to do myself. I make one ID
file with "His name's Tom.", "His name's Dick." and "His name's
Harry." on three lines, and another file similarly with "Her name's
Mary.", "Her name's Betty." and "Her name's Sue." "Tom" and "Sue" have
the character style "Client" applied. So how to script the extraction
of the "Client" names and write them to "clients.txt" on the Mac
desktop? I'm now trying to do that with AppleScript. It seems very
basic and shouldn't take long.
Shane Stanley wrote:
>> (1) I couldn't get theFile set to "clients.txt" on the desktop.
>>
>> set theFile to (document file "clients.txt" of folder "Desktop" of
>> folder "Home" of folder "Users" of startup disk of application
>> "Finder")
>
> That's a Finder reference, but you're not in the Finder here.
Durn!
> Just use a colon delimited path, or something like:
>
> set theFile to ((path to desktop) as text) & "clients.txt"
I did try to do that, but apparently I did something - several things -
wrong. I remember I did get a colon-delimited path to work, but then
I couldn't get the names to copy to it right.
What is path to desktop other than text?
>> (2) I couldn't figure out how to get the script to append to the end
>> of the had-to-be-chosen "clients.txt" file rather than replacing its
>> contents.
>
> write theNames to theFile starting at eof
Oh, I thought eof was something specially in the Scripting Guide menu
script. Trying again, whatever...
Not yet, I'm afraid. The previous script still works:
tell application "Adobe InDesign CS4"
set find text preferences to nothing
set change text preferences to nothing
set applied character style of find text preferences to "Client"
set theFinds to find text
set theNames to ""
set theFile to choose file
repeat with j from 1 to (count of theFinds)
set theNames to theNames & item j of theFinds & return
end repeat
open for access theFile with write permission
write theNames to theFile
close access theFile
end tell
Only adding "starting at eof" it should still work... and it does.
But I'm anticipating trouble when I (again) add your line in place
of "set theFile to choose file"... Actually I pretty much know it's
not going to work, since I directly copied the line before - so why
don't I try the colon-delimited version this time:
set theFile to " Great Royzito:Users:Home:Desktop:clients.txt"
Right?
But no, this gives exactly the same error alert as your line,
that it can't make the string into type file. And then afterward,
oddly, if I run it again it says "Adobe InDesign CS4 got an error:
File Great Royzito:Users:Home:Desktop:clients.txt is already open."
So the string apparently serves to open the file, but not to write
to and/or close it. What do you make of this? Something else that
broke or is different in CS4, perhaps?
The file seemed to close only when I quit all applications and
force-quit the Finder. Is there a better or quicker way to do it
than that?
Thanks,
Roy
Similar Messages
-
[CS2][JS]Access indesign files using a script
Scripters help.
Can javascript access files then look for a character style then write its content to a text file as well as its page number where it was located?Hi charles darwin,
Try something like this:
//ExtractByCharacterStyle.jsx
//An InDesign CS3/CS4 JavaScript
//Extracts all of the text in all open documents
//by a specified character style name, then writes
//the text and the page number to a tab/return delimited
//text file.
main();
function main(){
if(app.documents.length != 0){
var myDocumentArray = new Array;
//Make a list of open document names; we'll use this later to refer to the documents.
for(var myCounter = 0; myCounter < app.documents.length; myCounter ++){
//If the document doesn't contain any text, don't add it to the list.
if(app.documents.item(myCounter).stories.length != 0){
myDocumentArray.push(app.documents.item(myCounter).name);
if(myDocumentArray.length != 0){
myDisplayDialog(myDocumentArray);
function myDisplayDialog(myDocumentArray){
var myDialog = app.dialogs.add({name:"Extract Text"});
var myCharacterStyleNames = app.documents.item(0).characterStyles.everyItem().name;
with(myDialog.dialogColumns.add()){
with(dialogRows.add()){
with(dialogColumns.add()){
staticTexts.add({staticLabel:"Character Style:"});
with(dialogColumns.add()){
var myCharacterStyleDropdown = dropdowns.add({stringList:myCharacterStyleNames, selectedIndex:0});
var myResult = myDialog.show();
if(myResult == true){
var myCharacterStyleName = myCharacterStyleNames[myCharacterStyleDropdown.selectedIndex];
myDialog.destroy();
myProcessDocuments(myDocumentArray, myCharacterStyleName);
else{
myDialog.destroy();
function myProcessDocuments(myDocumentArray, myCharacterStyleName){
var myDocument;
var myArray = new Array;
for(var myCounter = 0; myCounter < myDocumentArray.length; myCounter++){
myDocument = app.documents.item(myDocumentArray[myCounter]);
try{
myDocument.characterStyles.item("myCharacterStyle").name;
myExtractText(myDocument, myCharacterStyleName, myTextFile, myArray);
catch (myError){
alert("Something bad happened.");
//Now sort the entire text file by page number.
var myArray = myArray.sort(mySort);
var myTextFile = File.saveDialog("Save text file as");
//If the user clicked the Cancel button, the result is null; do nothing.
if(myTextFile != null){
//Open the file with write access.
myTextFile.open("w");
for(var myCounter = 0; myCounter < myArray.length; myCounter++){
myTextFile.writeln(myArray[myCounter][0] + "\t" + myArray[myCounter][1]);
myTextFile.close();
//This sort feature sorts text references by their page.
function mySort(a, b){
if(a[1] > b[1]){
return 1;
else{
if(a[1] < b[1]){
return -1
else{
//If the two entries are on the same page, sort alphabetically.
if(a[0] > b[0]){
return 1
else{
return -1;
function myExtractText(myDocument, myCharacterStyleName, myTextFile, myArray){
var myFoundItem, myTempArray;
var myCharacterStyle = myDocument.characterStyles.item(myCharacterStyleName);
app.findTextPreferences = NothingEnum.nothing;
app.changeTextPreferences = NothingEnum.nothing;
app.findTextPreferences.appliedCharacterStyle = myCharacterStyle;
var myFoundItems = myDocument.findText();
if(myFoundItems.length != 0){
for(var myCounter = 0; myCounter < myFoundItems.length; myCounter++){
myTempArray = new Array;
myString = myFoundItems[myCounter].contents;
myPage = myFindParentPage(myFoundItems[myCounter].parentTextFrames[0]);
myTempArray.push(myString);
myTempArray.push(myPage);
myArray.push(myTempArray);
function myFindParentPage(myParent){
switch(myParent.constructor.name){
case "Page":
myParentName = myParent.name;
break;
case "Spread":
myParentName = "Pasteboard";
break;
case "Application":
myParentName = "";
break;
case "Character":
myFindParentPage(myParent.parentTextFrames[0]);
break;
default:
myFindParentPage(myParent.parent);
break;
return myParentName;
Thanks,
Ole -
Move group of pages from one InDesign file to another InDesign File using VB.Script
Dear team,
I am trying to move group of InDesign pages from one indesign file to another indesign file using vb.script.
I have written the code like
Dim Pages=IndDoc.Pages
Dim Mytype=TypeName(Pages)
Pages.Move(InDesign.idLocationOptions.idBefore,IndDoc1.Pages.LastItem)
but it is giving an error as method Move is not a member of Pages
please give mme the solution to move the Multiple pages or a group of page from one Indd to another Indd.Hey Peter, if I wan to move several page that part of Auto Flow text, I checked the "delete page after moving" but the content still there, not deleted.
Is there any way to delete it automatically, just to make sure I have moved that autoflowed page? -
How to get ORA errors in alertlog file using shell script.
Hi,
Can anyone tell me how to get all ORA errors between two particular times in an alertlog file using shell script.
ThanksHi,
You can define the alert log as an external table, and extract messages with SQL, very cool:
http://www.dba-oracle.com/t_oracle_alert_log_sql_external_tables.htm
If you want to write a shell script to scan the alert log, see here:
http://www.rampant-books.com/book_2007_1_shell_scripting.htm
#!/bin/ksh
# log monitoring script
# report all errors (and specific warnings) in the alert log
# which have occurred since the date
# and time in last_alerttime_$ORACLE_SID.txt
# parameters:
# 1) ORACLE_SID
# 2) optional alert exclusion file [default = alert_logmon.excl]
# exclude file format:
# error_number error_number
# error_number ...
# i.e. a string of numbers with the ORA- and any leading zeroes that appear
# e.g. (NB the examples are NOT normally excluded)
# ORA-07552 ORA-08006 ORA-12819
# ORA-01555 ORA-07553
BASEDIR=$(dirname $0)
if [ $# -lt 1 ]; then
echo "usage: $(basename) ORACLE_SID [exclude file]"
exit -1
fi
export ORACLE_SID=$1
if [ ! -z "$2" ]; then
EXCLFILE=$2
else
EXCLFILE=$BASEDIR/alert_logmon.excl
fi
LASTALERT=$BASEDIR/last_alerttime_$ORACLE_SID.txt
if [ ! -f $EXCLFILE ]; then
echo "alert exclusion ($EXCLFILE) file not found!"
exit -1
fi
# establish alert file location
export ORAENV_ASK=NO
export PATH=$PATH:/usr/local/bin
. oraenv
DPATH=`sqlplus -s "/ as sysdba" <<!EOF
set pages 0
set lines 160
set verify off
set feedback off
select replace(value,'?','$ORACLE_HOME')
from v\\\$parameter
where name = 'background_dump_dest';
!EOF
`
if [ ! -d "$DPATH" ]; then
echo "Script Error - bdump path found as $DPATH"
exit -1
fi
ALOG=${DPATH}/alert_${ORACLE_SID}.log
# now create awk file
cat > $BASEDIR/awkfile.awk<<!EOF
BEGIN {
# first get excluded error list
excldata="";
while (getline < "$EXCLFILE" > 0)
{ excldata=excldata " " \$0; }
print excldata
# get time of last error
if (getline < "$LASTALERT" < 1)
{ olddate = "00000000 00:00:00" }
else
{ olddate=\$0; }
errct = 0; errfound = 0;
{ if ( \$0 ~ /Sun/ || /Mon/ || /Tue/ || /Wed/ || /Thu/ || /Fri/ || /Sat/ )
{ if (dtconv(\$3, \$2, \$5, \$4) <= olddate)
{ # get next record from file
next; # get next record from file
# here we are now processing errors
OLDLINE=\$0; # store date, possibly of error, or else to be discarded
while (getline > 0)
{ if (\$0 ~ /Sun/ || /Mon/ || /Tue/ || /Wed/ || /Thu/ || /Fri/ || /Sat/ )
{ if (errfound > 0)
{ printf ("%s<BR>",OLDLINE); }
OLDLINE = \$0; # no error, clear and start again
errfound = 0;
# save the date for next run
olddate = dtconv(\$3, \$2, \$5, \$4);
continue;
OLDLINE = sprintf("%s<BR>%s",OLDLINE,\$0);
if ( \$0 ~ /ORA-/ || /[Ff]uzzy/ )
{ # extract the error
errloc=index(\$0,"ORA-")
if (errloc > 0)
{ oraerr=substr(\$0,errloc);
if (index(oraerr,":") < 1)
{ oraloc2=index(oraerr," ") }
else
{ oraloc2=index(oraerr,":") }
oraloc2=oraloc2-1;
oraerr=substr(oraerr,1,oraloc2);
if (index(excldata,oraerr) < 1)
{ errfound = errfound +1; }
else # treat fuzzy as errors
{ errfound = errfound +1; }
END {
if (errfound > 0)
{ printf ("%s<BR>",OLDLINE); }
print olddate > "$LASTALERT";
function dtconv (dd, mon, yyyy, tim, sortdate) {
mth=index("JanFebMarAprMayJunJulAugSepOctNovDec",mon);
if (mth < 1)
{ return "00000000 00:00:00" };
# now get month number - make to complete multiple of three and divide
mth=(mth+2)/3;
sortdate=sprintf("%04d%02d%02d %s",yyyy,mth,dd,tim);
return sortdate;
!EOF
ERRMESS=$(nawk -f $BASEDIR/awkfile.awk $ALOG)
ERRCT=$(echo $ERRMESS|awk 'BEGIN {RS="<BR>"} END {print NR}')
rm $LASTALERT
if [ $ERRCT -gt 1 ]; then
echo "$ERRCT Errors Found \n"
echo "$ERRMESS"|nawk 'BEGIN {FS="<BR>"}{for (i=1;NF>=i;i++) {print $i}}'
exit 2
fi -
How to access xml file using c
how to access xml file using c. are there any libraries regarding xml fastinfoset in c? Please let me know about any resources if u know? thanks!!!
samithaThere are different methods to access XML data which have pro's and cons. Let us know more about what you want to do and we can help you.
-
Script to export Security file using maxl script
can anyone provide me the Script to export Security file using maxl script.It should create a log file and a batch file should also be there to schedule the Maxl script.Please help me with this
Hi,
You can use something like
[b]login admin password on localhost;
[b]spool on to 'c:\temp\log.txt';
[b]export security_file to data_file C:\temp\sec_file.txt;
[b]spool off;
[b]logout;
Then you can have a batch file that just calls the maxl script
essmsh name_of_maxl_script.mxl
The batch script can then be scheduled.
Cheers
John
http://john-goodwin.blogspot.com/ -
Is it possible to monitor State change of a .CSV file using powershell scripting ?
Hi All,
I just would like to know Is it possible to monitor State change of a .CSV file using powershell scripting ? We have SCOM tool which has that capability but there are some drawbacks in that for which we are not able to utilise that. So i would like
to know is this possible using powershell.
So if there is any number above 303 in the .CSV file then i need a email alert / notification for the same.
Gautam.75801Hi Jrv,
Thank you very much. I modified the above and it worked.
Import-Csv C:\SCOM_Tasks\GCC2010Capacitymanagement\CapacityMgntData.csv | ?{$_.Mailboxes -gt 303} | Export-csv -path C:\SCOM_Tasks\Mbx_Above303.csv;
Send-MailMessage -Attachments "C:\SCOM_Tasks\Mbx_Above303.csv" -To “[email protected]" -From “abc@xyz" -SMTPServer [email protected] -Subject “Mailboxex are above 303 in Exchange databases” -Body “Mailboxex are above 303 in Exchange databases"
Mailboxex - is the line which i want to monitor if the values there are above 303. And it will extract the lines with all above 303 to another CSV file and 2nd is a mail script to email me the same with the attachment of the 2nd extract.
Gautam.75801 -
Read Text file using Java Script
Hi,
I am trying to read a text file using Java Script within the webroot of MII as .HTML file. I have provided the path as below but where I am not able to open the file. Any clue to provide the relative path or any changes required on the below path ?
var FileOpener = new ActiveXObject("Scripting.FileSystemObject");
var FilePointer = FileOpener.OpenTextFile("E:\\usr\\sap\\MID\\J00\\j2ee\\cluster\\apps\\sap.com\\xapps~xmii~ear\\servlet_jsp\\XMII\\root\\CM\\OCTAL\\TestTV\\Test.txt", 1, true);
FileContents = FilePointer.ReadAll(); // we can use FilePointer.ReadAll() to read all the lines
The Error Log shows as :
Path not found
Regards,
MohamedHi Mohamed,
I tried above code after importing JQuery Library through script Tag. It worked for me . Pls check.
Note : You can place Jquery1.xx.xx.js file in the same folder where you saved this IRPT/HTML file.
<HTML>
<HEAD>
<TITLE>Your Title Here</TITLE>
<SCRIPT type="text/javascript" src="jquery-1.9.1.js"></SCRIPT>
<script language="javascript">
function Read()
$.get( "http://ldcimfb.wdf.sap.corp:50100/XMII/CM/Regression_15.0/CrossTab.txt", function( data ) {
$(".result").html(data);
alert(data);
// The file content is available in this variable "data"
</script>
</HEAD>
<BODY onLoad="Read()">
</BODY>
</HTML> -
hello friends,
i'm trying to access a file using applets but i'm getting security error.
similar error for accessing the data base also so pls if you know help me how to access file/database using applets.You need to use a signed applet and know where the file is and in an accessable area; signing an applet will not allow you to go on a "fishing expedition" through the file system.
-
Print Mulitple, Unrelated InDesign Files plug-in/script
Does anyone know of a plug-in or script that allows you to print unrelated, multiple InDesign files? Using a book does not work as each InDesign file has it's own print settings.
I'm looking for something similar to Zevrix's Batch Output, but for only the print feature. It allows you to print each InDesign file with the last print settings used for that file.
I greatly appreciate any help. Thank you.I suspect you might get some help over in Scripting, if it can be done.
http://forums.adobe.com/community/indesign/indesign_scripting -
Error while accessing excel file using ODBC
Hi
I am getting the below error message while accessing excel sheet using ODBC from Oracle:
ERROR at line 1:
ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: preceding 2 lines from EXCL
Can anyone help me on this...
Cheers
Pradeep
Message was edited by:
user634393Hi
Thank you.Is there a way to read a file which is existing in the war file.
Regards
Anand Mohan
"Wenjin Zhang" <[email protected]> wrote:
>
>In Weblogic, if your files are archived in a WAR, you cannot get an entry
>as individual
>file since it is only bytes in a large archive file. So getRealPath will
>give
>you null result. If you only want the path, try to use other getXXXPath,
>getURL,
>or getURI method. If you want to read the content, use getResource.
>
>
>"Anand" <[email protected]> wrote:
>>
>>Hi
>>I am having problem while accessing the file located in the server from
>>a JSP
>>page. I am not getting the RealPath from a JSP page using getRealPath(request.getServletpath()).
>>
>>The same code is working if the jsp placd under defaultwebApp directory
>>and not
>>working if i create a war and deploy the same.
>>
>>I am using weblogic server 7.0 trail version.I am setting the context
>>path also.
>>
>>Can any help me in this regard.
>>
>>Thank And Regards
>>
>>Anand Mohan
>
-
Subtracting Columns from Import File Using Import Script
The file I am importing to FDM contains two amount columns, 1 Debit, 1 Credit. I want to have the Amount field populate as the Debit minus Credits. I have attempted an import script that is giving me an error in the bolded line:
Function GBS_Amount(strField, strRecord)
'Oracle Hyperion FDM Integration Import Script:
'Created By:
'Date Created:
'Purpose:
'Set variables
dim strNatural
dim strCurmnthDR
dim strCurmnthCR
dim strCurAmount
'Store the Natural Account as Column 1 of 11 of a comma delimited file
strNatural = Trim(DW.Utilities.fParseString(strRecord, 11, 1, ","))
'Store the Current Month Debit Amount as Column 7 of 11 of a comma delimited file
strCurmnthDR = Trim(DW.Utilities.fParseString(strRecord, 11, 7, ","))
'Store the Current Month Credit Amount as Column 8 of 11 of a comma delimited file
strCurmnthCR = Trim(DW.Utilities.fParseString(strRecord, 11, 8, ","))
'Calculate the YTD Amount
strCurAmount = strCurmnthDR - strCurmnthCR
GBS_Amount = strCurAmount
End If
End Function
What syntax do I need to use to subtract two defined variables?Hi Experts,
I have a similar situation,I am trying to import the Multiple amount columns to be addedd and imported as one amount column.Below is the script I am using for the same,script is getting verified in Script editor but When I am trying to Load the File in import, I am gettig an error as below.but if I try to import without using the script for the amount, inport is getting done.I have attached script to amount column only.
ERROR
Code............................................. 9
Description...................................... Subscript out of range
Procedure........................................ clsImpProcessMgr.fLoadAndProcessFile
Component........................................ upsWObjectsDM
Version.......................................... 1112
Thread........................................... 8380
Scirpt being used
Function Import_YTD(strField, strRecord)
'Set variables
dim strCurmnth1
dim strCurmnth2
dim strCurmnth3
dim strCurmnth4
dim strCurmnth5
dim strCurmnth6
dim strCurmnth7
dim strCurmnth8
dim strCurmnth9
dim strCurmnth10
dim strCurmnth11
dim strCurmnth12
dim strCurAmount
strCurmnth1 = Trim(DW.Utilities.fParseString(strRecord, 20, 9, ","))
strCurmnth2 = Trim(DW.Utilities.fParseString(strRecord, 20, 10, ","))
strCurmnth3 = Trim(DW.Utilities.fParseString(strRecord, 20, 11, ","))
strCurmnth4 = Trim(DW.Utilities.fParseString(strRecord, 20, 12, ","))
strCurmnth5 = Trim(DW.Utilities.fParseString(strRecord, 20, 13, ","))
strCurmnth6 = Trim(DW.Utilities.fParseString(strRecord, 20, 14, ","))
strCurmnth7 = Trim(DW.Utilities.fParseString(strRecord, 20, 15, ","))
strCurmnth8 = Trim(DW.Utilities.fParseString(strRecord, 20, 16, ","))
strCurmnth9 = Trim(DW.Utilities.fParseString(strRecord, 20, 17, ","))
strCurmnth10 = Trim(DW.Utilities.fParseString(strRecord, 20, 18, ","))
strCurmnth11 = Trim(DW.Utilities.fParseString(strRecord, 20, 19, ","))
strCurmnth12 = Trim(DW.Utilities.fParseString(strRecord, 20, 20, ","))
If strCurmnth1="" Then strCurmnth1="0" End If
If strCurmnth2="" Then strCurmnth2="0" End If
If strCurmnth3="" Then strCurmnth3="0" End If
If strCurmnth4="" Then strCurmnth4="0" End If
If strCurmnth5="" Then strCurmnth5="0" End If
If strCurmnth6="" Then strCurmnth6="0" End If
If strCurmnth7="" Then strCurmnth7="0" End If
If strCurmnth8="" Then strCurmnth8="0" End If
If strCurmnth9="" Then strCurmnth9="0" End If
If strCurmnth10="" Then strCurmnth10="0" End If
If strCurmnth11="" Then strCurmnth11="0" End If
If strCurmnth12="" Then strCurmnth12="0" End If
'Calculate the YTD Amount
strCurAmount = CDbl(strCurmnth1) + CDbl(strCurmnth2) + CDbl(strCurmnth3) + CDbl(strCurmnth4) + CDbl(strCurmnth5) + CDbl(strCurmnth6) + CDbl(strCurmnth7) + CDbl(strCurmnth8) + CDbl(strCurmnth9) + CDbl(strCurmnth10) + CDbl(strCurmnth11) + CDbl(strCurmnth12)
Import_YTD =strCurAmount
End Function -
How to Compare 2 CSV file and store the result to 3rd csv file using PowerShell script?
I want to do the below task using powershell script only.
I have 2 csv files and I want to compare those two files and I want to store the comparision result to 3rd csv file. Please look at the follwingsnap:
This image is csv file only.
Could you please any one help me.
Thanks in advance.
By
A Path finder
JoSwa
If a post answers your question, please click "Mark As Answer" on that post and "Mark as Helpful"
Best Online JournalNot certain this is what you're after, but this :
#import the contents of both csv files
$dbexcel=import-csv c:\dbexcel.csv
$liveexcel=import-csv C:\liveexcel.csv
#prepare the output csv and create the headers
$outputexcel="c:\outputexcel.csv"
$outputline="Name,Connection Status,Version,DbExcel,LiveExcel"
$outputline | out-file $outputexcel
#Loop through each record based on the number of records (assuming equal number in both files)
for ($i=0; $i -le $dbexcel.Length-1;$i++)
# Assign the yes / null values to equal the word equivalent
if ($dbexcel.isavail[$i] -eq "yes") {$dbavail="Available"} else {$dbavail="Unavailable"}
if ($liveexcel.isavail[$i] -eq "yes") {$liveavail="Available"} else {$liveavail="Unavailable"}
#create the live of csv content from the two input csv files
$outputline=$dbexcel.name[$i] + "," + $liveexcel.'connection status'[$i] + "," + $dbexcel.version[$i] + "," + $dbavail + "," + $liveavail
#output that line to the csv file
$outputline | out-file $outputexcel -Append
should do what you're looking for, or give you enough to edit it to your exact need.
I've assumed that the dbexcel.csv and liveexcel.csv files live in the root of c:\ for this, that they include the header information, and that the outputexcel.csv file will be saved to the same place (including headers). -
Creating indesign files using xml & c#
hey...
i need to make an indesign template/doc from an XML file using C# as the language. can anyone of you please help me in this.
Thanks in advance to all of you.The InDesign file format is a proprietary binary format, which changes between releases. Your best shot is IDML, but that is only for CS4. There is also the INCX interchange format, but it has limitations.
-
Opening files using a script...
Every time I use the "open" command in applescript, I get the message "cannot get file." How do I open files with a script?
Your usage of documents folder in this case is incorrect. They are reserved words, but as part of *Standard Additions'* path to command. The Finder is expecting a file path, so try this instead:
<pre style="
font-family: Monaco, 'Courier New', Courier, monospace;
font-size: 10px;
font-weight: normal;
margin: 0px;
padding: 5px;
border: 1px solid #000000;
width: 720px;
color: #000000;
background-color: #DAFFB6;
overflow: auto;"
title="this text can be pasted into the Script Editor">
tell application "Finder"
open every document file of (path to documents folder) whose name contains searchtext
--where searchtext is text input from the user
end tell
</pre>
Maybe you are looking for
-
HT2534 How do you get your account back when it's disabled
How do you make your account enabled from disabled
-
Why new Spacer Item cretaed through personalization does not appear in SSHR
SR # 6987444.993 Customer : VIRGIN ATLANTIC LIMITED RELEASE : 11.5.10 CU 2 Patchset: FP K RUP 2 A Space Item created through Self Service Personalization Does Not Appear in Self Service HRMS Page. Responsibility : Employee Self-Service Click on "Pers
-
RUSH HELP!! Use button to "go to" a certain page within a document
I need to do something like a hyperlink to take me to a certain page within my adobe document I have added buttons but I dont know what scripting to use to "call" the page that I need. I have a long document and do not want the end user to have to sc
-
HP Pavillion Media Center m8020n audio add in?
HI, I have a Media Center M8020n... Product #: RX883AA-ABA07010#32#203211022006 running vista. The sound has recently died, and I am trying to figure out what to do with it. I realize it's pretty out of date at this point, but everything still works,
-
I have a page that has a form to my issue table and on the same page, in a different region, I have a tabular report that shows the issue_activity for the specified issue. The primary key on the issue table is the issue_no which is a sequence and the