Edit an Excel file in Numbers '09 and save to Excel
When I open an excel file with numbers and then make a change, I can't simply save the file by pressing command-s because that brings up the "saving as" dialog.
Is there a reason why this is happening? Can't Numbers just overwrite the existing excel file?
It's not a huge inconvenience buy an unnecessary one.
Like most applications, Numbers assumes you want to save in the native format for that application. If you want to open, edit and save in MS Excel format, logic would suggest that your best course would be to use MS Excel.
That said, it's probably possible to write an AppleScript that would perform the steps necessary to do what you want with only a single menu choice needed.
Or you could export (rather than Save) the file. That's a menu choice plus three click process, though.
Regards,
Barry
Similar Messages
-
I edited a .nef file in Camera Raw and PSE 11 saved it as a .xmp file. I cannot open it now.
I am not sure if this is an issue but Windows does not recognize the .xmp file and give it an icon with the photo's picture. On a related note, when I edited some .nef files and Windows saved it as .dng file, it too, like the .xmp file, Windows does not recognize the .dng file and give it an icon with the photo's picture.
Do I need to download something to create this icon?PSE didn't save your file as an .xmp file. The .xmp file is not the image--that's still the .nef. The xmp file is what adobe calls a 'sidecar' file, just a record of the settings you used in the raw converter. As long as it's in the same place as the image, when you open the nef in ACR again, it will open where you left off, with the settings you chose.
If you want to save as, you have two choices:
1. Click the Open button in the raw converter window and save in the image format of your choice.
2. Use the Save button in the raw converter to create a separate DNG file, which still must be opened in the raw converter and converted to an image format for use in other programs. -
am editing with red files in premier pro and when I export and then upload to youtube it is not showing as an hd video. can anyone help?
Then it's probably YouTube - have you checked here to see that you're watching the hi res version? It could be that YouTube is choosing an easier version to display based on your internet connection.
You can see on this screenshot that although the video has up to 1080 specs, my connection is making YouTube show me the 360p version by default. -
After I edit a raw file in Lightroom 5 and with raw 8.5, the edited files revert back to being unedited. Any ideas?
bigjb3 wrote:
I edit them in Lightroom. Then the little symbol appears in the bottom of the thumbnail in the film strip at the bottom of the LR screen. Then, a few minutes later, the symbol is gone. I then click on one or more of the thumbnails and the image opens in the main screen. However, all of the sliders on the right are at their defaults, and the image is back in its unedited state. Last night, for a while, the edits reappeared, but tonight they were gone again. I just recently downloaded Camera Raw 8.5. I wonder if that is the problem.
What little symbol? Do you mean the up-arrow symbol that appears top-right of grid or film strip images? This indicates that the image has been edited by another program.
Or do you mean the "+/-" symbol that appears bottom right?. This appears after editing, but if it disappears subsequently without you doing anything, it sounds like something nasty is happening to the catalogue or image xmp file on disk.
Lightroom doesn't use ACR (8.5 or any other version) - it has the same functions built-in. ACR is used only by Photoshop. Are you opening the images in ACR in Photoshop? -
How to download a file from the net and save it into .txt format in a datab
Can some one show me a tutorial on how to download a file from the net and save it into .txt format in a database?
Thank you,http://java.sun.com/docs/books/tutorial/networking/urls/readingWriting.html
-
In Photoshop Elements 12, is there a way to batch process all photos in a file with 'Auto Tone' and save the changes?
Thank you, that was perfect!
Yoni -
Edit tab-separated file in Numbers
I'm racking my brains, how in 21st century I can edit tsv file (stored as .txt) with such a powerful program suite as iWorks
I can open the file in Numbers, but I don't see the option to save it as text, which is very confusing...
Any suggestions?
Thanks!Don’t drown yourselves in a glass of water, use this script :
--{code}
--[SCRIPT numbers-table-to-text-file]
Select at least one cell in the table to export as text.
Run the script.
You will get the text file "was-in-numbers.txt" on the Desktop.
Yvan KOENIG (VALLAURIS, France)
2012-04-08
on run
local dName, sName, tName, rowNum1, colNum1, rowNum2, colNum2
my activateGUIscripting()
set {dName, sName, tName, rowNum1, colNum1, rowNum2, colNum2} to my get_SelParams()
tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
set selection range to range ("A1:" & name of last cell)
end tell
my safeCopy("Numbers")
the clipboard as text
my writeTo((path to desktop as text) & "was-in-numbers.txt", result, text, false)
end run
--=====
set { dName, sName, tName, rowNum1, colNum1, rowNum2, colNum2} to my get_SelParams()
tell application "Numbers" to tell document dName to tell sheet sName to tell table tName
on get_SelParams()
local d_Name, s_Name, t_Name, row_Num1, col_Num1, row_Num2, col_Num2
tell application "Numbers" to tell document 1
set d_Name to its name
set s_Name to ""
repeat with i from 1 to the count of sheets
tell sheet i to set maybe to the count of (tables whose selection range is not missing value)
if maybe is not 0 then
set s_Name to name of sheet i
exit repeat
end if -- maybe is not 0
end repeat
if s_Name is "" then
if my parleAnglais() then
error "No sheet has a selected table embedding at least one selected cell !"
else
error "Aucune feuille ne contient une table ayant au moins une cellule sélectionnée !"
end if
end if
tell sheet s_Name to tell (first table where selection range is not missing value)
tell selection range
set {top_left, bottom_right} to {name of first cell, name of last cell}
end tell
set t_Name to its name
tell cell top_left to set {row_Num1, col_Num1} to {address of its row, address of its column}
if top_left is bottom_right then
set {row_Num2, col_Num2} to {row_Num1, col_Num1}
else
tell cell bottom_right to set {row_Num2, col_Num2} to {address of its row, address of its column}
end if
end tell -- sheet…
return {d_Name, s_Name, t_Name, row_Num1, col_Num1, row_Num2, col_Num2}
end tell -- Numbers
end get_SelParams
--=====
on parleAnglais()
local z
try
tell application "Numbers" to set z to localized string "Cancel"
on error
set z to "Cancel"
end try
return (z is not "Annuler")
end parleAnglais
--=====
Handler borrowed to Regulus6633 - http://macscripter.net/viewtopic.php?id=36861
on writeTo(targetFile, theData, dataType, apendData)
-- targetFile is the path to the file you want to write
-- theData is the data you want in the file.
-- dataType is the data type of theData and it can be text, list, record etc.
-- apendData is true to append theData to the end of the current contents of the file or false to overwrite it
try
set targetFile to targetFile as text
set openFile to open for access file targetFile with write permission
if not apendData then set eof of openFile to 0
write theData to openFile starting at eof as dataType
close access openFile
return true
on error
try
close access file targetFile
end try
return false
end try
end writeTo
--=====
on activateGUIscripting()
(* to be sure than GUI scripting will be active *)
tell application "System Events"
if not (UI elements enabled) then set (UI elements enabled) to true
end tell
end activateGUIscripting
--=====
==== Uses GUIscripting ====
--=====
on safeCopy(theApp)
Fill the clipboard with a fake string *)
set the clipboard to "All The Things You Could Be By Now If Sigmund Freud’s Wife Was Your Mother, © Charles Mingus"
Copy the selected item *)
my raccourci(theApp, "c", "c")
Loop waiting the achievement of the Copy task. *)
repeat 10 times
try
if the clipboard as text is not tt then exit repeat
on error
delay 0.1
end try
end repeat
end safeCopy
--=====
This handler may be used to 'type' text, invisible characters if the third parameter is an empty string.
It may be used to 'type' keyboard raccourcis if the third parameter describe the required modifier keys.
I changed its name « shortcut » to « raccourci » to get rid of a name conflict in Smile.
on raccourci(a, t, d)
local k
activate application a
tell application "System Events" to tell application process a
set frontmost to true
try
t * 1
if d is "" then
key code t
else if d is "c" then
key code t using {command down}
else if d is "a" then
key code t using {option down}
else if d is "k" then
key code t using {control down}
else if d is "s" then
key code t using {shift down}
else if d is in {"ac", "ca"} then
key code t using {command down, option down}
else if d is in {"as", "sa"} then
key code t using {shift down, option down}
else if d is in {"sc", "cs"} then
key code t using {command down, shift down}
else if d is in {"kc", "ck"} then
key code t using {command down, control down}
else if d is in {"ks", "sk"} then
key code t using {shift down, control down}
else if (d contains "c") and (d contains "s") and d contains "k" then
key code t using {command down, shift down, control down}
else if (d contains "c") and (d contains "s") and d contains "a" then
key code t using {command down, shift down, option down}
end if
on error
repeat with k in t
if d is "" then
keystroke (k as text)
else if d is "c" then
keystroke (k as text) using {command down}
else if d is "a" then
keystroke k using {option down}
else if d is "k" then
keystroke (k as text) using {control down}
else if d is "s" then
keystroke k using {shift down}
else if d is in {"ac", "ca"} then
keystroke (k as text) using {command down, option down}
else if d is in {"as", "sa"} then
keystroke (k as text) using {shift down, option down}
else if d is in {"sc", "cs"} then
keystroke (k as text) using {command down, shift down}
else if d is in {"kc", "ck"} then
keystroke (k as text) using {command down, control down}
else if d is in {"ks", "sk"} then
keystroke (k as text) using {shift down, control down}
else if (d contains "c") and (d contains "s") and d contains "k" then
keystroke (k as text) using {command down, shift down, control down}
else if (d contains "c") and (d contains "s") and d contains "a" then
keystroke (k as text) using {command down, shift down, option down}
end if
end repeat
end try
end tell
end raccourci
--=====
--[/SCRIPT]
--{code}
Yvan KOENIG (VALLAURIS, France) dimanche 8 avril 2012
iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.3
My Box account is : http://www.box.com/s/00qnssoyeq2xvc22ra4k -
File Server - File size\type search and save results to file
I already have a vb script to do what I want on our file server, but it is very inefficient and slow. I was thinking that a powershell script may be more suitable now but I don't know anything about scripting in PS. So far the vb code that I
have works, and I am not the one who wrote it but I can manipulate it to do what I want it to. The only problem is, when I scan the shared network locations it stops on some files that are password protected and I don't know how to get around it. If
someone else knows of a PS script to go through the file system and get all files of a certain type or size (right now, preferably size) and save the file name, size, path, owner and dates created\modified please point me to it and I can work with that. If
not, could I get some help with the current script that I have to somehow get around the password protected files? They belong in a users' HOME directory so I can't do anything with them. Here is my code:
'Script for scanning file folders for certain types of files and those of a certain size of larger'
'Note: Script must be placed locally on whichever machine the script is running on'
'***********VARIABLES FOR USE IN SCRIPT***********'
'objStartFolder - notes the location of the folder you wish to begin your scan in'
objStartFolder = "\\FileServer\DriveLetter\SharedFolder"
'excelFileName - notes the location where you want the output spreadsheet to be saved to'
excelFileName = "c:\temp\Results_Shared.xls"
'**********END OF VARIABLES**********'
Set objFSO = CreateObject("Scripting.FileSystemObject")
fileName = objFSO.GetFileName(path)
'beginning row and column for actual data (not headers)'
excelRow = 3
excelCol = 1
'Create Excel Spreadsheet'
Set objExcel = CreateObject("Excel.Application")
Set objWorkbook = objExcel.Workbooks.Add()
CreateExcelHeaders()
'Loop to go through original folder'
Set objFolder = objFSO.GetFolder(objStartFolder)
Set colFiles = objFolder.Files
For Each objFile in colFiles
Call Output(excelRow) 'If a subfolder is met, output procedure recursively called'
Next
ShowSubfolders objFSO.GetFolder(objStartFolder)
'Autofit the spreadsheet columns'
ExcelAutofit()
'Save Spreadsheet'
objWorkbook.SaveAs(excelFileName)
objExcel.Quit
'*****END OF MAIN SCRIPT*****'
'*****BEGIN PROCEDURES*****'
Sub ShowSubFolders(Folder)
'Loop to go through each subfolder'
For Each Subfolder in Folder.SubFolders
Set objFolder = objFSO.GetFolder(Subfolder.Path)
Set colFiles = objFolder.Files
For Each objFile in colFiles
Call Output(excelRow)
Next
ShowSubFolders Subfolder
Next
End Sub
Sub Output(excelRow)
'convert filesize to readable format (MB)'
fileSize = objFile.Size/1048576
fileSize = FormatNumber(fileSize, 2)
'list of file extensions currently automatically included in spreadsheet report:'
'.wav, .mp3, .mpeg, .avi, .aac, .m4a, .m4p, .mov, .qt, .qtm'
If fileSize > 100 then'OR objFile.Type="Movie Clip" OR objFile.Type="MP3 Format Sound" _ '
'OR objFile.Type="MOV File" OR objFile.Type="M4P File" _'
'OR objFile.Type="M4A File" OR objFile.Type="Video Clip" _'
'OR objFile.Type="AAC File" OR objFile.Type="Wave Sound" _'
'OR objFile.Type="QT File" OR objFile.Type="QTM File"'
'export data to Excel'
objExcel.Visible = True
objExcel.Cells(excelRow,1).Value = objFile.Name
objExcel.Cells(excelRow,2).Value = objFile.Type
objExcel.Cells(excelRow,3).Value = fileSize & " MB"
objExcel.Cells(excelRow,4).Value = FindOwner(objFile.Path)
objExcel.Cells(excelRow,5).Value = objFile.Path
objExcel.Cells(excelRow,6).Value = objFile.DateCreated
objExcel.Cells(excelRow,7).Value = objFile.DateLastAccessed
excelRow = excelRow + 1 'Used to move active cell for data input'
end if
End Sub
'Procedure used to find the owner of a file'
Function FindOwner(FName)
On Error Resume Next
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery _
("ASSOCIATORS OF {Win32_LogicalFileSecuritySetting='" & FName & "'}" _
& " WHERE AssocClass=Win32_LogicalFileOwner ResultRole=Owner")
For Each objItem in colItems
FindOwner = objItem.AccountName
Next
End Function
Sub CreateExcelHeaders
'create headers for spreadsheet'
Set objRange = objExcel.Range("A1","G1")
objRange.Font.Bold = true
objExcel.Cells(1, 1).Value = "File Name"
objExcel.Cells(1, 2).Value = "File Type"
objExcel.Cells(1, 3).Value = "Size"
objExcel.Cells(1, 4).Value = "Owner"
objExcel.Cells(1, 5).Value = "Path"
objExcel.Cells(1, 6).Value = "Date Created"
objExcel.Cells(1, 7).Value = "Date Modified"
End Sub
Sub ExcelAutofit
'autofit cells'
Set objRange = objExcel.Range("A1")
objRange.Activate
Set objRange = objExcel.ActiveCell.EntireColumn
objRange.Autofit()
Set objRange = objExcel.Range("B1")
objRange.Activate
Set objRange = objExcel.ActiveCell.EntireColumn
objRange.Autofit()
Set objRange = objExcel.Range("C1")
objRange.Activate
Set objRange = objExcel.ActiveCell.EntireColumn
objRange.Autofit()
Set objRange = objExcel.Range("D1")
objRange.Activate
Set objRange = objExcel.ActiveCell.EntireColumn
objRange.Autofit()
Set objRange = objExcel.Range("E1")
objRange.Activate
Set objRange = objExcel.ActiveCell.EntireColumn
objRange.Autofit()
Set objRange = objExcel.Range("F1")
objRange.Activate
Set objRange = objExcel.ActiveCell.EntireColumn
objRange.Autofit()
Set objRange = objExcel.Range("G1")
objRange.Activate
Set objRange = objExcel.ActiveCell.EntireColumn
objRange.Autofit()
End Sub
David HoodAccessing Excel through automation is bvery slow no matter what tool you use. Scanning a disk is very slow for all tools.
Since Vista all system have a search service that catalogues all major file itmes like size, extension, name and other attributes. A search of a 1+Tb volume can return in less that a second if you query the search service.
You can easily batch the result into Excel by writ4ing to a CSV and opening in Excel. Use a template to apply formats.
Example. See how fast this returns results.
#The following will find all log files in a system that are larger than 10Mb
$query="SELECT System.ItemName, system.ItemPathDisplay, System.ItemTypeText,System.Size,System.ItemType FROM SystemIndex where system.itemtype='.log' AND system.size > $(10Mb)"
$conn=New-Object -ComObject adodb.connection
$conn.open('Provider=Search.CollatorDSO;Extended Properties="Application=Windows";')
$rs=New-Object -ComObject adodb.recordset
$rs.open($query, $conn)
do{
$p=[ordered]@{
Name = $rs.Fields.Item('System.ItemName').Value
Type = $rs.Fields.Item('System.ITemType').Value
Size = $rs.Fields.Item('System.Size').Value
New-Object PsObject -Property $p
$rs.MoveNext()
}Until($rs.EOF)
¯\_(ツ)_/¯ -
I have most of what I need here, but I’m missing 2 important pieces.
#1) I want to copy/paste from all PDF files in a folder and paste the copied data into a single Word file.
It works fine if I have ONLY Word docs in my folder. When I have PDF files and Word files, the contents of the Word files are copied in fine, but the contents of the PDF files seem to come in as Chinese, and there is no Chinese in
the PDF, so I have no idea where that’s coming from.
#2) I want to extract all embedded files (in all my Word files) and save the extracted/opened file into the folder. Some embedded files are PDFs and some are Excel files.
Here the code that I’m working with now.
Sub Foo()
Dim i As Long
Dim MyName As String, MyPath As String
Application.ScreenUpdating = False
Documents.Add
MyPath = "C:\Users\001\Desktop\Test\" ' <= change this as necessary
MyName = Dir$(MyPath & "*.*") ' not *.* if you just want doc files
On Error Resume Next
Do While MyName <> ""
If InStr(MyName, "~") = 0 Then
Selection.InsertFile _
FileName:="""" & MyPath & MyName & """", _
ConfirmConversions:=False, Link:=False, _
Attachment:=False
Dim Myshape As InlineShape
Dim IndexCount As Integer
IndexCount = 1
For Each Myshape In ActiveDocument.InlineShapes
If Myshape.AlternativeText = PDFname Then
ActiveDocument.InlineShapes(IndexCount).OLEFormat.Activate
End If
IndexCount = IndexCount + 1
Next
Selection.InsertBreak Type:=wdPageBreak
End If
On Error Resume Next
Debug.Print MyName
MyName = Dir ' gets the next doc file in the directory
Loop
End Sub
If this has to be done using 2 Macros, that’s fine.
If I can do it in 1, that’s great too.
Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.Hi ryguy72,
>>When I have PDF files and Word files, the contents of the Word files are copied in fine, but the contents of the PDF files seem to come in as Chinese, and there is no Chinese in the PDF, so I have no idea where that’s coming from.<<
Based on the code, you were insert the file via the code Selection.InsertFile. I am trying to reproduce this issue however failed. I suggest that you insert the PDF file manually to see whether this issue relative to the specific file. You can insert PDF
file via Insert->Text->Object->Text from file.
If this issue also could reproduced manually, I would suggest that you reopen a new thread in forum to narrow down whether this issue relative to the specific PDF file or Word application.
>> I want to extract all embedded files (in all my Word files) and save the extracted/opened file into the folder. Some embedded files are PDFs and some are Excel files.<<
We can save the embedded spreadsheet via Excel object model. Here is an example that check the whether the inlineshape is an embedded workbook and save it to the disk for you reference:
If Application.ActiveDocument.InlineShapes(1).OLEFormat.ClassType = "Excel.Sheet.12" Then
Application.ActiveDocument.InlineShapes(1).OLEFormat.DoVerb xlPrimary
Application.ActiveDocument.InlineShapes(1).OLEFormat.Object.SaveAs "C:\workbook1.xlsx"
Application.ActiveDocument.InlineShapes(1).OLEFormat.Object.Close
End If
And since the Word object model doesn't provide API to save the embedded PDF, I would suggest that you get more effective response from PDF support forum to see whether it supports automation. If yes, we can export the PDF as embedded spreadsheet like code
absolve.
Hope it is helpful.
Regards & Fei
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to search files, get cells, loop, and save
Howdy Folks, I'm another Applescript newbie in over my head. I'm working on a script to copy xl files into a master xl file. the files is a roster with student and class information. the number of students will vary. WIth help from a friend I have it about 80% where I want it. Need help with the rest. I hope its okay to ask multiple question about the script if not i do apoligize.
when the script runs it asks for the location of the file. the files are titled Houston_Sam_DWI_Jan.xlsx. I have several files in a master folder that i am trying to get data from, but the script goes through one at a time.
I know i need to loop it somehow to go through all of the files containing "DWI" in the title, I just don't know how to do it.
the script is set up to get a range of cells, but there are other individual cells i need to copy like dates(C7), Instructor(H7), and location(C11). How do i get these individual cells and paste them to the master doc: Location(E7), Dates (F7), Instructor(G7) and have them repeat down the column as the number of students from each of the classes populates the list.
finally, i have the master file name as annual report, the script does update the anual report file, but when it goes to save it creates a file named "sheet 1". i just want it to update the annual report file and save all changes.
here is the script i am currently working with:
set master_path to alias "Users:bs:Desktop:master:Annual Report.xlsx"
get_all_files(master_path)
on get_all_files(master_path)
set example_path to choose file with prompt "Find an example file to work with"
transfer_data(example_path, master_path)
end get_all_files
on transfer_data(child_path, master_path)
tell application "Microsoft Excel"
set child_book to (open workbook workbook file name (child_path as string))
set child_doc to worksheet 1 of child_book
set master to worksheet 1 of (open workbook workbook file name (master_path as string))
set num to 15 --All lists start at index 12 or later, I'm putting 10 to be safe
set students to {}
tell child_doc --grab values from child document
repeat until (value of cell (("A" & num) as string)) is 1
set num to num + 1
end repeat
repeat until (value of cell (("B" & num) as string)) is ""
set end of students to {name:(value of cell (("B" & num) as string)), driver_id:(value of cell (("C" & num) as string)), DOB:(value of cell (("D" & num) as string)), pre_test:(value of cell (("J" & num) as string)), post_test:(value of cell (("K" & num) as string)), cert_id:(value of cell (("L" & num) as string))}
set num to num + 1
end repeat
end tell
tell master
set num to 7
log (value of cell (("B" & num) as string))
repeat until (value of cell (("B" & num) as string)) is ""
set num to num + 1
end repeat
repeat with student in students
set value of cell (("B" & num) as string) to name of student
set value of cell (("C" & num) as string) to driver_id of student
set value of cell (("D" & num) as string) to DOB of student
set value of cell (("H" & num) as string) to pre_test of student
set value of cell (("I" & num) as string) to post_test of student
set value of cell (("J" & num) as string) to cert_id of student
set num to num + 1
end repeat
save master
end tell
save child_book
close child_book
save active workbook in master_path
close active workbook
end tell
end transfer_data
Any help would be greatly appreciated.That did it. had to tinker with it but it's doing what i want. Thanks for all of the help. here is the final code
tell application "Finder"
set master_path to alias "Users:bs:Desktop:master:Annual Report.xlsx"
set filesWithDWI to get every file of folder ((path to desktop folder) & "master" as string) whose name contains "DWI"
repeat with f in filesWithDWI
my transfer_data(f, master_path)
end repeat
end tell
on processfile(f)
display dialog f as string
end processfile
on transfer_data(child_path, master_path)
tell application "Microsoft Excel"
set child_book to (open workbook workbook file name (child_path as string))
set child_doc to worksheet 1 of child_book
set master to worksheet "sheet 1" of (open workbook workbook file name (master_path as string))
set num to 15 --All lists start at index 12 or later, I'm putting 10 to be safe
set students to {}
tell child_doc --grab values from child document
repeat until (value of cell (("A" & num) as string)) is 1
set num to num + 1
end repeat
repeat until (value of cell (("B" & num) as string)) is ""
set end of students to {namevalue of cell (("B" & num) as string)), driver_idvalue of cell (("C" & num) as string)), DOBvalue of cell (("D" & num) as string)), pre_testvalue of cell (("J" & num) as string)), post_testvalue of cell (("K" & num) as string)), cert_idvalue of cell (("L" & num) as string))}
set num to num + 1
end repeat
set startdate to range "C7"
set classlocation to range "C11"
set instructor to range "H7"
end tell
tell master
set num to 7
log (value of cell (("B" & num) as string))
repeat until (value of cell (("B" & num) as string)) is ""
set num to num + 1
end repeat
repeat with student in students
set value of cell (("B" & num) as string) to name of student
set value of cell (("C" & num) as string) to driver_id of student
set value of cell (("D" & num) as string) to DOB of student
set value of cell (("H" & num) as string) to pre_test of student
set value of cell (("I" & num) as string) to post_test of student
set value of cell (("J" & num) as string) to cert_id of student
set value of cell (("f" & num) as string) to startdate
set value of cell (("E" & num) as string) to classlocation
set value of cell (("G" & num) as string) to instructor
set num to num + 1
end repeat
end tell
save child_book
close child_book
save active workbook in master_path
close active workbook
end tell
end transfer_data -
I have downloaded files from "Dropbox" and save in phones document directory,After downloading in document directory,the size of the download file is same as the actual size in dropbox. I can also open it from document directory.Everything is ok. But when I follow the same process for google drive files, the file size is compressed(if actual size of file is 1.2Mb the download file size is 61Kb). So I can not open it from document directory.So, How can i download the actual size of the file in document directory? I am using google api objectivec client for google drive.
Thanks in advance.If an iphone were to try to download a full size document ot photo, it woul overload its own ram, and crash, resulting in a laggy iphone. Therefore it is compresses
-
How do I create files in Captivate 6 and save them in a lower version?
I have Captive 6 at home and at work we are using 5.5.with no plans to upgrade. How do I create or edit in Captivate 6 and still save files so my coleagues can contribute using the software we are given at work?
Only between 6 and 7 this is possible, not with previous versions. And even between 6 and 7 you can have weird things happening. It has nothing to do with being a normal file or a template, I don't know why you tell that?
OP was talking about 5.5 and 6, and there this is NOT possible at all. -
Generate pdf file from 9i reports and save it in C:\oracle_reports\
i want to generate a file from oracle reports in PDF format and want to save it on already defined path.
c:\oracle_reports\
right now pdf generation of report is working fine but before generation of pdf report system prompt me or open a dialogue box to save my pdf file on drive. i dont want to see these dialogue box or prompt me to explicitly save it.
i want all the work done automatically.
regards
------------ source code--------------
PROCEDURE PRINT_PROC IS
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status VARCHAR2(20);
pl_id ParamList;
report_path varchar2(100);
aud_sno varchar2(1000);
aud_type varchar2(500);
BEGIN
pl_id := Get_Parameter_List('report_data');
IF NOT Id_Null(pl_id) THEN
Destroy_Parameter_List( pl_id );
END IF;
pl_id := Create_Parameter_List('report_data');
User parameters : Customize these to fit your report
report_path := :GLOBAL.Web_BASE_PATH||:GLOBAL.PATH_SCM||'REPORT\scm_rfq.rep';
-- Initialize your report parameters here
Add_Parameter(pl_id, 'p_cmp_code' , TEXT_PARAMETER, :global.company_code);
Add_Parameter(pl_id, 'p_rfq_sno' , TEXT_PARAMETER, :document_sno);
Add_Parameter(pl_id, 'P_PATH' , TEXT_PARAMETER, REPORT_PATH);
Standard parameters: Don't change
Add_Parameter(pl_id, 'PARAMFORM' , TEXT_PARAMETER, 'NO');
Add_Parameter(pl_id, 'PAGESTREAM' , TEXT_PARAMETER, 'NO');
Add_Parameter(pl_id, 'MAXIMIZE' , TEXT_PARAMETER, 'YES');
-- end standard parameters
repid := find_report_object('REPORT_OBJ');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'rep_oas');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,report_path);
-- SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'htmlcss');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'pdf');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESNAME,'\\ORCLSRV\UTL_MAIL\'||:doc_type||:receiver_sno||'.pdf');
v_rep := RUN_REPORT_OBJECT(repid,pl_id);
rep_status := REPORT_OBJECT_STATUS(v_rep);
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
rep_status := report_object_status(v_rep);
END LOOP;
END;If you use rwclient you could that easily, from a Form, it requires additional steps.
Look at this thread Re: save report -
Upload PDF file from SAP Portal and save in SAP
A file in PDF format needs to be uploaded from SAP Portal and the file is to be saved in SAP. Request for help, how to do the same. What are the FM to be used etc..
Thanks,hi
Use FM GUI_UPLOAD with file type as BIN
there are similar threads...pls refer to them for more details:
https://www.sdn.sap.com/irj/sdn/profile?userid=3166533
Upload pdf file to SAP
PDF File
reward if helpful
regards,
madhu -
How to open illustrator file (.ai) using Indesign and save it as XML
I know how to open a Illustrator file (.ai) in Indesign.
It would be like :
1 ) Save your Illustrator file as AI. This Native format is most compatible with InDesign.
2 ) Go to -> InDesign, click on your document using your Frame Rectangle tool (the one with the X through it).
3 ) Fill in the desired size (can be adjusted later).
5 ) Go to File menu > Place.
6 ) Find and select the Illustrator file in the window that opens.
7 ) Click the Open button.
Adjust size, & position of your image using the Direct Selection tool (white arrow), and the cropping with the Seclection tool (black arrow.
Now I want to save this file as XML.
After that, I say
1 ) File -> Export
But this file saves as XML only shows he the root element nothing else.
Every time , this shows like
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Root></Root>
Nothing is there as contents.
Can anyone let me know, is it possible to store .AI file as XML.
My requirement is simple, i want to store the .ai file as XML.
Some how I am using Indesign to do so . Can any body help.
Thanks,Copy and paste is again seems same as 'Place the file' , it wouldn't help again.
Copy( from Illustrator) and paste( it in Indesign) and later saving\exporting as XML again create the same the XML file with no data . Just a XML structure,
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<Root />
RRegarding using the FXG and SVG file .. saving these formats to XML does not shows the Co-ordinates in XML formats.
I do I would like to have the coordinates (x,y) so that later on , if required I can change the coordinates and display the Image or Text in the file. As this is a requirement for business card.
A
Maybe you are looking for
-
Firefox 3.6.13 running on Windows XP SP 3, Zonealarm 9.3 Noticed that I can no longer open new windows - the cursor blinks momentarily and then nothing happens. After closing a Firefox window, cannot run Firefox without a system restart. After a syst
-
How to implement reading data from a mat file on a cRIO?
Hi all! I am not even sure, this is plausible, but I'd rather ask before i start complicating. So far, I have not found any helpful info about reading in data to a RT device from a file (kind of a simulation test - the data is simulated). I have the
-
Final cut pro 5.0.4 update (need to update for job)
im probably the one person in the company to still run 5.0.4 instead of 5.1.1, mostly because im never given an option for notified to update. I have Final Cut Pro 5.0.4, not sure if i registered it. The popup comes up once in awhile, but hasnt latel
-
Iview Settings For Bank Details in ESS
Hi All, 1)When i am Trying to Change the Bank Details Information in ESS,the System is not alllowing me to Enter a Bank key change and giving a message that only 11 digit bank Key is permissible .
-
Documentation on user parameters set in SU3 or SU01?
Hello all. I am trying to find documentation on the available user parameters set in SU3 for self-service or in SU01 by an admin. I frequently have users with issues with various reports, exports, etc. When all else fails, I remove all of their user