Is it possible to link in files based on a pattern?
Is it possible to automatically link in php files in the way css, js and included and required includes are linked?
The image is from Dw cs5, swedish, but I think you know what I mean.
This shows the desired behavior based on a bug i found in cs5.
Every file starts with commented out require statements. This does include the files the way I want but it's not convenient to have these useless comments in the beginning of every file.
//require "/relative/path/to/file.php"
I also want to be able to link like this in all code files i'm using, such as js, css and php.
PHP includes should look like this:
<?php require_once('folder/filename.php'); ?>
<?php require('folder/filename.php'); ?>
Some people use the Insert Panel. Others find it more convenient to create Custom Snippets.
Nancy O.
Similar Messages
-
I am new to Creative Cloud, but have been using Adobe software for many years.
Now we are considering sharing an Indesign file with my project group using CC.
The Indesign file contains links to external files (one Illustrator and multiple .txt files); and we export the approved version to an Hi-Res PDF.
These .txt files are currently hosted on our internal server but have not been linked directly: we first copy them over to local desktop and update the links in Indesign before creating a new PDF.
Since these file can be update by different people we would like to keep them outside the Indesign and Illustrator files.
Is it still possible with CC to link directly to the files on our server in Indesign and see if there have been updated?
Or can they also be stored in the CC cloud? Or is there another method?
Thanks in advance for any help or suggestions
RonaldThis will work if you all use the file syncing of the Creative Cloud desktop application and then you use the Collaborate option for the folder containing all the files. Then it will work on each of your desktops.
Links to files will not work in the browser when viewing the InDesign document from https://creative.adobe.com/files. -
Is it possible to linking cell in different file? Like Excel can do.
Is it possible to linking cell in different file? Like Excel can do.
No, not supported. Maybe next version...
Jerry -
Is it possible to link a topic from another help file?
I apologized if topic has been discussed/answered. I was
wondering if it is possible to link a topic from another help file?
So, basically my client has a help file .chm that was created by
someone else. I am brought in to create another help file. so,
basically for the help file that i'm creating a topic call vacation
hours but this topic is already in the previous help file instead
of including that in the new help file can i create some see also
link to this topic in the previous help file and the topic vacation
hours from the previous help file display once someone click on the
link. please let me if this possible and how i can do this.
thank in advance
bobHi, Bob, and welcome,
Yes, you can create links from one .chm file to another. The
HTML syntax is as follows:
<a
href="TargetHelpFile.chm::/path_to/TargetTopic.htm">Link
text</a>
For example:
<a href="htmlhelp.chm::/topics/chmweb.htm">Click here
for more information</a>
To ensure that you're specifying exactly the right path
information to the target topic:
1) Open the target help file.
2) Display the required topic.
3) Right-click it and then, on the context menu, select
Properties.
In the resulting properties dialog box, you can copy the path
information out of the Address field and abbreviate it
appropriately (you need the name of the target .chm file and
everything that follows it).
For this type of link to work, the target help file must be
in the same folder as your source help file or in the Windows Help
folder, or it must be registered under the following key in the
Windows registry:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\HTML Help
Pete -
Update links in file created based on the template page
Hello everyone:
a) I have problems when update links in files crated based on
a template page.
I read Dreamwaver (DW) help menu. Seems to me Dreamwaver is
smart enough to update links based on correct file structure.
I created a template file based on a sample page. Template
file saved to the template folder. Then I crated few pages based on
the template. I checked links in new files and found that link
structures are based on template folder, not based on files current
folder position.
Please give me some suggestions on how to correct this
problem. If you know some good online tutorial or documentations
please share with me.
b) Can DW template update Navigation bar links correctly
based on relative document path?
I have Navbars imported from Fireworks into DW. Files crated
based on template are not updating pop-up menu links correctly. I
manually updated every links. It is time consuming and> I created a template file based on a sample page.
Template file saved to
> the
> template folder. Then I crated few pages based on the
template. I checked
> links
> in new files and found that link structures are based on
template folder,
> not
> based on files current folder position.
This means that you are entering the links manually, not
using the Property
inspector and browsing to the target file. You should do it
this way until
you understand how templates work. All links in a template
file should
(usually) be one of three kinds -
1. Document relative BASED ON THE TEMPLATE, e.g.,
<a href="../whatever....
2. Root relative, e.g.,
<a href="/whatever....
3. Absolute, e.g.,
<a href=''
http://www.example.com/whatever....
Anything else will always result in the Template folder being
placed in the
path for the link when you create a child page.
> b) Can DW template update Navigation bar links correctly
based on relative
> document path?
Yes, of course.
> I have Navbars imported from Fireworks into DW.
This could easily be one of your problems. Those menus are
definitely
broken and should never be used.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"sjmacro" <[email protected]> wrote in
message
news:[email protected]...
> Hello everyone:
>
> a) I have problems when update links in files crated
based on a template
> page.
>
> I read Dreamwaver (DW) help menu. Seems to me Dreamwaver
is smart enough
> to
> update links based on correct file structure.
>
> I created a template file based on a sample page.
Template file saved to
> the
> template folder. Then I crated few pages based on the
template. I checked
> links
> in new files and found that link structures are based on
template folder,
> not
> based on files current folder position.
>
> Please give me some suggestions on how to correct this
problem. If you
> know
> some good online tutorial or documentations please share
with me.
>
> b) Can DW template update Navigation bar links correctly
based on relative
> document path?
> I have Navbars imported from Fireworks into DW. Files
crated based on
> template are not updating pop-up menu links correctly. I
manually updated
> every
> links. It is time consuming and
>
> -
Splitting a file based on the payload field - multimapping
HI Everyone,
I have a requirement of splitting a file based on the field .
e.g When I am a file as :
row1 David US
row2 Cindra US
row3 Peeru CA
row4 Jay CA
Then, I have to split the file into two files, one file with the US rows and another file with the CA rows.
There can be many countries in the input file, so number of target files need to be generated is not fixed.
I have gone through the below links :
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible ( in the blog we know that there are two receivers but in my case I dont know that )
https://bond.newellco.com/irj/scn/,DanaInfo=www.sdn.sap.com,SSL+thread?messageID=6449801#6449801
( Everyone is providing JAVA mapping as a solution....)
Is Java mapping the only option to resolve the problem case I have ?
Thx
PEERU INHi Peeru,
I don't have access to the any FTP or file server of XI to check the file adapter as i am travelling right now(I am 100% sure that the file adapter splitting will work as i have done this for one of my requirement).
Coming to your requirement:
I wrote an java map which will read the XML file and create the multiple recordset based on number of different country exists in the file, then i am printing the final structure in an multi mapping layout (please see the attached input file Country.xml and out put file which the java map generated Final.XML) if we do this i think the file adapter will create the different files based on the number of recordset we have as you can see the output file is generated with the 3 recordset (<Country>) tag each country tag has its own records, now if i give the filename in variable substuition pointing to region then i think i should get 3 files with names
us.xml
us01.xml
us02.xml
i think by using the multi mapping i can generate 3 files and by using the variable substution i can give the 3 different names from the payload of each file and also can add the timestamp for each of the file, again i didn't have access to the file adapter in the project i am working on so i couldn't verify in XI server, but if you still looking for solution then let me know i will give the map details.
Input File: Country.xml
<?xml version="1.0"?>
<check>
<order>
<name>Nisar1</name>
<region>US</region>
</order>
<order>
<name>Nisar2</name>
<region>US</region>
</order>
<order>
<name>Nisar3</name>
<region>US</region>
</order>
<order>
<name>Nisar4</name>
<region>US01</region>
</order>
<order>
<name>Nisar5</name>
<region>US01</region>
</order>
<order>
<name>Nisar6</name>
<region>US01</region>
</order>
<order>
<name>Nisar7</name>
<region>US</region>
</order>
<order>
<name>Nisar8</name>
<region>US</region>
</order>
<order>
<name>Nisar8</name>
<region>US02</region>
</order>
</check>
Output File : Final.XML
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<country>
<Order>
<name>Nisar1</name>
<region>US</region>
</Order>
<Order>
<name>Nisar2</name>
<region>US</region>
</Order>
<Order>
<name>Nisar3</name>
<region>US</region>
</Order>
<Order>
<name>Nisar7</name>
<region>US</region>
</Order>
<Order>
<name>Nisar8</name>
<region>US</region>
</Order>
</country>
<country>
<Order>
<name>Nisar4</name>
<region>US01</region>
</Order>
<Order>
<name>Nisar5</name>
<region>US01</region>
</Order>
<Order>
<name>Nisar6</name>
<region>US01</region>
</Order>
</country>
<country>
<Order>
<name>Nisar8</name>
<region>US02</region>
</Order>
</country>
</ns0:Message1>
</ns0:Messages>
regards
Nisar Khan -
Generate Java file based on a C++ header file
Hi,
I want to know if it is possible to generate a java file and JNI-based C++ file based on the header file of C++ code which I want to call.go to www.swig.org... swig is an exe that generates wrapper code & java JNI code. You'll need to compile & link to an so / dll yourself, but it should work
-
Datalogging with options to retrieve subset of log file based on date/time
I would like to thank this forum for useful advice so far in completing my LabVIEW software.
I have a data logging challenge. I am supposed to log about 30 parameters every 5 seconds. Some of these parameters are digital (ON/OFF), some are values of speed (rpm) and others, an expression of a percentage (%). It should be possible in future to do a histogram or bar chart plot of some of the parameters, for a specific period range (say the last 5 minutes of a certain day). So in effect, do an extraction of a segment of the total log file.
My challenge is if I use text file, like the one in the attached VI, can it give functionality of retrieving data (while the VI is running) from the log file, based on a certain time range (i.e. retrieve a section of the log file based on a certain date/time range, on demand)?
The format in the text file is close to what I require, since it lists the time n one column and the other parameters on other columns to enable future histogram generation.
Thanks a lot, friends.
Solved!
Go to Solution.
Attachments:
writer.vi 19 KB
time.txt 1 KBHey maxidivine,
Iv been playing round with your code and found that to perform the search that you require could be quite demanding to system resources when scaled to the size of your application I shall try and find a way to perform the search using .txt files but the there are some other options available. I recommend the use if TDMS files as the file format is a very efficient, manageable method of data-logging. The TDMS file format is designed to write and read measured data at a very high speed, while maintaining a hierarchical system of descriptive information.
Traditionally, TDMS was a National Instruments only file format – you could only read it using our products – LabVIEW/CVI/DIAdem. However, thanks to the popularity of the format, a bolt-on is now available for Excel, which allows you to directly open the .tdms files with Excel (see link).
National Instruments Technical Data Management Overview
http://zone.ni.com/devzone/cda/tut/p/id/3676
Introduction to LabVIEW TDM Streaming Vis
http://zone.ni.com/devzone/cda/tut/p/id/3539
VI-Based API for Writing TDMS Files
http://zone.ni.com/devzone/cda/tut/p/id/6471
TDM Excel Add-In Tool for Microsoft Excel User Guide
http://zone.ni.com/devzone/cda/tut/p/id/4906
TDM Excel Add-In for Microsoft Excel Download
http://zone.ni.com/devzone/cda/epd/p/id/2944
Troubleshooting the TDM Excel Add-In for Microsoft Excel 2000-2003
http://zone.ni.com/devzone/cda/tut/p/id/5874
Examples of the use of the TDMS API ship with LabVIEW. You will find them in HELP > find examples > fundamentals > File Input and Output. For you application, I would recommend the “Cont Acq&Graph Voltage - Write Data to File (TDMS).vi”.
Furthermore, if you require some help with DIAdem, I would recommend clicking "getting started" from the DIAdem splash screen. This opens a manual which discusses everything from data analysis to report generation. Also, if you have DIAdem 11 or above, there are tutorial videos which install with DIAdem. These are useful little tutorials, which discuss all the DIAdem fundamentals. You can access these by selecting a particular palette tab (eg. report, view, analysis...etc) and then clicking the tutorial button (shown as a film strip with a question mark) at the top of the group view.
Here are some more helpful DIAdem related resources for future reference.
Report Gen in DIAdem...
http://zone.ni.com/devzone/cda/tut/p/id/7379
DataPlugins: Supported Data Formats (ni.com/dataplugins)
http://zone.ni.com/devzone/cda/tut/p/id/4065
Hope this is helpful
Philip
Philip
Applications Engineer
National Instruments
UK Branch
===If this fixes your problem, mark as solution!=== -
Pick up Files based on Timestamp???.
HI All,
Is it possible to pick up the files in the order of which they are put in a shared folder ?.
Our client system will put the xml files in a shared folder with timestamps..PI will pick these files one by one..but if the PI server is down.. the files will keep coming in the shared folder from the client system..and when PI come back up they need to be picked in the order in which they have been put according to timestamp.
I'am using the NFS functionality.
I dont want to output files from PI based on timestamp added.. I want to pick files up based upon sender timestamp.
Is this funcationality supported in PI?.
Thanks.HI
You can write script to do this. Script can copy files based on time stamp from the folder where client system is putting the file to the folder PI is poling based on timestamp.
With this as Ratan said. If the file creation date for file system is in date and time format(timestamp) File processing sequence by Date can help. It process file starting from oldest file.
Thanks
Gaurav -
Shockwave won't play linked Director files from server
I created a bunch of director files for the course content of my class. All can be accessed from a contents file. When I created an html contents file on my desktop (in the same folder as the linked director files), the contents pages would open in shockwave in my browser (both Firefox and Safari) and then by clicking on a link other director files would open and play. However, when all these files were place on our server (in the same folder), only the contents pages would open and we get an error message saying the dirctor files cannot be opened. I think this means it sees them, but can't open them.
Help!Hi Sean
sorry if my e-mail was a bit whiney, but I got a bit frustrated,
having tried to use the Adobe website for help and then trying for
help over the phone. Adobe has this nice thing where they will call
you back instead of you sitting on hold, which I used at first, but
you get called back by a machine, not a person, then you subsequently
get a progression of robocalls with nobody on the other end! I
finally just sat and waited and got a person, who seemed
knowledgeable and nice, but couldn't help me without a payment. So, I
would greatly appreciate any help you could provide!
What I have is this. I constructed a "book" in CD form for my
class. This is based on CDs that Mike Coleman and I published a few
years ago. A picture of the contents page is shown below. Each topic
is in a separate Director file, each with its own casts. We made a
lot of animations, some in Flash and some in Quicktime that appear in
each topic. I redid everything in Director 11.5, changing text
spacing because of the way things get altered when things get played
in Shockwave! When I click on one of these subtopics, the
corresponding Director file opens. I accomplished linkage this by
appending a behavior to the text, "Play Movie X". I then originally
made a projector file of the contents page and distributed the CD to
my class free (textbook prices are getting out of hand). Now I want
to put it on the web, because I'm tired of burning CDs and we're
getting students from other locations taking the course on-line. So
within the folder on my desktop that held all the Director files, I
made a second folder "dswMedia" into which I placed all the
animations. I also linked all the animation casts to the Contents
Director file. I then constructed a Contents.html file and
Contents.dcr file using the Publish commands in Director. When I
click on the Contents.html file within my main folder (the one
holding all the Director files and the dswMedia file) the page opens
nicely in my browser (Firefox) and I can play all the Director movies
by clicking on each topic. All the animations play beautifully.
Great , I thought, I'm in business. I then took the files to our
media guy who put it on the server, in the same form as on my
desktop. If we click on the Contents.html file through the web it
opens. Clicking on a topic does not open that Director Movie. The
error message is not that it can't find the movie, however, but that
it can't open it. Everything works just fine on our media guys
computer, we only have a problem when we attempt to use this stuff
through the web. (Our web guy's computer does not have Director, so
that's not the issue).
Any guidance would be greatly appreciated!
Regards
Paul
 -
How to create additional Line in file based on condition available as part of ZINVOIC02 Idoc segment
Scenario Details:
Receiving Zinvoic02 Idoc in PI. Idoc to file translation creates comma separated file with .csv extn
The logic was kept in such a way that how many E1EDP01 (items) are available in IDoc that many no of records will be created in csv file.
The file logic for some the fields is as below:
No of records
InvNumber
InvDate
CusNumber
LineitemDesc
Tax1Type
Tax1%
for 1st E1EDP01
E1EDK01-BELNR
E1EDK03-DATUM
E1EDK01-PARTN
Populate when E1EDP04/MSKWZ=O2 or O4 with E1EDP19/KTEXT
Hardcode when E1EDP04/MSKWZ=O2 or O4
Sum all E1EDP04 /MSATZ when E1EDP04/MSKWZ=O2 or O4
for 2nd E1EDP01
E1EDK01-BELNR
E1EDK01-DATUM
E1EDK01-PARTN
same as above
same as above
same as above
for 3rd E1EDP01
E1EDK01-BELNR
E1EDK03-DATUM
E1EDK01-PARTN
same as above
same as above
same as above
Additional Line to be created when one or more of E1EDP01 is having E1EDP04/MSKWZ = O3
same as above
same as above
same as above
Hardcode "REIM for USE TAX"
Hardcode ""
Hardcode ""
Now we have got addition requirement to add a new lineitem when tax code is equal to O3 for any of the E1EDP01.
Is it possible to create additional lineitem based on condition. If yes, please share what should be the approach.
How we can create the additional lineitem?
Currently we are using E1EDP01 to do context handling.
The target structure is :
MT_FILE
INVOICE 0..unbounded
InvNumber 0..1
InvDate 0..1
CusNumber 0..1
LineitemDesc 0..1
Tax1Type 0..1
Tax1% 0..1Hello,
Please add one extra field in the data structure of the target mapping and let its occurrence be 0..unbounded under the root node 'MT_ADP_Invoice'.
Apply the condition, if tax code MSKWZ (with its context changed to E1EDP01) equalsS to '03', then map it to the newly created target field whose occurrence is 0..unbounded.
This will then create an additional field which is your requirement.
The above is one way.
But if you want to have the same target field name as ADP_File appended for tax field being '03'.
Then in that case you can you two message mapping for one common operational mapping / interface.
In the first message mapping you need to have one target data structure created with the source data structure remaining the same as the one shown by you in scrn shot. Now this target data structure will be similar to the source, except that you need to add one more field at the end(name different from other fields) in target (whose occurrence should be 0..unbounded), and it needs to be mapped to E1EDP01 provided the tax code field MSKWZ(its context changed to E1EDP01) equalsS to constant '03'.
In the second message mapping you need to map the target structure of previous message mapping to the actual required structure. The newly added field should be mapped to ADP_File of your final target structure.
This will then create the same structure as required.
Note : Please change the occurence of ADP_File to 0..unbounded.
Regards,
Souvik -
Is there a possibility to open raw files from the Nikon D750 in photoshop elements 11?
Is there a possibility to open raw files from the Nikon D750 in photoshop elements 11? I allready tried to install camera raw 8.7.1 but it doesn't work.
Yes, I see:
Letzte Aktualisierung
16.04.2012
The link I gave is listed in the faqs of this forum.
Photoshop Elements FAQ List
mfG
Michel -
Problem with File Based replication in Weblogic Express 10
Hi,
We have Web application (exploded war) file deployed on Weblogic Express 10, to a Cluster of three Managed Servers (all three on different physical machines).
We are using File based session persistance in weblogic.xml
We have a shared location for all the three servers where we will be sharing the Session data.
When we start the application, its works fine and is very fast, but after sometime the application slows down.
Troubleshooting the Issue we found that its a problem with file based replication. By using File based replication every user session is stored in form of directory inside shared directory. So after sometime thousands of directories are created inside the shared directory where the session information is stored. So when we access the application, its waiting for lot of time with Message Session Monitor .... (this is because its browsing through the shared session storage directory for lot of time for session information as it has lot of directories) and finally after a long time like 10 mins we get the Application Home Page.
When we clean up all the saved sessions inside shared directory, the application works fine, But we will see the same sometime later may be after 3 or 4 hours when the shared session directory has lot of session information stored in it.
Is there a way to clean up the saved session information on file system as soon as that user session is closed by using file based replication.
We cannot used Inmemory replication as our Appl doesnt support it.
Please advice as it is a major show stopper in our Production Mirror env.
Weblogic ConsultantIt is possible to reduce number of live session by configuring very low timeout-secs weblogic.xml. Default is 60 minutes.
More details are here..
http://e-docs.bea.com/wls/docs100/webapp/weblogic_xml.html#wp1071982
Jayesh
Yagna Sys -
Dynamic file names on file based processing
Hi Experts
we are doing file to file scenario using file based processing not on message based ( No Reposiitory Objects - No mapping , no interface objects ).
we need to pickup the file name from the source directory and place it in the target directory with the same file names.
the source file name is added with the time stamp and client number,
Since there no mapping , we can't use the dynamic file concepts.
Please help me with the possible solutions
thnz for the help in advance.
Cheers
FaheemHi Faheem,
You will be using the dynamic config when u want to map the input file name to a field in the target message.
As per ur requirement ASMA will do :
try this:
In both the sender and receiver file adapters , select Adapter Specific Identifiers and File Name
In the receiver file adapter give some dummy value for file name and directory.
In the runtime, the source file name and directory will be used as the target file name and directory.
You need not use any UDF or a mapping here
Hope it helps!!!!!!!! -
Is it possible to edit a file made with 8.1 for word using acrobat 9 pro??
I have a PDF file which seems to have been created using acrobat 8.1 file maker for Word. Is it possible to edit this file using acrobat 9 pro extended and if so how do i go about this..
When i select the tools menu, no options become available and there is no secuirty enabled on the file.
Thanks
Tonybluuskii wrote:
I have a PDF file which seems to have been created using acrobat 8.1 file maker for Word. Is it possible to edit this file using acrobat 9 pro extended and if so how do i go about this..
When i select the tools menu, no options become available and there is no secuirty enabled on the file.
Thanks
Tony
If you have Acrobat Pro Extended that is a PC Product. You've clicked on wrong Forum. Go back to main page the click on Acrobat and choose PC forum. Extend has such features as XML based PDF Forms which Acrobat Pro Mac can't handle.
Maybe you are looking for
-
ITunes 10.6.1 Crash
I had previously reported iTunes 10.6.1 hanging with spinning beachball when attempting to sync with iPhone or iPad, and after reinstall of 10.6.1, hanging after about a minute of running. I was able to talk tonight with a Senior Apple Tech Support p
-
My Final Cut Pro 7.0.3 WON'T OPEN!
I recently dumped so applications on my Mac OS X 10.6.8 Then when I try to open my FCP 7.0.3 it comes up with this info below. Can anybody understand this and help! Been down for days with huge deadlines. PLEASE HELP! - PATRICK Process: Fi
-
How can I divide a Current Library into two?
I understand how to create a new second iTunes Library, but how do you transfer some songs/album covers to the new library? The only way I can think of is drag the songs/albums to a folder on the Desktop and then drag them into the new library. Then
-
Easy CSS Question......but not for me :(
Thanks up front! Have a external style sheet...... in the style sheet I have font attributes defined for a specific rule (#content), color, size, weight, family, etc. When I attempt to change one word to a different color using inline or internal it
-
Can't change iCloud email help!!!
I recently changed my email to another and when I go on my iPad 2 it says that iCloud can't load so I went to go and change it and it won't let me. Can anyone help?