Why did I get this result when I use split
Hello guys
I created a script that are looking for the active path,
var myPath = (File($.fileName).parent.parent.parent.fullName); alert(myPath)
I get "/ xxxxx/xxxx/xxxx/341542 '
the only thing I'm interested in this information, it is the number
so I added the code
var myPath = (File($.fileName).parent.parent.parent.fullName).split("xxxx/xxxx/xxxx/");
the problem is
I get ', 341542'
Why did I receive a comma before the number?
There is no comma. in the path.
Hello
Using the split() method, you receive a table - not a string ==> myPath is an array of 2 elements.
If you are alert a result - he is seen like this, couse of elements of the array are ',' delimited.
To call a number part use myPath [1]
Jarek
Tags: InDesign
Similar Questions
-
Why I get this message when you use the magnetic lasso tool: "WARNING: no pixel is selected to more than 50 percent." The edges of the selection will be not visible. ?
See here:
-
Why do I get this error C:/User/radyer/AppData/Local/Playto~1/Update.dll?
Judging by the place where provenance, like malicious software. I suggest to delete
-
Why did I get this message "internal error" everytime I open Lightroom?
This is the error message:
An internal error has occurred:
MCPublishCache.lua:349: MCGDrive.lua:206: {}
message = ' search file . https://www.googleapis.com/drive/v2/files?q=%270B2a7zH11arLUbk9BS1FNR1Q3RnM%27+in+parents+ and + title + % 3D + % 27Ireland % 27 + and + trash + % 3D + fake: 403 --- {\
\"error\ ': {------}.
\"errors\': []
{\
\"domain\': \"usageLimits\",\
\"reason\': \"userRateLimitExceeded\",\
\"message\ ': \"User rate limit Exceeded\------.
}\
],\
\"code\': 403, the.
\"message\ ': \"User rate limit Exceeded\------.
}\
}\
",
errorCode = "serverError";
}
-
Why did I get this error message
Hi superflash26,
Please uninstall the drive using this cleanup tool Download Adobe Reader and Acrobat cleaning - Adobe Labs tool, reboot your system & reinstall it using this link Adobe - Adobe Acrobat Reader DC Distribution.
Let me know if it solves your problem.
Kind regards
Nicos -
It's so boring. I use ancestry.com a lot and after I watch a census or a person on ancestry.com, I try to use the left arrow to return to the page that I started on the screen turns white and it says "object moved here." "Here" is a link, but it does not work for me back to the page I want. I have to use the arrow back several times and sometimes it works and sometimes it doesn't, so I lift all over again. It's so boring!
It's probably a problem with the site and you will have to contact them and ask them to fix it. But a link to a public page where it happens and allows us to reproduce the problem can be useful.
-
I get this error when you use the app in windows 10. Error 16
Hello
Sorry for the late reply!
Please close Acrobat and then open Acrobat as run as administrator.
Or you can also check: https://helpx.adobe.com/creative-cloud/kb/configuration-error-cs5.html
Let us know if you still have problems!
-
Why do I get "this copy of Windows is not genuine. Build 7601, Windows 7 "? Windows was preinstalled on my computer when I bought 7 years ago. This message just started yesterday.
The label on the bottom of my laptop is worn and unreadable. I prepare some restore disks when I bought it all first.
Also, is it safe to use with this message? I am more sensitive to the virus and malware?
When I ran the MGADia.exe, I received the following:
Diagnostic report (1.9.0019.0):
-----------------------------------------
Given WGA-->
Validation status: invalid license
Validation code: 50Code of Validation caching: 0x0
Windows product key: *-* - 73CQT - WMF7J-3Q6C9
Windows product key hash: RmurcM3ZxzWyfEP9WtPUJw = + KaFG
Windows product ID: 00359-OEM-8992687-00010
Windows product ID type: 2
Windows license Type: OEM SLP
The Windows OS version: 6.1.7601.2.00010300.1.0.003
ID: {41B72C8D-9D6E-4B69-95F3-C47B98DFEC93} (3)
Admin: Yes
TestCab: 0x0
WGA Version: N/a, hr = 0 x 80070002
Signed by: n/a, hr = 0 x 80070002
Product name: Windows 7 Home Premium
Architecture: 0 x 00000009
Build lab: 7601.win7sp1_gdr.150715 - 0600
TTS error:
Validation of diagnosis:
Resolution state: n/aWgaER data-->
ThreatID (s): n/a, hr = 0 x 80070002
Version: N/a, hr = 0 x 80070002WGA Notifications data-->
Cached result: n/a, hr = 0 x 80070002
File: No.
Version: N/a, hr = 0 x 80070002
WgaTray.exe signed by: n/a, hr = 0 x 80070002
WgaLogon.dll signed by: n/a, hr = 0 x 80070002OGA Notifications data-->
Cached result: n/a, hr = 0 x 80070002
Version: N/a, hr = 0 x 80070002
OGAExec.exe signed by: n/a, hr = 0 x 80070002
OGAAddin.dll signed by: n/a, hr = 0 x 80070002OGA data-->
Office status: 100 authentic
Microsoft Office Home and Student 2007-100 authentic
OGA Version: N/a, 0 x 80070002
Signed by: n/a, hr = 0 x 80070002
Office Diagnostics: 025D1FF3-364-80041010_025D1FF3-229-80041010_025D1FF3-230-1_025D1FF3-517-80040154_025D1FF3-237-80040154_025D1FF3-238-2_025D1FF3-244-80070002_025D1FF3-258-3_E2AD56EA-765-d003_E2AD56EA-766-0_E2AD56EA-134-80004005_E2AD56EA-765-b01a_E2AD56EA-766-0_E2AD56EA-148-80004005_16E0B333-89-80004005_B4D0AA8B-1029-80004005Data browser-->
Proxy settings: N/A
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Win32)
Default browser: C:\Program Files (x 86) \Mozilla Firefox\firefox.exe
Download signed ActiveX controls: fast
Download unsigned ActiveX controls: disabled
Run ActiveX controls and plug-ins: allowed
Initialize and script ActiveX controls not marked as safe: disabled
Allow the Internet Explorer Webbrowser control scripts: disabled
Active scripting: allowed
Recognized ActiveX controls safe for scripting: allowedAnalysis of file data-->
Other data-->
Office details:{41B72C8D-9D6E-4B69-95F3-C47B98DFEC93} 1.9.0019.0 6.1.7601.2.00010300.1.0.003 x 64 *-*-*-*-3Q6C9 00359-OEM-8992687-00010 2 S-1-5-21-3695335249-1752219722-1893319484 Hewlett-Packard SLIC-MPC Hewlett-Packard F.14 20090922000000.000000 + 000E3503D07018400F8 0409 0409 Eastern Standard Time(GMT-05:00) 0 3 HPQOEM SLIC-MPC 100 100 Microsoft Office home and Student 2007 12 52F2E9A2A000F38 wJr2hKpGU8wDb57KL876WZXKYT8 = 5591357-81602-924-68635 1 Content Spsys.log: 0 x 80070002
License data-->
The software licensing service version: 6.1.7601.17514Name: Windows 7 HomePremium edition
Description: operating system Windows - Windows (r) 7, channel OEM_SLP
Activation ID: d2c04e90-c3dd-4260-b0f3-f845f5d27d64
ID of the application: 55c92734-d682-4d71-983e-d6ec3f16059f
Extended PID: 00359-00178-926-800010-02-1033-7600.0000-2682009
Installation ID: 002050161536719566617756842704942491320285130926883054
Processor certificate URL: http://go.microsoft.com/fwlink/?LinkID=88338
The machine certificate URL: http://go.microsoft.com/fwlink/?LinkID=88339
Use license URL: http://go.microsoft.com/fwlink/?LinkID=88341
Product key certificate URL: http://go.microsoft.com/fwlink/?LinkID=88340
Partial product key: 3Q6C9
License status: Notification
Notification reason: 0xC004F059.
Remaining Windows rearm count: 2
Trust time: 08/03/2016-20:20:50Windows Activation Technologies-->
HrOffline: 0x00000000
HrOnline: 0x00000000
Beyond: PASS
Event timestamp: 1:6:2016 08:43
WAT Activex: registered
WAT administration service: registered--> HWID data
Current Hash HWID: NAAAAAEAAgABAAIAAAABAAAABAABAAEA6GHuySp0Ejd6f1iV4sfgC34fsPa8wADj3utGyg ==Activation 1.0 data OEM-->
N/AActivation 2.0 data OEM-->
BIOS valid for OA 2.0: no, table invalid SLIC
Windows marker version: N/A
OEMID and OEMTableID consistent: n/a
BIOS information:
ACPI Table name OEMID value OEMTableID value
HPQOEM APIC-SLIC-MPC
HPQOEM FACP SLIC-MPC
HPQOEM HPET SLIC-MPC
START HPQOEM SLIC-MPC
MCFG HPQOEM SLIC-MPC
ASF! HPQOEM SLIC-MPC
SLIC SLIC-MPC HPQOEM
SSDT PmRef CpuPmKay
You must activate Windows 7 by using the product key on the COA sticker on the casing of the computer, or inside the battery compartment.
Select Start, right-click computer, click Properties, select change product key (under Windows Activation) and enter the product key of 25 characters (from the COA sticker). Click Next to activate via the internet. Restart your computer.
-Product key of letters and numbers-
Do not confuse the letter B with the number 8, the letter Q and the letter O, and the letter G with the number 6.
Not used the letters: A, E, I, O S U Z l. numbers and you not used: 0 1 to 5.
The product source letters and figures: Stuart W J
http://answers.Microsoft.com/en-us/profile/4b0846b4-711f-4347-A784-741660b06fb7#user-profile-tab-profile -
With premiere pro cc2015 why can I get this error message when reading 'timers video and audio are not synchronized?
Hello
Here are the steps.
Install a cable Audio virtual on your machine:
http://virtual-audio-cable.en.softonic.com/
Under HW Audio Configuration configured Virtual audio cable as default input device
And value clock maser virtual audio cable and try reading.
This issue with the message 'Audio material e/s overloaded at 00' can be fixed, follow these steps.
Vinay
-
Why did I get a warning from paper size when you use the printed booklet?
I am trying to use the facilities to print booklet in InDesign CS4 (running Windows XP). My document pages are portrait A5 and my printing parameters for the booklet are A4 landscape. However, the print booklet dialog box is warning me that "the booklet does not match the current paper size. Click Print settings to specify a paper size larger or the scale of the brochure to adapt. »
Because, by design, a folded sheet of A4 is exactly A5, no scaling should be held. If I ignore the warning and continue with printing, every page of my book is followed by a blank page. I remember ever get this problem when I created version of the year last my brochure, using InDesign CS2.
Anyone can shed some light on this mystery?
David
Sorry, I guess I forgot to answer this question earlier. If the contours of the block are displayed, they take on the color of the layer on which they are found as a visual cue. You can hide the contours of the block on the view menu, or by pressing Ctrl (Cmd) + H. They will disappear also in preview (W).
Peter
-
Why I countinuosly get this messages open a vi of my project?
Hello
I need help to understand why I get this message when, after that I changed something, I opened a vi of my project:
and after clicking on restore...
After the reopening of the vi that the error is no more and the functioning of the development system, it's ok.
Thanks in advance.
-How you call the 'Load Parameter.vi' in your VI?
Some things to read in the forum related to this one:
-If any Subversion works in behind and it changes the timestamp of VI?
N ' matter what antivirus might also change the timestamp of vi. Source: http://forums.ni.com/t5/LabVIEW/Labview-8-5-prompts-me-when-I-change-a-subvi/td-p/579867 -
Why that I get this message, Microsoft Windows Search Indexer stopped working and was closed
Why that I get this message, Microsoft Windows Microsoft Windows Search indexing has stopped working and was closed [content] A problem caused the application to stop working correctly. Windows will notify you if a solution is available.
Original title: he ceases to annoy meA problem with the operating system.
I would also like to run a file system check to verify and repair the operating system files
Run a file system check to check and repair your system files.
To do what type cmd in start search box, and then right-click to run as administrator, then
SFC/SCANNOWIt may need be performed up to three times before success
Let us know the results of the report at the endRead here for more information
http://support.Microsoft.com/kb/929833 -
I get this error when submitting the question to DPS
Hi uses Woodwing Enterprise to publish fact sheets on the DPS from Adobe and it was okay, I ended up creating a new show and I get this error when submitting the question to DPS: Adobe Distibution Server returned the error when calling "createIssue. Code HTTP: 401. HTTP message. "Unknown error.". Results Adobe message: "unauthorized access. Check the logs for more details". Adobe results status: "Not ALLOWED." The DPS account has been recently renewed
Please contact the support gold on this problem.
-
Why do I get restore window when opening firefox since the update
Why do I get restore window when opening firefox since the update. I don't want to restore but it appears every time instead of my homepage as shown
A likely cause is that you first close all Firefox Windows and then close the Firefox application.
Some noted that closing of Firefox (Firefox > Quit) while the browser window is always open works for them.
- Bug 845681 - close all windows and abandonment of Firefox eventually led to about: sessionrestore to appear the next time you start
(please, do not comment in the bug reports: https://bugzilla.mozilla.org/page.cgi?id=etiquette.html)
-
I get a message that I don't have the latest version of Firefox. I just updated and downloaded the Beta Version 11. Why do I get this message?
The current beta version is 12 of Firefox, but if you're not a tester experienced, so it is best to stay with the current version of Firefox and uninstall the beta version.
You can find the latest version of Firefox in all languages and for all systems operating here:
- Firefox 11.0.x: http://www.mozilla.org/en-US/firefox/all.html
Maybe you are looking for
-
With the update of your Thunderbird program, language PC switch to English, I use Swedish.
-
Is satellite A350 - touchpad icon on the desktop - it OK?
I have a dell touchpad icon on my Satellite A350 laptop desk. I think that memoryit said Alps pointing device, when I put the cursor on the icon in the notification area. IM assuming he's changed when I have the drivers updated some weeks ago with un
-
Edge of metering size buffer/table problem (VC ++)
Hello Accidentally, I posted this in the multifunction DAQ forum so forgive me for posting this again here. I'm trying to make an edge stamped with PCI-6115 of counting for the application that I'm developing. Ideally, I initialize a buffer array, th
-
Hello, I need a clean tool for Nero 7 ultra edition. Miss me shellmanager and database
Hello everyone, Miss me dabase and shellmanager of NERO 7 ultra edition so I can, t fix this problem. Have you mabe know what I can do for best results? I hope you can help me on this problem. It's everything you need to know. Thank you very much for
-
Activation of Windows Vista after system recovery.
Original title: ID of Windows product and product keys. I'm about to buy a HP laptop with Windows Vista Home Premium. I seriously think about the use of the recovery system to return to its original state. If everything goes well and I have to acti